From d232f8835b830d2a3032f618487a25dd0a5c95d9 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 24 Jan 2004 05:57:56 +0000 Subject: [PATCH] *** empty log message *** --- src/cpuinfo/SDL_cpuinfo.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/cpuinfo/SDL_cpuinfo.c b/src/cpuinfo/SDL_cpuinfo.c index edf132184..23539a8db 100644 --- a/src/cpuinfo/SDL_cpuinfo.c +++ b/src/cpuinfo/SDL_cpuinfo.c @@ -238,24 +238,24 @@ static Uint32 SDL_GetCPUFeatures() 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; }