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

UQSHL

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

Syntax / Encoding

UQSHLb: uqshl $Rd, $Rn, $imm
UQSHLv16i8_shift: uqshl $Rd.16b, $Rn.16b, $imm
UQSHLv8i8_shift: uqshl $Rd.8b, $Rn.8b, $imm
UQSHLv4i16_shift: uqshl $Rd.4h, $Rn.4h, $imm
UQSHLv8i16_shift: uqshl $Rd.8h, $Rn.8h, $imm
UQSHLv16i8: uqshl $Rd.16b, $Rn.16b, $Rm.16b
UQSHLv1i16: uqshl $Rd, $Rn, $Rm
UQSHLv2i32: uqshl $Rd.2s, $Rn.2s, $Rm.2s

Cross-Chip Latency & Throughput (5 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
AmpereOne (Ampere1B)20.51Ampere1BUnitXYllvm_sched_models
AmpereOne (Ampere1)30.51Ampere1UnitXYllvm_sched_models
NVIDIA Olympus (Vera)40.171OlympusUnitVllvm_sched_models

Binary Encodings (12)

WidthFormatBit PatternMask / Match
32UQSHLb0111111100001xxx011101xxxxxxxxxx0xfff8fc00 / 0x7f087400
32UQSHLv16i8_shift0110111100001xxx011101xxxxxxxxxx0xfff8fc00 / 0x6f087400
32UQSHLv8i8_shift0010111100001xxx011101xxxxxxxxxx0xfff8fc00 / 0x2f087400
32UQSHLh011111110001xxxx011101xxxxxxxxxx0xfff0fc00 / 0x7f107400
32UQSHLv4i16_shift001011110001xxxx011101xxxxxxxxxx0xfff0fc00 / 0x2f107400
32UQSHLv8i16_shift011011110001xxxx011101xxxxxxxxxx0xfff0fc00 / 0x6f107400
32UQSHLs01111111001xxxxx011101xxxxxxxxxx0xffe0fc00 / 0x7f207400
32UQSHLv16i801101110001xxxxx010011xxxxxxxxxx0xffe0fc00 / 0x6e204c00
32UQSHLv1i1601111110011xxxxx010011xxxxxxxxxx0xffe0fc00 / 0x7e604c00
32UQSHLv1i3201111110101xxxxx010011xxxxxxxxxx0xffe0fc00 / 0x7ea04c00
32UQSHLv1i6401111110111xxxxx010011xxxxxxxxxx0xffe0fc00 / 0x7ee04c00
32UQSHLv1i801111110001xxxxx010011xxxxxxxxxx0xffe0fc00 / 0x7e204c00

Operands

NameDescription
Rd
Rn
imm
Rd
Rn
imm
Rd
Rn
imm
Rd
Rn
imm
Rd
Rn