4. Basic Code Optimization Strategies and TechniquesΒΆ
This section discusses basic code optimization techniques that can be applied to C/C++ code that will run on the C7000 DSP core.
Contents:
- 4.1. Overview of the Compilation Process
- 4.2. Selecting Compiler Options
- 4.3. Automatic Use of the Streaming Engine and Streaming Address Generator
- 4.4. Using Existing Optimized Libraries
- 4.5. Signed Types for Iteration Counters and Limits
- 4.6. Use of the restrict Keyword
- 4.7. Function Calls and Inlining
- 4.8. MUST_ITERATE and PROB_ITERATE Pragmas and Attributes
- 4.9. Floating-Point Division
- 4.10. C++ Features to Use and Avoid
- 4.11. Memory Optimizations
- 4.12. Vector Programming and the Scalable Vector Programming Model