RISC-V ISA Explorer · Atomics (Za/Zic*)

Zalrsc: LR/SC Extension

Ratified 2024-04 · version 1.0.0

Load-reserved and store-conditional pairs used to build read-modify-write atomic sequences.

Typical use: Extended LR/SC semantics

Specification

Open Zalrsc in the explorer

Dependencies

Required by

Instructions (4)

MnemonicNameEncodingMatchMask
LR.DLoad Reserved Doubleword00010--00000-----011-----01011110x1000302f0xf9f0707f
LR.WLoad Reserved Word00010--00000-----010-----01011110x1000202f0xf9f0707f
SC.DStore conditional doubleword00011------------011-----01011110x1800302f0xf800707f
SC.WStore conditional word00011------------010-----01011110x1800202f0xf800707f