diff options
| author | Shadman PC <iamanthonytony@gmail.com> | 2026-11-22 18:53:10 +0600 |
|---|---|---|
| committer | Shadman PC <iamanthonytony@gmail.com> | 2026-11-22 19:37:29 +0600 |
| commit | 6f9703b1ca994fa2eb35f4543531d860f9d8d12d (patch) | |
| tree | 6dc5c500cc5c2eaf76fd5d1a81f94b670515ea05 /scripts/run_gpu_tests.py | |
| parent | 175781ea35c73c2dc8a5394e3e1f1b2c35d523f9 (diff) | |
fix(translator): snapshot source literals before destination stores in mov64 and s_mov_b32
In s_mov_b64, snapshot both source halves from sgpr_imm before store_reg
and destination assignments to prevent overlapping 64-bit copies (such as
s_mov_b64 s[6:7], s[5:6]) from overwriting the high word source before it
is read. Likewise read s_mov_b32 source sgpr_imm before dst so self-copies
do not invalidate the source entry.
Added tests covering s_mov_b64 64-bit pair copies and overlapping copies.
Thanks to @josevictorp for catching the overlapping copy issue in PR review.
Diffstat (limited to 'scripts/run_gpu_tests.py')
0 files changed, 0 insertions, 0 deletions