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 e5803d148c
commit 8ecd7110d2
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);
}