Author Topic: PB CPUID test piece for Intel processors.  (Read 2787 times)

0 Members and 1 Guest are viewing this topic.

Offline Steve Hutchesson

  • Moderator
  • Jr. Member
  • *****
  • Posts: 83
    • The MASM Forum
PB CPUID test piece for Intel processors.
« on: April 30, 2010, 04:21:51 AM »
This is a more or less straight conversion of a recent MASM library I had to write. It tests Intel capacity for later SSE instruction sets. I don't have access at AMD hardware so i am not in a position to test code specific to AMD.

these are the results on the Intel hardware i have handy.

Code: [Select]
CPUID is supported
GenuineIntel
Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz
SSE4.2 is supported
SSE4.1 is supported
SSE3 is supported
SSE2 is supported
SSE is supported
MMX is supported
Press any key to exit ....

CPUID is supported
GenuineIntel
Intel(R) Core(TM)2 Quad CPU Q9650 @ 3.00GHz
SSE4.2 is not supported
SSE4.1 is supported
SSE3 is supported
SSE2 is supported
SSE is supported
MMX is supported
Press any key to exit ....

CPUID is supported
GenuineIntel
Genuine Intel(R) CPU 3.80GHz
SSE4.2 is not supported
SSE4.1 is not supported
SSE3 is supported
SSE2 is supported
SSE is supported
MMX is supported
Press any key to exit ....