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.

 

<When optimize=max is specified>

 

Loop Expansion

Inline Expansion

Converting Constant Division into Multiplication

Scheduling Instructions

Constant Propagation of const Qualified Variables

Dividing Optimizing Ranges

Optimizing External Variable Accesses

Optimization Considering the Type of the Data Indicated by the Pointer

speed

loop=8

inline=250

const_div

schedule

const_copy

noscope

map*

nomap*

alias=ansi

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.

<When optimize=2 is specified>

 

Loop Expansion

Inline Expansion

Converting Constant Division into Multiplication

Scheduling Instructions

Constant Propagation of const Qualified Variables

Dividing Optimizing Ranges

Optimizing External Variable Accesses

Optimization Considering the Type of the Data Indicated by the Pointer

speed

loop=2

inline=100

const_div

schedule

const_copy

scope

nomap

alias=noansi

 

<When optimize=0 or optimize=1 is specified>

 

Loop Expansion

Inline Expansion

Converting Constant Division into Multiplication

Scheduling Instructions

Constant Propagation of const Qualified Variables

Dividing Optimizing Ranges

Optimizing External Variable Accesses

Optimization Considering the Type of the Data Indicated by the Pointer

speed

loop=1

noinline

const_div

noschedule

noconst_
copy

scope

nomap

alias=noansi