diff options
| author | qhukz13 <v.onashchuk@gmail.com> | 2026-11-24 18:33:10 +0200 |
|---|---|---|
| committer | qhukz13 <v.onashchuk@gmail.com> | 2026-11-24 18:33:10 +0200 |
| commit | 7c59c185b0a4e9be2d70b47fedb231f1fca03167 (patch) | |
| tree | d55c8358c46f1a39390758c530b80ee085358b69 /runtime | |
| parent | 3ed8e50b754eb9dcf9e3819eddbbbccd52fc1177 (diff) | |
tests/semantic: wave32 s_cbranch_vccz/vccnz read vcc_lo only (TEST-W32-VCCZ-VCC-HI)
In wave32, VCC is vcc_lo alone and vcc_hi is an ordinary SGPR. branch_condition reads %vcc_hi only under wave64
(`if g.wave64 and "vcc" not in g.cur_masks`), as test_control_flow_vcc.py's reference model (eval_vccz masks VCC to
the wave size) assumes, but no test pinned it: with tools/semantic_mutants.py, `and -> or` on that line survived all
four test files that reach branch_condition, run together.
A wave32 class next to the wave64 one in test_wave64_vcc_data_branch.py runs the same programs without the 64-bit op
that selects wave64, as two 32-lane subgroups, with SGPR-sourced and constant VCC writes: vcc_lo = 0 and vcc_hi != 0
takes s_cbranch_vccz. The mutant now fails the file (4 failures).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime')
0 files changed, 0 insertions, 0 deletions