Mercurial > sdl-ios-xcode
diff test/testcpuinfo.c @ 785:ca06a994f03c
Fixed bugs in CPU feature detection and added extended feature detection
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 24 Jan 2004 05:47:19 +0000 |
parents | 8ac3f46f9d09 |
children |
line wrap: on
line diff
--- a/test/testcpuinfo.c Sat Jan 17 20:37:06 2004 +0000 +++ b/test/testcpuinfo.c Sat Jan 24 05:47:19 2004 +0000 @@ -10,8 +10,11 @@ { printf("RDTSC %s\n", SDL_HasRDTSC() ? "detected" : "not detected"); printf("MMX %s\n", SDL_HasMMX() ? "detected" : "not detected"); + printf("MMX Ext %s\n", SDL_HasMMXExt() ? "detected" : "not detected"); printf("3DNow %s\n", SDL_Has3DNow() ? "detected" : "not detected"); + printf("3DNow Ext %s\n", SDL_Has3DNowExt() ? "detected" : "not detected"); printf("SSE %s\n", SDL_HasSSE() ? "detected" : "not detected"); + printf("SSE2 %s\n", SDL_HasSSE2() ? "detected" : "not detected"); printf("AltiVec %s\n", SDL_HasAltiVec() ? "detected" : "not detected"); return(0); }