amoswap.d

Operands

reg, reg, (reg)

Variants

  • Atomic swap : Set t1 to the double word at the address in t3, and store t2 there. The exchange is indivisible, which makes this the natural way to implement a spinlock (64bit) amoswap.d t1, t2, (t3)

Atomic swap : Set t1 to the double word at the address in t3, and store t2 there. The exchange is indivisible, which makes this the natural way to implement a spinlock (64bit)

Loading...