Download MPC7450 RISC Microprocessor Family Software Optimization Guide
Transcript
Terminology and Conventions Table 1 lists the three main processors referenced in this document and their derivatives. The derivative list is not necessarily complete and is subject to change. Table 1. Microarchitecture List First Implementation 1 Derivatives (Similar Devices) MPC750 MPC740, MPC745, MPC755 MPC7400 MPC7410 MPC7450 MPC7441, MPC7451 Terminology and Conventions This section provides an alphabetical glossary of terms used in this document. Because of the differences in the MPC7450, many of these definitions differ slightly from those for previous processors that implement the PowerPC architecture, particularly with respect to dispatch, issue, finishing, retirement, and write-back: • Branch prediction—The process of guessing the direction or target of a branch. Branch direction prediction involves guessing whether a branch will be taken. Target prediction involves guessing the target address of a bclr branch. The PowerPC architecture defines a means for static branch prediction as part of the instruction encoding. • Branch resolution—The determination of whether a branch prediction is correct. If it is, the instructions after the predicted branch that may have been speculatively executed can complete (see completion). If the prediction is incorrect, instructions on the mispredicted path and any results of speculative execution are purged from the pipeline and fetching continues from the correct path. • Complete—An instruction is in the complete stage after it executes and makes its results available for the next instruction (see finish). At the end of the complete stage, the instruction is retired from the completion queue (CQ). When an instruction completes, it is guaranteed that this instruction and all previous instructions can cause no exceptions. • Dispatch—The dispatch stage decodes instructions supplied by the instruction queue, renames any source/target operands, determines to which issue queue each non-branch instruction is dispatched, and determines whether the required space is available in both that issue queue and the completion queue. • Fall-through folding (branch fall-through)—Removal of a not-taken branch. On the MPC7450, not-taken branch instructions that do not update LR or CTR can be removed from the instruction stream if the branch instruction is in IQ3–IQ7. • Fetch—The process of bringing instructions from memory (such as a cache or system memory) into the instruction queue. • Finish—An executed instruction finishes by signaling the completion queue that execution is complete and results are available to subsequent instructions. For most execution units, finishing occurs at the end of the last cycle of execution; however, FPU, IU2, and VIU2 instructions finish at the end of a single-cycle finish stage after the last cycle of execution. • Folding (branch folding)—The replacement of a branch instruction and any instructions along the not-taken path with target instructions when a branch is either taken or predicted as taken. MPC7450 RISC Microprocessor Family Software Optimization Guide, Rev. 2 2 Freescale Semiconductor