Download CodeWarrior Development Studio for Microcontrollers

Transcript
Build Properties for Qorivva
Table 3-171. Tool Settings - PowerPC Compiler > Processor (continued)
Option
Description
Inlined Assembler is Volatile
Check to have the compiler treat all asm blocks (including
inline asm blocks) as if the volatile keyword was present. This
prevents the asm block from being optimized. You can use
the .nonvolatile directive to selectively enable optimization on
asm blocks, as required.
Instruction Scheduling
Check to optimize the scheduling of instructions for the
specific processor you are targeting (determined by which
processor is selected in the Processor drop-down list.)
Enabling the Instruction Scheduling checkbox can make
source-level debugging more difficult because the source
code may not correspond to the execution order of the
underlying instructions. It is sometimes helpful to clear this
checkbox when debugging, and then check it again once you
have finished the bulk of your debugging.
Peephole Optimization
Check to have the compiler perform peephole optimizations.
Peephole optimizations are small local optimizations that can
reduce several instructions into one target instruction,
eliminate some compare instructions, and improve branch
sequences. This checkbox corresponds to #pragma
peephole.
Profiler Information
Check to generate special object code during runtime to
collect information for a code profiler. This checkbox
corresponds to #pragma profile.
Generate ISEL Instructions (e500/Zen)
Check to have the compiler to emit ISEL instructions. This
instruction can improve performance by reducing conditional
branching.
Translate PPC Asm to VLE Asm (Zen)
Check to have the compiler to translate the classic PPC inline
assembly instructions to the VLE inline assembler for the Zen
processor.
3.7.5.6 PowerPC Compiler > C/C++ Language
Use this panel direct the PowerPC compiler to apply specific processing modes to the
language source code. You can compile source files with just one collection at a time. To
compile source files with multiple collections, you must compile the source code
sequentially. After each compile iteration change the collection of settings that the
PowerPC compiler uses.
CodeWarrior Development Studio for Microcontrollers V10.x Targeting Manual, Rev. 10.6, 03/2014
304
Freescale Semiconductor, Inc.