IA-32 Intel® Architecture Optimization
A-6
Multithreading with OpenMP*
Both the Intel C++ and Fortran Compilers support shared memory
parallelism via OpenMP compiler directives, library functions and
environment variables. OpenMP directives are activated by the compiler
switch
. The available directives are described in the Compiler
Automatic Multithreading
Both the Intel C++ and Fortran Compilers can generate multithreaded
code automatically for simple loops with no dependencies. This is
activated by the compiler switch -Qparallel.
Inline Expansion of Library Functions (
-Oi
,
-Oi-
)
The compiler inlines a number of standard C, C++, and math library
functions by default. This usually results in faster execution of your
program. Sometimes, however, inline expansion of library functions can
cause unexpected results. For explanation, see the
Intel
®
C++ Compiler
User’s Guide
.
Floating-point Arithmetic Precision (-Op, -Op-, -Qprec,
-Qprec_div, -Qpc, -Qlong_double)
These options provide a means of controlling optimization that might
result in a small change in the precision of floating-point arithmetic.
Rounding Control Option (-Qrcd)
The compiler uses the
-Qrcd
option to improve the performance of
code that requires floating-point calculations. The optimization is
obtained by controlling the change of the rounding mode.
Summary of Contents for ARCHITECTURE IA-32
Page 1: ...IA 32 Intel Architecture Optimization Reference Manual Order Number 248966 013US April 2006...
Page 220: ...IA 32 Intel Architecture Optimization 3 40...
Page 434: ...IA 32 Intel Architecture Optimization 9 20...
Page 514: ...IA 32 Intel Architecture Optimization B 60...
Page 536: ...IA 32 Intel Architecture Optimization C 22...