diff options
| author | qhukz13 <v.onashchuk@gmail.com> | 2026-11-23 23:43:57 +0200 |
|---|---|---|
| committer | qhukz13 <v.onashchuk@gmail.com> | 2026-11-24 16:01:46 +0200 |
| commit | 65e13e0250b912f2f2360c6fcbd555853c77f403 (patch) | |
| tree | 7afe28f2b8152af358da55d076723306d0c519ef /runtime/src/xma2_decoder.cpp | |
| parent | d0da7dade8b688f2e0f7f23f4155d6cbb438809e (diff) | |
tests/semantic: SALU instructions leave SCC exactly 0 or 1, read back through src_scc
SCC checks in the suite mostly go through s_cselect_b32 / s_cbranch_scc*, which only see zero vs non-zero, while
s_addc_u32, s_subb_u32 and src_scc read SCC as a number. test_salu_scc_value.py runs 63 hand-written cases over
48 SOP1/SOP2/SOPC instructions (every one with an SCC = 1 case), copies SCC with `v_mov_b32 v0, src_scc` and
checks the exported word. With the nine inline `OpSelect ... 1 0 -> OpStore %scc` writes in rdna2spirv.py
mutated to store 2, the existing suite passes and this file fails 10 instructions; with all 12 such writes
(set_scc and the lane-mask votes included) it fails 22.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/xma2_decoder.cpp')
0 files changed, 0 insertions, 0 deletions