Repository navigation
Conversation
|
Overlap note for review: this test covers all six instructions of #545 (open, earlier: (Found by comparing the
|
|
Thanks for catching the overlap with #545 and #445 @joeypercia — my title search missed them. Happy to close or narrow this down to just \�_ashrrev_i32\ / \�_bcnt_u32_b32\ / \�_xnor_b32\ if those land first. (AI use: Antigravity) |
|
Code audit + Windows MSVC / NVIDIA RTX 5080 GPU test run on Review
Tested
Not tested
AI use: code review and GPU test run orchestrated with Antigravity (Gemini 4 Neon) on the hardware listed above. |
|
Test run of Tested
Review: Test-only; its references follow the RDNA2 definitions I spot-checked (three-operand bitwise ops, shifts with the count's low bits, bitfield extract / insert, popcount). Not tested: no retail title or regression run (I have no unpacked game), no Run and review by Claude Code (Claude Opus 5.5) on this machine; the review points were checked against the code. |
… buffers and PageList (VIctory xcl-dev#703 parity, 33/33 checks)
Adds a per-instruction GPU test (
gpu_bitwise_shift_bfm_and_bcnt_ops) covering 11 RDNA2 integer bitwise, shift-add, bitfield, and popcount instructions that previously had no GPU test coverage:v_add_lshl_u32,v_lshl_or_b32,v_and_or_b32,v_or3_b32,v_xor3_b32,v_xad_u32,v_bfm_b32,v_bfi_b32,v_bcnt_u32_b32,v_xnor_b32, andv_ashrrev_i32, checked across 16 edge cases (shift/width counts mod 32 including 0, 1, 31, 32, 63; negative sign-bit fill; wrapping accumulation) against exact CPU bit arithmetic.What is in it
crates/xcl/src/gpu/recomp/tests.rs: addsgpu_bitwise_shift_bfm_and_bcnt_ops(test-only; no runtime code changed).Tested
616.64, wave32, SM 6.6), Intel i7-12700H, Windows 11 Home 26H2 (build 26200),rustc 1.100.0(x86_64-pc-windows-gnullvm), debug build, DXC1.9.2609.5(01b62ad4)cargo test -p xcl --lib gpu_bitwise_shift_bfm_and_bcnt_ops -- --nocapture: 1 passed, 0 failed, 0 ignored (0.60s)cargo test --workspace -- --test-threads=1: 702 passed, 0 failed, 41 ignoredSKIPPEDGPU tests (expected on wave32-only NVIDIA hardware):gpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask: no wave64gpu::recomp::tests::gpu_wave32_program_in_wave64_hardware: no wave64Not tested
AI use