Repository navigation
Conversation
|
Independent CPU review at
AI-assisted. |
|
Automated test:
Same machine and setup as my earlier manual reports. AI-assisted (Claude Code). |
|
Tested
AI-assisted (Claude Code). Synthetic test shaders only, no game files. |
|
Tested GPU suite on both cards, identical to the
Tests you changed:
Where this could still need a second pair of eyes: we are 32-wide NVIDIA cards, so nothing here exercises the Machine: Linux Mint 22 (Ubuntu 24.04 base), NVIDIA driver 615.71.09, Vulkan 1.4.351, |
|
Independent second-check of 80b0773, CPU only (Linux, Turing box):
Code read of the diff: clean, scope exactly as claimed. AI-assisted. |
80b0773 to
62e7f03
Compare
|
Rebased onto
One real break the rebase surfaced
I also rewrapped the paragraph in Non-blocking: Checks on macOSmacOS 27.2.1 (26B131), Apple M3 Pro, CPython 3.15.2, llvm-mc 23.1.5, no GPU and no game files:
The branch is mergeable again. AI-assisted. |
Remove dead and invalid instructions identified in docs/isa_coverage.md:
- s_and_b32_mask, s_or_b32_mask (invalid instructions not in RDNA2)
along with unused op.endswith('_mask') check.
- v_subrev_u16, v_and_b16, v_or_b16, v_xor_b16 (dead Vega/GFX9 spellings).
Update docs/isa_coverage.md, docs/design.md, tests/test_isa_coverage.py,
and tests/semantic/test_valu_int16.py accordingly.
tools/valu_int_diff.py generated v_subrev_u16 from its OPS table and
modelled it, so with the translator's support gone the fuzzer stopped with
"harness error: v_subrev_u16" (and --self-test with it); the opcode is
dropped from the table and the model there too.
|
Tested
Synthetic test shaders only, no game files. AI-assisted (Claude Code). |
62e7f03 to
ff16cde
Compare
|
Rebased onto Tested on macOS 27.2.1, Apple M3 Pro, CPython 3.15.2, no game files:
AI-assisted. |
|
Tested f16cdea on Windows 11, Python 3.12.10 (CPU only, synthetic fixtures, no game files): pass.
AI-assisted review (Gemini). |
Claimed in the coordination issue as: docs/isa_coverage.md ("candidates for removal")
What and why
In
docs/isa_coverage.md, non-RDNA2 instructions matched by the translator were evaluated withllvm-mc -arch=amdgcn -mcpu=gfx1013. The analysis noted:s_and_b32_maskands_or_b32_maskare invalid instruction names in RDNA2 and dead (nothing in the repository produces them).v_subrev_u16,v_and_b16,v_or_b16, andv_xor_b16are dead GFX9 (Vega) spellings that have no RDNA2 forms.The documentation marked both sets as candidates for removal.
This PR removes:
s_and_b32_maskands_or_b32_maskfrom scalar bitwise logic, along with the unusedop.endswith("_mask")check.v_subrev_u16,v_and_b16,v_or_b16, andv_xor_b16from 16-bit VALU dispatch intools/rdna2spirv.pyandclamphandling.docs/isa_coverage.mdanddocs/design.md.tests/test_isa_coverage.py(KNOWN_NOT_IN_XMLreduced from 16 to 10 entries).tests/semantic/test_valu_int16.pyto cover the 6 genuine RDNA2 16-bit integer VALU ops (v_min_u16,v_max_u16,v_min_i16,v_max_i16,v_mul_lo_u16,v_sub_nc_u16), preserving all 14 test methods.Tested
python -m compileall -q make_game.py tools tests: pass.python -I make_game.py --help: pass.python -I tests/test_isa_coverage.py: 18 tests passed (3 skipped as expected without external XML).python -I tests/semantic/test_valu_int16.py: 14 tests passed.python -m unittest discover -s tests/semantic -v: all 7,322 tests passed without regressions (OK, skipped=4, expected failures=1).Checklist
docs/design.md, with how it was confirmed.