mirror of
https://github.com/yawut/SDL.git
synced 2026-08-28 11:45:13 -05:00
Check for CPUID before checking for 3DNow!
This commit is contained in:
@@ -136,6 +136,9 @@ static __inline__ int CPU_haveMMX()
|
||||
static __inline__ int CPU_have3DNow()
|
||||
{
|
||||
int has_3DNow = 0;
|
||||
if ( !CPU_haveCPUID() ) {
|
||||
return 0;
|
||||
}
|
||||
#if defined(__GNUC__) && defined(i386)
|
||||
__asm__ (
|
||||
"push %%ebx\n"
|
||||
|
||||
Reference in New Issue
Block a user