These options are supported on IA-32 and Intel® 64 architectures. See Targeting IA-32 Architecture Processors Automatically for more information.
Linux* and Mac OS* |
Windows* |
Description |
---|---|---|
-x
|
/Qx |
Generates specialized code to run exclusively on processors with the extensions specified as the processor value. See the following topic in Compiler Options for supported processors: |
-ax |
/Qax |
Generates, in a single binary, code specialized to the extensions specified as the processor value and also generic IA-32 architecture code. The generic code is usually slower. See the following topic in Compiler Options for supported processors: |
-vec-report |
/Qvec-report |
Controls the diagnostic messages from the vectorizer. See Vectorization Report for information on generating vectorization reports. See the following topic in Compiler Options: |
Vectorization within the Intel® compiler depends upon its ability to disambiguate memory references. Certain options may enable the compiler to do better vectorization.
These options can enable other optimizations in addition to vectorization. Keep the following guidelines in mind when using these options:
When either the -x or -ax (Linux and Mac OS) or /Qx or /Qax (Windows) options are used and -O2 (Linux) or /O2 (Windows) is also specified, vectorizer is enabled.
The -x (Linux and Mac OS) or /Qx (Windows) or -ax (Linux) or /Qax (Windows) options also enable vectorization with either the -O1 and -O3 (Linux and Mac OS) or /O1 and /O3 (Windows) options.
-xP and -axP are the only valid processor values for Mac OS* systems.
Refer to Quick Reference Lists for a complete listing of the quick reference topics.