You copied the Doc URL to your clipboard.

VCNT

Vector Count set bits.

Syntax

VCNT{cond}.datatype Qd, Qm

VCNT{cond}.datatype Dd, Dm

where:

cond

is an optional condition code.

datatype

must be I8.

Qd, Qm

are the destination vector and the operand vector, for a quadword operation.

Dd, Dm

are the destination vector and the operand vector, for a doubleword operation.

Operation

VCNT counts the number of bits that are one in each element in a vector, and places the results in a second vector.

Was this page helpful? Yes No