Specifications

Contents 7
Compiler Usage Guidelines for AMD64 Platforms
32035 Rev. 3.22 November 2007
4.10 PathScale Compilers (32-Bit) for Linux® . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .51
4.11 Intel Compilers (32-Bit) for Microsoft® Windows® . . . . . . . . . . . . . . . . . . . . . . . . .51
4.11.1 Compilation Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .51
4.11.2 Compiled and Linked Code Generates Unexpected Results . . . . . . . . . . . . .51
4.11.3 Program Terminates Unexpectedly . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .52
4.11.4 Program Gives Unexpected Results or Exception Behavior . . . . . . . . . . . . .52
4.12 Microsoft® Compilers (32-Bit) for Microsoft® Windows® . . . . . . . . . . . . . . . . . . .52
4.12.1 Run-Time Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .53
4.12.2 Compiled and Linked Code Generates Unexpected Results . . . . . . . . . . . . .53
4.12.3 Program Gives Unexpected Results or Exception Behavior . . . . . . . . . . . . .53
4.13 Sun Compilers (32-bit) for Solaris . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .54
4.13.1 Compilation Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .54
4.13.2 Compiled and Linked Code Generates Unexpected Results . . . . . . . . . . . . .54
Chapter 5 Peak Options for SPEC
®
-CPU Benchmark Programs . . . . . . . . . . . . . . . . . . . . .55
5.1 PGI Release 7.1 32- and 64-Bit Compilers for Linux
®
. . . . . . . . . . . . . . . . . . . . . . .55
5.1.1 Base Command-line Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55
5.1.2 Peak Command-line Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .57
5.2 PGI Release 7.1 Compilers (32- and 64-Bit) for Microsoft® Windows® . . . . . . . . .59
5.2.1 Invoking the Compilers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59
5.2.2 Base Command-line Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59
5.2.3 Peak Command-line Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .62
5.3 SuSE GCC 4.2.0(64-Bit) C/C++ Compiler for Linux
®
. . . . . . . . . . . . . . . . . . . . . . .64
5.4 Pathscale EKO 3.0 C/C++ Compiler (64-Bit) for Linux
®
. . . . . . . . . . . . . . . . . . . . .66
5.5 Pathscale EKO 3.0 Fortran Compiler (64-bit) for Linux
®
. . . . . . . . . . . . . . . . . . . . .67
5.6 Intel 9.0 C/C++ Compiler for (32-Bit) Microsoft® Windows® . . . . . . . . . . . . . . . .68
5.7 Sun C/C++ Compiler (64-bit) for Solaris . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .69
5.8 Sun Fortran Compiler (64-bit) for Solaris . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .69