24.05.2014 Views

XL Fortran Enterprise Edition for AIX : User's Guide - IBM

XL Fortran Enterprise Edition for AIX : User's Guide - IBM

XL Fortran Enterprise Edition for AIX : User's Guide - IBM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Table 5. Options <strong>for</strong> Per<strong>for</strong>mance Optimization (continued)<br />

Command-Line<br />

Option<br />

@PROCESS<br />

Directive<br />

-qcache={<br />

auto |<br />

assoc=number |<br />

cost=cycles |<br />

level=level |<br />

line=bytes |<br />

size=Kbytes |<br />

type={C|c|D|d|I|i}}[:...]<br />

-qcompact<br />

-qnocompact<br />

-qdirectstorage<br />

-qnodirectstorage<br />

-qessl<br />

-qfdpr<br />

-qnofdpr<br />

-qhot[=suboptions]<br />

-qnohot<br />

-qipa[=suboptions]<br />

| -qnoipa<br />

-qkeepparm<br />

-qnokeepparm<br />

COMPACT<br />

NOCOMPACT<br />

HOT[=suboptions]<br />

NOHOT<br />

Description<br />

Specifies the cache configuration <strong>for</strong> a<br />

specific execution machine. The compiler<br />

uses this in<strong>for</strong>mation to tune program<br />

per<strong>for</strong>mance, especially <strong>for</strong> loop operations<br />

that can be structured (or blocked) to process<br />

only the amount of data that can fit into<br />

the data cache.<br />

Default: The compiler uses typical values<br />

based on the -qtune setting, the -qarch<br />

setting, or both settings.<br />

Reduces optimizations that increase code<br />

size.<br />

Default: -qnocompact<br />

In<strong>for</strong>ms the compiler that a given<br />

compilation unit may reference<br />

write-through-enabled or cache-inhibited<br />

storage. Use this option with discretion. It<br />

is intended <strong>for</strong> programmers who know<br />

how the memory and cache blocks work,<br />

and how to tune their applications <strong>for</strong><br />

optimal per<strong>for</strong>mance.<br />

Default: -qnodirectstorage<br />

Allows the use of ESSL routines in place of<br />

<strong>Fortran</strong> 90 Intrinsic Procedures. Use the<br />

ESSL Serial Library when linking with<br />

-lessl. Use the ESSL SMP Library when<br />

linking with -lesslsmp.<br />

Default: -qnoessl<br />

Provides object files with in<strong>for</strong>mation<br />

needed <strong>for</strong> the<strong>AIX</strong> fdpr (Feedback Directed<br />

Program Restructuring) per<strong>for</strong>mance-tuning<br />

utility to optimize the resulting executable<br />

file.<br />

Default: -qnofdpr<br />

The -qhot compiler option is a powerful<br />

alternative to hand tuning that provides<br />

opportunities to optimize loops and array<br />

language. The -qhot compiler option will<br />

always attempt to optimize loops,<br />

regardless of the suboptions you specify.<br />

Default: -qnohot<br />

Enhances -O optimization by doing<br />

detailed analysis across procedures<br />

(interprocedural analysis or IPA).<br />

Default: -O analyzes each subprogram<br />

separately, ruling out certain optimizations<br />

that apply across subprogram boundaries.<br />

Note that specifying -O5 is equivalent to<br />

specifying -O4 and -qipa=level=2.<br />

Ensures that incoming procedure<br />

parameters are stored on the stack even<br />

when optimizing.<br />

Default: -qnokeepparm<br />

See<br />

Page<br />

150<br />

188<br />

137<br />

142<br />

155<br />

160<br />

171<br />

182<br />

72 <strong>XL</strong> <strong>Fortran</strong> <strong>Enterprise</strong> <strong>Edition</strong> <strong>for</strong> <strong>AIX</strong> : User’s <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!