User’s Manual
IBM PowerPC 750GX and 750GL RISC Microprocessor
11.4 Event Selection
Event selection is handled through MMCR0 and MMCR1.
• The four
– | MMCR0[19:25] PMC1SELECT | PMC1 input selector. 128 events selectable; 25 defined. See |
|
| |
– | MMCR0[26:31] PMC2SELECT | PMC2 input selector. 64 events selectable; 21 defined. See |
|
| |
– | MMCR0[0:4] PMC3SELECT | PMC3 input selector. 32 events selectable and defined. See |
|
| |
– | MMCR0[5:9] PMC4SELECT | |
|
|
•In the tables, a correlation is established between each counter, events to be traced, and the pattern required for the desired selection.
•The first five events are common to all four counters and are considered to be reference events. These are as follows.
–00000 Register holds current value
–00001 Number of processor cycles
–00010 Number of completed instructions, not including folded branches
–00011 Number of transitions from 0 to 1 of specified bits in the Time Base Lower (TBL) register. Bits are specified through RTCSELECT,
00 = 31
01 = 23
10 = 19
11 = 15
–00100 Number of instructions dispatched. 0, 1, or 2 per cycle
•Some events can have multiple occurrences per cycle, and therefore need two or three bits to represent them.
11.5 Notes
The following warnings should be noted:
•Only those load and stores in queue position 0 of their respective load/store queues are monitored when a threshold event is selected in PMC1.
•The 750GX cannot accurately track threshold events with respect to the following types of loads and stores:
–Unaligned
–
–
Performance Monitor and System Related Features | gx_11.fm.(1.2) |
Page 356 of 377 | March 27, 2006 |