Lets you set a level of guidance for auto-vectorization.

Syntax

Linux and macOS:

-guide-vec[=n]

Windows:

/Qguide-vec[:n]

Arguments

n

Is an optional value specifying the level of guidance to be provided.

The values available are 1 through 4. Value 1 indicates a standard level of guidance. Value 4 indicates the most advanced level of guidance. If n is omitted, the default is 4.

Default

OFF

You do not receive guidance about how to improve optimizations for vectorization.

Description

This option lets you set a level of guidance for auto-vectorization. It causes the compiler to generate messages suggesting ways to improve that optimization.

IDE Equivalent

None

Alternate Options

None

See Also

有关编译器优化的更完整信息,请参阅优化通知