diff src/cpuinfo/SDL_cpuinfo.c @ 804:b2fda076b02e

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Tue, 10 Feb 2004 15:31:35 +0000
parents dec19b813b04
children 9eb85a211abd
line wrap: on
line diff
--- 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>