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

LSA

T2 mips alu insn
MIPS MIPS32 Instruction: LSA
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, Mips32r6, NanoMips, StdEnc

Summary

MIPS LSA instruction (MIPS32, 32-bit) with 2 encoding variants extracted from LLVM TableGen. Extensions: Mips32r6, NanoMips, StdEnc.

Syntax / Encoding

LSA_NM: lsa $rd, $rs, $rt, $shift
LSA_R6: lsa $rd, $rs, $rt, $imm2

Binary Encodings (2)

WidthFormatBit PatternMask / Match
32LSA_NM001000xxxxxxxxxxxxxxxxxxxx0011110xfc00003f / 0x2000000f
32LSA_R6000000xxxxxxxxxxxxxxx000xx0001010xfc00073f / 0x00000005

Operands

NameDescription
rd
rs
rt
shift
rd
rs
rt
imm2