Intel® C++ Compiler XE 13.1 User and Reference Guides

vec, Qvec

Enables or disables vectorization.

IDE Equivalent

None

Architectures

All

Syntax

Linux and OS X:

-vec

-no-vec

Windows:

/Qvec

/Qvec-

Arguments

None

Default

-vec
or/Qvec

Vectorization is enabled.

Description

This option enables or disables vectorization.

To disable vectorization, specify -no-vec (Linux* OS and OS X*) or /Qvec- (Windows* OS).

To disable the SIMD transformations, specify option -no-simd (Linux OS and OS X) or /Qsimd- (Windows OS).

Note

Using this option enables vectorization at default optimization levels for both Intel® microprocessors and non-Intel microprocessors. Vectorization may call library routines that can result in additional performance gain on Intel microprocessors than on non-Intel microprocessors. The vectorization can also be affected by certain options, such as /arch or /Qx (Windows OS) or -m or -x (Linux OS and OS X).

Alternate Options

None

See Also


Submit feedback on this help topic