include/SDL_cpuinfo.h
branchSDL-1.3
changeset 1668 4da1ee79c9af
parent 1662 782fd950bd46
equal deleted inserted replaced
1667:1fddae038bc8 1668:4da1ee79c9af
    39 /* *INDENT-ON* */
    39 /* *INDENT-ON* */
    40 #endif
    40 #endif
    41 
    41 
    42 /* This function returns true if the CPU has the RDTSC instruction
    42 /* This function returns true if the CPU has the RDTSC instruction
    43  */
    43  */
    44 extern DECLSPEC SDL_bool SDLCALL SDL_HasRDTSC (void);
    44 extern DECLSPEC SDL_bool SDLCALL SDL_HasRDTSC(void);
    45 
    45 
    46 /* This function returns true if the CPU has MMX features
    46 /* This function returns true if the CPU has MMX features
    47  */
    47  */
    48 extern DECLSPEC SDL_bool SDLCALL SDL_HasMMX (void);
    48 extern DECLSPEC SDL_bool SDLCALL SDL_HasMMX(void);
    49 
    49 
    50 /* This function returns true if the CPU has MMX Ext. features
    50 /* This function returns true if the CPU has MMX Ext. features
    51  */
    51  */
    52 extern DECLSPEC SDL_bool SDLCALL SDL_HasMMXExt (void);
    52 extern DECLSPEC SDL_bool SDLCALL SDL_HasMMXExt(void);
    53 
    53 
    54 /* This function returns true if the CPU has 3DNow features
    54 /* This function returns true if the CPU has 3DNow features
    55  */
    55  */
    56 extern DECLSPEC SDL_bool SDLCALL SDL_Has3DNow (void);
    56 extern DECLSPEC SDL_bool SDLCALL SDL_Has3DNow(void);
    57 
    57 
    58 /* This function returns true if the CPU has 3DNow! Ext. features
    58 /* This function returns true if the CPU has 3DNow! Ext. features
    59  */
    59  */
    60 extern DECLSPEC SDL_bool SDLCALL SDL_Has3DNowExt (void);
    60 extern DECLSPEC SDL_bool SDLCALL SDL_Has3DNowExt(void);
    61 
    61 
    62 /* This function returns true if the CPU has SSE features
    62 /* This function returns true if the CPU has SSE features
    63  */
    63  */
    64 extern DECLSPEC SDL_bool SDLCALL SDL_HasSSE (void);
    64 extern DECLSPEC SDL_bool SDLCALL SDL_HasSSE(void);
    65 
    65 
    66 /* This function returns true if the CPU has SSE2 features
    66 /* This function returns true if the CPU has SSE2 features
    67  */
    67  */
    68 extern DECLSPEC SDL_bool SDLCALL SDL_HasSSE2 (void);
    68 extern DECLSPEC SDL_bool SDLCALL SDL_HasSSE2(void);
    69 
    69 
    70 /* This function returns true if the CPU has AltiVec features
    70 /* This function returns true if the CPU has AltiVec features
    71  */
    71  */
    72 extern DECLSPEC SDL_bool SDLCALL SDL_HasAltiVec (void);
    72 extern DECLSPEC SDL_bool SDLCALL SDL_HasAltiVec(void);
    73 
    73 
    74 /* Ends C function definitions when using C++ */
    74 /* Ends C function definitions when using C++ */
    75 #ifdef __cplusplus
    75 #ifdef __cplusplus
    76 /* *INDENT-OFF* */
    76 /* *INDENT-OFF* */
    77 }
    77 }