tlbwe
TLB Write Entry
tlbwe
Writes a TLB entry from MAS registers.
Encoding
Binary Layout
31
0:5
/
6:10
/
11:15
/
16:20
978
21:30
/
31
Operands
Related
More in Embedded
Reference
View in PowerISA v3.1C Specification ↗
OPF Power ISA v3.1C
Description
Writes a TLB entry from MAS1-MAS3 registers into the TLB at the location specified by MAS0. This instruction is privileged and requires hypervisor mode on some implementations. The entry index and way are determined by MAS0; the instruction updates the corresponding TLB entry with data from MAS1-MAS3.
Operation
TLB[MAS0.ESEL, MAS0.TLBSEL].MAS1 ← MAS1
TLB[MAS0.ESEL, MAS0.TLBSEL].MAS2 ← MAS2
TLB[MAS0.ESEL, MAS0.TLBSEL].MAS3 ← MAS3