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

SRSHL

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

Syntax / Encoding

SRSHL_VG4_4Z4Z_B: srshl $Zdn, $_Zdn, $Zm
SRSHL_ZPmZ_B: srshl $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
32SRSHL_VG4_4Z4Z_B11000001001xxx0010111010001xxx000xffe3ffe3 / 0xc120ba20
32SRSHL_VG4_4Z4Z_D11000001111xxx0010111010001xxx000xffe3ffe3 / 0xc1e0ba20
32SRSHL_VG4_4Z4Z_H11000001011xxx0010111010001xxx000xffe3ffe3 / 0xc160ba20
32SRSHL_VG4_4Z4Z_S11000001101xxx0010111010001xxx000xffe3ffe3 / 0xc1a0ba20
32SRSHL_VG4_4ZZ_B110000010010xxxx10101010001xxx000xfff0ffe3 / 0xc120aa20
32SRSHL_VG4_4ZZ_D110000011110xxxx10101010001xxx000xfff0ffe3 / 0xc1e0aa20
32SRSHL_VG4_4ZZ_H110000010110xxxx10101010001xxx000xfff0ffe3 / 0xc160aa20
32SRSHL_VG4_4ZZ_S110000011010xxxx10101010001xxx000xfff0ffe3 / 0xc1a0aa20
32SRSHL_VG2_2Z2Z_B11000001001xxxx010110010001xxxx00xffe1ffe1 / 0xc120b220
32SRSHL_VG2_2Z2Z_D11000001111xxxx010110010001xxxx00xffe1ffe1 / 0xc1e0b220
32SRSHL_VG2_2Z2Z_H11000001011xxxx010110010001xxxx00xffe1ffe1 / 0xc160b220
32SRSHL_VG2_2Z2Z_S11000001101xxxx010110010001xxxx00xffe1ffe1 / 0xc1a0b220

Operands

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