| |||
| Home > NEON and VFP Programming > NEON multiply instructions > VMUL{L}, VMLA{L}, and VMLS{L} | |||
VMUL (Vector Multiply) multiplies corresponding
elements in two vectors, and places the results in the destination
vector.
VMLA (Vector Multiply Accumulate) multiplies
corresponding elements in two vectors, and accumulates the results
into the elements of the destination vector.
VMLS (Vector Multiply Subtract) multiplies corresponding
elements in two vectors, subtracts the results from corresponding
elements of the destination vector, and places the final results
in the destination vector.
Vop{cond}.datatype{Qd},Qn,Qm
Vop{cond}.datatype{Dd},Dn,Dm
VopL{cond}.datatypeQd,Dn,Dm
where:
opmust be one of:
MULMultiply
MLAMultiply Accumulate
MLSMultiply Subtract.
condis an optional condition code (see Condition codes).
datatypemust be one of:
I8, I16, I32, F32for MUL, MLA, or MLS
S8, S16, S32for MULL, MLAL,
or MLSL
U8, U16, U32for MULL, MLAL, or MLSL
P8for MUL or MULL.
See Polynomial arithmetic
over {0,1} for
information about datatype P8.
Qd, Qn, Qmare the destination vector, the first operand vector, and the second operand vector, for a quadword operation.
Dd, Dn, Dmare the destination vector, the first operand vector, and the second operand vector, for a doubleword operation.
Qd, Dn, Dmare the destination vector, the first operand vector, and the second operand vector, for a long operation.