Fixed bug in AVX detection and added AVX2 detection
This commit is contained in:
parent
f1ca7bd167
commit
eb1c6044b2
4 changed files with 89 additions and 16 deletions
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue