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

ID 767251
Date 6/24/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-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

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