opt_vectorize_loops. NXP CodeWarrior Development Studio
Werbung
Werbung
opt_vectorize_loops
If you enable this pragma, the compiler places multiple copies of a loop's statements inside a loop to improve its speed.
This pragma does not correspond to any panel setting. By default, this settings is related to the
"global_optimizer" on page 471
level.
35.15 opt_vectorize_loops
Controls the use of loop vectorizing optimization.
Syntax
#pragma opt_vectorize_loops on | off | reset
Remarks
If you enable this pragma, the compiler improves loop performance.
NOTE
Do not confuse loop vectorizing with the vector instructions available in some processors. Loop vectorizing is the rearrangement of instructions in loops to improve performance.
This optimization does not optimize a processor's vector data types.
By default, this pragma is off
.
35.16 optimization_level
Controls global optimization.
Syntax
#pragma optimization_level 0 | 1 | 2 | 3 | 4 | reset
Remarks
This pragma specifies the degree of optimization that the global optimizer performs.
To select optimizations, use the pragma optimization_level with an argument from 0 to 4.
The higher the argument, the more optimizations performed by the global optimizer. The reset argument specifies the previous optimization level.
CodeWarrior Development Studio for Power Architecture Processors Build Tools Reference Manual, Rev.
10.6, 02/2014
520 Freescale Semiconductor, Inc.
Herunterladen
Werbung