User’s Manual
IBM PowerPC 750GX and 750GL RISC Microprocessor
In the 750GX, the referenced and changed bits are updated as follows.
•For TLB hits, the C bit is updated according to Table
•For TLB misses, when a
Table
R and C bits in TLB Entry | Processor Action | |
|
| |
|
| |
00 | Combination does not occur | |
|
| |
01 | Combination does not occur | |
|
| |
10 | Read: No special action | |
Write: The 750GX initiates a | ||
| ||
|
| |
11 | No special action for read or write | |
|
|
Table
The Data Cache Block Touch (dcbt) and Data Cache Block Touch for Store (dcbtst) instructions can execute if there is a TLB or BAT hit or if the processor is in
As defined by the PowerPC Architecture, the referenced and changed bits are updated as if address translation were disabled
The referenced (R) bit of a page is located in the PTE in the page table. Every time a page is referenced (with a read or write access) and the R bit is zero, the 750GX sets the R bit in the page table. The OEA specifies that the referenced bit can be set immediately, or the setting can be delayed until the memory access is determined to be successful. Because the reference to a page is what causes a PTE to be loaded into the TLB, the referenced bit in all TLB entries is effectively always set. The processor never automatically clears the referenced bit.
The referenced bit is only a hint to the operating system about the activity of a page. At times, the referenced bit might be set although the access was not logically required by the program or even if the access was prevented by memory protection. Examples of this in PowerPC systems include the following:
•Fetching of instructions not subsequently executed.
•A memory reference caused by a speculatively executed instruction that is mispredicted.
•Accesses generated by an lswx or stswx instruction with a zero length.
•Accesses generated by an stwcx. instruction when no store is performed because a reservation does not exist.
gx_05.fm.(1.2) | Memory Management |
March 27, 2006 | Page 197 of 377 |