ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 913 microarchs · 15,555 chips · 105 sources
Arch:
Tier:

UHSUB

T2 arm64 matrix insn
AArch64 SME Instruction: UHSUB
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, SVE2_or_SME

Summary

AArch64 UHSUB instruction (SME, 32-bit) with 4 encoding variants extracted from LLVM TableGen. Extensions: SVE2_or_SME.

Syntax / Encoding

UHSUB_ZPmZ_B: uhsub $Zdn, $Pg/m, $_Zdn, $Zm

Cross-Chip Latency & Throughput (3 cores)

MicroarchitectureLatency (cycles)Recip. TPuopsPortsSource
Apple M1 Firestorm (P-core)20.251- - 1 u11-14apple_dougallj
Apple M1 Icestorm (E-core)20.51- - 1 u6-7apple_dougallj
NVIDIA Olympus (Vera)20.171OlympusUnitVllvm_sched_models

Binary Encodings (4)

WidthFormatBit PatternMask / Match
32UHSUB_ZPmZ_B0100010000010011100xxxxxxxxxxxxx0xffffe000 / 0x44138000
32UHSUB_ZPmZ_D0100010011010011100xxxxxxxxxxxxx0xffffe000 / 0x44d38000
32UHSUB_ZPmZ_H0100010001010011100xxxxxxxxxxxxx0xffffe000 / 0x44538000
32UHSUB_ZPmZ_S0100010010010011100xxxxxxxxxxxxx0xffffe000 / 0x44938000

Operands

NameDescription
Zdn
Pg
_Zdn
Zm
Zdn
_Zdn
Zm
Zdn
_Zdn
Zm
Zdn
_Zdn
Zm