Theo's Forum

IT-Consultant: Charles Pegge => Assembler => Best place to post any assembler code => Topic started by: Steve Hutchesson on April 30, 2010, 04:21:51 AM

Title: PB CPUID test piece for Intel processors.
Post by: Steve Hutchesson 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 ....