Repository navigation
TEST-725: Add RDNA2 assembly coverage for signed scalar immediates - #3595
skipper-hack wants to merge 2 commits into
Conversation
Add a wave32 assembly fixture for SOPK sign extension and the scalar condition flag. Run the generated listing in the CPU interpreter and check the same output words in both Vulkan runners.
|
Tested
No game files. |
|
Tested 24c7456 on Steam Deck LCD (Jupiter), AMD Custom GPU 0405 "Van Gogh", RADV Mesa 26.2.0-devel (git-5c65d4fc31), Vulkan 1.4.350, SteamOS 3.9.5 (holo), kernel 7.2.7-valve2-2-neptune-72-g31504582a073: pass
No runtime C++ changes; GPU suite run from the PR worktree against the existing main runtime build. AI-assisted (OpenCode). |
|
Tested 24c7456 on NVIDIA GeForce RTX 4090 (Ada, subgroup 32..32), 621.14, Windows 11 (26200): pass. A real-GPU result next to the PR's llvmpipe run. Test programs: MSVC 19.44 RelWithDebInfo build of
which is 0xFFFF8000, 0, 0xFFFFFFEB, 0, 0x00018000, 1, 0x80000000, 1, the eight words in the fixture's header. Not run: the full |
|
Tested
No game files. AI-assisted (Claude Code). |
|
Tested
AI-assisted (Claude Code). Synthetic test shaders only, no game files. |
|
Tested
Not tested: mutations of |
Conflicts in the wave32 and GPU-test dump lists in runtime/test/shaders/check.py and scripts/run_gpu_tests.py: kept cs_w32_sopk alongside main's new entries.
|
Tested Ran the PR’s synthetic fixture through
AI-assisted verification with synthetic inputs. |
|
Tested
The GPU test programs are the runtime build of main |
|
Tested
Synthetic test shaders only, no game files. AI-assisted (Claude Code). |
Adds a hand-written wave32 assembly fixture for scalar instructions with 16-bit immediates. It checks signed versus unsigned
s_cmpk, verifies thats_mulk_i32preserves both values of SCC, and verifies thats_addk_i32sets SCC on signed overflow.The CPU semantic test and both Vulkan runners check the same eight output words. All inputs are synthetic.
Verification
llvm-mcforgfx1013andgfx1030. The translated shader passedspirv-val.Coordination claim for TEST-725