Fix source-less VOP1 lengths and VOP3 CMPX destinations #6
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/6"
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 codec-d/cool_fox. Originally posted by Yoshi-233 on 2026-11-26T07:53:21Z.
@Yoshi-233 on GitHub · 2026-11-26 07:50 UTC · original
Yoshi-233:fix/gfx10-operand-decode→main· +32 −2 · 2 files · 1 commits · openTwo GFX10 decoder cases from davutsimsekk's fix also reproduce on this fork at
f4b48ad.v_nop,v_pipeflush, andv_clrexcphave no source operand. Each treated five ignored SRC0 encodings as an extension and swallowed the next instruction. The regression putss_endpgmafter all three, and also checks that a realv_mov_b32literal still consumes its second word.v_cmpx*exposes EXEC as its destination. Using the encoded VDST here made decoded operands disagree with the IR. The regression checks the one- and two-dword EXEC operands for wave32 and wave64.I ran identical synthetic CPU probes on the base and this branch with Rust 1.98.1. All 1,536 source-less encodings now preserve the trailing instruction (15 failures on base). All 760 tested VOP3 CMPX operand combinations now report the expected destination (760 failures on base). MOV, ordinary CMP, and VOPC controls retained their expected results. The shader library ran 205 tests successfully, 2 ignored. I didn't run the game or measure frame rate.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.