Compilers: Intel C++ Compilers, Version 9.1
for 32/64bit-based applications in Windows
Operating system: Windows Server 2003 x64 Enterprise Edition (64-bit)
Last updated: 02-Mar-2007 PS
The text for many of the descriptions below was taken
from the documentation of the Intel Compilers.
This documentation is copyright © 2006 Intel Corporation. All Rights Reserved.
The original documentation is distributed with the Intel compilers.
Selecting one of the following will take you directly to that section:
HEADER for OPTIMIZATION
Specifies the stack reserve amount for the program.
-F<n>
<n> is the stack reserve amount.
It can be specified as a decimal integer or by using a C-style convention
for constants (for example, -F0x1000).
Default: The stack size default is chosen by the operating system.
Optimizes for speed. Enables high-level optimization. This level does not guarantee higher performance. Using this option may increase the compilation time. Impact on performance is application dependent, some applications may not see a performance improvement.
The optimizations include:
Enables[disables] improved precision of floating-point divides. Disabling may slightly improve speed. Default Enabled.
-Qxprocessor This option directs the compiler to generate specialized and optimized code for the Intel processor that executes your program. It lets you target your program to run on a specific Intel processor.
processor Is the processor
for which you want to target your program.
Here: P Code is optimized for Intel Core Duo processors,
Intel Core Solo processors, Intel Pentium 4 processors with Steaming SIMD
Extensions 3, and compatible Intel processors with Streaming SIMD Extensions 3.
The resulting code may contain unconditional use of features
that are not supported on other processors.
This option also enables new optimizations in addition to Intel
processor-specific optimizations including advanced data layout and code
restructuring optimizations to improve memory accesses for Intel processors.
Programs compiled with -QxP will display a fatal run-time error if they are executed on unsupported processors.
On Intel EM64T systems, W, P, and T are the only valid processor values.
-Qipo[n]
This option enables interprocedural optimizations between files. This is also called multifile interprocedural optimization (multifile IPO) or Whole Program Optimization (WPO).
When you specify this option, the compiler performs inline function expansion for calls to functions defined in separate files.
You cannot specify the names for the object files that are created.
n Is an optional integer that specifies
the number of object files the compiler should create.
The integer must be greater than or equal to 0.
If you do not specify n, the default is 0.
If n is 0, the compiler decides whether to create one or more object files based on an estimate of the size of the application. It generates one object file for small applications, and two or more object files for large applications.
If n is greater than 0, the compiler generates n object files, unless n exceeds the number of source files (m), in which case the compiler generates only m object files.
Optimizes for speed.
The -O2 option includes the following options:
This options defaults to ON.
This option also enables:
Enables single-file interprocedural optimizations within a file.
This option tells the auto-parallelizer to generate multithreaded code for loops that can be safely executed in parallel.
To use this option, you must also specify -O2 or -O3.
This option instruments a program for profiling as first step in Profile Guided Optimization.
Profile Guided Optimization (PGO) consists of 3 phases:
Phase 1: Compile and generate instrumented code in preparation
to gather profiling information (compiler flag -Qprof_gen).
Phase 2: Execute the instrumented code and gather profiling information.
Phase 3: Recompile the code and use the profiling information
for improved optimization (compiler flag -Qprof_use).
The option -Qprof_gen instruments a program for profiling to get the execution count of each basic block. It also creates a new static profile information file (.spi). This flag is used in phase 1 of the Profile Guided Optimizer (PGO) to instruct the compiler to produce code in your object files in preparation for instrumented execution.
The instrumented code
This option enables the use of profiling information during optimization as final step in Profile Guided Optimization.
Profile Guided Optimization (PGO) consists of 3 phases:
Phase 1: Compile and generate instrumented code in preparation
to gather profiling information (compiler flag -Qprof_gen).
Phase 2: Execute the instrumented code and gather profiling information.
Phase 3: Recompile the code and use the profiling information
for improved optimization (compiler flag -Qprof_use).
The option -Qprof_use instructs the compiler to use the profiling information from phase 2 of PGO in order to produce a profile-optimized executable (phase 3 of PGO).
It also enables function splitting (option -Qfnsplit) and function grouping during optimization.
Note that there is no way to turn off function grouping if you enable it using this option.
The recompilation with -Qprof_use
Enables function splitting.
This option enables function splitting if -Qprof-use is also specified. Otherwise, this option has no effect.
It is enabled automatically if you specify -Qprof-use. If you do not specify one of those options, the default is -Qfnsplit-, which disables function splitting but leaves function grouping enabled.
To disable function splitting when you use -Qprof-use, specify -Qfnsplit-.
Enables global optimizations.
Enables/disables inline expansion of intrinsic functions.
Default enabled
This option enables most speed optimizations, but disables some that increase code size for a small speed benefit.
Default enabled
Enables [disables] the use of the EBP register in optimizations. When you disable with -Oy-, the EBP register is used as frame pointer. -Oy has the effect of reducing the number of general-purpose registers by 1, and can produce slightly less efficient code.
Default enabled
n = 0
Disables inlining of user-defined functions.
However, statement functions are always inlined
n = 1
Enables inlining of functions declared with the __inline keyword.
Also enables inlining according to the C++ language
n = 2
Enables inlining of any function.
However, the compiler decides which functions are inlined.
This option enables interprocedural optimizations and has the same
effect as specifying option Qip.
Default enabled with n = 2
Disables stack-checking for routines with n or more bytes of local variables and compiler temporaries.
Default enabled with n = 4096.
Assume [not assume] no aliasing
Default disabled
Enables all speed optimizations.
Overrides -Os
Assume[not assume] no cross function aliasing.
Enables string-pooling optimization.
Packages functions to enable linker optimization.
Default enabled
Generates specialized code for processor specific codes K, W, N, P while also generating generic IA-32 code.
Enables[disables] fast conversions of floating-point to integer conversions. This option does not guarantee that any particular rounding mode will be used.
for C and C++
If your program satisfies the above conditions, setting the -Qansi_alias flag will help the compiler better optimize the program. However, if your program does not satisfy one of the above conditions, the -Qansi_alias flag may lead the compiler to generate incorrect code.
for Fortran
Enables (default) or disables the compiler to assume that the program adheres to the ANSI Fortran type aliasablility rules.
For example, an object of type real cannot be accessed as an integer.
You should see the ANSI Standard for the complete set of rules.
round fp results at assignments & casts (some speed impact)
Enable prefetch insertion.
Default enabled
Specifies the maximum number of times to unroll a loop. n = 0 disables loop unrolling.
Default: the compiler uses default heuristics when unrolling loops.
Specifies the strictest alignment constraint for structure and union types as 1, 2. 4. 8 or 16 bytes
Default is 16.
Problem: 16 is also possible. How to write regexp?
Enables the compiler to use SSE instructions.
Enables the compiler to use SSE2 instructions.
Enables floating-point significand precision control. The value is used to round the significand to the correct number of bits. The value must be either 32, 64 or 80.
Default enabled
Determines whether local variables are put on the run-time stack.
Enables[disables] scalar replacement performed during loop transformations.
(requires /O3).
Force Linking even if multiple entry names are found.
This option enables standard C++ features without disabling Microsoft features within the bounds of what is provided in the Microsoft headers and libraries.
This option has the same effect as specifying -GX -GR.
-GX Enables C++ exception handling.
-GR Enables C++ Run Time Type Information (RTTI).
Link with MicroQuill SmartHeap Library (32-bit).
Available from
http://www.microquill.com/
Link with MicroQuill SmartHeap Library (64-bit).
Available from
http://www.microquill.com/
Link with Microsoft Platform SDK bufferoverflowu.lib Library.
HEADER for PORTABILITY
-TP tells the compiler to process all source or unrecognized file types
as C++ source files.
Default: The compiler assumes that files with the extension .c or .C
are C source files.
To handle them as C++ source files, the compiler flag -TP is needed.
-Qlowercase causes the compiler to ignore case differences in identifiers
and to convert external names to lowercase.
It is needed to specify the naming convention for mixing C and Fortran codes.
-assume:[no]underscore
Determines whether the compiler appends an underscore character
to external user-defined names.
-assume:underscore is needed to specify the naming convention
for mixing C and Fortran codes.
Unset a buggy Macro in the current version of Microsoft Visual Studio 2005.
-Qoption,string,options This option passes options to a specified tool.
string Is the name of the tool.
Here: cpp indicates the C++ preprocessor.
options Are one or more comma-separated,
valid options for the designated tool.
Here: --no_wchar_t_keyword is passed to C++ preprocessor to provide
the information that there is no wchar_t keyword.
This flag must be used to avoid syntax errors coming from the use of wchar_t in 483.xalancbmk.
HEADER for COMPILER
Invoke Intel C/C++ compiler.
Also used to invoke linker C/C++ programs.
This option enables/disables C99 support for C programs.
Specifies compatibilty with Microsoft Visual Studio 2005.
Specify directories containing link libraries.
From Intel 9.1 for EM64T
Specify directories containing link libraries.
From Microsoft Platform SDK for AMD64
Specify directories containing link libraries.
From Microsoft Platform SDK for AMD64 - ATLMFC library
Platform settings
One or more of the following settings may have been set. If so, the "General Notes" section of the report will say so; and you can read below to find out more about what these settings mean.
Hardware Prefetch:
This BIOS option allows the enabling/disabling of a processor mechanism to prefetch data into the cache according to a pattern-recognition algorithm.
In some cases, setting this option to Disabled may improve performance. Users should only disable this option after performing application benchmarking to verify improved performance in their environment.
Adjacent Sector Prefetch:
This BIOS option allows the enabling/disabling of a processor mechanism to fetch the adjacent cache line within an 128-byte sector that contains the data needed due to a cache line miss.
In some cases, setting this option to Disabled may improve performance. Users should only disable this option after performing application benchmarking to verify improved performance in their environment.
/I
Compiler option to set the path for include files.
Used in some peak benchmarks which were build using the Intel 64-bit compiler.