The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
[Patch] Solaris x86 & cpuinfo
Michael Bonfils
Guest

Ryan C. Gordon wrote:
Quote:

Quote:
In getisax(...), there are two MMX : Intel and AMD but no MMXext to
use in CPU_haveMMXExt(), any clues ?


Perhaps we should just use the CPUID instruction directly?

--ryan.


Hi,

I've reworked and submit this new patch, it uses now cpuid in asm and
works with Sun Studio 11, in 32 and 64bit...

Happy new Year
Cheers,
Michael
--
Michael Bonfils ( http://www.murlock.org )
membre de http://guses.solaris-fr.org
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: SDL_cpuinfo_solaris.diff
Url: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20060102/ac11c7ce/attachment.diff
[Patch] Solaris x86 & cpuinfo
Ryan C. Gordon
Guest

Quote:
I've reworked and submit this new patch, it uses now cpuid in asm and
works with Sun Studio 11, in 32 and 64bit...

This is in CVS now, thanks!

--ryan.