*** empty log message ***
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40805
This commit is contained in:
parent
fbce506d5a
commit
f199a5d964
1 changed files with 24 additions and 24 deletions
|
@ -301,30 +301,6 @@ SDL_bool SDL_HasMMX()
|
|||
return SDL_FALSE;
|
||||
}
|
||||
|
||||
SDL_bool SDL_Has3DNow()
|
||||
{
|
||||
if ( SDL_GetCPUFeatures() & CPU_HAS_3DNOW ) {
|
||||
return SDL_TRUE;
|
||||
}
|
||||
return SDL_FALSE;
|
||||
}
|
||||
|
||||
SDL_bool SDL_HasSSE()
|
||||
{
|
||||
if ( SDL_GetCPUFeatures() & CPU_HAS_SSE ) {
|
||||
return SDL_TRUE;
|
||||
}
|
||||
return SDL_FALSE;
|
||||
}
|
||||
|
||||
SDL_bool SDL_HasAltiVec()
|
||||
{
|
||||
if ( SDL_GetCPUFeatures() & CPU_HAS_ALTIVEC ) {
|
||||
return SDL_TRUE;
|
||||
}
|
||||
return SDL_FALSE;
|
||||
}
|
||||
|
||||
SDL_bool SDL_HasMMXExt()
|
||||
{
|
||||
if ( SDL_GetCPUFeatures() & CPU_HAS_MMXEXT ) {
|
||||
|
@ -333,6 +309,14 @@ SDL_bool SDL_HasMMXExt()
|
|||
return SDL_FALSE;
|
||||
}
|
||||
|
||||
SDL_bool SDL_Has3DNow()
|
||||
{
|
||||
if ( SDL_GetCPUFeatures() & CPU_HAS_3DNOW ) {
|
||||
return SDL_TRUE;
|
||||
}
|
||||
return SDL_FALSE;
|
||||
}
|
||||
|
||||
SDL_bool SDL_Has3DNowExt()
|
||||
{
|
||||
if ( SDL_GetCPUFeatures() & CPU_HAS_3DNOWEXT ) {
|
||||
|
@ -341,6 +325,14 @@ SDL_bool SDL_Has3DNowExt()
|
|||
return SDL_FALSE;
|
||||
}
|
||||
|
||||
SDL_bool SDL_HasSSE()
|
||||
{
|
||||
if ( SDL_GetCPUFeatures() & CPU_HAS_SSE ) {
|
||||
return SDL_TRUE;
|
||||
}
|
||||
return SDL_FALSE;
|
||||
}
|
||||
|
||||
SDL_bool SDL_HasSSE2()
|
||||
{
|
||||
if ( SDL_GetCPUFeatures() & CPU_HAS_SSE2 ) {
|
||||
|
@ -349,6 +341,14 @@ SDL_bool SDL_HasSSE2()
|
|||
return SDL_FALSE;
|
||||
}
|
||||
|
||||
SDL_bool SDL_HasAltiVec()
|
||||
{
|
||||
if ( SDL_GetCPUFeatures() & CPU_HAS_ALTIVEC ) {
|
||||
return SDL_TRUE;
|
||||
}
|
||||
return SDL_FALSE;
|
||||
}
|
||||
|
||||
#ifdef TEST_MAIN
|
||||
|
||||
#include <stdio.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue