include/SDL_cpuinfo.h
changeset 9003 446ed0fe0fc3
parent 8583 fb2933ca805f
child 9619 b94b6d0bff0f
equal deleted inserted replaced
9002:c1bd00f50724 9003:446ed0fe0fc3
   138  *  This function returns true if the CPU has AVX features.
   138  *  This function returns true if the CPU has AVX features.
   139  */
   139  */
   140 extern DECLSPEC SDL_bool SDLCALL SDL_HasAVX(void);
   140 extern DECLSPEC SDL_bool SDLCALL SDL_HasAVX(void);
   141 
   141 
   142 /**
   142 /**
       
   143  *  This function returns true if the CPU has AVX2 features.
       
   144  */
       
   145 extern DECLSPEC SDL_bool SDLCALL SDL_HasAVX2(void);
       
   146 
       
   147 /**
   143  *  This function returns the amount of RAM configured in the system, in MB.
   148  *  This function returns the amount of RAM configured in the system, in MB.
   144  */
   149  */
   145 extern DECLSPEC int SDLCALL SDL_GetSystemRAM(void);
   150 extern DECLSPEC int SDLCALL SDL_GetSystemRAM(void);
   146 
   151 
   147 
   152