SPRUI04E July 2015 – January 2023
The TMS320C6000 C/C++ compiler uses a variety of optimization techniques to improve the execution speed of your C/C++ programs and to reduce their size. The following are some of the optimizations performed by the compiler:
Optimization | See |
---|---|
Cost-based register allocation | Section 5.19.1 |
Alias disambiguation | Section 5.19.2 |
Branch optimizations and control-flow simplification | Section 5.19.3 |
Data flow optimizations
|
Section 5.19.4 |
Expression simplification | Section 5.19.5 |
Inline expansion of functions | Section 5.19.6 |
Function symbol aliasing | Section 5.19.7 |
Induction variables and strength reduction | Section 5.19.8 |
Loop-invariant code motion | Section 5.19.9 |
Loop rotation | Section 5.19.10 |
Vectorization | Section 5.19.11 |
Instruction scheduling | Section 5.19.12 |
C6000-Specific Optimization | See |
---|---|
Register variables | Section 5.19.13 |
Register tracking/targeting | Section 5.19.14 |
Software pipelining | Section 5.19.15 |