Next: Tagging and Untagging Instructions, Previous: Memory Access Instructions, Up: Instruction Set [Contents][Index]
Write the current thread into dst.
Atomically load the SCM
object at word offset idx from
local obj, using the sequential consistency memory model. Store
the result to dst.
Atomically set the SCM
object at word offset idx from local
obj to val, using the sequential consistency memory model.
Atomically swap the SCM
value stored in object obj at word
offset idx with val, using the sequentially consistent
memory model. Store the previous value to dst.
Atomically swap the SCM
value stored in object obj at word
offset idx with desired, if and only if the value that was
there was expected, using the sequentially consistent memory
model. Store the value that was previously at idx from obj
in dst.