diff include/SDL_cpuinfo.h @ 785:ca06a994f03c

Fixed bugs in CPU feature detection and added extended feature detection
author Sam Lantinga <slouken@libsdl.org>
date Sat, 24 Jan 2004 05:47:19 +0000
parents 8ac3f46f9d09
children c9b51268668f
line wrap: on
line diff
--- a/include/SDL_cpuinfo.h	Sat Jan 17 20:37:06 2004 +0000
+++ b/include/SDL_cpuinfo.h	Sat Jan 24 05:47:19 2004 +0000
@@ -45,14 +45,26 @@
  */
 extern DECLSPEC SDL_bool SDLCALL SDL_HasMMX();
 
+/* This function returns true if the CPU has MMX Ext. features
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_HasMMXExt();
+
 /* This function returns true if the CPU has 3DNow features
  */
 extern DECLSPEC SDL_bool SDLCALL SDL_Has3DNow();
 
+/* This function returns true if the CPU has 3DNow! Ext. features
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_Has3DNowExt();
+
 /* This function returns true if the CPU has SSE features
  */
 extern DECLSPEC SDL_bool SDLCALL SDL_HasSSE();
 
+/* This function returns true if the CPU has SSE2 features
+ */
+extern DECLSPEC SDL_bool SDLCALL SDL_HasSSE2();
+
 /* This function returns true if the CPU has AltiVec features
  */
 extern DECLSPEC SDL_bool SDLCALL SDL_HasAltiVec();