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 microMIPS Instruction: LB
SourceLLVM MIPS32 / MIPS64 Instruction & Feature Definitions (llvm_mips_isa)
Reliability TierT2 — Compiler & Kernel Reference
ISA / Silicon ScopeMIPS64 r6 (microMIPS)
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
ExtensionsmicroMIPS, MicroMips, Mips32r6, NanoMips, NotInMicroMips, StdEnc

Summary

MIPS LB instruction (microMIPS, 32-bit) with 4 encoding variants extracted from LLVM TableGen. Effects: load. Extensions: MicroMips, Mips32r6, NanoMips, NotInMicroMips.

Syntax / Encoding

LB16_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
16LB16_NM010111xxxxxx00xx0xfc0c / 0x5c00
32LB_MM000111xxxxxxxxxxxxxxxxxxxxxxxxxx0xfc000000 / 0x1c000000
32LB100000xxxxxxxxxxxxxxxxxxxxxxxxxx0xfc000000 / 0x80000000

Operands

NameDescription
rt
base
offset
rt
base
offset
offset