Visible to Intel only — GUID: GUID-969A5F48-C013-4313-B513-77ED872541C8
Visible to Intel only — GUID: GUID-969A5F48-C013-4313-B513-77ED872541C8
fma, Qfma
Determines whether the compiler generates fused multiply-add (FMA) instructions if such instructions exist on the target processor.
Linux: |
-fma -no-fma |
Windows: |
/Qfma /Qfma- |
None
-fma |
If the instructions exist on the target processor, the compiler generates fused multiply-add (FMA) instructions. However, if you specify -fp-model strict (Linux*) or /fp:strict (Windows*), but do not explicitly specify -fma or /Qfma, the default is -no-fma or /Qfma-. |
This option determines whether the compiler generates fused multiply-add (FMA) instructions if such instructions exist on the target processor. When the [Q]fma option is specified, the compiler may generate FMA instructions for combining multiply and add operations. When the negative form of the [Q]fma option is specified, the compiler must generate separate multiply and add instructions with intermediate rounding.
This option has no effect unless setting CORE-AVX2 or higher is specified for option [Q]x,-march (Linux), or /arch (Windows).