You copied the Doc URL to your clipboard.

14.27 VCLS

Vector Count Leading Sign bits.

Syntax

VCLS{cond}.datatype Qd, Qm

VCLS{cond}.datatype Dd, Dm

where:

cond

is an optional condition code.

datatype

must be one of S8, S16,or S32.

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

VCLS counts the number of consecutive bits following the topmost bit, that are the same as the topmost bit, in each element in a vector, and places the results in a second vector.

Related reference

Was this page helpful? Yes No