src/cpuinfo/SDL_cpuinfo.c
changeset 786 e1e0a0a94570
parent 785 ca06a994f03c
child 787 07760c8854d1
--- 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;
 }