Everything

-speed


< Compile Options / Optimize Options >

[Format]

-speed

 

-

[Default]

Optimization is with emphasis on size.

[Description]

-

When the speed option is specified, optimization will be performed with emphasis on execution performance.

[Remarks]

-

When the speed option is specified, the following options are automatically specified based on the optimize option specification.

-

The processing for optimization in response to the optimization level selected for the optimize option includes the fine adjustment of many items other than those that can be specified through compiler options. Code produced with different levels of optimization will differ in the ways set by the compiler options listed in the tables below, but will also not match in other ways.

 

Optimization item

optimize=0

optimize=1

optimize=2

optimize=max

Loop Expansion

loop=1

loop=2

loop=8

Inline Expansion

noinline

inline=100

inline=250

Converting Constant Division into Multiplication

const_div

const_div

const_div

Scheduling Instructions

noschedule

schedule

schedule

Constant Propagation of const Qualified Variables

noconst_copy

const_copy

const_copy

Dividing Optimizing Ranges

scope

scope

noscope

Optimizing External Variable Accesses

nomap

nomap

map*

nomap*

Optimization Considering the Type of the Data Indicated by the Pointer

alias=noansi

alias=noansi

alias=ansi

Optimization by Reducing the Branch Instruction Size

nobranch_chaining

nobranch_chaining

nobranch_chaining

Note

The default is map when a C/C++ source program has been specified for input and output=abs or output=mot has been specified for output. For any other case, the default is nomap.