13.07.2015 Views

DSP56xxx C Cross-Compiler User's Guide - Tasking

DSP56xxx C Cross-Compiler User's Guide - Tasking

DSP56xxx C Cross-Compiler User's Guide - Tasking

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4–56Chapter 4Option:Project | Project Options...C <strong>Compiler</strong>OptimizationCustom optimizationOptimizationConstant and copy propagation (data flow)Pragma:Default:Description:Example:/** Compile with –OP –O0, ’i’ is actually assigned to ’j’* Compile with –Op –O0, 15 is assigned to ’j’, ’i’ was* propagated*/int i;int j;voidmain( void ){i = 10;j = i + 5;}optimize

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!