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

ID 767251
Date 3/22/2024
Public

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

Document Table of Contents

qsimd-honor-fp-model, Qsimd-honor-fp-model

Tells the compiler to obey the selected floating-point model when vectorizing SIMD loops. This feature is only available for ifort.

Syntax

Linux:

-qsimd-honor-fp-model

-qno-simd-honor-fp-model

Windows:

/Qsimd-honor-fp-model

/Qsimd-honor-fp-model-

Arguments

None

Default

-qno-simd-honor-fp-model or /Qsimd-honor-fp-model-

The compiler performs vectorization of SIMD loops even if it breaks the floating-point model setting.

Description

The OpenMP* SIMD specification and the setting of compiler option -fp-model (Linux*) or /fp (Windows*) can contradict in requirements. When contradiction occurs, the default behavior of the compiler is to follow the OpenMP* specification and therefore vectorize the loop.

This option lets you override this default behavior - it causes the compiler to follow the -fp-model (or /fp) specification. This means that the compiler will serialize the loop.

NOTE:

This option does not affect automatic vectorization of loops. By default, the compiler uses -fp-model (Linux*) or /fp (Windows*) settings for this.

IDE Equivalent

None

Alternate Options

None