| |||
| Home > NEON and VFP Programming > NEON multiply instructions > VFMA, VFMS | |||
VFMA (Vector Fused Multiply Accumulate) multiplies
corresponding elements in the two operand vectors, and accumulates
the results into the elements of the destination vector. The result
of the multiply is not rounded before the accumulation.
VFMS (Vector Fused Multiply Subtract) multiplies
corresponding elements in the two operand vectors, then subtracts
the products from the corresponding elements of the destination
vector, and places the final results in the destination vector.
The result of the multiply is not rounded before the subtraction.
Vop{cond}.F32 {Qd},Qn,Qm
Vop{cond}.F32 {Dd},Dn,Dm
V{opcond}.F64 {Dd},Dn,Dm
Vop{cond}.F32 {Sd},Sn,Sm
where:
opis one of FMA or FMS.
condis an optional condition code.
Sd, Sn, Smare the destination and operand vectors for word operation.
Dd, Dn, Dmare the destination and operand vectors for doubleword operation.
Qd, Qn, Qmare the destination and operand vectors for quadword operation.