diff src/cpuinfo/SDL_cpuinfo.c @ 786:e1e0a0a94570

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Sat, 24 Jan 2004 05:57:56 +0000
parents ca06a994f03c
children 07760c8854d1
line wrap: on
line diff
--- 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;
 }