• Sam Lantinga's avatar
    Date: Sat, 24 Jan 2004 14:49:58 +0100 · 3ea2a3dd
    Sam Lantinga authored
    From: Stephane Marchesin
    Subject: Re: [SDL] 3DNow! detection on a P4 system
    
    Well... I found another bug : 3dnow was detected on P2/P3 cpus. So I
    took one more look at the code and found a mistake in
    CPU_getCPUIDFeaturesExt :
    The condition for having extended cpuinfo is that when we query extended
    cpuinfo we get a result >=  0x80000001. So we must exit if eax < 0x80000001.
    The attached patch does that.
    
    --HG--
    extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40788
    3ea2a3dd
Name
Last commit
Last update
..
audio Loading commit data...
cdrom Loading commit data...
cpuinfo Loading commit data...
endian Loading commit data...
events Loading commit data...
file Loading commit data...
hermes Loading commit data...
joystick Loading commit data...
main Loading commit data...
thread Loading commit data...
timer Loading commit data...
video Loading commit data...
.cvsignore Loading commit data...
Makefile.am Loading commit data...
SDL.c Loading commit data...
SDL_error.c Loading commit data...
SDL_error_c.h Loading commit data...
SDL_fatal.c Loading commit data...
SDL_fatal.h Loading commit data...
SDL_getenv.c Loading commit data...
SDL_loadso.c Loading commit data...