Stage 3: Software Pipeline The Loop - Texas Instruments TMS320C6000 Programmer's Manual

Hide thumbs Also See for TMS320C6000:
Table of Contents

Advertisement

Understanding Feedback
1.4.3

Stage 3: Software Pipeline the Loop

Example 1–4.Stage 3 Feedback
;*
Searching for software pipeline schedule at ...
;*
ii = 5
;*
ii = 6
;*
ii = 7
;*
done
;*
;*
Epilog not entirely removed
;*
Collapsed epilog stages
;*
;*
Prolog not removed
;*
Collapsed prolog stages
;*
;*
Minimum required memory pad : 2 bytes
;*
;*
Minimum safe trip count
1-14
Once the compiler has completed qualification of the loop, partitioned it, and
analyzed the necessary loop carry and resource requirements, it can begin to
attempt software pipelining. This section will focus on the following lines from
the feedback example:
Register is live too long
Did not find schedule
Schedule found with 3 iterations in parallel
Iteration interval (ii). The number of cycles between the initiation of
successive iterations of the loop. The smaller the iteration interval, the
fewer cycles it takes to execute a loop. All of the numbers shown in each
row of the feedback imply something about what the minimum iteration in-
terval (mii) will be for the compiler to attempt initial software pipelining.
Several things will determine what the mii of the loop is and are described
in the following sections. The mii is simply the maximum of any of these
individual mii's.
The first thing the compiler attempts during this stage, is to schedule the loop
at an iteration interval (ii) equal to the mii determined in stage 2: collect loop
resource and dependency graph information. In the example above, since the
A–side bound (.L, .S, .D, .LS, and .LSD) was the mii bottleneck, our example
starts with:
;*
Searching for software pipeline schedule at ...
;*
ii = 5
If the attempt was not successful, the compiler provides additional feedback
to help explain why. In this case, the compiler cannot find a schedule at 11
cycles because register is live too long. For more information about live too
long issues, see section 6.10, on page 6-101.
: 1
: 0
: 2
Register is live too long

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