• compare-and-swap (CAS)
  • fetch-and-add (FAA)

注意,RMW语义上隐含了fence,会使得TSO下的store buffer清空