# 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

Parent topic: Advanced Optimization Options

## See Also

fvec-vec-peel-loops, Qvec-peel-loops compiler option
fvec-with-mask, Qvec-with-mask compiler option
VECTOR directive