Fixed bug in AVX detection and added AVX2 detection

This commit is contained in:
Sam Lantinga committed 2014-07-11 22:02:50 -07:00
1 parent f1ca7bd167
commit eb1c6044b2
4 files changed
+89 -16

No files matched your search

+5
View File
@@ -139,6 +139,11 @@ extern DECLSPEC SDL_bool SDLCALL SDL_HasSSE42(void);
*/
extern DECLSPEC SDL_bool SDLCALL SDL_HasAVX(void);
/**
* This function returns true if the CPU has AVX2 features.
*/
extern DECLSPEC SDL_bool SDLCALL SDL_HasAVX2(void);
/**
* This function returns the amount of RAM configured in the system, in MB.
*/