src/cpuinfo/SDL_cpuinfo.c
changeset 804 b2fda076b02e
parent 796 dec19b813b04
child 881 9eb85a211abd
--- a/src/cpuinfo/SDL_cpuinfo.c	Tue Feb 10 15:15:40 2004 +0000
+++ b/src/cpuinfo/SDL_cpuinfo.c	Tue Feb 10 15:31:35 2004 +0000
@@ -301,6 +301,14 @@
 	return SDL_FALSE;
 }
 
+SDL_bool SDL_HasMMXExt()
+{
+	if ( SDL_GetCPUFeatures() & CPU_HAS_MMXEXT ) {
+		return SDL_TRUE;
+	}
+	return SDL_FALSE;
+}
+
 SDL_bool SDL_Has3DNow()
 {
 	if ( SDL_GetCPUFeatures() & CPU_HAS_3DNOW ) {
@@ -309,6 +317,14 @@
 	return SDL_FALSE;
 }
 
+SDL_bool SDL_Has3DNowExt()
+{
+	if ( SDL_GetCPUFeatures() & CPU_HAS_3DNOWEXT ) {
+		return SDL_TRUE;
+	}
+	return SDL_FALSE;
+}
+
 SDL_bool SDL_HasSSE()
 {
 	if ( SDL_GetCPUFeatures() & CPU_HAS_SSE ) {
@@ -317,6 +333,14 @@
 	return SDL_FALSE;
 }
 
+SDL_bool SDL_HasSSE2()
+{
+	if ( SDL_GetCPUFeatures() & CPU_HAS_SSE2 ) {
+		return SDL_TRUE;
+	}
+	return SDL_FALSE;
+}
+
 SDL_bool SDL_HasAltiVec()
 {
 	if ( SDL_GetCPUFeatures() & CPU_HAS_ALTIVEC ) {
@@ -325,30 +349,6 @@
 	return SDL_FALSE;
 }
 
-SDL_bool SDL_HasMMXExt()
-{
-   if ( SDL_GetCPUFeatures() & CPU_HAS_MMXEXT ) {
-      return SDL_TRUE;
-   }
-   return SDL_FALSE;
-}
-
-SDL_bool SDL_Has3DNowExt()
-{
-   if ( SDL_GetCPUFeatures() & CPU_HAS_3DNOWEXT ) {
-      return SDL_TRUE;
-   }
-   return SDL_FALSE;
-}
-
-SDL_bool SDL_HasSSE2()
-{
-   if ( SDL_GetCPUFeatures() & CPU_HAS_SSE2 ) {
-      return SDL_TRUE;
-   }
-   return SDL_FALSE;
-}
-
 #ifdef TEST_MAIN
 
 #include <stdio.h>