| |||
| Home > NEON and VFP Programming > NEON logical and compare operations > VTST | |||
VTST (Vector Test Bits) takes each element in
a vector, and bitwise logical ANDs them with the corresponding element
of a second vector. If the result is not zero, the corresponding
element in the destination vector is set to all ones. Otherwise,
it is set to all zeros.
VTST{cond}.size {Qd}, Qn, Qm
VTST{cond}.size {Dd}, Dn, Dm
where:
condis an optional condition code.
sizemust be one of 8, 16,
or 32.
Qd, Qn, Qmspecifies the destination register, the first operand register, and the second operand register, for a quadword operation.
Dd, Dn, Dmspecifies the destination register, the first operand register, and the second operand register, for a doubleword operation.