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

ID 767251
Date 9/08/2022
Public

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

Document Table of Contents

VECREMAINDER Clause

General Directive Clause: Allows the compiler to vectorize (or not to vectorize) any peel or remainder loops when the original loop is vectorized.

Syntax

[NO]VECREMAINDER

If !DIR$ VECTOR ALWAYS is specified, the following occurs:

  • If VECREMAINDER is specified, the compiler vectorizes peel and remainder loops when the original main loop is vectorized.

  • If NOVECREMAINDER is specified, the compiler does not vectorize peel or remainder loops when the original main loop is vectorized.

  • If neither the VECREMAINDER or NOVECREMAINDER clause is specified, the compiler overrides efficiency heuristics of the vectorizer and it determines whether the loop can be vectorized.