Specifications

Chapter 5 Peak Options for SPEC
®
-CPU Benchmark Programs 55
Compiler Usage Guidelines for AMD64 Platforms
32035 Rev. 3.22 November 2007
Chapter 5 Peak Options for SPEC
®
-CPU
Benchmark Programs
This chapter enumerates the best-known peak switches (as of September 2007) for SPEC
®
-CPU2006
benchmarks compiled for AMD Athlon™ 64, AMD Opteron™ and AMD Family 10h processor-
based platforms by different compilers.
5.1 PGI Release 7.1 32- and 64-Bit Compilers for
Linux
®
To translate and link SPECcpu2006 benchmarks with PGI Fortran, C, or C++ compilers the following
commands are used:
pgcc -w invokes the PGI C compiler
pgcpp -w invokes the PGI C++ compiler
pgf95 -w invokes the PGI Fortran 90/95 compiler
5.1.1 Base Command-line Options
The best-known base switches for various benchmarks in SPEC-cpu2006 suite for 64-bit PGI Release
7.1 compilers for Linux on AMD Athlon™ 64 processor based platforms,
AMD Opteron™ processor-based platforms and AMD Family 10h processor-based platforms.
The following command-line options are used for base integer component of SPECcpu2006
(CINT2006).
400.perlbench
pgcc -w -fast -Mipa=fast, inline, noarg -Mfprelaxed -Msmartalloc=huge:840
-tp barcelona-64 -DSPEC_CPU_LP64 -DSPEC_CPU_LINUX_X64
403.gcc and 429.mcf
pgcc -w -fast -Mipa=fast, inline, noarg -Mfprelaxed -Msmartalloc=huge:840
-tp barcelona-64
462.libquantum
pgcc -w -fast -Mipa=fast, inline, noarg -Mfprelaxed -Msmartalloc=huge:840
-tp barcelona-64 -DSPEC_CPU_LP64 -DSPEC_CPU_LINUX
483.xalancbmk
pgcpp -w -fastsse -Mipa=fast,inline -Mfprelaxed -Msmartalloc=huge:448 --zc_eh
-tp barcelona -DSPEC_CPU_LINUX