diff options
| author | May <jorquera2019@gmail.com> | 2026-11-22 18:13:19 -0300 |
|---|---|---|
| committer | May <jorquera2019@gmail.com> | 2026-11-22 18:13:19 -0300 |
| commit | be60ba3fc41120b707f2f3ecc4123efaa57f618f (patch) | |
| tree | 34ed6a54a8b88c50c51fede9b429ce95ad363b97 /runtime/src | |
| parent | f847748cc76bd3777f9c070c4034eb2fc1c04e64 (diff) | |
tests/semantic: pin the DS src2 forms as refused, checked against gfx1013 (TEST-738)
test_lds_add_sub_src2_u32.py was a stand-alone model of ds_add_src2_u32 and
ds_sub_src2_u32 that never ran the translator and wrote the ops with
offset0/offset1. Replace it with test_lds_src2.py:
- RefusedTests: all 31 ds_*_src2_* forms (with no offset, offset:4 and
offset:65535) raise Unsupported naming the op in tools/rdna2spirv.py; the
plain ds_add_u32 is the control that the program reaches the translator.
- EncodingTests (skipped without an AMDGPU llvm-mc): gfx1013 assembles every
form as DS opcode 0x80-0x95 / 0xc0-0xd3 with one 16-bit offset, gfx1030
rejects all of them, and offset0:/offset1: is not their operand form.
Found by @Vonsek.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src')
0 files changed, 0 insertions, 0 deletions