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

lxswu

T1 riscv alu insn
Load scaled indexed word unsigned
SourceRISC-V Official Unified Database (riscv-unified-db) (riscv_unified_db)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeRV32/RV64 Zilx
RV32 / RV64 (Ratified & Standard Extensions)
License & VersionApache-2.0 / CC-BY-4.0
main
Upstreamhttps://github.com/riscv/riscv-unified-db
Privilegeuser
ExtensionsZilx

Summary

Load 32 bits of data into register xd from the effective address X[xs2] + (X[xs1] << 2), where xs2 is the base and xs1 is the index. Zero extend the result to 64 bits.

Syntax / Encoding

lxswu xd, (xs2), xs1 | 1101000xxxxxxxxxx110xxxxx0101111 (mask=0xfe00707f match=0xd000602f)

Binary Encodings (1)

WidthFormatBit PatternMask / Match
32RV1101000xxxxxxxxxx110xxxxx01011110xfe00707f / 0xd000602f

Operands

NameDescription
xs2bits [24:20]
xs1bits [19:15]
xdbits [11:7]

Reference Notes

Load 32 bits of data into register `xd` from the effective address
`X[xs2] + (X[xs1] << 2)`, where `xs2` is the base and `xs1` is the index.
Zero extend the result to 64 bits.

This instruction is defined only for RV64.