![](http://datasheet.mmic.net.cn/280000/MPC8240_datasheet_16098342/MPC8240_96.png)
2-34
MPC8240 Integrated Processor User's Manual
MOTOROLA
Differences between the MPC8240 Core and the PowerPC 603e Microprocessor
¥
The dispatch pipeline stage is responsible for decoding the instructions supplied by
the instruction fetch stage, and determining which of the instructions are eligible to
be dispatched in the current cycle. In addition, the source operands of the
instructions are read from the appropriate register Tle and dispatched with the
instruction to the execute pipeline stage. At the end of the dispatch pipeline stage,
the dispatched instructions and their operands are latched by the appropriate
execution unit.
During the execute pipeline stage, each execution unit that has an executable
instruction executes the selected instruction (perhaps over multiple cycles), writes
the instruction's result into the appropriate rename register, and notiTes the
completion stage that the instruction has Tnished execution. In the case of an internal
exception, the execution unit reports the exception to the completion/writeback
pipeline stage and discontinues instruction execution until the exception is handled.
The exception is not signaled until that instruction is the next to be completed.
Execution of most load/store instructions is also pipelined. The load/store unit has
two pipeline stages. The Trst stage is for effective address calculation and MMU
translation, and the second stage is for accessing the data in the cache.
The complete/writeback pipeline stage maintains the correct architectural machine
state and transfers the contents of the rename registers to the GPRs and FPRs as
instructions are retired. If the completion logic detects an instruction causing an
exception, all following instructions are cancelled, their execution results in rename
registers are discarded, and instructions are fetched from the correct instruction
stream.
¥
¥
The processor core provides support for single-cycle store operations and provides an
adder/comparator in the SRU that allows the dispatch and execution of multiple integer add
and compare instructions on each cycle.
Performance of integer divide operations has been improved in the processor core.
Execution of a divide instruction takes half the cycles to execute than that described in the
MPC603e Users Manual. The new latency is reected in Table 2-9.
2.8 Differences between the MPC8240 Core and the
PowerPC 603e Microprocessor
The MPC8240 processor core is a derivative of the MPC603e microprocessor design. Some
changes have been made and are visible either to a programmer or a system designer. Any
software designed around an MPC603e is functional when replaced with the MPC8240
except for the speciTc customer-visible changes listed in Table 2-10.
Table 2-9. Integer Divide Latency
Primary Opcode
Extended Opcode
Mnemonic
Form
Unit
Cycles
31
459
divwu[o][.]
xo
IU
20
31
491
divw[o][.]
xo
IU
20