Commit f423ef91 authored by Sam Lantinga's avatar Sam Lantinga

*** empty log message ***

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40787
parent faea9390
...@@ -238,24 +238,24 @@ static Uint32 SDL_GetCPUFeatures() ...@@ -238,24 +238,24 @@ static Uint32 SDL_GetCPUFeatures()
if ( CPU_haveMMX() ) { if ( CPU_haveMMX() ) {
SDL_CPUFeatures |= CPU_HAS_MMX; SDL_CPUFeatures |= CPU_HAS_MMX;
} }
if ( CPU_have3DNow() ) {
SDL_CPUFeatures |= CPU_HAS_3DNOW;
}
if ( CPU_haveSSE() ) {
SDL_CPUFeatures |= CPU_HAS_SSE;
}
if ( CPU_haveAltiVec() ) {
SDL_CPUFeatures |= CPU_HAS_ALTIVEC;
}
if ( CPU_haveMMXExt() ) { if ( CPU_haveMMXExt() ) {
SDL_CPUFeatures |= CPU_HAS_MMXEXT; SDL_CPUFeatures |= CPU_HAS_MMXEXT;
} }
if ( CPU_have3DNow() ) {
SDL_CPUFeatures |= CPU_HAS_3DNOW;
}
if ( CPU_have3DNowExt() ) { if ( CPU_have3DNowExt() ) {
SDL_CPUFeatures |= CPU_HAS_3DNOWEXT; SDL_CPUFeatures |= CPU_HAS_3DNOWEXT;
} }
if ( CPU_haveSSE() ) {
SDL_CPUFeatures |= CPU_HAS_SSE;
}
if ( CPU_haveSSE2() ) { if ( CPU_haveSSE2() ) {
SDL_CPUFeatures |= CPU_HAS_SSE2; SDL_CPUFeatures |= CPU_HAS_SSE2;
} }
if ( CPU_haveAltiVec() ) {
SDL_CPUFeatures |= CPU_HAS_ALTIVEC;
}
} }
return SDL_CPUFeatures; return SDL_CPUFeatures;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment