cpuinfo: Added SDL_HasAVX512F().
This checks for the "foundation" AVX-512 instructions (that all AVX-512 compatible CPUs support). --HG-- extra : rebase_source : 2857dd04072e2f897e18665d0a4fe2837c06ed9b extra : histedit_source : 67d0b925bceb2ed2a8f37b5783f2b755e796031f
This commit is contained in:
parent
507f22ca69
commit
b7560b9599
5 changed files with 35 additions and 1 deletions
|
@ -380,6 +380,7 @@ TestCPUInfo(SDL_bool verbose)
|
|||
SDL_Log("SSE4.2 %s\n", SDL_HasSSE42()? "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("AVX-512F %s\n", SDL_HasAVX512F()? "detected" : "not detected");
|
||||
SDL_Log("NEON %s\n", SDL_HasNEON()? "detected" : "not detected");
|
||||
SDL_Log("System RAM %d MB\n", SDL_GetSystemRAM());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue