Sop 2 fixs #394
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/394"
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 omonkeyz/xbox-emulator. Originally posted by timmmyyyyyyy on 2026-11-26T00:07:45Z.
Library / area:
tombox-xshader— RDNA2 SOP2 scalar instructions.Exports changed (exports.txt rows): None. No public exports changed.
Source of the behaviour: RDNA2 ISA instruction definitions and GFX7 lowering behavior. This PR adds regression coverage for
S_CSELECT_B32andS_CSELECT_B64, plus an explicit refusal for unsupported GFX7S_CBRANCH_G_FORKlowering.Changes
S_CSELECT_B32andS_CSELECT_B64incrates/tombox-xshader/tests/opcodes.rs.0x0Aand0x0B, matching the project’s local GFX1013 ISA table.crates/tombox-xshader/src/gcn.rsso SOP2 opcode0x2B(S_CBRANCH_G_FORK) returns an explicit unsupported-instruction error instead of passing through to RDNA2.Verification
cargo test -p tombox-xshader --test opcodes— 29 passed.cargo test -p tombox-xshader --test isa_table— passed.cargo test -p tombox-xshader --lib— passed.Remaining work
0x2B.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.