SVE Instruction List by Dougall Johnson
CNTP (predicate as counter): Set scalar to count from predicate-as-counter
CNTP Xd, PNn.B, VLx2 (SVE2.1 (SME2+S
128-bit SVE
Decode (1) from its predicate-as-counter representation to a double-length predicate, then set (2) to the number of non-zero bits.
256-bit SVE
Decode (1) from its predicate-as-counter representation to a double-length predicate, then set (2) to the number of non-zero bits.
512-bit SVE
Decode (1) from its predicate-as-counter representation to a double-length predicate, then set (2) to the number of non-zero bits.
Larger sizes
1024-bit SVE
Decode (1) from its predicate-as-counter representation to a double-length predicate, then set (2) to the number of non-zero bits.
2048-bit SVE
Decode (1) from its predicate-as-counter representation to a double-length predicate, then set (2) to the number of non-zero bits.
Report mistakes or give feedback
Inspired by and based on the x86/x64 SIMD Instruction List by Daytime.