Compiler Option: -vec
Documentation
Enables vector optimizations by the compiler.Syntax
-vec < level >
Parameters
levelThe level of vectorization: (
0 | NONE) | 1 | 2.Description
The
This option is dependent on 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.-vec 1 will enable complete expression merging vectorization.-vec 2 includes -vec 1 but also enables intra-expression vectorization.This option is dependent on the
-fpu SSE command line option. Attempting to enable vector optimizations without using -fpu SSE will generate an error.See also