Atmel Xplained Pro Evaluation Kit ATSAM4E-XPRO ATSAM4E-XPRO Data Sheet

Product codes
ATSAM4E-XPRO
Page of 1506
189
SAM4E [DATASHEET]
Atmel-11157D-ATARM-SAM4E16-SAM4E8-Datasheet_12-Jun-14
12.6.11.8  VFMA, VFMS
Floating-point Fused Multiply Accumulate and Subtract.
Syntax
VFMA{cond}.F32 {Sd,SnSm
VFMS{cond}.F32 {Sd,SnSm
where:
cond
is an optional condition code, see 
.
Sd
is the destination register.
Sn, Sm
are the operand registers.
Operation
The VFMA instruction:
1.
Multiplies the floating-point values in the operand registers.
2.
Accumulates the results into the destination register.
The result of the multiply is not rounded before the accumulation.
The VFMS instruction:
1.
Negates the first operand register.
2.
Multiplies the floating-point values of the first and second operand registers.
3.
Adds the products to the destination register.
4.
Places the results in the destination register.
The result of the multiply is not rounded before the addition.
Restrictions
There are no restrictions.
Condition Flags
These instructions do not change the flags.