Specifications

14 Introduction Chapter 1
32035 Rev. 3.22 November 2007
Compiler Usage Guidelines for AMD64 Platforms
openers". Standard Performance Evaluation Corporation (SPEC) designed CPU2006 to provide a
comparative measure of computation-intense performance across the widest range of hardware using
workloads developed from real user applications. SPECcpu2006 is CPU-intensive—stressing a
system's processor, memory subsystem and compiler.
This document provides a quick reference for optimization and portability switches commonly used
when invoking compilers for AMD Athlon™ 64, AMD Opteron™ and AMD Family 10h processor-
based platforms. SPECcpu2006 provides some insight into which command line options to utilize for
certain applications. Chapter 5, Peak Options for SPEC
®
-CPU Benchmark Programs, on page 55
documents the compiler switches utilized on the compact application components representing the
SPECcpu2006 benchmark suite.
1.3 Definitions, Abbreviations, and Notation
Switches and invocation commands are highlighted in bold text.
1.4 Additional Documents
Other resources for developers working with 64-bit operating systems include the following.
Software Optimization Guide for AMD Athlon™ 64 and AMD Opteron™ Processors,
order# 25112
System V Application Binary Interface (AMD64 Architecture Processor Supplement)
http://www.amd64.org/documentation
PGI Compiler User’s Guides: http://www.pgroup.com/resources/docs.htm
Intel Compiler Manuals:
http://www.intel.com/software/products/compilers/clin/docs/manuals.htm
http://www.intel.com/software/products/compilers/flin/docs/manuals.htm
http://www.intel.com/software/products/compilers/cwin/docs/manuals.htm
http://www.intel.com/software/products/compilers/fwin/docs/manuals.htm
Microsoft
®
Windows
®
AMD64 Application Binary Interface
MSDN: http://msdn.microsoft.com/
GNU Compiler Collection: http://gcc.gnu.org
GCC Online Documentation: http://gcc.gnu.org/onlinedocs/
Sun Studio Documentation: http://developers.sun.com/prodtech/cc/reference/docs/index.html