Repository navigation
Conversation
Add an integration test suite verifying RDNA2 ENC_FLAT (FLAT_*) and previously untested ENC_FLAT_GLBL (GLOBAL_*) memory instructions on the GPU across all supported wave execution configurations (wave64, split-wave64, wave32, wave32@hw64): - Multi-dword loads/stores (DWORD, DWORDX2, DWORDX3, DWORDX4), VDST == ADDR register overlap, signed 12-bit ENC_FLAT_GLBL offsets vs unsigned 12-bit ENC_FLAT offsets, SADDR == off 64-bit VGPR addresses vs SGPR + VGPR addressing, and mem_windows=2 translation - Sub-dword and D16 loads/stores across unaligned and dword-straddling offsets - All 32-bit and 64-bit (_X2) integer atomics plus GLOBAL_ATOMIC_CSUB, including alignment truncation, GLC=0/1 sentinel/old-value handling, EXEC masking, and multi-lane contention Measured via scripts/test.ps1 on AMD Ryzen 7 9800X3D / AMD Radeon RX 9070 XT (DXC 1.8.2502.11): 780 passed, 0 failed, 41 ignored (XCL_SAMPLE_* unset), 1 GPU test skipped (no heap windows); standalone gpu_recomp_flat_global: 4 passed, 0 failed. Assisted-by: Antigravity (exact model name not provided to agent)
|
Test report for Tested
Do the tests notice a broken translator?
Not tested: AMD, native wave64, retail title. AI use: Claude Code (Claude Opus 5.5) ran this on my machine, wrote the report and posted it for me. |
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
|
Nothing has happened on this PR for 3 days, so it is marked |
|
No open or merged PR makes the same change. #2143 also covers FLAT/GLOBAL/SCRATCH, but it checks direct-DXIL against HLSL output, not values on the GPU. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human. |
|
merge-check
|
Adds standalone GPU execution and translation integration tests in crates/xcl/tests/gpu_recomp_flat_global.rs covering RDNA2 ENC_FLAT (FLAT_) and previously untested ENC_FLAT_GLBL (GLOBAL_) memory instructions per the AMD RDNA2 ISA specification.
What is in it
unner::skip_test("no DXC") if DXC is absent.
Tested
ustc 1.100.0 (0ef1bc386 2026-11-09).
Not tested
o heap windows).
AI use