Fortran User's Guide

-xvector[={yes|no}]

Enable automatic calls to the SPARC vector library functions.

    SPARC: 77/90

With -xvector=yes, the compiler is permitted to transform certain math library calls within DO loops into single calls to the equivalent vectorized library routine whenever possible. This could result in a performance improvement for loops with large loop counts.

The compiler defaults to -xvector=no. Specifying -xvector by itself defaults to -xvector=yes.

This option also triggers -depend. (Follow -xvector with -nodepend on the command line to cancel the dependency analysis.)

The compiler will automatically notify the linker to include the libmvec and libc libraries in the load step if -xvector appears. However, to compile and link in separate steps requires specifying -xvector on the link step as well to correctly select these necessary libraries.