| |||
| Home > NEON and VFP Programming > NEON general arithmetic instructions > VPADD{L}, VPADAL | |||
VPADD (Vector Pairwise Add) adds adjacent pairs
of elements of two vectors, and places the results in the destination
vector.
VPADDL (Vector Pairwise Add Long) adds adjacent
pairs of elements of a vector, sign or zero extends the results
to twice their original width, and places the final results in the
destination vector.
VPADAL (Vector Pairwise Add and Accumulate Long)
adds adjacent pairs of elements of a vector, and accumulates the
absolute values of the results into the elements of the destination
vector.
VPADD{cond}.datatype {Dd}, Dn, Dm
VPopL{cond}.datatypeQd,Qm
VPopL{cond}.datatypeDd,Dm
where:
opmust be either ADD or ADA.
condis an optional condition code.
datatypemust be one of:
I8, I16, I32, F32for VPADD
S8, S16, S32for VPADDL or VPADAL
U8, U16, U32for VPADDL or VPADAL.
Dd, Dn, Dmare the destination vector, the first operand vector,
and the second operand vector, for a VPADD instruction.
Qd, Qmare the destination vector and the operand vector,
for a quadword VPADDL or VPADAL.
Dd, Dmare the destination vector and the operand vector,
for a doubleword VPADDL or VPADAL.
Using the Assembler: