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.

Compile app.f at the -O4 optimization level with -qphsinfo specified:<br />

xlf90 myprogram.f -qphsinfo -O4<br />

The following output results:<br />

FORTRAN phase 1 ftphas1 TIME = 0.010 / 0.020<br />

** m_module === End of Compilation 1 ===<br />

FORTRAN phase 1 ftphas1 TIME = 0.000 / 0.000<br />

** testassign === End of Compilation 2 ===<br />

FORTRAN phase 1 ftphas1 TIME = 0.000 / 0.000<br />

** dataassign === End of Compilation 3 ===<br />

HOT - Phase Ends; 0.000/ 0.000<br />

HOT - Phase Ends; 0.000/ 0.000<br />

HOT - Phase Ends; 0.000/ 0.000<br />

IPA - Phase Ends; 0.080/ 0.100<br />

1501-510 Compilation successful <strong>for</strong> file app.f.<br />

IPA - Phase Ends; 0.050/ 0.070<br />

W-TRANS - Phase Ends; 0.010/ 0.030<br />

OPTIMIZ - Phase Ends; 0.020/ 0.020<br />

REGALLO - Phase Ends; 0.040/ 0.040<br />

AS - Phase Ends; 0.000/ 0.000<br />

Note that during the IPA (interprocedural analysis) optimization phases, the<br />

program has resulted in one compilation unit; that is, all procedures have been<br />

inlined.<br />

Related In<strong>for</strong>mation<br />

“The Compiler Phases” on page 411.<br />

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

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

Saved successfully!

Ooh no, something went wrong!