I am trying to use CPUID, EAX = 4 to retrieve the number of cores on the die.
This method was detailed in an Intel training video.I believe the processor is a xeon, dual processor but I have tried several intel machines around my place of work.
Having checked the leaf is available (CPUID.EAX(0)), I set
EAX=4, ECX=0 and call CPUID.
I want to check bits[31:26]
The result returned in EAX is (on all machines) 0x665b5001.
This gives 26 cores/die which is obviously incorrect.
What am I missing?