MIPSpro™ N32/64 Compiling and Performance Tuning Guide

Document Number: 007-2360-010

Front Matter

| List of Figures | List of Tables |

Table of Contents

New Features in This Manual

About This Guide
Related Publications
Related Fortran Publications
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
Getting Information About Object Files
Using the .s Assembly Language File
Using the Archiver to Create Libraries

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
Loading Multiple 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
N32 Porting Guidelines
Porting Code to 64-Bit SGI Systems