The STM32 Cortex-M4 instruction set
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
•
'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.
172/260
Conditional execution on page
DocID022708 Rev 6
PM0214
64.
Need help?
Do you have a question about the STM32F4 Series and is the answer not in the manual?
Questions and answers