MIPSpro™ Compiling and Performance Tuning Guide

Document Number: 007-2360-008

Front Matter

| List of Figures | List of Tables |


Table of Contents

New Features

About This Guide
What You Should Know Before Reading This Guide
Related Publications
Conventions
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
Debugging
Getting Information About Object Files
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

4. Optimizing Program Performance
Optimization Overview
Performance Tuning with Interprocedural Analysis
Controlling Loop Nest Optimizations
Controlling Floating-Point Optimization
Controlling Miscellaneous 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
Guidelines for Writing Code for 64-Bit Silicon Graphics Platforms

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