Developer Guide and Reference

Contents

vec, Qvec

Enables or disables vectorization.

Syntax

Linux:
-vec
-no-vec
macOS:
-vec
-no-vec
Windows:
/Qvec
/Qvec-
Arguments
None
Default
-vec
or
/Qvec
Vectorization is enabled if option
O2
or higher is in effect.
Description
This option enables or disables vectorization.
To disable vectorization, specify
-no-vec
(Linux*
and
macOS*
) or
/Qvec-
(Windows*).
To disable interpretation of SIMD
pragmas
, specify
-no-simd
(Linux* and
macOS*
) or
/Qsimd-
(Windows*).
To disable all compiler vectorization, use the "
-no-vec -no-simd
" (Linux* and
macOS*
) or "
/Qvec- /Qsimd-
" (Windows*) compiler options. The option
-no-vec
(and
/Qvec-
) disables all auto-vectorization, including vectorization of array notation statements. The option
-no-simd
(and
/Qsimd-
) dis