tooling: decode the 13 missing GFX10 SOP2 carry, inverted-logic and pack opcodes #1078
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!1078
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1078/head"
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?
@tedin7 on GitHub · 2026-11-24 00:27 UTC · original
tedin7:x2w-disasm-sop2-ops→main· +45 −0 · 2 files · 1 commits · merged 2026-11-24 00:50 UTCChange
Adds the 13 missing GFX10 SOP2 opcodes to
SOP2_OPSintools/disasm_rdna2.py:s_addc_u32,s_subb_u32,s_orn2_b32/b64,s_nand_b32/b64,s_nor_b32/b64,s_xnor_b32/b64,s_pack_ll_b32_b16,s_pack_lh_b32_b16,s_pack_hh_b32_b16. Only the SOP2 table is touched. Refs #938.Verification
python3 -B tests/rdna2_tools_check.py-> Ran 98 tests, OK (skipped=8).test_sop2_carry_logic_pack_formsdecodes golden bytes (from llvm-mc gfx1013) to the exact LLVM text. WhenLLVM_LIBis set it also re-assembles the text and compares LLVM's disassembly. Run with llvm-mc-19 / libLLVM 19: OK.s_sop2_04 s0, s1, s2instead ofs_addc_u32 s0, s1, s2); with this change it passes.Evidence and follow-up
Decoder tooling only. No claim about running any title. AI-assisted.
Checklist
@chatgpt-codex-connector[bot] on GitHub · 2026-11-24 00:27 UTC · original · edited 2026-11-24 00:30 UTC
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
e89e6fcℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.