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
Open Zalrsc in the explorerDependencies
Required by
Instructions (4)
| Mnemonic | Name | Encoding | Match | Mask |
|---|---|---|---|---|
LR.D | Load Reserved Doubleword | 00010--00000-----011-----0101111 | 0x1000302f | 0xf9f0707f |
LR.W | Load Reserved Word | 00010--00000-----010-----0101111 | 0x1000202f | 0xf9f0707f |
SC.D | Store conditional doubleword | 00011------------011-----0101111 | 0x1800302f | 0xf800707f |
SC.W | Store conditional word | 00011------------010-----0101111 | 0x1800202f | 0xf800707f |