Load-Reserved/Store-Conditional Release & Acquire Semantics

from blog Daniel Mangum, | ↗ original
Tonight’s @risc_v Tip: The A extension defines 2 types of instructions for atomic operations: load-reserved/store-conditional (LR/SC) and atomic fetch-and-op (AMO). Both support acquire and release bits to impose additional ordering semantics. LR/SC uses them as follows: Note that LR.rl should not be set unless http://LR.aq is also, and...