SVE Instruction List by Dougall Johnson
CLZ: Count leading zero bits (predicated)
CLZ Zd.D, Pg/M, Zn.D (SVE (SME
svuint64_t svclz[_s64]_m(svuint64_t inactive, svbool_t pg, svint64_t op)
svuint64_t svclz[_u64]_m(svuint64_t inactive, svbool_t pg, svuint64_t op)
128-bit SVE
For each 64-bit integer set (2) to the number of leading zero bits in (1). If (1) is zero, the result is 64.
256-bit SVE
For each 64-bit integer set (2) to the number of leading zero bits in (1). If (1) is zero, the result is 64.
512-bit SVE
For each 64-bit integer set (2) to the number of leading zero bits in (1). If (1) is zero, the result is 64.
Larger sizes
1024-bit SVE
For each 64-bit integer set (2) to the number of leading zero bits in (1). If (1) is zero, the result is 64.
2048-bit SVE
For each 64-bit integer set (2) to the number of leading zero bits in (1). If (1) is zero, the result is 64.
Report mistakes or give feedback
Inspired by and based on the x86/x64 SIMD Instruction List by Daytime.