News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

CPU Identification Procedure

Started by MichaelW, June 11, 2005, 07:06:00 PM

Previous topic - Next topic

MichaelW

Quote from: doomsday on June 12, 2005, 03:46:48 PM
Quote from: MichaelWCMOV: Conditional Move instruction supported (and if FPU then FCOMI and FCMOV supported)
Does anyone know of any x86 that supports CMOVxx but doesn't have a FPU?

That question occurred to me too. The statement is based on this from the Intel's most recent IA-32 Instruction Set Reference:
Quote
Conditional Move Instructions. The conditional move instruction CMOV is supported. In addition, if x87 FPU is present as indicated by the CPUID.FPU feature bit, then the FCOMI and FCMOV instructions are supported

I seem to recall that Intel at one time had a specialized 386 for embedded applications, and I think this was somewhere in the Pentium era.
eschew obfuscation

lingo

GenuineIntel  Family 15  Model 4  Stepping 1
Intel Brand String: NA
Features: FPU TSC CX8 CMOV CLFSH FXSR HTT MMX SSE SSE2 SSE3

Press enter to exit...

donkey

AuthenticAMD  Family 15  Model 16  Stepping 0
AMD Name String: AMD Athlon(tm) 64 Processor 3000+
Features: FPU TSC CX8 CMOV CLFSH FXSR MMX SSE SSE2

Press enter to exit...

You should also include the AMD flags. AMD 3dNow and 3DNow2. Bits 31 and 30 respectively with EAX set to 80000001h

Also useful to know is whether there is an APIC (bit 9), whether PAE mode is present (bit 6)
"Ahhh, what an awful dream. Ones and zeroes everywhere...[shudder] and I thought I saw a two." -- Bender
"It was just a dream, Bender. There's no such thing as two". -- Fry
-- Futurama

Donkey's Stable

AeroASM

GenuineIntel  Family 6  Model 9  Stepping 5
Intel Brand String: Intel(R) Pentium(R) M processo
Features: FPU TSC CX8 CMOV CLFSH FXSR MMX SSE SSE2

I wish I had SSE3...

dsouza123

Original version
AuthenticAMD  Family 6  Model 4  Stepping 2
AMD Name String: AMD Athlon(tm) Processor
Features: FPU TSC CX8 CMOV FXSR MMX

Newer version
AuthenticAMD  Family 7  Model 4  Stepping 2
AMD Name String: AMD Athlon(tm) Processor
Features: FPU TSC CX8 CMOV FXSR MMX

For an Athlon 1200 Thunderbird

donkey

Quote from: AeroASM on June 12, 2005, 09:20:45 PM
I wish I had SSE3...

The Athlon64FX has SSE3 support but I wasn't really interested only for that, the Athlon 64's so completely blow Intel out of the water that I don't miss that footnote in programming. HyperTransport and integrated DDR support alone are worth the price of the processor, I use MMX extensively, SSE to a limited degree, SSE2 rarely and I don't think I even looked at the SSE3 instruction set.
"Ahhh, what an awful dream. Ones and zeroes everywhere...[shudder] and I thought I saw a two." -- Bender
"It was just a dream, Bender. There's no such thing as two". -- Fry
-- Futurama

Donkey's Stable

MichaelW

Hi Donkey,

Thanks for pointing out the 3Dnow features. I originally intended to include them, but they got lost in the shuffle. I intentionally skipped APIC and PAE, along with many other features, and things like the Cache and TLB information, because they seemed unlikely to be of much use. What would be the benefit, for a user program, of knowing if an APIC is present?

eschew obfuscation

Chambao

GenuineIntel  Family 15  Model 3  Stepping 4
Intel Brand String: NA
Features: FPU TSC CX8 CMOV CLFSH FXSR HTT MMX SSE SSE2 SSE3

Press enter to exit...

lostcauz

GenuineIntel  Family 15  Model 4  Stepping 1
Intel Brand String: NA
Features: FPU TSC CX8 CMOV CLFSH FXSR HTT MMX SSE SSE2 SSE3

tornadovision

C:\Downloads\IdCPU-1>IdCPU.exe
GenuineIntel  Family 15  Model 4  Stepping 1
Intel Brand String: NA
Features: FPU TSC CX8 CMOV CLFSH FXSR HTT MMX SSE SSE2 SSE3


P4 3.2Ghz

WinCC

GenuineIntel  Family 15  Model 2  Stepping 7
Intel Brand String: Intel(R) Xeon(TM) processor
Features: FPU TSC CX8 CMOV CLFSH FXSR HTT MMX SSE SSE2

XEON 3.06/533/512

WinCC