rdna2spirv: decode gfx1013 VOP3 0x16b opcode #278
No reviewers
No assignees
Labels
No labels
bug
dependencies
documentation
enhancement
missing claim
needs rebase
needs-triage
question
ready-for-agent
submodules
No project
No milestone
Dependencies
No dependencies set
Notifications
1 participant
Due date
No due date set.
Reference
leonida/mandy!278
Loading…
Reference in a new issue
No description provided.
Delete branch "work/build-1529-gfx1013-0x16b"
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?
Pull request successfully merged and closed
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.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.@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:OKRebased 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
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).
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)