PM0214 Rev 9 173/262
PM0214 The STM32 Cortex-M4 instruction set
261
3.10.23 VNMLA, VNMLS, VNMUL
Floating-point multiply with negation followed by add or subtract.
Syntax
VNMLA{cond}.F32 Sd, Sn, Sm
VNMLS{cond}.F32 Sd, Sn, Sm
VNMUL{cond}.F32 {Sd,} Sn, Sm
Where:
• ‘cond’ is an optional condition code, see Conditional execution on page 65.
• ‘Sd’ is the destination floating-point value
• ‘Sn, Sm’ are the operand floating-point values.
Operation
The VNMLA instruction:
1. Multiplies two floating-point register values.
2. Adds the negation of the floating-point value in the destination register to the negation
of the product.
3. Writes the result back to the destination register.
The VNMLS instruction:
1. Multiplies two floating-point register values.
2. Adds the negation of the floating-point value in the destination register to the product.
3. writes the result back to the destination register.
The VNMUL instruction:
1. Multiplies together two floating-point register values.
2. Writes the negation of the result to the destination register.
Restrictions
There are no restrictions.
Condition flags
These instructions do not change the flags.