# 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

macOS: | -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* and macOS) 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* and macOS) or /fp (Windows*) settings for this.

## IDE Equivalent

None

## Alternate Options

None

Parent topic: Floating-Point Options

## See Also

qsimd-serialize-fp-reduction, Qsimd-serialize-fp-reduction compiler option
fp-model, fp compiler option
SIMD Loop Directive directive
SIMD Directive (OpenMP* API) directive