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

LHU

T2 mips load_store insn
MIPS MIPS32 Instruction: LHU
SourceLLVM MIPS32 / MIPS64 Instruction & Feature Definitions (llvm_mips_isa)
Reliability TierT2 — Compiler & Kernel Reference
ISA / Silicon ScopeMIPS64 r6 (MIPS32)
MIPS32/MIPS64 r1–r6, microMIPS, MSA, Cavium Octeon
License & VersionApache-2.0 WITH LLVM-exception
llvm/main
Upstreamhttps://github.com/llvm/llvm-project/tree/main/llvm/lib/Target/Mips
Privilegeuser
ExtensionsMIPS32, NanoMips

Summary

MIPS LHU instruction (MIPS32, 32-bit) with 3 encoding variants extracted from LLVM TableGen. Effects: load. Extensions: NanoMips.

Syntax / Encoding

LHUs9_NM: lhu $rt, ${offset}(${base})

Cross-Chip Latency & Throughput (1 cores)

MicroarchitectureLatency (cycles)Recip. TPuopsPortsSource
MIPS P5600411P5600IssueLDSTllvm_sched_models

Binary Encodings (3)

WidthFormatBit PatternMask / Match
32LHUs9_NM101001xxxxxxxxxxx0110000xxxxxxxx0xfc007f00 / 0xa4003000
32LHUGP_NM010001xxxxx100xxxxxxxxxxxxxxxxx10xfc1c0001 / 0x44100001
32LHU_NM100001xxxxxxxxxx0110xxxxxxxxxxxx0xfc00f000 / 0x84006000

Operands

NameDescription
rt
base
offset
base
offset
offset