33 extern int posix_memalign(
void **__memptr,
size_t __alignment,
size_t __size);
39 extern "C" int posix_memalign(
void **__memptr,
size_t __alignment,
size_t __size);
43 #if !(defined(_WIN32) && defined(_mm_malloc))
44 static __inline__
void *
__attribute__((__always_inline__, __nodebug__,
46 _mm_malloc(
size_t __size,
size_t __align)
49 return malloc(__size);
52 if (!(__align & (__align - 1)) && __align <
sizeof(
void *))
53 __align =
sizeof(
void *);
56 #if defined(__MINGW32__)
57 __mallocedMemory = __mingw_aligned_malloc(__size, __align);
59 __mallocedMemory = _aligned_malloc(__size, __align);
68 static __inline__
void __attribute__((__always_inline__, __nodebug__))
int posix_memalign(void **__memptr, size_t __alignment, size_t __size)
static __inline unsigned char unsigned int unsigned int unsigned int * __p
Definition: adxintrin.h:38
char __v64qi __attribute__((__vector_size__(64)))
Definition: avx512bwintrin.h:33
static __inline__ void size_t __align
Definition: mm_malloc.h:47
void * __mallocedMemory
Definition: mm_malloc.h:55