The Cortex-M4 Instruction Set
ARM DUI 0553A
Copyright © 2010 ARM. All rights reserved.
3-139
ID121610
Non-Confidential
3.11.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
.
Sd
Specifies 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.
3.
Places the results in the destination register.
Restrictions
There are no restrictions.
Condition flags
These instructions do not change the flags.