Automatic Vectorization Options Quick Reference

These options are supported on IA-32 and Intel® 64 architectures.

Linux* OS and Mac OS* X

Windows* OS

Description

-vec

-no-vec

/Qvec

/Qvec-

Enables or disables vectorization and transformations enabled for vectorization. Vectorization is enabled by default. To disable, use -no-vec (Linux* and MacOS* X) or /Qvec- (Windows*) option. Supported on IA-32 and Intel® 64 architectures only.

-vec-report

/Qvec-report

Controls the diagnostic messages from the vectorizer.

See Vectorization Report.

-simd

-no-simd

/Qsimd

/Qsimd-

Controls user-mandated (SIMD) vectorization. User-mandated (SIMD) vectorization is enabled by default. Use the -no-simd (Linux* or MacOS* X) or /Qsimd- (Windows*) option to disable SIMD transformations for vectorization.

When used with -x or -ax, the compiler may perform additional vectorizations for Intel® microprocessors. than it performs for non-Intel microprocessors.

Vectorization within the Intel® compiler depends upon ability of the compiler to disambiguate memory references. Certain options may enable the compiler to do better vectorization.

Using the -vec (Linux*) or the /Qvec (Windows*) 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) or -m or -x (Linux and Mac OS X).

Refer to Quick Reference Lists for a complete listing of the quick reference topics.

See Also


Submit feedback on this help topic

Copyright © 1996-2010, Intel Corporation. All rights reserved.