Repository navigation
Test SDWA word selection alongside the VOP3 16-bit compare fix - #5
Merged
BastienRodz merged 1 commit intoNov 24, 2026
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds a regression for a neighboring instruction encoding touched by the same 16-bit source helper. A VOP3 compare on this branch ignores op_sel. An SDWA compare still needs to honor its explicit source word selectors.
The test uses gfx1030 assembler-verified SDWA instructions for f16, i16 and u16. For each type the chosen values compare true with both low words and false when either source selects its high word. Each of the nine cases stores the live comparison result.
The fixture passed on both ffe310e and a8aa1d1 under Wine/vkd3d-proton 3.2 on RTX 4090. It checks preserved SDWA behavior. The parent PR’s VOP3 tests cover the changed behavior. No translator code changes. Upstream PR