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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

-qcompact Option<br />

Syntax<br />

-qcompact | -qnocompact<br />

COMPACT | NOCOMPACT<br />

Reduces optimizations that increase code size.<br />

By default, some techniques the optimizer uses to improve per<strong>for</strong>mance, such as<br />

loop unrolling and array vectorization, may also make the program larger. For<br />

systems with limited storage, you can use -qcompact to reduce the expansion that<br />

takes place. If your program has many loop and array language constructs, using<br />

the -qcompact option will affect your application’s overall per<strong>for</strong>mance. You may<br />

want to restrict using this option to those parts of your program where<br />

optimization gains will remain unaffected.<br />

Rules<br />

With -qcompact in effect, -Q and other optimization options still work; the<br />

reductions in code size come from limiting code replication that is done<br />

automatically during optimization.<br />

142 <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!