Re-added the 3DNow! and AltiVec instruction support.
This commit is contained in:
parent
92bf0fc2fd
commit
e4a0db291e
15 changed files with 2412 additions and 58 deletions
4
test/testplatform.c
Normal file → Executable file
4
test/testplatform.c
Normal file → Executable file
|
@ -140,9 +140,11 @@ TestCPUInfo(SDL_bool verbose)
|
|||
{
|
||||
if (verbose) {
|
||||
printf("CPU count: %d\n", SDL_GetCPUCount());
|
||||
printf("CPU cache line size: %d\n", SDL_GetCPUCacheLineSize());
|
||||
printf("CPU cache line size: %d\n", SDL_GetCPUCacheLineSize());
|
||||
printf("RDTSC %s\n", SDL_HasRDTSC()? "detected" : "not detected");
|
||||
printf("AltiVec %s\n", SDL_HasAltiVec()? "detected" : "not detected");
|
||||
printf("MMX %s\n", SDL_HasMMX()? "detected" : "not detected");
|
||||
printf("3DNow! %s\n", SDL_Has3DNow()? "detected" : "not detected");
|
||||
printf("SSE %s\n", SDL_HasSSE()? "detected" : "not detected");
|
||||
printf("SSE2 %s\n", SDL_HasSSE2()? "detected" : "not detected");
|
||||
printf("SSE3 %s\n", SDL_HasSSE3()? "detected" : "not detected");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue