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:57:33 -0400 |
| commit | 46a3edc3954700148fc176fd364a6defc074b345 (patch) | |
| tree | 6489bf278e3a9faa0fe4baecc40d1251b0898d1b /runtime/src/pe_loader.cpp | |
| parent | 4eb6155d3ac4f9d3fadb0d095c4ce13e76783615 (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/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions