Uses a more safer variation of strength reduction optimization.
Compatibility:This pragma is compatible with the following platform targets:
|
Embedded 68K
|
#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."