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

URSHL

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

Summary

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

Syntax / Encoding

URSHL_VG4_4Z4Z_B: urshl $Zdn, $_Zdn, $Zm
URSHL_ZPmZ_B: urshl $Zdn, $Pg/m, $_Zdn, $Zm

Cross-Chip Latency & Throughput (4 cores)

MicroarchitectureLatency (cycles)Recip. TPuopsPortsSource
Apple M1 Firestorm (P-core)30.251- - 1 u11-14apple_dougallj
Apple M1 Icestorm (E-core)30.51- - 1 u6-7apple_dougallj
Apple Cyclone (A7)30.331CyUnitVllvm_sched_models
NVIDIA Olympus (Vera)40.171OlympusUnitVllvm_sched_models

Binary Encodings (12)

WidthFormatBit PatternMask / Match
32URSHL_VG4_4Z4Z_B11000001001xxx0010111010001xxx010xffe3ffe3 / 0xc120ba21
32URSHL_VG4_4Z4Z_D11000001111xxx0010111010001xxx010xffe3ffe3 / 0xc1e0ba21
32URSHL_VG4_4Z4Z_H11000001011xxx0010111010001xxx010xffe3ffe3 / 0xc160ba21
32URSHL_VG4_4Z4Z_S11000001101xxx0010111010001xxx010xffe3ffe3 / 0xc1a0ba21
32URSHL_VG4_4ZZ_B110000010010xxxx10101010001xxx010xfff0ffe3 / 0xc120aa21
32URSHL_VG4_4ZZ_D110000011110xxxx10101010001xxx010xfff0ffe3 / 0xc1e0aa21
32URSHL_VG4_4ZZ_H110000010110xxxx10101010001xxx010xfff0ffe3 / 0xc160aa21
32URSHL_VG4_4ZZ_S110000011010xxxx10101010001xxx010xfff0ffe3 / 0xc1a0aa21
32URSHL_VG2_2Z2Z_B11000001001xxxx010110010001xxxx10xffe1ffe1 / 0xc120b221
32URSHL_VG2_2Z2Z_D11000001111xxxx010110010001xxxx10xffe1ffe1 / 0xc1e0b221
32URSHL_VG2_2Z2Z_H11000001011xxxx010110010001xxxx10xffe1ffe1 / 0xc160b221
32URSHL_VG2_2Z2Z_S11000001101xxxx010110010001xxxx10xffe1ffe1 / 0xc1a0b221

Operands

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