lw.aqrl

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.

Synopsis

lw.aqrl xd, (xs1)

Encoding

Type:

067111214151920310101111xd010xs1001101100000
funct7: 0011011
funct3: 010
opcode: 0101111

RISC-V Instruction Encoder/Decoder

open lw.aqrl in rvcodecjs

Availability