diff options
| author | d7ommy <abnalstlll@gmail.com> | 2026-11-22 22:45:27 +0300 |
|---|---|---|
| committer | d7ommy <abnalstlll@gmail.com> | 2026-11-22 22:45:27 +0300 |
| commit | 7da853cdc52944fdb7c0548f167018e08d37cdca (patch) | |
| tree | b9b6c114729cb71b6c2a01c42dac6d7caf701912 /runtime/test/loader_test.cpp | |
| parent | 162821017ea3c286c8bec860f3ff94f037912061 (diff) | |
docs, tests: probe and close row 403 (v_cmp(x) 16-bit op_sel, constants, sdst inactive lanes)
Natively probe and verify 16-bit vector compares (v_cmp and v_cmpx for
f16, u16, i16) across wave32 and wave64 on AMD RDNA2 silicon (gfx1036,
AMD Ryzen 7000 iGPU, driver 26.11.2):
- v_cmp sets 0 for inactive lanes in sdst (s4 in wave32, s[4:5] in wave64).
- v_cmpx kills inactive/failing lanes in EXEC across wave32 and wave64.
- Inline float constants (1.0, -2.0, 0.5, 4.0): op_sel=0 reads f16 in
low half; op_sel=1 reads +0.0.
- Inline integer constants (1, -1): op_sel=0 reads low half; op_sel=1
reads high half (0 for 1, 0xFFFF for -1).
- 32-bit literals: op_sel=0 reads [15:0]; op_sel=1 reads [31:16],
including signed negative high halves in i16.
- SGPR high halves as src0 and src1 with modifiers (neg, abs).
- f16 ordered vs unordered relations on qNaN/sNaN.
Probed with 0 divergences via tools/probe_gfx1036_vcmp16.py.
Expanded tests/semantic/test_vcmp16_opsel.py with full coverage and
spirv-val compliance. Closed row 403 in docs/design.md (TEST-284).
Diffstat (limited to 'runtime/test/loader_test.cpp')
0 files changed, 0 insertions, 0 deletions