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

URSHL

T2 arm64 bitmanip insn
AArch64 A64 Instruction: URSHL
SourceLLVM AArch64 Instruction & Feature Definitions (llvm_aarch64_isa)
Reliability TierT2 — Compiler & Kernel Reference
ISA / Silicon ScopeArmv8-A / Armv9-A (A64)
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
ExtensionsA64, NEON

Summary

AArch64 URSHL instruction (A64, 32-bit) with 8 encoding variants extracted from LLVM TableGen. Extensions: NEON.

Syntax / Encoding

URSHLv16i8: urshl $Rd.16b, $Rn.16b, $Rm.16b
URSHLv1i64: urshl $Rd, $Rn, $Rm
URSHLv2i32: urshl $Rd.2s, $Rn.2s, $Rm.2s
URSHLv2i64: urshl $Rd.2d, $Rn.2d, $Rm.2d
URSHLv4i16: urshl $Rd.4h, $Rn.4h, $Rm.4h
URSHLv4i32: urshl $Rd.4s, $Rn.4s, $Rm.4s
URSHLv8i16: urshl $Rd.8h, $Rn.8h, $Rm.8h
URSHLv8i8: urshl $Rd.8b, $Rn.8b, $Rm.8b

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 (8)

WidthFormatBit PatternMask / Match
32URSHLv16i801101110001xxxxx010101xxxxxxxxxx0xffe0fc00 / 0x6e205400
32URSHLv1i6401111110111xxxxx010101xxxxxxxxxx0xffe0fc00 / 0x7ee05400
32URSHLv2i3200101110101xxxxx010101xxxxxxxxxx0xffe0fc00 / 0x2ea05400
32URSHLv2i6401101110111xxxxx010101xxxxxxxxxx0xffe0fc00 / 0x6ee05400
32URSHLv4i1600101110011xxxxx010101xxxxxxxxxx0xffe0fc00 / 0x2e605400
32URSHLv4i3201101110101xxxxx010101xxxxxxxxxx0xffe0fc00 / 0x6ea05400
32URSHLv8i1601101110011xxxxx010101xxxxxxxxxx0xffe0fc00 / 0x6e605400
32URSHLv8i800101110001xxxxx010101xxxxxxxxxx0xffe0fc00 / 0x2e205400

Operands

NameDescription
Rd
Rn
Rm
Rd
Rn
Rm
Rd
Rn
Rm