Dependency Graph Of Fixed-Point Dot Product With Ldw (Showing Functional Units) - Texas Instruments TMS320C6000 Programmer's Manual

Hide thumbs Also See for TMS320C6000:
Table of Contents

Advertisement

Software Pipelining
Figure 6–9. Dependency Graph of Fixed-Point Dot Product With LDW
(Showing Functional Units)
Example 6–21. Linear Assembly for Fixed-Point Dot Product Inner Loop
(With Conditional SUB Instruction)
LDW
.D1
LDW
.D2
MPY
.M1X
MPYH
.M2X
ADD
.L1
ADD
.L2
[A1] SUB
.S1
[A1] B
.S2
6-30
A side
LDW
.D1
ai & ai+1
5
5
MPY
pi
.M1X
2
ADD
1
.L1
sum0
SUB
1
.S1
cntr
1
*A4++,A2
; load ai and ai+1 from memory
*B4++,B2
; load bi and bi+1 from memory
A2,B2,A6
; ai * bi
A2,B2,B6
; ai+1 * bi+1
A6,A7,A7
; sum0 += (ai * bi)
B6,B7,B7
; sum1 += (ai+1 * bi+1)
A1,1,A1
; decrement loop counter
LOOP
; branch to top of loop
B side
LDW
.D2
bi & bi+1
5
5
MPYH
pi+1
.M2X
2
ADD
1
sum1
.L2
B
LOOP
.S2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents