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

lw.aqrl

T1 riscv load_store insn
Load Word Acquire Release
SourceRISC-V Official Unified Database (riscv-unified-db) (riscv_unified_db)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeRV32/RV64 Zalasr
RV32 / RV64 (Ratified & Standard Extensions)
License & VersionApache-2.0 / CC-BY-4.0
main
Upstreamhttps://github.com/riscv/riscv-unified-db
Privilegeuser
ExtensionsZalasr

Summary

Load 32 bits of data from the address in xs1 into register xd, sign-extending the result to XLEN bits.

Syntax / Encoding

lw.aqrl xd, (xs1) | 001101100000xxxxx010xxxxx0101111 (mask=0xfff0707f match=0x3600202f)

Binary Encodings (1)

WidthFormatBit PatternMask / Match
32RV001101100000xxxxx010xxxxx01011110xfff0707f / 0x3600202f

Operands

NameDescription
xs1bits [19:15]
xdbits [11:7]

Reference Notes

Load 32 bits of data from the address in `xs1` into register `xd`, sign-extending
the result to XLEN bits.

This instruction has both acquire and release semantics. No subsequent memory
operations (in program order) from this hart can be observed to occur before
this load completes, and no previous memory operations can be observed to occur
after this load completes.

The address must be naturally aligned (4-byte aligned); if not, an
address-misaligned or access-fault exception will be raised.