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

SCLAMP

T2 arm64 matrix insn
AArch64 SME Instruction: SCLAMP
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 SCLAMP instruction (SME, 32-bit) with 12 encoding variants extracted from LLVM TableGen. Extensions: SME2, SVE2p1_or_SME.

Syntax / Encoding

SCLAMP_VG4_4Z4Z_B: sclamp $Zd, $Zn, $Zm

Binary Encodings (12)

WidthFormatBit PatternMask / Match
32SCLAMP_VG4_4Z4Z_B11000001001xxxxx110011xxxxxxxx000xffe0fc03 / 0xc120cc00
32SCLAMP_VG4_4Z4Z_D11000001111xxxxx110011xxxxxxxx000xffe0fc03 / 0xc1e0cc00
32SCLAMP_VG4_4Z4Z_H11000001011xxxxx110011xxxxxxxx000xffe0fc03 / 0xc160cc00
32SCLAMP_VG4_4Z4Z_S11000001101xxxxx110011xxxxxxxx000xffe0fc03 / 0xc1a0cc00
32SCLAMP_VG2_2Z2Z_B11000001001xxxxx110001xxxxxxxxx00xffe0fc01 / 0xc120c400
32SCLAMP_VG2_2Z2Z_D11000001111xxxxx110001xxxxxxxxx00xffe0fc01 / 0xc1e0c400
32SCLAMP_VG2_2Z2Z_H11000001011xxxxx110001xxxxxxxxx00xffe0fc01 / 0xc160c400
32SCLAMP_VG2_2Z2Z_S11000001101xxxxx110001xxxxxxxxx00xffe0fc01 / 0xc1a0c400
32SCLAMP_ZZZ_B01000100000xxxxx110000xxxxxxxxxx0xffe0fc00 / 0x4400c000
32SCLAMP_ZZZ_D01000100110xxxxx110000xxxxxxxxxx0xffe0fc00 / 0x44c0c000
32SCLAMP_ZZZ_H01000100010xxxxx110000xxxxxxxxxx0xffe0fc00 / 0x4440c000
32SCLAMP_ZZZ_S01000100100xxxxx110000xxxxxxxxxx0xffe0fc00 / 0x4480c000

Operands

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