Texas Instruments TMS320C6000 Programmer's Manual page 138

Hide thumbs Also See for TMS320C6000:
Table of Contents

Advertisement

Optimizing Assembly Code
This chapter describes methods that help you develop more efficient
assembly language programs, understand the code produced by the
assembly optimizer, and perform manual optimization.
This chapter encompasses phase 3 of the code development flow. After you
have developed and optimized your C code using the 'C6000 compiler, extract
the inefficient areas from your C code and rewrite them in linear assembly (as-
sembly code that has not been register-allocated and is unscheduled).
The assembly code shown in this chapter has been hand-optimized in order
to direct your attention to particular coding issues. The actual output from the
assembly optimizer may look different, depending on the version you are us-
ing.
Topic
6.1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6.2
6.3
6.4
6.5
6.6
Modulo Scheduling of Multicycle Loops
6.7
Loop Carry Paths
6.8
If-Then-Else Statements in a Loop
6.9
Loop Unrolling
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6.10 Live-Too-Long Issues
6.11 Redundant Load Elimination
6.12 Memory Banks
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6.13 Software Pipelining the Outer Loop
6.14 Outer Loop Conditionally Executed With Inner Loop
via Linear Assembly
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 6
Page
6-2
. . . . . . . . . . . . . . . . . . . .
6-4
6-9
6-19
6-29
6-58
6-77
6-86
6-94
6-101
6-110
6-118
6-131
. . . . . . . . . . .
6-136
6-1

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