[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


ppc_unroll_speculative

Description:

Controls loop "unrolling" at runtime.

Compatibility:

This pragma is compatible with the following platform targets:

68K

PowerPC

NEC V800
Intel x86
MIPS
Embedded 68K

Prototype:
  #pragma ppc_unroll_speculative on | off | reset Remarks:

When this pragma is on the compiler guesses the number of times to unroll a loop when the number of loop iterations is a runtime calculation instead of a constant value calculated at compile time.

This optimization is only applied when

When this pragma is turned on, the loop unrolling factor is a power of 2, less than or equal to the value specified by the ppc_unroll_factor_limit pragma.

Loop unrolling optimization is controlled by the opt_unroll_loops pragma. The default value is on when loop unrolling is turned on. To check whether this option is on, use __option (ppc_unroll_speculative), described in "Checking Options."


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 17, 2000