Recompiler: ignore VOP3 op_sel on 16-bit VOPC compares (#1293) #1562
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1572"
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 ivall/xcl. Originally posted by hajduzsolt on 2026-11-24T17:49:23Z.
Updates 16-bit non-class VOPC compares (f16/u16/i16) to always read both sources from the low 16 bits ([15:0]), ignoring VOP3 op_sel bits to match RDNA2 hardware behavior. Fixes #1293.
What is in it
Tested
Regression run
main:
PR:
Not tested
AI use
Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-24T19:41:33Z.
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~22 ignored.Thanks!
Imported from ivall/xcl. Originally posted by throny on 2026-11-24T19:55:19Z.
Two contributors checked independently and found that this PR makes the same change as #1296 (for #1293): #1607, group D27. They suggest keeping #1296. If you agree, closing this PR or joining the other one would save the maintainers a review. If the two differ in a way the checks missed, a note in #1607 helps.
This is a hint, not a request from the maintainers; nobody from the project has adopted #1607 so far.
AI use: Claude Code (Claude Opus 5.5), posted by a script from the #1607 table.
Imported from ivall/xcl. Originally posted by ivall on 2026-11-24T20:43:04Z.
Closing this as a duplicate: #1296 makes the same change and was opened first (16-bit compares read the low halves whatever op_sel says). It stays open and is the one that will be reviewed and merged.
This says nothing about the quality of the code here. I compared the two diffs; the pair was also found by independent checks in #1607. If this PR covers a case #1296 does not, or #1296 is closed without being merged, say so and I'll reopen it. A test that is only here is welcome on #1296.
Thank you for the work.
AI use: Claude Code (Claude Opus 5.5) compared the diffs and wrote this comment; the decision is the maintainer's.
Pull request closed