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

SQRSHRUN2

T2 arm64 bitmanip insn
AArch64 A64 Instruction: SQRSHRUN2
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 SQRSHRUN2 instruction (A64, 32-bit) with 3 encoding variants extracted from LLVM TableGen. Extensions: NEON.

Syntax / Encoding

SQRSHRUNv16i8_shift: sqrshrun2 $Rd.16b, $Rn.8h, $imm
SQRSHRUNv8i16_shift: sqrshrun2 $Rd.8h, $Rn.4s, $imm
SQRSHRUNv4i32_shift: sqrshrun2 $Rd.4s, $Rn.2d, $imm

Cross-Chip Latency & Throughput (2 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

Binary Encodings (3)

WidthFormatBit PatternMask / Match
32SQRSHRUNv16i8_shift0110111100001xxx100011xxxxxxxxxx0xfff8fc00 / 0x6f088c00
32SQRSHRUNv8i16_shift011011110001xxxx100011xxxxxxxxxx0xfff0fc00 / 0x6f108c00
32SQRSHRUNv4i32_shift01101111001xxxxx100011xxxxxxxxxx0xffe0fc00 / 0x6f208c00

Operands

NameDescription
dst
Rd
Rn
imm
imm
imm