VCEQ (immediate #0)
Vector Compare Equal to zero.
Syntax
VCEQ
{
}.cond
{datatype
}, Qd
Qn
,
#0
VCEQ
{
}.cond
{datatype
}, Dd
Dn
,
#0
where:
cond
is an optional condition code.
datatype
must be one of
I8
,I16
,I32
, orF32
.The result datatype is:
I32
for operand datatypesI32
orF32
.I16
for operand datatypeI16
.I8
for operand datatypeI8
.
Qd, Qn, Qm
specifies the destination register and the operand register, for a quadword operation.
Dd, Dn, Dm
specifies the destination register and the operand register, for a doubleword operation.
#0
specifies a comparison with zero.
Operation
VCEQ
takes the value of each element in a vector, and compares it with
zero. If the condition is true, the corresponding element in the destination vector is set
to all ones. Otherwise, it is set to all zeros.