Fortran User's Guide

Performance Options

For the following performance options, those with the greatest significance are listed first.

Table 3-8 Performance Options 

Action 

Option 

Details 

Faster execution and compilation on native platform by using a set of options. 

-fast

"-fast"

Optimize performance--set optimization level 

-O[n]

"-O[n]"

Specify target hardware system. 

-xtarget=t

"-xtarget=t"

Collect or use data for a profile to optimize (SPARC).

-xprofile=p

"-xprofile=p"

Align COMMON block data and enable multi-word load/stores. (SPARC)

-dalign

"-dalign"

Arithmetic--use simple arithmetic model. 

-fsimple

"-fsimple[=n]"

Arithmetic--use SPARC non-standard floating point (SPARC).

 -fns

"-fns[={no|yes}]"

Use inline library 

-libmil

"-libmil"

Traps--assume no memory-based traps (SPARC).

-xsafe=mem

"-xsafe=mem"

Unroll loops--advise optimizer to unroll loops n times.

-unroll=n

"-unroll=n"

Fast math--use special fast math routines (SPARC).

-xlibmopt

" -xlibmopt"

Architecture--specify target instruction set. 

-xarch=a

"-xarch=a"

Chip--specify target processor.

-xchip=c

"-xchip=c"

Check data dependencies--analyze loops (SPARC).

-depend

"-depend"

Inline the listed user routines to optimize for speed. 

-inline=rlst

"-inline=f1[,...fn]"

Optimize across all source files on command line 

-xcrossfile

" -xcrossfile [=n]"

Do no optimizations that increase code size.

-xspace

"-xspace"