SPRUI04F july 2015 – april 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 4.18.1 |
Alias disambiguation | Section 4.18.2 |
Branch optimizations and control-flow simplification | Section 4.18.3 |
Data flow optimizations
|
Section 4.18.4 |
Expression simplification | Section 4.18.5 |
Inline expansion of functions | Section 4.18.6 |
Function symbol aliasing | Section 4.18.7 |
Induction variables and strength reduction | Section 4.18.8 |
Loop-invariant code motion | Section 4.18.9 |
Loop rotation | Section 4.18.10 |
Vectorization | Section 4.18.11 |
Instruction scheduling | Section 4.18.12 |
C6000-Specific Optimization | See |
---|---|
Register variables | Section 4.18.13 |
Register tracking/targeting | Section 4.18.14 |
Software pipelining | Section 4.18.15 |