pfirst
SVE Predicate First Active
PFIRST <Pd>.B, <Pg>, <Pn>.B
Sets destination predicate to true only at the first active element.
Details
The SVE Predicate First Active instruction sets destination predicate to true only at the first active element.
Pseudocode Operation
// Sets destination predicate to true only at the first active element
Example
PFIRST p0.B, p0/m, p1.B
Operands
-
Pd
Dest Pred
-
Pg
Mask
-
Pn
First source predicate register (SVE)