Repository navigation
Conversation
… GPU Add 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_i32 and v_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. Assisted-by: Antigravity (Gemini 3.8 Flash)
|
Independent verification on current Machine: Windows 11, Ryzen 9 7900X + RTX 3060 Ti; Rust stable MSVC, debug; DXC 1.8.2502.11.
AI use: test runs by Devin (Cognition, SWE-2); no code changes. |
|
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
Not tested
AI use
|
|
Nothing has happened on this PR for 3 days, so it is marked |
|
The ops in AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human. |
Add 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