| |||
| Home > NEON and VFP Programming > NEON general arithmetic instructions > V{R}ADDHN and V{R}SUBHN | |||
V{R}ADDH (Vector Add and Narrow, selecting High
half) adds corresponding elements in two vectors, selects the most
significant halves of the results, and places the final results
in the destination vector. Results can be either rounded or truncated.
V{R}SUBH (Vector Subtract and Narrow, selecting
High half) subtracts the elements of one vector from the corresponding
elements of another vector, selects the most significant halves
of the results, and places the final results in the destination
vector. Results can be either rounded or truncated.
V{R}opHN{cond}.datatype Dd, Qn, Qm
where:
Rif present, indicates that each result is rounded. Otherwise, each result is truncated.
opmust be either ADD or SUB.
condis an optional condition code.
datatypemust be one of I16, I32,
or I64.
Dd, Qn, Qmare the destination vector, the first operand vector, and the second operand vector.