User’s Manual
IBM PowerPC 750GX and 750GL RISC Microprocessor
2.1.2.5This 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
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.
DIS
DP DU
DMS | DMR | ENINT | DISCOUNT | RTCSELECT | INTONBITTRANS | |||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
THRESHOLD
PMC1INTCONTROL | PMC2INTCONTROL | PMCTRIGGER |
PMC1SELECTPMC2SELECT
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 |
|
|
|
|
|
|
|
|
| |||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Disables counting unconditionally. |
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||
| 0 |
|
|
|
|
|
|
|
| DIS |
|
|
| 0 |
| The values of the PMCn counters can be changed by hardware. |
|
|
|
| |||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
| The values of the PMCn counters cannot be changed by hardware. |
|
|
| |||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Disables counting while in supervisor mode. |
|
|
|
|
|
|
|
|
|
| ||||||||||
| 1 |
|
|
|
|
|
|
|
| DP |
|
|
| 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. |
|
|
|
|
|
|
|
|
|
|
|
|
| |||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Disables counting while in user mode. |
|
|
|
|
|
|
|
|
|
|
|
| ||||||||
| 2 |
|
|
|
|
|
|
|
| DU |
|
|
| 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. |
|
|
|
|
|
|
|
|
|
|
|
|
| |||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Disables counting while MSR[PM] is set. |
|
|
|
|
|
|
|
|
|
|
| |||||||||
| 3 |
|
|
|
|
|
|
| DMS |
|
|
| 0 |
| The PMCn counters can be changed by hardware. |
|
|
|
|
|
|
| |||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
| If MSR[PM] is set, the PMCn counters are not changed by hardware. |
|
|
| |||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Disables counting while MSR[PM] is zero. |
|
|
|
|
|
|
|
|
|
|
| |||||||||
| 4 |
|
|
|
|
|
|
| DMR |
|
|
| 0 |
| The PMCn counters can be changed by hardware. |
|
|
|
|
|
|
| |||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
| If MSR[PM] is cleared, the PMCn counters are not changed by hardware. |
| |||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Enables |
|
|
|
|
|
|
|
|
| |||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 0 |
| Interrupt signaling is disabled. |
|
|
|
|
|
|
|
|
|
|
|
| ||||||
| 5 |
|
|
|
|
|
|
| ENINT |
|
|
| 1 |
| Interrupt signaling is enabled. |
|
|
|
|
|
|
|
|
|
|
|
| ||||||||
|
|
|
|
|
|
|
|
|
|
| Cleared by hardware when a |
| |||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| these interrupt signals, software must set this bit after handling the | ||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| interrupt. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Programming Model | gx_02.fm.(1.2) |
Page 72 of 377 | March 27, 2006 |