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

Encoding

Binary Layout
00100101
00
011001
Pg
00
Pn
 
Format SVE Predicate
Opcode 0x25190000
Extension SVE

Operands

  • Pd
    Dest Pred
  • Pg
    Mask
  • Pn
    First source predicate register (SVE)