SVE Instruction List by Dougall Johnson
CNT: Count non-zero bits (predicated)
CNT Zd.S, Pg/Z, Zn.S (SVE2.2 (SME2.2
128-bit SVE

For each 32-bit integer set (2) to the number of non-zero bits in (1).
256-bit SVE

For each 32-bit integer set (2) to the number of non-zero bits in (1).
512-bit SVE

For each 32-bit integer set (2) to the number of non-zero bits in (1).
Larger sizes
1024-bit SVE

For each 32-bit integer set (2) to the number of non-zero bits in (1).
2048-bit SVE

For each 32-bit integer set (2) to the number of non-zero bits in (1).
Report mistakes or give feedback
Inspired by and based on the x86/x64 SIMD Instruction List by Daytime.