diff options
| author | fearkov <289226582+fearkov@users.noreply.github.com> | 2026-11-22 11:15:57 -0400 |
|---|---|---|
| committer | fearkov <289226582+fearkov@users.noreply.github.com> | 2026-11-22 11:16:15 -0400 |
| commit | bb1e9a72a817ffabeee537d69d3be21ec6919653 (patch) | |
| tree | 9ae393ffde7eeb0f703f1524b6e74dac388c5895 /runtime/src | |
| parent | 6a6704df1592e1dc4a3215ddf1423a78adb52045 (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