Intel 64 and IA-32 Architectures Software Developers Manual Volume 2A, Instruction Set Reference, A-M

Vol. 2 3-165
INSTRUCTION SET REFERENCE, A-M
Architectural Performance Monitoring Leaf
0AH EAX
EBX
ECX
EDX
Bits 07 - 00: Version ID of architectural performance monitoring
Bits 15- 08: Number of general-purpose performance monitoring
counter per logical processor
Bits 23 - 16: Bit width of general-purpose, performance monitoring
counter
Bits 31 - 24: Length of EBX bit vector to enumerate architectural
performance monitoring events
Bit 0: Core cycle event not available if 1
Bit 1: Instruction retired event not available if 1
Bit 2: Reference cycles event not available if 1
Bit 3: Last-level cache reference event not available if 1
Bit 4: Last-level cache misses event not available if 1
Bit 5: Branch instruction retired event not available if 1
Bit 6: Branch mispredict retired event not available if 1
Bits 31- 07: Reserved = 0
Reserved = 0
Bits 04 - 00: Number of fixed-function performance counters (if
Version ID > 1)
Bits 12- 05: Bit width of fixed-function performance counters (if
Version ID > 1)
Reserved = 0
Extended Function CPUID Information
80000000H EAX
EBX
ECX
EDX
Maximum Input Value for Extended Function CPUID Information (see
Table 3-13).
Reserved
Reserved
Reserved
Table 3-12. Information Returned by CPUID Instruction (Contd.)
Initial EAX
Value Information Provided about the Processor