![](/images/backgrounds/120559/120559-377138x1.png)
User’s Manual
IBM PowerPC 750GX and 750GL RISC Microprocessor
Table
If the current |
|
| Then the PLRU bits are changed to:1 |
|
| ||
|
|
|
|
|
|
| |
access is to: | B0 | B1 | B2 | B3 | B4 | B5 | B6 |
| |||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
L0 | 1 | 1 | x | 1 | x | x | x |
|
|
|
|
|
|
|
|
L1 | 1 | 1 | x | 0 | x | x | x |
|
|
|
|
|
|
|
|
L2 | 1 | 0 | x | x | 1 | x | x |
|
|
|
|
|
|
|
|
L3 | 1 | 0 | x | x | 0 | x | x |
|
|
|
|
|
|
|
|
L4 | 0 | x | 1 | x | x | 1 | x |
|
|
|
|
|
|
|
|
L5 | 0 | x | 1 | x | x | 0 | x |
|
|
|
|
|
|
|
|
L6 | 0 | x | 0 | x | x | x | 1 |
|
|
|
|
|
|
|
|
L7 | 0 | x | 0 | x | x | x | 0 |
|
|
|
|
|
|
|
|
1. x = Does not change
If all eight blocks are valid, then a block is selected for replacement according to the PLRU bit encodings shown in Table
Table
|
|
|
|
|
| Then the block |
|
| If the PLRU bits are: |
|
| selected for | |
|
|
|
|
|
| replacement is: |
|
|
|
|
|
| |
|
|
|
|
|
|
|
| 0 |
| 0 | B3 | 0 | L0 |
|
|
|
|
|
| |
| 0 | B1 | 0 | 1 | L1 | |
|
| |||||
|
|
|
|
|
| |
| 0 | 1 | B4 | 0 | L2 | |
|
| |||||
|
|
|
|
|
| |
B0 | 0 |
| 1 | 1 | L3 | |
|
| |||||
|
|
|
|
|
| |
1 |
| 0 | B5 | 0 | L4 | |
|
| |||||
|
|
|
|
|
| |
| 1 | B2 | 0 | 1 | L5 | |
|
| |||||
|
|
|
|
|
| |
| 1 | 1 | B6 | 0 | L6 | |
|
| |||||
|
|
|
|
|
| |
| 1 |
| 1 | 1 | L7 | |
|
|
| ||||
|
|
|
|
|
|
|
During
The instruction cache can be invalidated by executing a series of icbi instructions or by setting HID0[ICFI]. The data cache can be invalidated by executing a series of dcbi instructions or by setting HID0[DCFI].
Any modified entries in the data cache can be copied back to memory (flushed) by using the dcbf instruction or by executing a series of 12 uniquely addressed load or dcbz instructions to each of the 128 sets. The address space should not be shared with any other process to prevent snoop hit invalidations during the flushing routine. Exceptions should be disabled during this time so that the PLRU algorithm is not disturbed.
gx_03.fm.(1.2) | |
Page 138 of 377 | March 27, 2006 |