diff options
| author | Luiz Neves <luizgustavobenicio@gmail.com> | 2026-11-22 09:31:39 -0300 |
|---|---|---|
| committer | Luiz Neves <luizgustavobenicio@gmail.com> | 2026-11-22 09:31:53 -0300 |
| commit | 2e0d20fb3febe73e3983532a6413a27414811e11 (patch) | |
| tree | 599e8dbfb4e64f708e612e7ccaefefafa15e4d3c /runtime/src/pe_loader.cpp | |
| parent | 99f99890c5ebe186ef2f9fe8ff6d675745d9e621 (diff) | |
rdna2spirv: s_movrels_b32 and s_movrels_b64
D = SGPR[S0 + M0] (the b64 form the pair at S0 + M0): a dynamic load
from the SGPR array, as v_movrels is for VGPRs. Every SGPR write stores
into that array, all reads come before the destination is written, and
the index wraps to the 128 slots so the lane-mask parking slots past them
stay out of reach. s_movreld (relative writes) stays Unsupported: the
translator keeps translate-time SGPR knowledge a dynamic write would
invalidate.
tests/semantic/test_salu_movrels.py covers M0 values, M0 from a register,
the b64 pair, an overlapping destination, SCC kept and the rejected
forms. docs/design.md row added.
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions