READI Module
MPC561/MPC563 Reference Manual, Rev. 1.2
24-40
Freescale Semiconductor
24.8.2.3
Correction Messages
In case of a mispredicted branch or an exception, a program trace correction message may also be sent
indicating a number which corrects the number of instructions (not messages) in the trace.
In the case of a synchronizing branch trace message getting corrected due to a misprediction or an
exception, the next branch trace message will be a synchronizing message.
illustrates an example of a program trace correction message in case of a mispredicted branch.
NOTE
In case of a mispredicted branch, the correction count is always 1 and the
sequential instruction count is reset to 1 (to denote the not-taken branch as
a sequential instruction), after the program trace correction message is sent.
This is because a mispredicted branch is considered to be a sequential
instruction.
illustrates an example of a program trace correction message in case of an exception.
NOTE
In case of an exception, the sequential instruction count is reset to 0, after
the program trace correction message is sent.
Table 24-27. Program Trace Correction Due to a Mispredicted Branch
Time
Processor State
Message sent
1
Sequential Instruction
2
Sequential Instruction
3
Sequential Instruction
4
Sequential Instruction
5
Sequential Instruction
6
Direct Branch Instruction
Direct Branch Message
TCODE = 3
Number of sequential instructions executed
since last taken branch = 5
7
Sequential Instruction
8
Sequential Instruction
9
Sequential Instruction
10
Sequential Instruction
11
Indirect Branch Instruction
(mispredicted taken)
Indirect Branch Message
TCODE = 4
Number of sequential instructions executed
since last taken branch = 4
Unique portion of the target address
12
Sequential Instruction
13
Sequential Instruction
Summary of Contents for MPC561
Page 84: ...MPC561 MPC563 Reference Manual Rev 1 2 lxxxiv Freescale Semiconductor...
Page 144: ...Signal Descriptions MPC561 MPC563 Reference Manual Rev 1 2 2 46 Freescale Semiconductor...
Page 206: ...Central Processing Unit MPC561 MPC563 Reference Manual Rev 1 2 3 62 Freescale Semiconductor...
Page 302: ...Reset MPC561 MPC563 Reference Manual Rev 1 2 7 14 Freescale Semiconductor...
Page 854: ...Time Processor Unit 3 MPC561 MPC563 Reference Manual Rev 1 2 19 24 Freescale Semiconductor...
Page 968: ...Development Support MPC561 MPC563 Reference Manual Rev 1 2 23 54 Freescale Semiconductor...
Page 1144: ...Internal Memory Map MPC561 MPC563 Reference Manual Rev 1 2 B 34 Freescale Semiconductor...
Page 1212: ...TPU3 ROM Functions MPC561 MPC563 Reference Manual Rev 1 2 D 60 Freescale Semiconductor...
Page 1216: ...Memory Access Timing MPC561 MPC563 Reference Manual Rev 1 2 E 4 Freescale Semiconductor...