upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src
diff options
context:
space:
mode:
authorfearkov <289226582+fearkov@users.noreply.github.com>2026-11-22 11:15:57 -0400
committerfearkov <289226582+fearkov@users.noreply.github.com>2026-11-22 11:16:15 -0400
commitbb1e9a72a817ffabeee537d69d3be21ec6919653 (patch)
tree9ae393ffde7eeb0f703f1524b6e74dac388c5895 /runtime/src
parent6a6704df1592e1dc4a3215ddf1423a78adb52045 (diff)
Translator: a 64-bit exchange done per dword can tear
buffer_atomic_swap_x2, global_atomic_swap_x2 and ds_wrxchg*_rtn_b64 do one 32-bit exchange per dword, which the comments said leaves the same memory as a 64-bit exchange. Two lanes swapping into one element at once can leave one's low dword with the other's high dword. The claim holds for and/or/xor only, whose bits are independent.
Diffstat (limited to 'runtime/src')
0 files changed, 0 insertions, 0 deletions