SVE Instruction List by Dougall Johnson
See "PTRUE (predicate)" in the exploration tools

PTRUE (predicate): Initialise predicate from named constraint

PTRUE Pd.B{, pattern} (SVE (SME
svbool_t svptrue_pat_b8(enum svpattern pattern)

128-bit SVE

If the constraint (pattern) can be satisfied, set the low bits of (1) that match the constraint, zeroing all other bits. If the constraint cannot be satisfied, zero all bits of (1). If pattern is omitted, the ALL constraint is used.

On 128-bit SVE, the following bits of (1) are set:

256-bit SVE

If the constraint (pattern) can be satisfied, set the low bits of (1) that match the constraint, zeroing all other bits. If the constraint cannot be satisfied, zero all bits of (1). If pattern is omitted, the ALL constraint is used.

On 256-bit SVE, the following bits of (1) are set:

512-bit SVE

If the constraint (pattern) can be satisfied, set the low bits of (1) that match the constraint, zeroing all other bits. If the constraint cannot be satisfied, zero all bits of (1). If pattern is omitted, the ALL constraint is used.

On 512-bit SVE, the following bits of (1) are set:


Larger sizes

1024-bit SVE

If the constraint (pattern) can be satisfied, set the low bits of (1) that match the constraint, zeroing all other bits. If the constraint cannot be satisfied, zero all bits of (1). If pattern is omitted, the ALL constraint is used.

On 1024-bit SVE, the following bits of (1) are set:

2048-bit SVE

If the constraint (pattern) can be satisfied, set the low bits of (1) that match the constraint, zeroing all other bits. If the constraint cannot be satisfied, zero all bits of (1). If pattern is omitted, the ALL constraint is used.

On 2048-bit SVE, the following bits of (1) are set:


Report mistakes or give feedback
Inspired by and based on the x86/x64 SIMD Instruction List by Daytime.