Figure 6–6. Dependency Graph of Floating-Point Dot Product With LDDW
6.4.4
Linear Assembly Resource Allocation
Using Word Access for Short Data and Doubleword Access for Floating-Point Data
LDDWs, MPYSPs, and ADDSPs on each side. To keep both sides even, place
the remaining two instructions, B and SUB, on opposite sides.
4
1
After splitting the dependency graph for both the fixed-point and floating-point
dot products, you can assign functional units and registers, as shown in the
dependency graphs in Figure 6–7 and Figure 6–8 and in the instructions in
Example 6–17 and Example 6–18. The .M1X and .M2X represent a path in the
dependency graph crossing from one side to the other.
Optimizing Assembly Code via Linear Assembly
A side
LDDW
ai & ai+1
5
5
MPYSP
pi
4
ADDSP
4
sum0
SUB
cntr
B
1
LOOP
B side
LDDW
bi & bi+1
5
5
MPYSP
pi+1
4
ADDSP
sum1
6-23
Need help?
Do you have a question about the TMS320C6000 and is the answer not in the manual?
Questions and answers