diff options
| author | zneel <14263028+zneel@users.noreply.github.com> | 2026-11-22 11:11:33 +0100 |
|---|---|---|
| committer | zneel <14263028+zneel@users.noreply.github.com> | 2026-11-22 11:22:13 +0100 |
| commit | 1b88414e61e8843c268c690254dfb1cf3dd8b5a3 (patch) | |
| tree | b902b7ff3fdf0d5a24b8a9743a5501f8df44f98b /runtime/src/pe_loader.cpp | |
| parent | f85582e23d4ab9e19acbf694358f137d6b8531b1 (diff) | |
Tests: s_andn2_saveexec_b64 and s_andn2_wrexec_b64 on wave64, GPU and CPU
Neither instruction had a test (the _b32 forms are in #1299). The translator
needs no change: both pass.
- runtime/test/shaders/cs_w64x_andn2_exec.asm: one 64-lane wave. Each result
has lanes in one half of the wave only, so an EXEC or an SCC taken from the
other half alone shows; D is checked to be the old EXEC for saveexec and the
new one for wrexec. In check.py and run_gpu_tests.py as a wave64 dump.
- tests/semantic/test_andn2_exec_b64.py: 12 pairs of S0 and EXEC for each
instruction on all 64 lanes, against the ISA's definition written as
integers; also runs the GPU test's fixture.
Run on an RX 9070 XT (AMD 26.11.2, Windows 11): passes natively 64-wide and
with LEONIDA_W64_EMULATE=1; the whole GPU suite is 127/127 both ways and the
semantic suite 1175 tests OK. Breaking either instruction in the translator
(D of wrexec = the old EXEC, D of saveexec = the new one, andn2 as and) fails
the GPU test and 13 CPU subtests.
AI-assisted (Claude Code).
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions