vec-report, Qvec-report

Controls the diagnostic information reported by the vectorizer.

IDE Equivalent

Windows: Compilation Diagnostics > Vectorizer Diagnostic Level
Linux: None
Mac OS X:
Diagnostics > Vectorizer Diagnostic Report

Architectures

IA-32 architecture, Intel® 64 architecture

Syntax

Linux and Mac OS X: -vec-report[n]
Windows:  /Qvec-report[n]

Arguments

n Is a value denoting which diagnostic messages to report. Possible values are:
  0 Tells the vectorizer to report no diagnostic information.
  1 Tells the vectorizer to report on vectorized loops.
  2 Tells the vectorizer to report on vectorized and non-vectorized loops.
  3 Tells the vectorizer to report on vectorized and non-vectorized loops and any proven or assumed data dependences.
  4 Tells the vectorizer to report on non-vectorized loops.
  5 Tells the vectorizer to report on non-vectorized loops and the reason why they were not vectorized.

Default

-vec-report1 or /Qvec-report1 If the vectorizer has been enabled, it reports diagnostics on vectorized loops.

Description

This option controls the diagnostic information reported by the vectorizer. The vectorizer report is sent to stdout.

If you do not specify n, it is the same as specifying -vec-report1 (Linux and Mac OS X) or /Qvec-report1 (Windows).

The vectorizer is enabled when certain compiler options are specified, such as option -ax or -x (Linux and Mac OS X), option /Qax or /Qx (Windows), option -arch SSE or -arch SSE2 (Linux and Mac OS X), option /architecture:SSE or /architecture:SSE2 (Windows), and option fast.

If this option is specified from within the IDE, the report is included in the build log if the Generate Build Logs option is selected.

Alternate Options

None

See Also

Optimizing Applications: Vectorization Overview and related topics