Tests: check VOP3 3-operand integer ALU, bitwise and align ops on the GPU #1206
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!1206
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1206"
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?
@0xTehuti on GitHub · 2026-11-24 13:14 UTC · original
0xTehuti:test-rdna2-gpu-ops→main· +76 −0 · 1 files · 1 commits · openAdd GPU coverage for 14 translated RDNA2 3-operand integer and bitwise instructions with no existing GPU tests:
v_alignbit_b32,v_alignbyte_b32,v_xad_u32,v_add_lshl_u32,v_lshl_or_b32,v_and_or_b32,v_or3_b32,v_xor3_b32,v_med3_u32,v_med3_i32,v_min3_u32,v_max3_u32,v_min3_i32andv_max3_i32.Exercises bit alignment shifts, 3-operand bitwise combinations, combined add-shifts, and signed/unsigned median and min/max selection across all 64 lanes.
What is in it
crates/xcl/src/gpu/recomp/tests.rs:gpu_recomp_vop3_three_operand_int_and_bit_opsexercising 14 VOP3 instructions on the GPU.Tested
.\scripts\test.ps1: 699 passed, 0 failed, 21 ignored, 2 skipped (no wave64)cargo test -p xcl --lib gpu_recomp_vop3_three_operand_int_and_bit_ops: 1 passed, 0 failed (0.26s)Not tested
XCL_SAMPLE_*unset).AI use
@DavidM1911 on GitHub · 2026-11-24 13:17 UTC · original
Independent verification on current
main384f7f7(branch already contains it — clean).Machine: Windows 11, Ryzen 9 7900X + RTX 3060 Ti; Rust stable MSVC, debug; DXC 1.8.2502.11.
cargo test -p xcl --lib vop3: 3 passed, 0 failed — includes the newgpu_recomp_vop3_three_operand_int_and_bit_ops.AI use: test runs by Devin (Cognition, SWE-2); no code changes.
@JoaoPauluu on GitHub · 2026-11-24 13:45 UTC · original
A run on Linux with vkd3d-proton, where the shaders go through dxil-spirv to Vulkan instead of a Windows driver's DXIL compiler.
Tested
x86_64-pc-windows-gnu.e4307f2as it is (based on47efa2e), no uncommitted changes. The lib test binary runs under Wine.gpu::recomp::tests::gpu_recomp_vop3_three_operand_int_and_bit_ops(--exact, one process): ok, no SKIPPED. DXC compiled it and it ran on the GPU in about 0.8 s.Not tested
AI use
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.