User’s Manual
IBM PowerPC 750GX and 750GL RISC Microprocessor
Programming Model
Page 72 of 377
gx_02.fm.(1.2)
March 27, 2006
2.1.2.5 Performance-Monitor Registers
This section describes the registers used by the performance monitor, which is described in Chapter 11,
Performance Monitor and System Related Features, on page 349.
Monitor Mode Control Register 0 (MMCR0)
The Monitor Mode Control Register 0 (MMCR0) is a 32-bit SPR provided to specify events to be counted and
recorded. The MMCR0 can be accessed only in supervisor mode. User-level software can read the contents
of MMCR0 by issuing an mfspr instruction to UMMCR0, described in the following section.
This register must be cleared at power up. Reading this register does not change its contents. MMCR0 can
be accessed with mtspr and mfspr using SPR 952.
DI
S
DP DU
DMS
DMR
EN
IN
T
DI
S
C
OUNT
RTCS
E
L
E
C
T
IN
TONBI
TTRA
N
S
THRESHOLD
P
M
C1
IN
T
C
ONTROL
P
M
C2
IN
T
C
ONTROL
P
M
CTRI
GGE
R
PMC1SELECT
PMC2SELECT
0
1
2
3
4
5
6
7
8
9
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Bits
Field Name
Description
0 DIS
Disables counting unconditionally.
0
The values of the PMCn counters can be changed by hardware.
1
The values of the PMCn counters cannot be changed by hardware.
1 DP
Disables counting while in supervisor mode.
0
The PMCn counters can be changed by hardware.
1
If the processor is in supervisor mode (MSR[PR] is cleared), the counters are not
changed by hardware.
2 DU
Disables counting while in user mode.
0
The PMCn counters can be changed by hardware.
1
If the processor is in user mode (MSR[PR] is set), the PMCn counters are not
changed by hardware.
3
DMS
Disables counting while MSR[PM] is set.
0
The PMCn counters can be changed by hardware.
1
If MSR[PM] is set, the PMCn counters are not changed by hardware.
4
DMR
Disables counting while MSR[PM] is zero.
0
The PMCn counters can be changed by hardware.
1
If MSR[PM] is cleared, the PMCn counters are not changed by hardware.
5
ENINT
Enables performance-monitor interrupt signaling.
0
Interrupt signaling is disabled.
1
Interrupt signaling is enabled.
Cleared by hardware when a performance-monitor interrupt is signaled. To re-enable
these interrupt signals, software must set this bit after handling the performance-monitor
interrupt.
Содержание PowerPC 750GX
Страница 1: ...IBM PowerPC 750GX and 750GL RISC Micro processor User s Manual Version 1 2 March 27 2006 Title Page...
Страница 12: ...User s Manual IBM PowerPC 750GX and 750GL RISC Microprocessor Page 12 of 377 750gx_umTOC fm 1 2 March 27 2006...
Страница 178: ...User s Manual IBM PowerPC 750GX and GL RISC Microprocessor Exceptions Page 178 of 377 gx_04 fm 1 2 March 27 2006...
Страница 334: ...User s Manual IBM PowerPC 750GX and 750GL RISC Microprocessor L2 Cache Page 334 of 377 gx_09 fm 1 2 March 27 2006...
Страница 376: ...User s Manual IBM PowerPC 750GX and 750GL RISC Microprocessor Index Page 376 of 377 750gx_umIX fm 1 2 March 27 2006...