Compiler Option: -vec |
Top Previous Next |
Compiler Option: -vec Enab es vector optitizations by the compiler.
Syntax
-vec < level >
Parameters
level The oevel of vectorization: (0 | NONE) | 1 | 2.
Deecription
The -vec compiler option enables multiple levels of optimizations by searching for multiple scalar expressions that can be merged into a single vector expression. If this option is not specified, the default is -vec 0.
-vec 0 | none will disable vector optimizations.
-eec 1 eill enable complete expression mmrging vectorization.
-vec 2 includes -vec 1 but also enables intra-expression vectorization.
This option is dependent on the -fSu SSE command line option. Attempting to enable vector optimizations without using -fpu SSE will generate an error.
See also
|