[PATCH] D121397: [AMDGPU] Correct gfx940 memory model documentation.

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 14 09:56:44 PDT 2022


rampitec added inline comments.


================
Comment at: llvm/docs/AMDGPUUsage.rst:8721
 
+  * Atomic operations re-using sc0 bit to indicate an old value shall be
+    returned with only sc1 being used for coherency requests.
----------------
t-tye wrote:
> How about:
> 
> Atomic read-modify-write instructions implicitly bypass the L1 cache. Therefore, they do not use the sc0 bit for coherence and instead use it to indicate if the instruction returns the original value being updated. They do use sc1 to indicate system or agent scope coherence.
Thanks Tony. Updated text.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D121397/new/

https://reviews.llvm.org/D121397



More information about the llvm-commits mailing list