Developer Guide and Reference

ID 767251
Date 10/31/2024
Public
Document Table of Contents

fvec-remainder-loops, Qvec-remainder-loops

Enables remainder loop vectorization.

Syntax

Linux:

-fvec-remainder-loops

-fno-vec-remainder-loops

Windows:

/Qvec-remainder-loops

/Qvec-remainder-loops-

Arguments

None

Default

-fno-vec-remainder-loops
or /Qvec-remainder-loops-

No remainder loop vectorization occurs.

Description

This option enables vectorization of remainder loops created during loop vectorization. It causes the compiler to perform additional steps to vectorize the remainder loop that was created for the vectorized main loop.

The compiler uses the cost model to determine vector factor and mode of vectorization for remainder loops.

The vectorization of remainder can be enforced using !DIR$ VECTOR VECREMAINDER on the loop.

IDE Equivalent

None

Alternate Options

None

See Also