PPERM
Operation
Select predicate lanes using unsigned vector indices.
Assembler Syntax
PPERM.{B|W|L|Q}(z) Vn(v), Pn(p)
Privilege
Unprivileged
Required CPUID flags
VECTOR
PPERM reads an unsigned index from each selected B, W, L, or Q vector lane. Each index selects the old destination's significant predicate position whose typed-lane index has that value. An index outside the architectural typed-lane range produces zero. The complete destination predicate image is written, and every bit outside its significant positions is cleared. The operation leaves FLAGS unchanged.
PPERM.W indexed predicate selection
2.75in
Encodings
PPERM.{B|W|L|Q}(z) Vn(v), Pn(p)
Format: Instruction format for PPERM.{B|W|L|Q}(z) Vn(v), Pn(p)