tlbld (Load Data TLB Entry) instruction
Purpose
Loads the data Translation Look-Aside Buffer (TLB) entry to assist a TLB reload function performed in software on the PowerPC 603 RISC Microprocessor.
- The tlbld instruction is supported only on the PowerPC 603 RISC Microprocessor. It is not part of the PowerPC® architecture and not part of the POWER® family architecture.
- TLB reload is usually done by the hardware, but on the PowerPC 603 RISC Microprocessor this is done by software.
- When AIX is installed on a system using the PowerPC 603 RISC Microprocessor, software to perform the TLB reload function is provided as part of the operating system. You are likely to need to use this instruction only if you are writing software for the PowerPC 603 RISC Microprocessor intended to operate without AIX®.
Syntax
Bits | Value |
---|---|
0 - 5 | 31 |
6 - 10 | /// |
11 - 15 | /// |
16 - 20 | RB |
21 - 30 | 978 |
31 | / |
Item | Description |
---|---|
PowerPC 603 RISC Microprocessor | PowerPC 603 RISC Microprocessor |
tlbld | RB |
Description
For better understanding, the following information is presented:
- Information about a typical TLB reload function that would call the tlbld instruction.
- An explanation of what the tlbld instruction does.
Typical TLB Reload Function
In the processing of the address translation, the Effective Address (EA) is first translated into a Virtual Address (VA). The part of the Virtual Address is used to select the TLB entry. If an entry is not found in the TLB, a miss is detected. When a miss is detected, the EA is loaded into the data TLB Miss Address (DMISS) register. The first word of the target Page Table Entry is loaded into the data TLB Miss Compare (DCMP) register. A routine is invoked to compare the content of DCMP with all the entries in the primary Page Table Entry Group (PTEG) pointed to by the HASH1 register and all the entries in the secondary PTEG pointed to by the HASH2 register. When there is a match, the tlbld instruction is invoked.
tlbld Instruction Function
The tlbld instruction loads the data Translation Look-Aside Buffer (TLB) entry selected by the content of register RB in the following way:
- The content of the data TLB Miss Compare (DCMP) register is loaded into the higher word of the data TLB entry.
- The contents of the RPA register and the data TLB Miss Address (DMISS) register are merged and loaded into the lower word of the data TLB entry.
The tlbld instruction has one syntax form and does not affect the Fixed-Point Exception Register. If the Record bit (Rc) is set to 1, the instruction form is invalid.
Parameters
Item | Description |
---|---|
RB | Specifies the source general-purpose register for EA. |
Security
The tlbld instruction is privileged.