tooling: decode the 13 missing GFX10 SOP2 carry, inverted-logic and pack opcodes #1071
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1078"
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 R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-24T00:27:29Z.
Change
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
Imported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-24T00:27:38Z.
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.