Branch Instruction Phases - Texas Instruments TMS320C6000 Series Reference Manual

Table of Contents

Advertisement

Pipeline Execution of Instruction Types
5.2.5
Branch Instructions
Figure 5–16. Branch Instruction Phases
PG
PS
5-16
In the following code, pointer results are written to the A4 register in the first
execute phase of the pipeline and data is written to the A3 register in the fifth
execute phase.
LDW
.D1
*A4++,A3
Because a store takes three execute phases to write a value to memory and
a load takes three execute phases to read from memory, a load following a
store accesses the value placed in memory by that store in the cycle after the
store is completed. This is why the store is considered to have zero delay slots.
Although branch takes one execute phase, there are five delay slots between
the execution of the branch and execution of the target code. Figure 5–16
shows the pipeline phases used by the branch instruction and branch target
code. The delay slots are shaded.
PW
PR
DP
DC
Branch
target
E1
PG
PS
PW
PR
5 delay slots
DP
DC
E1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tms320c67 seriesTms320c62 series

Table of Contents