fma
Instruction Type F
Format
(qp) fma.pc.sf f1 = f3, f4, f2
Description
The product of f3 and FR f4 is computed to infinite precision and then FR f2 is added to this product, again in infinite precision. The resulting value is then rounded to the precision indicated by pc (and possibly FPSR.sf.pc and FPSR.sf.wre) using the rounding mode specified by FPSR.sf.rc. The rounded result is placed in FR f1.
If any of FR f2, FR f3, or FR f4 is a NaTVal, a NaTVal is placed in FR f1 instead of the computed result.
If f2 is f0, an IEEE multiply operation is performed instead of a multiply and add.
For the encodings and interpretation of the status field's pc, wre, and rc, see Floating-point Computation Control Definitions and Floating-point Rounding Control Definitions.
For details, see Volume 3: Instruction Set Reference of the Intel(R) Itanium(R) Architecture Software Developer's Manual . For the latest updates on the instruction set information, go to the web site.