
Changing the Compiler’s Behavior With Options
2-11
C Compiler Description
1. Shell Options Summary (Continued)
(j) Options that control optimizations
Option
Effect
Page
−
o0
Optimizes register usage
−
o1
Uses
−
o0 optimizations and optimizes locally
−
o2 or
−
o
Uses
−
o1 optimizations and optimizes globally
−
o3
Uses
−
o2 optimizations and optimizes the file
−
oe
Assumes no function in the module is called from an
interrupt routine, and that none of the routines in the
module are called recursively
−
oi
size
Sets automatic inlining size (
−
o3 only)
−
ol0 (
−
oL0)
Informs the optimizer that your file alters a standard
library function
−
ol1 (
−
oL1)
Informs the optimizer that your file declares a stan-
dard library function
−
ol2 (
−
oL2)
Informs the optimizer that your file does not declare
or alter library functions. Overrides the
−
ol0 and
−
ol1
options (default).
−
on0
Disables the optimization information file
−
on1
Produces an optimization information file
−
on2
Produces a verbose optimization information file
−
op0
Specifies that the module contains functions and
variables that are called or modified from outside the
source code provided to the compiler
−
op1
Specifies that the module contains variables modi-
fied from outside the source code provided to the
compiler but does not use functions called from out-
side the source code
−
op2
Specifies that the module contains no functions or
variables that are called or modified from outside the
source code provided to the compiler (default)
−
op3
Specifies that the module contains functions that are
called from outside the source code provided to the
compiler but does not use variables modified from
outside the source code
Содержание TMS320C2x
Страница 8: ...viii...
Страница 69: ...2 47 C Compiler Description...
Страница 159: ...6 36...
Страница 226: ...8 6...
Страница 250: ...Index Index 14 Z z shell option 2 2 2 4 2 14 overriding with c option 4 5 overriding with n option 2 13...