The STM32 Cortex-M4 instruction set PM0214
162/262 PM0214 Rev 9
3.10.12 VLMA, VLMS
Multiplies two floating-point values, and accumulates or subtracts the results.
Syntax
VLMA{cond}.F32 Sd, Sn, Sm
VLMS{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 floating-point Multiply Accumulate instruction:
1. Multiplies two floating-point values.
2. Adds the results to the destination floating-point value.
The floating-point Multiply Subtract instruction:
1. Multiplies two floating-point values.
2. Subtracts the products from the destination floating-point value.
Places the results in the destination register.
Restrictions
There are no restrictions.
Condition flags
These instructions do not change the flags.