B.5.8. Optimization group, ARM-specific

The Optimization group controls how aggressively the compiler tries to improve the machine code it generates and enables you to disable some optimizations.

Table B.25 lists the compiler options that you can set through the Optimization group. For information on these settings, see RealView Developer Kit v1.0 Compiler and Libraries Guide.

Table B.25. Optimization group

NameARM Compiler option
Speed_vs_space

The options for the available settings are:

default

-Ospace

speed

-Otime

space

-Ospace

Inline

The options for the available settings are:

disabled

-Ono_inline

enabled

-Oinline

Auto_inline

The options for the available settings are:

default

-Oautoinline

enabled

-Oautoinline

disabled

-Ono_autoinline

Ldrd

The options for the available settings are:

disabled

-Ono_ldrd

enabled

-Oldrd

No_data_reorder

The options for the available settings are:

disabled

-Ono_data_reorder

enabled

-Odata_reorder

Cpu

-cpu

Debug_optimize

The options for the available settings are:

none

-O0

partial

-O1

full

-O2

Copyright © 2003, 2004 ARM Limited. All rights reserved.ARM DUI 0234B
Non-Confidential