User`s guide
Pragmas for the DSP56800 and DSP56800E
Pragma Reference
403Targeting MC56F83xx/DSP5685x Controllers
Prototype
#pragma opt_lifetimes on | off | reset
Remarks
If you enable this pragma, the compiler uses the same processor register for different
variables that exist in the same routine but not in the same statement.
This pragma does not correspond to any panel setting in the C/C++ Language
panel.
To check this setting, use __option (opt_lifetimes), described in
Checking Settings
. By default, this pragma is disabled.
opt_loop_invariants
Controls the use of loop invariant optimization.
Prototype
#pragma opt_loop_invariants on | off | reset
Remarks
If you enable this pragma, the compiler moves all computations that do not change
inside a loop outside the loop, which then runs faster.
This pragma does not correspond to any panel setting in the C/C++ Language
panel.
To check this setting, use __option (opt_loop_invariants), described in
Checking Settings
. By default, this pragma is disabled.
opt_propagation
Controls the use of copy and constant propagation optimization.
Prototype
#pragma opt_propagation on | off | reset