Re: CPU Detection
- Posted by JJProg at CYBERBURY.NET
Sep 16, 1999
EU>Thanks to Andrew, Lucius, Brian, Martin and Irv for reporting the various
EU>results of different cpus. I assume it worked with exw.exe as well as
EU>ex.exe, or did anyone try?
EU>Brian Jackson wrote:
EU>>Your code runs just fine on my PIII-500, and correctly identifies a
EU>>GenuineIntel chip with MMX capabilities. It would be nice to see all
EU>>the little extras like cache size, etc. I'm sure we could all find some
EU>>pretty cool uses for it!
EU>Okay, I've attached the code with *all* the extras:
EU> * cpu family/model/stepping
EU> * FPU/MMX/3DNow detection
EU> * cache sizes
EU> * the controversial serial# on P3's
EU> * and all I really wanted was to check for MMX...
EU>Rob, you may put it on the contributions page too.
EU>Laters,
EU> _______ ______ _______ ______
EU>[ _ \[ _ ][ _ _ ][ _ ]
EU>[/| [_] |[/| [_\][/ | | \][/| [_\]
EU> | ___/ | _] | | | _]
EU>[\| [/] [\| [_/] [\| |/] [\| [_/]
EU>[_____] [______] [_____] [______]
EU>xseal at harborside.com ICQ:13466657
Is there any way to detect SSE? Also, are you going to add MMX/3DNow/SSE
instructions to asm.e? That would be really neat (though I currently can
only use MMX, unfortunaty). I've tried using NASM to generate the MMX
opcodes, but it seems to use some different segmentation or something
from Euphoria (I don't know too much about segments, except that they
seem like a pain), and it doesn't work.
Jeffrey Fielding
JJProg at cyberbury.net
http://members.tripod.com/~JJProg/
|
Not Categorized, Please Help
|
|