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

--HG--
extra : histedit_source : 12ab7dd2b55b3aea44b60ad153a73bd41d81f3fb
This commit is contained in:
Ben Avison 2019-10-24 21:12:08 -04:00
parent 789caa7e85
commit fd7508ad61
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.
*/