search for: amoadd

Displaying 1 result from an estimated 1 matches for "amoadd".

Did you mean: amjad
2018 Jun 13
12
RFC: Atomic LL/SC loops in LLVM revisited
...r the RV32A and RV64A instruction set extensions introduce AMOs (Atomic Memory Operations) and LR/SC (load-linked/store-conditional on other architectures). 32-bit atomic operations are supported natively on RV32, and both 32 and 64-bit atomic operations support natively on RV64. AMOs such as 'amoadd.w' implement simple fetch-and-dobinop behaviour. For LR/SC: LR loads a word and registers a reservation on source memory address. SC writes the given word to the memory address and writes success (zero) or failure (non-zero) into the destination register. LR/SC can be used to implement compare-...