ptest
SVE Predicate Test
PTEST <Pg>, <Pn>.B
Updates processor flags (NZCV) based on predicate state.
Details
The SVE Predicate Test instruction updates processor flags (NZCV) based on predicate state.
Pseudocode Operation
// Updates processor flags (NZCV) based on predicate state
Example
PTEST p0/m, p1.B
Encoding
Binary Layout
00100101
00
011000
Pg
00
Pn
Operands
-
Pg
Mask -
Pn
First source predicate register (SVE)