PCOUNT
Operation
Count set significant positions for the selected element size.
Assembler Syntax
PCOUNT.{B|W|L|Q}(z) Pn(p), Rn(r)
Privilege
Unprivileged
Required CPUID flags
VECTOR
The selected element size maps Pn to one significant predicate position per logical element. PCOUNT scans those positions and writes the number of set significant positions to Rn. Bits between significant positions lie outside the count.
2.75in
Encodings
PCOUNT.{B|W|L|Q}(z) Pn(p), Rn(r)
Format: Instruction format for PCOUNT.{B|W|L|Q}(z) Pn(p), Rn(r)