MIPSpro™ N32/64 Compiling and Performance Tuning Guide

Document Number: 007-2360-009

Front Matter

| List of Figures | List of Tables |


Table of Contents

About This Guide
Related Publications
Related Fortran Publications
Conventions
Obtaining Publications
Reader Comments

1. About the MIPSpro Compiler System

2. Using the MIPSpro Compiler System
Selecting Compilation Modes
Object File Format and Dynamic Linking
Source File Considerations
Compiler Drivers
Linking
Getting Information About Object Files
Using the Archiver to Create Libraries
Debugging

3. Using Dynamic Shared Objects
Benefits of Using DSOs
Using DSOs
Taking Advantage of QuickStart
Building DSOs
Run-Time Linking
Dynamic Loading Under Program Control
Versioning of DSOs

4. Optimizing Program Performance
Optimization Overview
Performance Tuning with Interprocedural Analysis (IPA)
Controlling Loop Nest Optimizations (LNO)
Controlling Floating-Point Optimization
Controlling Other Optimizations with the -OPT Option
Controlling Execution Frequency
The Code Generator
Reordering Code Regions
Programming Hints for Improving Optimization

5. Coding for 64-Bit Programs
Coding Assumptions to Avoid
Solving Porting Problems
Guidelines for Writing Code for 64-Bit SGI Platforms

6. Porting Code to N32 and 64-Bit SGI Systems
Compatibility
N32 Porting Guidelines
Porting Code to 64-Bit SGI Systems

Index