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

UCLAMP

T2 arm64 matrix insn
AArch64 SME Instruction: UCLAMP
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, SME2, SVE2p1_or_SME

Summary

AArch64 UCLAMP instruction (SME, 32-bit) with 12 encoding variants extracted from LLVM TableGen. Extensions: SME2, SVE2p1_or_SME.

Syntax / Encoding

UCLAMP_VG4_4Z4Z_B: uclamp $Zd, $Zn, $Zm

Binary Encodings (12)

WidthFormatBit PatternMask / Match
32UCLAMP_VG4_4Z4Z_B11000001001xxxxx110011xxxxxxxx010xffe0fc03 / 0xc120cc01
32UCLAMP_VG4_4Z4Z_D11000001111xxxxx110011xxxxxxxx010xffe0fc03 / 0xc1e0cc01
32UCLAMP_VG4_4Z4Z_H11000001011xxxxx110011xxxxxxxx010xffe0fc03 / 0xc160cc01
32UCLAMP_VG4_4Z4Z_S11000001101xxxxx110011xxxxxxxx010xffe0fc03 / 0xc1a0cc01
32UCLAMP_VG2_2Z2Z_B11000001001xxxxx110001xxxxxxxxx10xffe0fc01 / 0xc120c401
32UCLAMP_VG2_2Z2Z_D11000001111xxxxx110001xxxxxxxxx10xffe0fc01 / 0xc1e0c401
32UCLAMP_VG2_2Z2Z_H11000001011xxxxx110001xxxxxxxxx10xffe0fc01 / 0xc160c401
32UCLAMP_VG2_2Z2Z_S11000001101xxxxx110001xxxxxxxxx10xffe0fc01 / 0xc1a0c401
32UCLAMP_ZZZ_B01000100000xxxxx110001xxxxxxxxxx0xffe0fc00 / 0x4400c400
32UCLAMP_ZZZ_D01000100110xxxxx110001xxxxxxxxxx0xffe0fc00 / 0x44c0c400
32UCLAMP_ZZZ_H01000100010xxxxx110001xxxxxxxxxx0xffe0fc00 / 0x4440c400
32UCLAMP_ZZZ_S01000100100xxxxx110001xxxxxxxxxx0xffe0fc00 / 0x4480c400

Operands

NameDescription
Zd
_Zd
Zn
Zm
Zd
_Zd
Zn
Zm
Zd
_Zd
Zn
Zm
Zd
_Zd