# HG changeset patch # User Sam Lantinga # Date 1074923876 0 # Node ID e1e0a0a9457079ec54bf7972ec2b37530cff1d48 # Parent ca06a994f03c4decef83af6c8a26e2fb1f15e778 *** empty log message *** diff -r ca06a994f03c -r e1e0a0a94570 src/cpuinfo/SDL_cpuinfo.c --- a/src/cpuinfo/SDL_cpuinfo.c Sat Jan 24 05:47:19 2004 +0000 +++ b/src/cpuinfo/SDL_cpuinfo.c Sat Jan 24 05:57:56 2004 +0000 @@ -238,24 +238,24 @@ if ( CPU_haveMMX() ) { SDL_CPUFeatures |= CPU_HAS_MMX; } + if ( CPU_haveMMXExt() ) { + SDL_CPUFeatures |= CPU_HAS_MMXEXT; + } if ( CPU_have3DNow() ) { SDL_CPUFeatures |= CPU_HAS_3DNOW; } + if ( CPU_have3DNowExt() ) { + SDL_CPUFeatures |= CPU_HAS_3DNOWEXT; + } if ( CPU_haveSSE() ) { SDL_CPUFeatures |= CPU_HAS_SSE; } + if ( CPU_haveSSE2() ) { + SDL_CPUFeatures |= CPU_HAS_SSE2; + } if ( CPU_haveAltiVec() ) { SDL_CPUFeatures |= CPU_HAS_ALTIVEC; } - if ( CPU_haveMMXExt() ) { - SDL_CPUFeatures |= CPU_HAS_MMXEXT; - } - if ( CPU_have3DNowExt() ) { - SDL_CPUFeatures |= CPU_HAS_3DNOWEXT; - } - if ( CPU_haveSSE2() ) { - SDL_CPUFeatures |= CPU_HAS_SSE2; - } } return SDL_CPUFeatures; }