Enables the combining or contraction of floating-point multiplications and add or subtract operations.
Windows: Floating Point > Contract Floating-Point Operations
Linux: None
Mac OS X: None
IA-64 architecture
Linux: | -fma -no-fma |
Mac OS X: | None |
Windows: | /Qfma /Qfma- |
None
-fma |
Floating-point multiplications and add/subtract operations are combined. 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 enables the combining or contraction of floating-point multiplications and add or subtract operations into a single operation.
Linux: -IPF-fma (this is a deprecated option)
Windows: /QIPF-fma (this is a deprecated option)
Floating-point Operations: Floating-point Options Quick Reference