Commit Graph

13 Commits

Author SHA1 Message Date
Sam Lantinga
4e8ab456b0 Date: Sat, 24 Jan 2004 14:49:58 +0100
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.
2004-01-24 15:55:00 +00:00
Sam Lantinga
972de8363f *** empty log message *** 2004-01-24 05:57:56 +00:00
Sam Lantinga
1ac8626346 Fixed bugs in CPU feature detection and added extended feature detection 2004-01-24 05:47:19 +00:00
Sam Lantinga
d5ec6433eb *** empty log message *** 2004-01-17 20:37:06 +00:00
Sam Lantinga
b01a5e306e Date: Tue, 6 Jan 2004 12:42:19 +0100
From: Max Horn
Subject: SDL_HasAltiVec; BUGS file

the attached patch adds SDL_HasAltiVec to SDL CVS. Note that at this
point, this only works on MacOSX (and maybe darwin). I don't know how
to properly add a test for e.g. Linux/PPC at this point. I found an
email which might help in doing so:
http://zebra.fh-weingarten.de/~maxi/html/mplayer-dev-eng/2003-01msg00783.html
However, since I have no way to test on a non-OSX PowerPC system, I am
not comfortable blindly adding such code... I just hope that if
somebody from the Linux/PPC (or FreeBSD/PPC, or whatever) community
notices this, they'll jump up and provide a patch for us ;-)
2004-01-06 17:18:38 +00:00
Sam Lantinga
32719e7429 Updated copyright information for 2004 (Happy New Year!) 2004-01-04 16:49:27 +00:00
Sam Lantinga
a729f00bde Updated Visual C++ support 2003-11-24 19:58:29 +00:00
Sam Lantinga
ba60f47e1c *** empty log message *** 2003-11-24 09:30:40 +00:00
Sam Lantinga
37366af6f8 Check for CPUID before checking for 3DNow! 2003-11-24 09:30:14 +00:00
Sam Lantinga
4f535a0ef2 Greatly simplified the SDL CPU info code 2003-11-24 09:16:52 +00:00
Sam Lantinga
459ca6f009 Fixed building cpuinfo under mingw32 2003-11-19 08:03:10 +00:00
Sam Lantinga
7fe4f4e884 Actually hook the cpuinfo module into the library. :) 2003-11-18 02:16:57 +00:00
Sam Lantinga
9981325fda Added SDL_HasMMX(), SDL_Has3DNow(), SDL_HasSSE() in SDL_cpuinfo.h 2003-11-18 01:27:06 +00:00