clz
Count Leading Zeros
CLZ <Wd>, <Wn>
Counts number of consecutive zeros.
Details
The Count Leading Zeros instruction counts number of consecutive zeros.
Pseudocode Operation
Wd ← count of leading zero bits in Wn
Example
CLZ w0, w1
Encoding
Binary Layout
01011010
110
00000
001000
Rn
Rd
Operands
-
Wd
Destination 32-bit integer register -
Wn
First source / base 32-bit integer register