NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.
Optimization Techniques for the TI C6000 Compiler
This page links to optimization resources that contain the key techniques used to obtain the best performance from the TI C6000 Code Generation Tools.
Contents
Introduction to C6000 DSP Optimization[edit]
- Introduction to C6000 DSP Optimization This application report helps DSP newcomers optimize their code for the C6000 family of DSPs.
C6000 Optimization Workshop and Materials[edit]
- TMS320C6000 DSP Optimization Workshop
- The workshop materials on this page show a user how to optimize their high-level C code for the TMS320C6000 DSP.
- Scroll down to "Workshop Materials"
c64, c64Plus Compiler Overview[edit]
- C64plus_cgt_overview.pdf
- Compact instructions, sploop, trampolines, performance/codesize data for c64x+ and a very brief splattering of tuning tips
c64, c64Plus Optimization Techniques[edit]
- C64p_cgt_optimization.pdf
- Selecting the right build options
- Also adds intermediate/advanced techniques for optimizing structure accesses, using restrict with structures and new examples.
- Examples use cgt version 6.0.x.
- Good data on control code optimizations
Hand-Tuning Loops and Control Code on the TMS320C6000[edit]
- Detailed Application Report
- The TMS320C6000 compiler automatically performs a great deal of performance-related tuning. This compiler-driven optimization usually suffices. For the occasional cases where additional CPU performance is needed, this application report presents strategies and examples for improving performance of C/C++ applications. Memory-related performance improvements (such as background DMA transfers or cache usage) are outside the scope of this report. The techniques apply to all members of the C6000 architecture family.
- The target audience is intermediate to advanced application developers. Familiarity with the C6000 architecture and experience developing code for this architecture is assumed.
Tuning Software Pipelined Loops[edit]
- Tuning Software Pipelined Loops
- Concise, web version of the Application Report, Hand-Tuning Loops and Control Code on the TMS320C6000
C6000 Programmer's Guide[edit]
Performance Tuning with the "Restrict" Keyword[edit]
- Performance Tuning with the "Restrict" Keyword explains the restrict keyword and how to use the keyword effectively with TI's C/C++ compilers to improve application performance. Intermediate to advanced material.