User’s Manual

IBM PowerPC 750GX and 750GL RISC Microprocessor

Translation Lookaside Buffer Management Instructions—(OEA)

The address-translation mechanism is defined in terms of the segment descriptors and page table entries (PTEs) PowerPC processors use to locate the logical-to-physical address mapping for a particular access. These segment descriptors and PTEs reside in Segment Registers and page tables in memory, respectively.

See Chapter 7, Signal Descriptions, on page 249 for more information about TLB operations. Table 2-45summarizes the operation of the TLB instructions in the 750GX.

Table 2-45. Translation Lookaside Buffer Management Instruction

Name

Mnemonic

Syntax

Implementation Notes

 

 

 

 

 

 

 

 

 

 

 

Invalidates both ways in both instruction and data TLB entries at the index provided

TLB Invalidate

tlbie

rB

by EA[14–19]. It executes regardless of the MSR[DR] and MSR[IR] settings. To

Entry

invalidate all entries in both TLBs, the programmer should issue 64 tlbie instruc-

 

 

 

 

 

tions; each should successively increment this field.

 

 

 

 

TLB Synchronize

tlbsync

On the 750GX, the only function tlbsync serves is to wait for the TLB Invalidate

Synchronize (TLBISYNC) signal to go inactive.

 

 

 

 

 

 

 

Implementation Note: The tlbia instruction is optional for an implementation if its effects can be achieved through some other mechanism. Therefore, it is not implemented on the 750GX. As described above, tlbie can be used to invalidate a particular index of the TLB based on EA[14–19]—a sequence of 64 tlbie instructions followed by a tlbsync instruction invalidates all the TLB structures (for EA[14–19] = 0, 1, 2,..., 63). Attempting to execute tlbia causes an illegal instruction program exception.

The presence and exact semantics of the TLB management instructions are implementation-dependent. To minimize compatibility problems, system software should incorporate uses of these instructions into subrou- tines.

2.3.7 Recommended Simplified Mnemonics

To simplify assembly language coding, a set of alternative mnemonics is provided for some frequently used operations (such as no-op, load immediate, load address, move register, and complement register). Programs written to be portable across the various assemblers for the PowerPC Architecture should not assume the existence of mnemonics not described in this document.

For a complete list of simplified mnemonics, see Appendix F, “Simplified Mnemonics” in the PowerPC Microprocessor Family: The Programming Environments Manual.

Programming Model

gx_02.fm.(1.2)

Page 120 of 377

March 27, 2006