Added call to SDL_HasAVX2() in platform test program.

This commit is contained in:
Philipp Wiesemann 2016-10-30 21:01:46 +01:00
parent 6f1f77b297
commit 98d188f5de

View file

@ -145,6 +145,7 @@ TestCPUInfo(SDL_bool verbose)
SDL_Log("SSE4.1 %s\n", SDL_HasSSE41()? "detected" : "not detected"); SDL_Log("SSE4.1 %s\n", SDL_HasSSE41()? "detected" : "not detected");
SDL_Log("SSE4.2 %s\n", SDL_HasSSE42()? "detected" : "not detected"); SDL_Log("SSE4.2 %s\n", SDL_HasSSE42()? "detected" : "not detected");
SDL_Log("AVX %s\n", SDL_HasAVX()? "detected" : "not detected"); SDL_Log("AVX %s\n", SDL_HasAVX()? "detected" : "not detected");
SDL_Log("AVX2 %s\n", SDL_HasAVX2()? "detected" : "not detected");
SDL_Log("System RAM %d MB\n", SDL_GetSystemRAM()); SDL_Log("System RAM %d MB\n", SDL_GetSystemRAM());
} }
return (0); return (0);