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


opt_loop_invariants

Description:

Controls the use of loop invariant optimization.

Compatibility:

This pragma is compatible with the following platform targets:

68K

PowerPC

NEC V800

Intel x86

MIPS

Embedded 68K

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

When this option is on, the compiler moves computations that don't change on the inside of a loop to the outside of a loop to improve the loop's speed.

The pragma doesn't correspond to an option in any settings panel. To check whether this option is on, use __option (opt_loop_invariants), 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