Table of Contents Previous topic Next topic
C COMPILER->Pragmas->#pragma optimize
#pragma optimize( "[optimization-list]", {on | off} )
Specifies optimizations to be performed on a function-by-function basis. The optimize pragma must appear outside a function and takes effect at the first function defined after the pragma is seen. The on and off arguments turn options specified in the optimization-list on or off.
| g | perform global register allocation |
| r | use register keywords |
| f | favour faster code |
| i | preserve internal data memory |
| p | suppress integral promotion |
| s | default to reentrant functons |