i'm writing a small program which needs the CPU identification. But perhaps do something wrong.
With CPUID and EAX=01H, i want to get the Family ID and Model ID. On a machine with CPU of the type X5570, i get
Family ID = 6 (bits 8 to 11 in EAX after execution)
Model ID = A. (bits 4 to 7 in EAX after execution)
But I can't find in the "Develeoper's Manual" a Displayfamily_Displaymodel with this value?
how is Displayfamily_Displaymodel calculated?
I have fixed this problem.
To compute Displayfamily_Displaymodel you have to use the bits for "Extended Family" and "Extended Model" too. See page 587 in the developer's manual and the web-link:
Have fixed this problem
To compute Displayfamily_Displaymodel you have to use "extended family" and "extended model" too. See page 587 in the developer's manual.
and the web-link: http://en.wikipedia.org/wiki/CPUID
Thanks you all.
>>>There is a very good Application Note 485 'Intel(R) Processor Identification and the CPUID Instruction' ( May 2012 ) and try to search the Intel web-site for the document.>>>
I posted a link to this document.