Stage 2: Collect Loop Resource And Dependency Graph Information - Texas Instruments TMS320C6000 Programmer's Manual

Hide thumbs Also See for TMS320C6000:
Table of Contents

Advertisement

1.4.2

Stage 2: Collect Loop Resource and Dependency Graph Information

Example 1–3.Stage 2 Feedback
;*
Loop Carried Dependency Bound(^) : 4
;*
Unpartitioned Resource Bound
;*
Partitioned Resource Bound(*)
;*
Resource Partition:
;*
;*
.L units
;*
.S units
;*
.D units
;*
.M units
;*
.X cross paths
;*
.T address paths
;*
Long read paths
;*
Long write paths
;*
Logical
;*
Addition ops (.LSD)
;*
Bound(.L .S .LS)
;*
Bound(.L .S .D .LS .LSD)
The second stage of software pipelining a loop is collecting loop resource and
dependency graph information. The results of stage 2 will be displayed in the
feedback window as follows:
A–side
ops (.LS)
Loop carried dependency bound. The distance of the largest loop carry
path, if one exists. A loop carry path occurs when one iteration of a loop
writes a value that must be read in a future iteration. Instructions that are
part of the loop carry bound are marked with the ^ symbol in the assembly
code saved with the –k option in the *.asm file. The number shown for the
loop carried dependency bound is the minimum iteration interval due to a
loop carry dependency bound for the loop.
Often, this loop carried dependency bound is due to lack of knowledge by
the compiler about certain pointer variables. When exact values of point-
ers are not known, the compiler must assume that any two pointers might
point to the same location. Thus, loads from one pointer have an implied
dependency to another pointer performing a store and vice versa. This can
create large (and usually unnecessary) dependency paths. When the
Loop Carried Dependency Bound is larger than the Resource Bound, this
is often the culprit. Potential solutions for this are shown in Appendix A,
Feedback Solutions.
: 4
: 5
B–side
2
3
4
4
1
0
0
0
1
3
1
0
0
0
0
0
0
1
(.L or .S unit)
6
3
(.L or .S or .D unit)
3
4
5*
4
Understanding Feedback
Introduction
1-11

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TMS320C6000 and is the answer not in the manual?

Questions and answers

Table of Contents