Technical data
18
Chapter 1: Compiling, Linking, and Running Programs
See the IRIX Series Compiler Guide for details on the optimization techniques
used by the compiler and tips on writing optimal code for optimizer
processing.
Performance
In addition to optimizing options, the compiler system provides other
options that can improve the performance of your programs:
• The –feedback and –cord options (see the f77(1) manual page) together
with the pixie(1) and prof(1) utilities, can be used to reduce possible
machine cache conflicts.
• The link editor –G num and –bestG num options control the size of the
global data area, which can produce significant performance
improvements. See Chapter 2 of the IRIX Series Compiler Guide and the
ld(1) manual page for more information.
• The –jmpopt option permits the link editor to fill certain instruction
delay slots not filled by the compiler front end. This option can improve
the performance of smaller programs not requiring extremely large
blocks of virtual memory. See ld(1) for more information.
Object File Tools
The following tools provide information on object files as indicated:
odump Lists headers, tables, and other selected parts of an object or
archive file. Chapters 10 and 11 of the Assembly Language
Programmer’s Guide describe the information provided.
stdump Lists intermediate-code symbolic information for object
files, executables, or symbolic information files.
nm Prints symbol table information for object and archive files.
file Lists the properties of program source, text, object, and
other files. This tool often erroneously recognizes command
files as C programs. It does not recognize Pascal or LISP
programs.










