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

LB

T2 mips load_store insn
MIPS MIPS32 Instruction: LB
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 LB instruction (MIPS32, 32-bit) with 3 encoding variants extracted from LLVM TableGen. Effects: load. Extensions: NanoMips.

Syntax / Encoding

LBs9_NM: lb $rt, ${offset}(${base})

Cross-Chip Latency & Throughput (1 cores)

MicroarchitectureLatency (cycles)Recip. TPuopsPortsSource
MIPS P5600411P5600IssueLDSTllvm_sched_models

Binary Encodings (3)

WidthFormatBit PatternMask / Match
32LBs9_NM101001xxxxxxxxxxx0000000xxxxxxxx0xfc007f00 / 0xa4000000
32LB_NM100001xxxxxxxxxx0000xxxxxxxxxxxx0xfc00f000 / 0x84000000
32LBGP_NM010001xxxxx000xxxxxxxxxxxxxxxxxx0xfc1c0000 / 0x44000000

Operands

NameDescription
rt
base
offset
base
offset
offset