upleb.uk

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

summaryrefslogtreecommitdiff
path: root/scripts/run_gpu_tests.py
diff options
context:
space:
mode:
authorShadman PC <iamanthonytony@gmail.com>2026-11-22 18:53:10 +0600
committerShadman PC <iamanthonytony@gmail.com>2026-11-22 19:37:29 +0600
commit6f9703b1ca994fa2eb35f4543531d860f9d8d12d (patch)
tree6dc5c500cc5c2eaf76fd5d1a81f94b670515ea05 /scripts/run_gpu_tests.py
parent175781ea35c73c2dc8a5394e3e1f1b2c35d523f9 (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