Intel® oneAPI DPC++/C++ Compiler Developer Guide and Reference

ID 767253
Date 3/22/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

fvec-peel-loops, Qvec-peel-loops

Enables peel loop vectorization.

Syntax

Linux:

-fvec-peel-loops

-fno-vec-peel-loops

Windows:

/Qvec-peel-loops

/Qvec-peel-loops-

Arguments

None

Default

-fno-vec-peel-loops
or /Qvec-peel-loops-

No peel loop vectorization occurs.

Description

This option enables vectorization of peeling loops created during loop vectorization. It causes the compiler to perform additional steps to vectorize a peel loop that was created to improve alignment of memory references in the main vectorized loop.

The peel loop can be vectorized only when the masked mode of vectorization is enabled by specifying option -fvec-with-mask or /Qvec-with-mask.

The vectorization of a peel loop cannot be enforced because the compiler uses the cost model to determine whether it should be done.

IDE Equivalent

None

Alternate Options

None