ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 1,823 microarchs · 16,083 chips · 105 sources
Arch:
Tier:

PTRUE

T2 arm64 matrix insn
AArch64 SME Instruction: PTRUE
SourceLLVM AArch64 Instruction & Feature Definitions (llvm_aarch64_isa)
Reliability TierT2 — Compiler & Kernel Reference
ISA / Silicon ScopeArmv8-A / Armv9-A (SME)
Armv8-A / Armv9-A (SVE, SVE2, SME, FP8, MTE, Apple Silicon)
License & VersionApache-2.0 WITH LLVM-exception
llvm/main
Upstreamhttps://github.com/llvm/llvm-project/tree/main/llvm/lib/Target/AArch64
Privilegeuser
ExtensionsSME, SVE2p1_or_StreamingSME2, SVE_or_SME

Summary

AArch64 PTRUE instruction (SME, 32-bit) with 8 encoding variants extracted from LLVM TableGen. Extensions: SVE2p1_or_StreamingSME2, SVE_or_SME.

Syntax / Encoding

PTRUE_C_B: ptrue $PNd
PTRUE_B: ptrue $Pd, $pattern

Binary Encodings (8)

WidthFormatBit PatternMask / Match
32PTRUE_C_B00100101001000000111100000010xxx0xfffffff8 / 0x25207810
32PTRUE_C_D00100101111000000111100000010xxx0xfffffff8 / 0x25e07810
32PTRUE_C_H00100101011000000111100000010xxx0xfffffff8 / 0x25607810
32PTRUE_C_S00100101101000000111100000010xxx0xfffffff8 / 0x25a07810
32PTRUE_B0010010100011000111000xxxxx0xxxx0xfffffc10 / 0x2518e000
32PTRUE_D0010010111011000111000xxxxx0xxxx0xfffffc10 / 0x25d8e000
32PTRUE_H0010010101011000111000xxxxx0xxxx0xfffffc10 / 0x2558e000
32PTRUE_S0010010110011000111000xxxxx0xxxx0xfffffc10 / 0x2598e000

Operands

NameDescription
Pd
pattern
PNd
PNd
PNd
PNd
Pd
Pd
Pd