Skip to content

PHEAD

Operation

Sets predicate positions from the count remainder through the final lane.

Assembler Syntax

PHEAD.{B|W|L|Q}(z) Rn(r), Pn(p)

Privilege

Unprivileged

Required CPUID flags

VECTOR

PHEAD computes the selected-element lane count and starts at the unsigned Rcount remainder modulo that count. It clears predicate positions below the start position and sets positions from the start through the final lane.

With count 3, PHEAD.W sets the significant predicate positions for logical lanes 3 through the scalable lane-count endpoint and clears all other bits.

PHEAD.W upper-range predicate fill

2.75in

Encodings

PHEAD.{B|W|L|Q}(z) Rn(r), Pn(p)

Format: Instruction format for PHEAD.{B|W|L|Q}(z) Rn(r), Pn(p)

Format: Instruction format for PHEAD.{B|W|L|Q}(z) Rn(r), Pn(p)