Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 3/31/2023
Public

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

Document Table of Contents

fvec-remainder-loops, Qvec-remainder-loops

Enables remainder loop vectorization. This feature is only available for ifx.

Syntax

Linux:

-fvec-remainder-loops

-fno-vec-remainder-loops

macOS:

None

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