Fixed SSE4 detection, and split it into SSE 4.1 and 4.2

This commit is contained in:
Sam Lantinga
2011-02-11 23:02:35 -08:00
parent a2cdcf5486
commit aef6fb230a
3 changed files with 47 additions and 12 deletions

View File

@@ -146,7 +146,8 @@ TestCPUInfo(SDL_bool verbose)
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");
printf("SSE4 %s\n", SDL_HasSSE4()? "detected" : "not detected");
printf("SSE4.1 %s\n", SDL_HasSSE41()? "detected" : "not detected");
printf("SSE4.2 %s\n", SDL_HasSSE42()? "detected" : "not detected");
}
return (0);
}