📄 msr.lst
字号:
2 Single-Pipe Execution (disable V pipeline)
1 enable special branch trace message cycle on BTB hit (default = 0)
0 disable branch prediction (no BTB)
Notes: the AMD K6 only supports bit 3 (cache inhibit) of this register;
all other bits should be set to zero
the Centaur (IDT) WinChip C6 supports bits 9, 6, and 3 of this register
----------S0000000F--------------------------
MSR 0000000Fh - Pentium - INVALID
Note: attempted accesses to this MSR cause an exception
SeeAlso: MSR 8000000Fh,MSR 00000003h
----------S00000010--------------------------
MSR 00000010h - Pentium, Pentium Pro - TIME STAMP COUNTER REGISTER
Size: 64 bits
Access: Read/Write
Desc: starting at 00000000h:00000000h on reset, this counter increments on
every CPU-core clock cycle
Notes: on a Pentium Pro, only the low 32 bits may be written; on writes, the
high 32 bits are cleared to 00000000h
also supported by Pentium II/III; AMD Am5k86,K5,K6; Cyrix 6x86MX;
Centaur (IDT) WinChip C6
SeeAlso: MSR 80000010h
----------S00000011--------------------------
MSR 00000011h - Pentium, Cyrix 6x86MX - EVENT COUNTER SELECTION AND CONTROL
Size: 26 bits
Access: Read/Write
Note: also supported by Cyrix 6x86MX and Centaur (IDT) WinChip C6
SeeAlso: MSR 00000012h,MSR 00000013h,MSR 00000186h,MSR 80000011h
Bitfields for Pentium Event Counter Control:
Bit(s) Description (Table R0015)
63-27 reserved (0)
26 (Cyrix 6x86MX only) "ES1" bit 6 of event type for counter 1
25 external pin PM1 shows counter overflows instead of counter increments
24 counter 1 counts clock cycles instead of events
23 enable counter 1 counting in CPL3
22 enable counter 1 counting in CPL2-0
21-16 event type for counter 1 (see #R0017)
15-11 reserved
10 (Cyrix 6x86MX only) "ES0" bit 6 of event type for counter 0
9 external pin PM0 shows counter overflows instead of counter increments
8 counter 0 counts clock cycles instead of events
7 enable counter 0 counting in CPL3
6 enable counter 0 counting in CPL2-0
5-0 event type for counter 0 (see #R0017)
SeeAlso: #R0016
Bitfields for IDT WinChip C6 Event Counter Control:
Bit(s) Description (Table R0016)
63-24 reserved
23-16 counter 1 control (see #R0018,#R0065)
15-8 reserved
7-0 counter 0 control (see #R0018,#R0065)
SeeAlso: #R0015
(Table R0017)
Values for Pentium/6x86MX Event Counter event type:
00h data read
01h data write
02h data TLB miss
03h data read miss
04h data write miss
05h write hit to Modified/Exclusive cache line
06h data cache lines written back
07h external data cache snoops
08h external data cache snoop hits
09h simultaneous memory accesses in both pipes
0Ah data bank access conflict between U and V pipes
0Bh misaligned data memory or I/O references
0Ch code read
0Dh code TLB miss
0Eh code cache miss
0Fh any segment register load
10h (Pentium only) segment descriptor cache accessed
11h (Pentium only) segment descriptor cache hit
12h any branch
13h BTB hit
14h taken branch / BTB hit
15h pipeline flushes
16h total instructions executed
17h instruction executed in V pipe
18h bus utilization
19h pipeline stalled by write backups
1Ah pipeline stalled by data memory read
1Bh pipeline stalled by write to Modified/Exclusive cache line
1Ch locked bus cycle
1Dh I/O cycle
1Eh non-cacheable memory references
1Fh pipeline stalled by Address Generation Interlock
20h source/destination conflict
21h (undoc) decoding stalls (could only decode one instruction in a
particular clock cycle, and that instruction was potentially
pairable; i.e. if the following instruction could have executed in
the V pipe, it didn't because it wasn't decoded in time)
22h floating-point operations
23h Breakpoint 0 match
24h Breakpoint 1 match
25h Breakpoint 2 match
26h Breakpoint 3 match
27h hardware interrupt
28h data read or data write
29h data read/write miss
---Pentium---
2Ah-3Fh reserved
---PentiumMMX---
2Ah bus ownership latency (counter 0, duration) or
bus ownership transfers (counter 1)
2Bh MMX instructions executed in U pipe (counter 0) or V pipe (counter 1)
2Ch cache M-state line sharing (counter 0) or
cache line sharing (counter 1)
2Dh EMMS instructions executed (counter 0) or
transitions between MMX/FP (counter 1)
2Eh bus use due to processor activity (counter 0, duration) or
writes to non-cacheable memory (counter 1)
2Fh saturating MMX instructions executed (counter 0) or
saturations performed (counter 1)
30h number of cycles not in HLT state (counter 0) or
number of cycles in HLT state (counter 1)
31h MMX instruction data reads (counter 0) or
MMX instruction data read misses
32h floating-point stalls (counter 0) or taken branches (counter 1)
33h D1 starvation and FIFO is empty (counter 0) or
D1 starvation and only one instruction in FIFO (counter 1)
34h MMX instruction data writes (counter 0) or
MMX instruction data write misses (counter 1)
35h pipeline flushes due to wrong branch prediction (counter 0) or
pl. flushes due to wrong branch pred. resolved in WB stage (counter 1)
36h misaligned data memory reference on MMX instruction (counter 0) or
pipeline stalled waiting for MMX instruction data mem read (counter 1)
37h returns, predicted incorrectly or not at all (counter 0) or
total returns predicted (counter 1)
38h clocks MMX instruction multiply unit interlock (counter 0) or
clocks MOVD/MOVQ store stall (counter 1)
39h returns (counter 0 only)
3Ah BTB false entries (counter 0) or
BTB prediction miss on not-taken branch (counter 1)
3Bh clocks MMX instruction stalled due to full write buffers (counter 0) or
clocks stalled on MMX instruction write to E or M line (counter 1)
---6x86MX---
2Ah reserved
2Bh MMX instructions executed in X pipe (counter 0) or Y pipe (counter 1)
2Ch reserved
2Dh EMMS instructions executed (counter 0) or
transitions between MMX/FP (counter 1)
2Eh reserved
2Fh saturating MMX instructions executed (counter 0) or
saturations performed (counter 1)
30h reserved
31h MMX instruction data reads (counter 0 only)
32h taken branches (counter 1 only)
33h-36h reserved
37h number of returns predicted incorrectly or not at all (counter 0) or
total returns predicted (counter 1)
38h clocks MMX instruction multiply unit interlock (counter 0) or
clocks MOVD/MOVQ store stall (counter 1)
39h returns (counter 0) or return stack buffer overflows (counter 1)
3Ah BTB false entries (counter 0) or
BTB prediction miss on not-taken branch (counter 1)
3Bh clocks MMX instruction stalled due to full write buffers (counter 0) or
clocks stalled on MMX instruction write to E or M line (counter 1)
3Ch-3Fh reserved
40h L2 TLB misses (code or data)
41h L2 TLB data miss
42h L2 TLB code miss
43h L1 TLB miss (code or data)
44h TLB flushes
45h TLB page invalidations
46h TLB page invalidations which hit
47h reserved
48h instructions decoded
49h-7Fh reserved
SeeAlso: #R0015,#R0018
(Table R0018)
Values for IDT WinChip C6 event:
00h internal clocks
01h valid cycles reaching writebacks
02h x86 instructions
47h data read cache misses
4Ah data write cache misses
63h instruction fetch cache miss
SeeAlso: #R0016,#R0017,#R0065
(Table R0065)
Values for IDT WinChip2 event:
00h Data Read
01h Data Write
02h Data TLB Miss
03h Data Read Cache Miss
04h Data write Cache Miss
06h Data Cache writebacks
08h Data Cache Snoop Hits
09h Push/push pop/pop pairing
0Bh Misaligned Data Memory
0Ch Code read
0Dh Code TLB Miss
0Eh Instruction Fetch cache miss
13h BHT hits
14h BHT candidate
16h Instruction executed
17h Instruction in pipe 2 (V-pipe)
18h Bus Utilization
1Dh I/O Read or Write cycle
28h Data Read or Data Write
2Bh MMX_instruction U-pipe (EC0)
2Bh MMX_instruction V-pipe (EC1)
37h Returns predicted incorrectly (EC0)
37h Returns predicted incorrectly (EC1)
3Fh Internal Clocks (Default event for CTR0)
47h data read cache misses
4Ah data write cache misses
63h instruction fetch cache miss
SeeAlso: #R0016,#R0018
----------S00000012--------------------------
MSR 00000012h - Pentium, Cyrix 6x86MX - EVENT COUNTER #0
Size: 40 bits
Access: Read/Write
Note: also supported by Cyrix 6x86MX and Centaur (IDT) WinChip C6
SeeAlso: MSR 00000011h,MSR 00000013h,MSR 80000012h,MSR 000000C1h
----------S00000013--------------------------
MSR 00000013h - Pentium, Cyrix 6x86MX - EVENT COUNTER #1
Size: 40 bits
Access: Read/Write
Note: also supported by Cyrix 6x86MX and Centaur (IDT) WinChip C6
SeeAlso: MSR 00000011h,MSR 00000012h,MSR 80000013h,MSR 000000C2h
----------S00000014--------------------------
MSR 00000014h - Pentium P54C - bug?
Note: returns 0 on all reads and ignores any writes for P54C processors with
CPUID values <= 0524h, rather than causing an exception; possibly due
to a microcode bug
----------S00000017--------------------------
MSR 00000017h - Pentium Pro, PentiumII (0.25um) - ???
SeeAlso: MSR 00000018h
----------S00000018--------------------------
MSR 00000018h - Pentium Pro, PentiumII - ???
SeeAlso: MSR 00000017h,MSR 00000021h
----------S0000001B--------------------------
MSR 0000001Bh - Pentium Pro, PentiumII - APIC BASE ADDRESS
SeeAlso: MEM FEE00000h
Bitfields for Pentium Pro/PentiumII MSR 0000001Bh:
Bit(s) Description (Table R0019)
63-36 reserved
35-32 (P-II) APIC base address bits 35-32
(PPro) reserved
31-12 APIC base address bits 31-12
11 APIC global enable (can not be cleared except through hard reset)
10-9 reserved
8 this is the BootStrap Processor
7-0 reserved
----------S00000021--------------------------
MSR 00000021h - Pentium II - ???
SeeAlso: MSR 00000018h,MSR 00000032h
----------S0000002A--------------------------
MSR 0000002Ah - Pentium Pro/II - "EBL_CR_POWERON"
Size: 32 bits
Access: Read/write
Bitfields for Pentium Pro MSR 0000002Ah:
Bit(s) Description (Table R0020)
31-27 reserved
26 (read-only) Low Power enable
allow processor to stop internal clocks in Stop-Grant, Sleep, Deep
Sleep states
25 reserved
24-22 (read-only) clock frequency ratio (see #R0021)
21-20 (read-only) symmetric arbitration ID
19-18 ???
17-16 (read-only) APIC cluster ID
15 (read-only) FRC [Funtional Redundancy Checking] mode enabled
14 (read-only) Power-on Reset Vector at 1M instead of 4G
13 (read-only) IN Order Queue depth is 1 instead of 8
12 (read-only) BINIT# observation enabled
11 reserved
10 (read-only) AERR# observation enabled
9 Execute-BIST enabled
8 output tri-state enabled
7 disable BINIT# drive
6 disable BERR# for initiator internal errors
5 reserved
4 disable BERR# for initiator bus requests
3 disable AERR# drive
2 disable response error checking
1 disable data error checking
0 data bus uses ECC instead of parity
(Table R0021)
Values for Pentium Pro/PentiumII clock multiplier:
0 x2
1 x4
2 x3
4 x2.5
6 x3.5
15 x2
SeeAlso: #R0020
----------S00000032--------------------------
MSR 00000032h - PentiumII - ???
SeeAlso: MSR 00000021h,MSR 00000034h
----------S00000033--------------------------
MSR 00000033h - Pentium Pro, PentiumII - "TEST_CTL" TEST CONTROL REGISTER
SeeAlso: 32 bits
Bitfields for Pentium Pro MSR 0033h:
Bit(s) Description (Table R0022)
31 (step sB1 and later) disable LOCK# for locked transactions which
are split across a cache line boundary
30 (step sB1 and later) disable Instruction Streaming buffers
--used to work around sB1 errata 58 and 59
29-0 reserved
----------S00000034--------------------------
MSR 00000034h - Pentium Pro - ???
SeeAlso: MSR 00000032h
----------S0000003A--------------------------
MSR 0000003Ah - Pentium Pro - ???
----------S0000003B--------------------------
MSR 0000003Bh - PentiumII - ???
----------S00000050--------------------------
MSR 00000050h - Pentium Pro - ???
----------S00000051--------------------------
MSR 00000051h - Pentium Pro - ???
----------S00000052--------------------------
MSR 00000052h - Pentium Pro - ???
----------S00000053--------------------------
MSR 00000053h - Pentium Pro - ???
----------S00000054--------------------------
MSR 00000054h - Pentium Pro - ???
----------S00000079--------------------------
MSR 00000079h - Pentium Pro, PentiumII - BIOS UPDATE TRIGGER
Size: 32 bits
Access: Write
Desc: writing the linear address of a microcode update block (see #00533)
to this MSR causes the CPU to initiate a microcode load
SeeAlso: INT 15/AX=D042h/BL=01h,MSR 0000008Bh
----------S00000082--------------------------
MSR 00000082h - AMD Am5k86 (AMD-K5) - ARRAY ACCESS REGISTER
Size: 64 bits
Note: EDX remains unchanged after an RDMSR to simplify multiple accesses
SeeAlso: MSR 00000083h
Bitfields for AMD Am5k86 (AMD-K5) Array Access Register:
Bit(s) Description (Table R0023)
63-40 pointer within array specified below
39-32 array identifier (see #R0024)
31-0 array data
SeeAlso: #R0036
(Table R0024)
Values for AMD Am5k86 Array Pointer:
E0h data cache (data)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -