# fvec-with-mask, Qvec-with-mask

Enables vectorization for short trip-count loops with masking. This feature is only available for ifx.

## Syntax

Linux: | -fvec-with-mask -fno-vec-with-mask

macOS: | None

Windows: | /Qvec-with-mask /Qvec-with-mask-

## Arguments

None

## Default

-fno-vec-with-mask or /Qvec-with-mask- | No vectorization for short trip-count loops with masking occurs.

## Description

This option enables a special mode of vectorization, which is applicable for loops with small number of iterations known at compile time. The peeling and remainder loops created during vectorization also fit into this category.

In this mode, the compiler uses a vector factor that is the lowest power-of-two integer greater than the known (maximum) number of loop iterations. Usually, such vectorized loops have one iteration with most of operations masked.

## IDE Equivalent

None

## Alternate Options

None

Parent topic: Advanced Optimization Options

## See Also

fvec-vec-peel-loops, Qvec-peel-loops compiler option
fvec-remainder-loops, Qvec-remainder-loops compiler option