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 />

-P{v|k}[!]<br />

-p<br />

-pg<br />

-Q<br />

-Q!<br />

-Q+names<br />

-Q-names<br />

-qalias=<br />

{[no]aryovrlp |<br />

[no]intptr|<br />

[no]pteovrlp|<br />

[no]std}...]<br />

-qalign={[no]4k|<br />

struct {=subopt}|<br />

bindc {=subopt}}<br />

-qarch=architecture<br />

-qassert={ deps |<br />

nodeps | itercnt=n}<br />

@PROCESS<br />

Directive<br />

ALIAS(<br />

{[NO]ARYOVRLP<br />

|[NO]INTPTR<br />

|[NO]PTEOVRLP<br />

|[NO]STD}... )<br />

ALIGN(<br />

{[NO]4K|<br />

STRUCT{(subopt)}|<br />

BINDC{(subopt)}})<br />

Description<br />

Invokes the selected optimizing<br />

preprocessor. Adding ! prevents the<br />

compilation step from following<br />

preprocessing.<br />

Note: The preprocessors are available as<br />

separate vendor-logo products.<br />

Default: No preprocessing.<br />

Sets up the object file <strong>for</strong> profiling.<br />

Default: No profiling.<br />

Specifies whether procedures are inlined<br />

and/or particular procedures that should or<br />

should not be inlined. names is a list of<br />

procedure names separated by colons.<br />

Default: No inlining.<br />

Indicates whether a program contains<br />

certain categories of aliasing. The compiler<br />

limits the scope of some optimizations<br />

when there is a possibility that different<br />

names are aliases <strong>for</strong> the same storage<br />

locations.<br />

Default: -<br />

qalias=aryovrlp:nointptr:pteovrlp:std <strong>for</strong><br />

the xlf90, xlf90_r7, xlf95, xlf95_r, xlf95_r7,<br />

f90, and f95 commands; -qalias=<br />

aryovrlp:intptr:pteovrlp:std <strong>for</strong> the xlf,<br />

xlf_r, xlf_r7, f77, and <strong>for</strong>t77, commands.<br />

Specifies the alignment of data objects in<br />

storage, which avoids per<strong>for</strong>mance<br />

problems with misaligned data. The [no]4k,<br />

bindc, and struct options can be specified<br />

and are not mutually exclusive. The [no]4k<br />

option is useful primarily in combination<br />

with logical volume I/O and disk striping.<br />

Default: -<br />

qalign=no4k:struct=natural:bindc=power<br />

Controls which instructions the compiler<br />

can generate. Changing the default can<br />

improve per<strong>for</strong>mance but might produce<br />

code that can only be run on specific<br />

machines. The choices are auto, com, pwr,<br />

pwr2 (or pwrx), pwr2s, p2sc, 601, 603, 604,<br />

ppc, ppcgr, ppc64, ppc64gr, ppc64grsq,<br />

rs64a, rs64b, rs64c, pwr3, pwr4, pwr5, and<br />

ppc970.<br />

Default: -qarch=com if you specify -q32,<br />

which uses only instructions that are<br />

common to all plat<strong>for</strong>ms. If you specify<br />

-q64, the default is ppc64, which allows<br />

you to run the executable file on any 64-bit<br />

PowerPC hardware plat<strong>for</strong>m.<br />

Provides in<strong>for</strong>mation about the<br />

characteristics of the files that can help to<br />

fine-tune optimizations.<br />

Default: -qassert=deps:itercnt=1024<br />

See<br />

Page<br />

117<br />

118<br />

119<br />

122<br />

125<br />

127<br />

132<br />

<strong>XL</strong> <strong>Fortran</strong> Compiler-Option Reference 71

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

Saved successfully!

Ooh no, something went wrong!