Repository navigation
Conversation
|
Overlap note for review: 6 of the 8 instructions this test covers are also covered by #590 (open, earlier): (Found by comparing the
|
|
Thanks for catching the overlap with #590 @joeypercia — my title search missed it. Happy to close or narrow this down to just \�_mul_u32_u24\ / \�_mad_u32_u24\ if #590 lands 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: Overlap with #590 (open), which adds a GPU test for six of these eight instructions ( 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. |
Adds a per-instruction GPU test (
gpu_mul_hi_and_24bit_integer_ops) covering 8 RDNA2 integer multiply / multiply-add instructions that previously had no GPU test coverage:v_mul_hi_u32,v_mul_hi_i32,v_mul_u32_u24,v_mul_hi_u32_u24,v_mul_i32_i24,v_mul_hi_i32_i24,v_mad_u32_u24, andv_mad_i32_i24, checked across 16 edge cases (24-bit sign boundaries0x007F_FFFF/0x0080_0000, ignored upper 8 bits, 32-bit signed/unsigned extremes, and wrapping accumulation) against exact 64-bit CPU arithmetic.What is in it
crates/xcl/src/gpu/recomp/tests.rs: addsgpu_mul_hi_and_24bit_integer_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_mul_hi_and_24bit_integer_ops -- --nocapture: 1 passed, 0 failed, 0 ignored (1.51s)cargo build --workspace && 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 wave64--test-threads=4, pre-existingplaced_title_textures_share_vram_and_preserve_pixelshit a parallel race onf4ce27c(passes alone in1.31sand passes under--test-threads=1).Not tested
AI use