Enables the combining of floating-point multiplies and add/subtract operations.
Windows: None
Linux: Floating Point > Floating-point Operation Contraction
Mac OS X: None
IA-64 architecture
Linux: |
-fma -no-fma |
Mac OS X: |
None |
Windows: |
/Qfma /Qfma- |
None
-fma |
Floating-point multiplies and add/subtract operations are combined. However, if you specify -mp (Linux), /Op (Windows), /fp:strict (Windows), or -fp-model strict (Linux) but do not explicitly specify -fma or /Qfma, the default is -no-fma or /Qfma-. |
This option enables the combining of floating-point multiplies and add/subtract operations.
It also enables the contraction of floating-point multiply and add/subtract operations into a single operation. The compiler contracts these operations whenever possible.
Linux: -IPF-fma (this is a deprecated option)
Windows: /QIPF-fma (this is a deprecated option)
Floating-point Operations: Floating-point Options Quick Reference