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


opt_strength_reduction_strict

Description:

Uses a more safer variation of strength reduction optimization.

Compatibility:

This pragma is compatible with the following platform targets:

68K

PowerPC

NEC V800

Intel x86

MIPS

Embedded 68K

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

Like the opt_strength_reduction pragma, this option replaces multiplication instructions that are inside loops with addition instructions to speed up the loops. However, unlike the regular strength reduction optimization, this variation makes sure that the optimization is only applied when the array element arithmetic is not of an unsigned type that is smaller than a pointer type.

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