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