tooling: decode v_mul_lo_i32, the quad SAD pair, v_interp_mov_f32_e64 and the d16_hi format buffer ops #1155
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1162"
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-24T02:06:00Z.
Change
Decodes six more gfx1013 forms in
tools/disasm_rdna2.pyand registers them intools/scan_unsupported_shaders.py, so the shader scan no longer reports them as unknown. Decoding and recognition only; nothing is lowered.v_mul_lo_i32(0x16b),v_qsad_pk_u16_u8(0x172),v_mqsad_pk_u16_u8(0x173),v_interp_mov_f32_e64(0x202, printed withp10/p20/p0andattrN.cas llvm-mc does).buffer_load_format_d16_hi_x(0x26) andbuffer_store_format_d16_hi_x(0x27)...._unsupportedrecords (abs/neg on all four VOP3 forms, clamp onv_mul_lo_i32, omod except on the interpolation move, a set src2 on two-source forms, parameter selector 3, the lds bit and a status dword past v255 on the MUBUF ops), so the next instruction keeps its offset. Special registers (vcc,exec,null,m0) and literals decode as LLVM prints them.v_vop3_172) and the MUBUF table size are updated, nothing is weakened.Refs #938
Verification
LLVM_LIB=libLLVM-15.so.1 LLVM_MC=llvm-mc-15 LLVM_OBJCOPY=llvm-objcopy-15 python3 -B tests/rdna2_tools_check.py(Debian LLVM 15.0.6):Ran 118 tests ... OK (skipped=1); the skip is the LLVM 19-only MUBUF comparison.python3 -B tests/rdna2_tools_check.pywithout LLVM:Ran 118 tests ... OK (skipped=13).mainas well (test_llvm_comparison,test_source_built_records_after_s_endpgm,test_interp_f16_llvm_round_trip); CI pins LLVM 15.python3 -B tests/pso_readiness_check.py: passed.tests/pixel_aot_check.py binary llvm-mc-15 llvm-objcopy-15 libLLVM-15.so.1: exit 0.tools/fromorigin/mainfail (golden vectors, the 4096-word modifier grid, refusals, the scan test, and the MUBUF table size).Evidence and follow-up
instruction not supported on this GPU), so those two are checked against LLVM 19 only, and that comparison skips itself on LLVM 15. Withtfeset LLVM 19 prints the status dword in the vdata range; the decoder does the same.v_qsad_pk_u16_u8andv_mqsad_pk_u16_u8vectors use a destination that does not overlap a source, because LLVM 15 refuses to assemble an overlap.v_interp_p1_f32_e64andv_interp_p2_f32_e64(0x200 and 0x201 on gfx1013). The existing decoder names 0x270..0x272 as interpolation ops, which llvm-mc 19 does not decode for gfx1013; left unchanged here.docs/experiments.mdhas a new section with the scope.Checklist
Imported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-24T02:39:50Z.
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
c199a8eℹ️ 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.