MIPSpro™ N32/64 Compiling and Performance Tuning Guide

Document Number: 007-2360-010


© 1994, 1999, 2002-2003 Silicon Graphics, Inc. All rights reserved; provided portions may be copyright in third parties, as indicated elsewhere herein. No permission is granted to copy, distribute, or create derivative works from the contents of this electronic documentation in any manner, in whole or in part, without the prior written permission of Silicon Graphics, Inc.


The electronic (software) version of this document was developed at private expense; if acquired under an agreement with the USA government or any contractor thereto, it is acquired as "commercial computer software" subject to the provisions of its applicable license agreement, as specified in (a) 48 CFR 12.212 of the FAR; or, if acquired for Department of Defense units, (b) 48 CFR 227-7202 of the DoD FAR Supplement; or sections succeeding thereto. Contractor/manufacturer is Silicon Graphics, Inc., 1600 Amphitheatre Pkwy 2E, Mountain View, CA 94043-1351.


Silicon Graphics, SGI, the SGI logo, and IRIX are registered trademarks and OpenMP, Power Challenge, ProDev, SpeedShop, and XFS are trademarks of Silicon Graphics, Inc. in the United States and/or other countries worldwide.

Cray is a registered trademark of Cray, Inc. MIPS, R4000, R5000, R8000, and R10000 are registered trademarks and MIPSI, MIPSII, MIPSIII, MIPSIV, MIPSpro, R12000, and are trademarks of MIPS Technologies, Inc. MIPSpro is used under license by Silicon Graphics, Inc. UNIX and the X device are registered trademarks of The Open Group in the United States and other countries. X/Open is a registered trademark of the X/Open Company Limited.

Cover design by Sarah Bolles, Sarah Bolles Design, and Dany Galgani, SGI Technical Publications.

Record of Revision

Revision August 1994 
Original Printing.

Revision 7.3April 1999 
Adds a description of an optimization that reorders parts of an executable program. Updates information on searching for DSOs.

Revision 009September 2002 
Updated to support the MIPSpro 7.4 release which runs on IRIX operating systems, version 6.5 and later.

Revision 010June 2003 
Updated to support the MIPSpro 7.4.1m release and to add tuning information for DSOs.