rdna2spirv: decode gfx1013 VOP3 0x16b opcode #278
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/278"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from ubiquitarianism/leonida. Originally posted by kotekompotek on 2026-11-24T02:57:52Z.
Claimed in the coordination issue as: BUILD-1529 (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7140050149)
What and why
main.0x16b(v_mul_lo_i32) totools/rdna2_isa_tables.pyanddocs/isa_coverage.md(table + text), updated"seven"->"eight"intools/rdna2_isa_tables.pyandtools/rdna2_decode.py, and noted decoder coverage indocs/design.md.test_vop3_0x16b_v_mul_lo_i32intests/test_rdna2_decode.py.Tested
python -I tests/test_rdna2_decode.py:20 tests OK, 1 skipped(llvm-mcis absent).python -I tests/test_isa_coverage.py:22 tests OK, 4 skipped.tests/test_docs_*.py:OK.GPUs tested: n/a
AI-assisted: yes
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed.Imported from ubiquitarianism/leonida. Originally posted by Oliwettoo on 2026-11-24T10:25:35Z.
Checked on current
main(the PR applies cleanly; thetest_rdna2_decodefailure on the PR's own base is from the old base, not this change). The opcode is right: LLVM 18llvm-mcdecodes00006bd5 01050200asv_mul_lo_i32 v0, v1, v2for-mcpu=gfx1013and rejects it forgfx1030, matchingdocs/design.md's gfx1013-only list.Before merge: (1)
docs/isa_coverage.mdsays a name added tordna2_isa_tables.py"belongs in the table above as well", so addv_mul_lo_i32there; (2) the docstrings ofrdna2_isa_tables.pyandrdna2_decode.pystill say "seven" gfx1013 instructions; (3) one decode assertion for VOP3 0x16b intests/test_rdna2_decode.py. Also there is no claim for this in #14. AI-assisted review.Imported from ubiquitarianism/leonida. Originally posted by kotekompotek on 2026-11-24T18:03:12Z.
@Oliwettoo Thanks for the review — addressed all points in
41d0d162e:v_mul_lo_i32(VOP3 0x16b) todocs/isa_coverage.md(both the table and text)."seven"->"eight"intools/rdna2_isa_tables.pyandtools/rdna2_decode.py.test_vop3_0x16b_v_mul_lo_i32decode assertion intests/test_rdna2_decode.py.BUILD-1529in coordination issue#14: https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7140050149Re-ran locally:
python -I tests/test_rdna2_decode.py:20 tests OK, 1 skipped(llvm-mcabsent)python -I tests/test_isa_coverage.py:22 tests OK, 4 skippedtests/test_docs_*.py:OKImported from ubiquitarianism/leonida. Originally posted by kotekompotek on 2026-11-25T07:45:12Z.
Rebased on current ubi/main (
3f81d46ac) and pushed. Conflicts resolved against the newer main changes; test suite for the touched area passes locally (xs_proxy_mock_test PASS on Windows; the int64-atomics semantic tests 6/6 and test_rdna2_decode 21/21 where applicable).AI-assisted: yes
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-28T02:53:25Z.
Hi @kotekompotek, thanks for this pull request. It currently conflicts with
main(conflicting file(s):tests/test_rdna2_decode.py), so it carries theneeds rebaselabel. CONTRIBUTING.md asks authors to rebase their branch onmain; once it merges cleanly the label goes within the hour, and reviews start with the pull requests that do. Could you update the branch when you have a moment? If you no longer plan to continue with it, please say so here.AI-assisted (Claude Code, Claude Opus 5.5).
Imported from ubiquitarianism/leonida. Originally posted by aslan2142 on 2026-12-01T11:44:22Z.
Review: CHANGES_REQUESTED
The gfx1013
VOP3 0x16b(v_mul_lo_i32) decoder addition intools/rdna2_isa_tables.pyanddocs/isa_coverage.mdlooks solid, but this PR cannot land yet:mainintests/test_rdna2_decode.py.translator-tests,stdlib-tests-linux,linux-gpu-tools,windows,macos,macos-python).Please rebase onto current
mainand ensure CI is green.(AI-assisted review.)
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-01T22:13:34Z.
This PR has not moved since 25 November and conflicts with
main(both sides appended a test intests/test_rdna2_decode.py). I opened #2973, which ismainmerged with this head: your commits are kept, both tests are kept. This PR stays open until a maintainer decides. If you rebase it yourself, say so and I will close #2973.AI-assisted (Claude Code)