llvm.org GIT mirror llvm / 21784bb
LangRef: Fix/improve cmpxchg wording git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310533 91177308-0d34-0410-b5e6-96231b3b80d8 Matthias Braun 2 years ago
1 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
77037703 """"""""""
77047704
77057705 The contents of memory at the location specified by the '````' operand
7706 is read and compared to '````'; if the read value is the equal, the
7707 '````' is written. The original value at the location is returned, together
7708 with a flag indicating success (true) or failure (false).
7706 is read and compared to '````'; if the values are equal, '````' is
7707 written to the location. The original value at the location is returned,
7708 together with a flag indicating success (true) or failure (false).
77097709
77107710 If the cmpxchg operation is marked as ``weak`` then a spurious failure is
77117711 permitted: the operation may not write ```` even if the comparison