I’ve made this little patch to extend SDL_cpuinfo.c working with
Solaris. I’ve tested with Solaris 10 1/06 x86, SDL 1.2.9 and Sun Studio
11… I’m using the getisax (extract valid instruction set extensions)
function to know the abilities of hardware.
There is two questions :
I’ve used the #define __sun to test the hardware, it should be another
define for spark or x86 but don’t find him, anyone could help ?
In getisax(…), there are two MMX : Intel and AMD but no MMXext to use
in CPU_haveMMXExt(), any clues ?