| 1: | func @atomicLoad = <{TARGET: Type, VALUE: Type, ORDER: @pthr.AtomicOrdering}> (target: TARGET) -> VALUE; |
Atomically load a value.
TARGET: must be a non-optional pointer, and is a pointer to the type of value to load
VALUE: must be the result of a dereference of TARGET, trivially-copyable, and cannot be F80
ORDER: cannot be @pthr.AtomicOrdering.RELEASE or @pthr.AtomicOrdering.ACQ_REL
target: target to load
The atomically loaded value.
(TODO)
| @atomicStore | Atomically store a value |
| @atomicRMW | Atomic read-modify-write |
| @cmpxchg | Atomic compare-exchange |