35#if defined(_MSC_VER) && (_MSC_VER >= 1500) && (defined(_M_IX86) || defined(_M_X64))
58#elif defined(__MINGW64_VERSION_MAJOR)
62#if defined(HAVE_ALTIVEC_H) && defined(__ALTIVEC__) && !defined(__APPLE_ALTIVEC__) && defined(SDL_ENABLE_ALTIVEC_H)
65#if !defined(SDL_DISABLE_ARM_NEON_H)
66# if defined(__ARM_NEON)
68# elif defined(__WINDOWS__) || defined(__WINRT__)
75# if defined (_M_ARM64)
82#if defined(__3dNOW__) && !defined(SDL_DISABLE_MM3DNOW_H)
85#if defined(HAVE_IMMINTRIN_H) && !defined(SDL_DISABLE_IMMINTRIN_H)
88#if defined(__MMX__) && !defined(SDL_DISABLE_MMINTRIN_H)
91#if defined(__SSE__) && !defined(SDL_DISABLE_XMMINTRIN_H)
94#if defined(__SSE2__) && !defined(SDL_DISABLE_EMMINTRIN_H)
97#if defined(__SSE3__) && !defined(SDL_DISABLE_PMMINTRIN_H)
114#define SDL_CACHELINE_SIZE 128
SDL_bool SDL_HasSSE2(void)
SDL_bool SDL_HasSSE42(void)
SDL_bool SDL_HasNEON(void)
SDL_bool SDL_HasSSE3(void)
SDL_bool SDL_HasAVX2(void)
SDL_bool SDL_HasSSE41(void)
SDL_bool SDL_HasMMX(void)
SDL_bool SDL_HasAltiVec(void)
void * SDL_SIMDAlloc(const size_t len)
Allocate memory in a SIMD-friendly way.
void SDL_SIMDFree(void *ptr)
Deallocate memory obtained from SDL_SIMDAlloc.
size_t SDL_SIMDGetAlignment(void)
Report the alignment this system needs for SIMD allocations.
int SDL_GetSystemRAM(void)
SDL_bool SDL_HasAVX512F(void)
int SDL_GetCPUCount(void)
SDL_bool SDL_HasAVX(void)
int SDL_GetCPUCacheLineSize(void)
SDL_bool SDL_HasRDTSC(void)
SDL_bool SDL_HasSSE(void)
SDL_bool SDL_Has3DNow(void)