MPC885 Instruction Set
MPC885 PowerQUICC Family Reference Manual, Rev. 2
5-14
Freescale Semiconductor
Load string and store string instructions may involve operands that are not word-aligned. As described in
“Alignment Exception (0x00600)” in Chapter 6, “Exceptions,” in the Programming Environments
Manual, a misaligned string operation suffers a performance penalty compared to a word-aligned
operation of the same type.
When a string operation crosses a page boundary, the instruction may be interrupted by a DSI exception
associated with the address translation of the second page. In this case, the MPC885 performs some or all
memory references from the first page and none from the second before taking the exception. On return
from the DSI exception, the load or store string instruction will re-execute from the beginning. For more
information, refer to “DSI Exception (0x00300)” in Chapter 6, “Exceptions,” in the Programming
Environments Manual.
5.2.4.3
Branch and Flow Control Instructions
Branch instructions are executed by the branch processing unit (BPU). The BPU receives branch
instructions from the fetch unit and performs condition register (CR) lookahead operations on conditional
branches to resolve them early, achieving the effect of a zero-cycle branch in many cases.
Some branch instructions can redirect instruction execution conditionally based on the value of bits in the
CR. When the branch processor encounters one of these instructions, it scans the execution pipelines to
determine whether an instruction in progress may affect the particular CR bit. If no interlock is found, the
branch can be resolved immediately by checking the bit in the CR and taking the action defined for the
branch instruction.
If an interlock is detected, the branch is considered unresolved and the direction of the branch is predicted
using static branch prediction as described in “Conditional Branch Control” in Chapter 4, “Addressing
Modes and Instruction Set Summary,” in the Programming Environments Manual. The interlock is
monitored while instructions are fetched for the predicted branch. When the interlock is cleared, the branch
processor determines whether the prediction was correct based on the value of the CR bit. If the prediction
is correct, the branch is considered completed and instruction fetching continues. If the prediction is
incorrect, the fetched instructions are purged, and instruction fetching continues along the alternate path.
See
Chapter 9, “Instruction Execution Timing,”
for information about how branches are executed.
5.2.4.3.1
Branch Instruction Address Calculation
Branch instructions can alter the sequence of instruction execution. Instruction addresses are always
assumed to be word aligned; the processor ignores the two low-order bits of the generated branch target
address.
Branch instructions compute the effective address (EA) of the next instruction address using the following
addressing modes:
•
Branch relative
•
Branch conditional to relative address
•
Branch to absolute address
•
Branch conditional to absolute address
Summary of Contents for PowerQUICC MPC870
Page 98: ...MPC885 PowerQUICC Family Reference Manual Rev 2 I 4 Freescale Semiconductor ...
Page 118: ...MPC885 Overview MPC885 PowerQUICC Family Reference Manual Rev 2 1 20 Freescale Semiconductor ...
Page 158: ...The MPC8xx Core MPC885 PowerQUICC Family Reference Manual Rev 2 3 18 Freescale Semiconductor ...
Page 288: ...MPC885 PowerQUICC Family Reference Manual Rev 2 III 4 Freescale Semiconductor ...
Page 554: ...MPC885 PowerQUICC Family Reference Manual Rev 2 V 6 Freescale Semiconductor ...
Page 1090: ...UTOPIA Interface MPC885 PowerQUICC Family Reference Manual Rev 2 43 8 Freescale Semiconductor ...
Page 1312: ...Byte Ordering MPC885 PowerQUICC Family Reference Manual Rev 2 A 8 Freescale Semiconductor ...
Page 1336: ...MPC885 PowerQUICC Family Reference Manual Rev 2 D 16 Freescale Semiconductor ...
Page 1358: ...MPC885 PowerQUICC Family Reference Manual Rev 2 D 38 Freescale Semiconductor ...
Page 1370: ...MPC880 MPC885 PowerQUICC Family Reference Manual Rev 2 E 4 Freescale Semiconductor ...
Page 1386: ...Revision History MPC885 PowerQUICC Family Reference Manual Rev 2 I 2 Freescale Semiconductor ...