tooling: print one VGPR for the f64-source VOP1 conversions in disasm_rdna2 #1586
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1593"
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 vladbondarenko97 on 2026-11-24T14:40:11Z.
Change
disasm_rdna2printed the destination of the unextended VOP1 formsv_cvt_i32_f64,v_cvt_u32_f64andv_cvt_f32_f64as a VGPR pair (v[4:5]) because the mnemonic ends in_f64. The result is one dword: llvm-mc printsv4, and the VOP3 (_e64) spelling here already did. The binary64 source keeps its pair; binary64 results (v_cvt_f64_i32,v_cvt_f64_f32,v_rcp_f64) are unchanged. Refs #938.Verification
Commit
2db1df38on maine09b3302, macOS, Python 3.14.python -B tests/rdna2_tools_check.py TestRdna2Disasm.test_vop1_f64_source_conversions_have_one_register_result: OK. Withtools/disasm_rdna2.pyfrom main: FAILED (failures=6).python -B tests/rdna2_tools_check.py: Ran 142, OK (skipped=18).tests/docs_links_check.py,tests/bidi_controls_check.py: OK.Not run: the Windows build/ctest, and LLVM 15 (not installed here). The golden words come from llvm-mc 23.1.6 (
-mcpu=gfx1013); the new test compares against those strings and needs no LLVM.Evidence and follow-up
Decoder text only; nothing lowers these conversions, so there is no draw or readback. Fixtures are hand-assembled words and llvm-mc output, no game data.
docs/experiments.mdhas a new section. A follow-up names the remaining VOP1 rounding/frexp placeholders (0x17-0x1b, 0x3c-0x41), which build on this change.Checklist
AI use: Claude Code. Claude Sonnet 5.5 wrote the change, the tests and the llvm-mc sweep; Claude Opus 5.5 reviewed the diff and reran the suite. I reviewed it.
🤖 Generated with Claude Code