Application Performance Tools
A-5
Vectorizer Switch Options
The Intel C++ and Fortran Compiler can vectorize your code using the
vectorizer switch options. The options that enable the vectorizer are
the
-Qx[M,K,W,B,P] and -Qax[M,K,W,B,P]
described above. The
compiler provides a number of other vectorizer switch options that
allow you to control vectorization. The latter switches require the
-Qx[M,K,W,B,P]
or
-Qax[M,K,W,B,P]
switch to be on. The default is
off.
In addition to the
-Qx[M,K,W,B,P]
or
-Qax[M,K,W,B,P]
switches, the
compiler provides the following vectorization control switch options:
-Qvec_report[n]
Controls the vectorizer’s diagnostic levels,
where n is either 0, 1, 2, or 3.
-
Qrestrict
Enables pointer disambiguation with the
restrict
qualifier
.
Loop Unrolling
The compilers automatically unroll loops with the
-Qx[M,K,W,B,P]
and
-Qax[M,K,W,B,P]
switches.
To disable loop unrolling, specify -
Qunroll0
.
CAUTION.
When you use
-Qax[extensions]
in
conjunction with
-Qx[extensions]
, the extensions
specified by
-Qx[extensions]
can be used
unconditionally by the compiler, and the resulting
program will require the processor extensions to
execute properly.
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...