7 using atUint8 = uint8_t;
8 using atInt16 = int16_t;
9 using atUint16 = uint16_t;
10 using atInt32 = int32_t;
11 using atUint32 = uint32_t;
12 using atInt64 = int64_t;
13 using atUint64 = uint64_t;
17 #include <xmmintrin.h> 18 #include <emmintrin.h> 20 #include <mm_malloc.h> 25 #define AT_ALIGNED_ALLOCATOR \ 26 void* operator new(size_t bytes) noexcept \ 27 {return _mm_malloc(bytes, 16);} \ 28 void* operator new[](size_t bytes) noexcept \ 29 {return _mm_malloc(bytes, 16);} \ 30 void operator delete(void* buf) noexcept \ 32 void operator delete[](void* buf) noexcept \ 35 typedef union alignas(16)
38 float clangVec __attribute__((__vector_size__(8)));
47 typedef union alignas(16)
50 float clangVec __attribute__((__vector_size__(12)));
59 typedef union alignas(16)
62 float clangVec __attribute__((__vector_size__(16)));
71 typedef union alignas(16)
80 typedef union alignas(16)
89 typedef union alignas(16)
99 #define UNUSED(x) ((void)x) 103 #define DEPRECATED(func) func __attribute__ ((deprecated)) 104 #elif defined(_MSC_VER) 105 #define DEPRECATED(func) __declspec(deprecated) func 107 #pragma message("WARNING: You need to implement DEPRECATED for this compiler") 108 #define DEPRECATED(func) func