ARM: Create configure option --enable-arm-simd to govern assembly optimizations

This commit is contained in:
Ben Avison
2019-10-24 21:12:08 -04:00
parent 59beaccd50
commit 6a6a05289e
4 changed files with 99 additions and 1 deletions

View File

@@ -186,6 +186,11 @@ extern DECLSPEC SDL_bool SDLCALL SDL_HasAVX2(void);
*/
extern DECLSPEC SDL_bool SDLCALL SDL_HasAVX512F(void);
/**
* This function returns true if the CPU has ARM SIMD (ARMv6) features.
*/
extern DECLSPEC SDL_bool SDLCALL SDL_HasARMSIMD(void);
/**
* This function returns true if the CPU has NEON (ARM SIMD) features.
*/