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

LW

T2 mips load_store insn
MIPS MIPS32 Instruction: LW
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, DSP, Mips16Mode, NanoMips, NotInMips16Mode

Summary

MIPS LW instruction (MIPS32, 32-bit) with 6 encoding variants extracted from LLVM TableGen. Effects: load. Extensions: DSP, Mips16Mode, NanoMips, NotInMips16Mode.

Syntax / Encoding

LWs9_NM: lw $rt, ${offset}(${base})
LwRxPcTcpX16: lw $rx, $imm16
LwRxSpImmX16: lw $ry, ${imm16}(${rx})

Cross-Chip Latency & Throughput (1 cores)

MicroarchitectureLatency (cycles)Recip. TPuopsPortsSource
MIPS P5600411P5600IssueLDSTllvm_sched_models

Binary Encodings (6)

WidthFormatBit PatternMask / Match
32LWs9_NM101001xxxxxxxxxxx1000000xxxxxxxx0xfc007f00 / 0xa4004000
32LwRxPcTcpX1611110xxxxxxxxxxx10110xxx000xxxxx0xf800f8e0 / 0xf000b000
32LW_NM100001xxxxxxxxxx1000xxxxxxxxxxxx0xfc00f000 / 0x84008000
32LwRxSpImmX1611110xxxxxxxxxxx10010xxxxxxxxxxx0xf800f800 / 0xf0009000
32LWGP_NM010000xxxxxxxxxxxxxxxxxxxxxxxx100xfc000003 / 0x40000002
32LWDSP100011xxxxxxxxxxxxxxxxxxxxxxxxxx0xfc000000 / 0x8c000000

Operands

NameDescription
rt
base
offset
rt
base
offset
offset
offset
rx
imm16
ry
rx
imm16