User’s Manual
IBM PowerPC 750GX and 750GL RISC Microprocessor
Whenever a way in the set is referenced, the LRU bits are updated. The new value of the LRU bits depends on the old value, which way is currently being accessed, and whether the operation is an invalidation or a load/store. Table
Table
Old LRU | Hit Way | Invalidate | New LRU |
|
|
|
|
|
|
|
|
00x | none | x | 11- |
|
|
|
|
01x | none | x | 10- |
|
|
|
|
1x0 | none | x | |
|
|
|
|
1x1 | none | x | |
|
|
|
|
xxx | 0 | 0 | 11- |
|
|
|
|
xxx | 1 | 0 | 10- |
|
|
|
|
xxx | 2 | 0 | |
|
|
|
|
xxx | 3 | 0 | |
|
|
|
|
xxx | 0 | 1 | 00- |
|
|
|
|
xxx | 1 | 1 | 01- |
|
|
|
|
xxx | 2 | 1 | |
|
|
|
|
xxx | 3 | 1 | |
|
|
|
|
The
Any combination of ways can be locked. The effect of locking on the replacement algorithm is that the least recently used of the unlocked ways is chosen for replacement. Table
Table
LRU Bits | Lock Bits | LRU Way |
|
|
|
|
|
|
00x | 0xxx | 0 |
|
|
|
00x | 10xx | 1 |
|
|
|
000 | 110x | 2 |
|
|
|
001 | 11x0 | 3 |
|
|
|
01x | x0xx | 1 |
|
|
|
01x | 01xx | 0 |
|
|
|
010 | 110x | 2 |
|
|
|
011 | 11x0 | 3 |
|
|
|
1x0 | xx0x | 2 |
|
|
|
1x0 | xx10 | 3 |
|
|
|
100 | 0x11 | 0 |
|
|
|
|
|
|
gx_09.fm.(1.2) |
| L2 Cache |
March 27, 2006 |
| Page 325 of 377 |