Testing for P or E core on Intel CPUs
06 / 04 / 2024

Once in a while I get a question from random people asking how to check for P or E core on Intel CPUs with hybrid architecture.

Basically, the information is in Intel SDM .vol 2A in the table "Information Returned by CPUID instruction" for initial EAX value aka Leaf = 0x1A. The page from the manual that describe it:

You can also check out this code on github.