GPU test cs_w32_saveexec_ext: the saveexec / wrexec kinds of #1657 #169

Closed
github-bot wants to merge 6 commits from gh-pr/169/head into gh-pr/169/base
Owner

@⁠Andretuta on GitHub · 2026-11-24 02:34 UTC · original
ubiquitarianism:old-pr/9904 → main · +269 −4 · 5 files · 6 commits · closed without merging

Carried over from old PR 9904 by LouisRiverstone in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch old-pr/9904, exactly that PR's last commit. All carried-over PRs are listed in #17.
Opened as a draft, and the CI runs the opening started were cancelled so 250 PRs don't fill the queue. Re-run CI here when you review it.
LouisRiverstone: this is your work. Feel free to take it over, by pushing to the branch or opening your own PR and closing this one.


Original description (mentions and #N references are disabled; the numbers refer to the old repository):

A GPU test for the saveexec/wrexec kinds #1657 added with CPU checks only: s_xor/andn1/orn1/orn2/nand/nor/xnor_saveexec_b32 and s_andn1_wrexec_b32.

Re-submission of #1771. #1771 was closed unmerged during the 2026-11-23 22:45 UTC cleanup, along with the other open PRs. This is the same branch, now merged with current main.

Checked on #1771 by: Rainmaker33 (RTX 3090), Yourrespawn (RTX 4080), Bladureau (main 003e7812) on Intel UHD Graphics), kapitche (Windows 11 with two GPUs on one machine), Vonsek (Radeon), Spaghetih (RTX 4070 Ti), tylerstraub (RTX 5090), TreXito (RTX 3060 Ti), tedin7 (RTX 5080), tunczzz (RTX 5070 Ti), bunbeans2-arch (RX 9070 XT), jordi-vancuijlenborg-vinci (Windows 11 build 26200 with an NVIDIA Ge) and 8 more.

No game files.

AI-assisted (Claude Code): I reviewed the change and re-ran its tests on the merge with main.

**@⁠Andretuta** on GitHub · 2026-11-24 02:34 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/169) `ubiquitarianism:old-pr/9904` → `main` · +269 −4 · 5 files · 6 commits · closed without merging > Carried over from **old PR 9904** by `LouisRiverstone` in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch `old-pr/9904`, exactly that PR's last commit. All carried-over PRs are listed in #17. > Opened as a draft, and the CI runs the opening started were cancelled so 250 PRs don't fill the queue. Re-run CI here when you review it. > `LouisRiverstone`: this is your work. Feel free to take it over, by pushing to the branch or opening your own PR and closing this one. --- Original description (mentions and `#N` references are disabled; the numbers refer to the old repository): A GPU test for the saveexec/wrexec kinds `#1657` added with CPU checks only: `s_xor/andn1/orn1/orn2/nand/nor/xnor_saveexec_b32` and `s_andn1_wrexec_b32`. Re-submission of `#1771`. `#1771` was closed unmerged during the 2026-11-23 22:45 UTC cleanup, along with the other open PRs. This is the same branch, now merged with current `main`. Checked on `#1771` by: Rainmaker33 (RTX 3090), Yourrespawn (RTX 4080), Bladureau (main 003e7812) on Intel UHD Graphics), kapitche (Windows 11 with two GPUs on one machine), Vonsek (Radeon), Spaghetih (RTX 4070 Ti), tylerstraub (RTX 5090), TreXito (RTX 3060 Ti), tedin7 (RTX 5080), tunczzz (RTX 5070 Ti), bunbeans2-arch (RX 9070 XT), jordi-vancuijlenborg-vinci (Windows 11 build 26200 with an NVIDIA Ge) and 8 more. No game files. AI-assisted (Claude Code): I reviewed the change and re-ran its tests on the merge with `main`.
s_xor/andn1/orn1/orn2/nand/nor/xnor_saveexec_b32 and s_andn1_wrexec_b32
were merged with CPU checks only. cs_w32_saveexec_ext.asm runs each with
EXEC = lanes 0..23 and S0 = lanes 10..29 (from compares) and stores
(s_bcnt1 << 8) | s_ff1 of the new EXEC, a whole-wave word. It is a wave32
lane-mask dump (WAVE32_LANE_DUMPS), skipped below 32 lanes.

tests/semantic/test_saveexec_ext_fixture.py runs the fixture on the CPU
against tools/cf_ref.py's _SAVEEXEC and checks both runners expect the
same words.
python -I on the file failed with ModuleNotFoundError: support, as the folder
was not on sys.path (@Yourrespawn noted it on this PR, @justr4mzi on #4323).
It is now inserted, as test_cs_shared_memory_limit does.
# Conflicts:
#	runtime/test/shaders/check.py
#	scripts/run_gpu_tests.py
#	tests/semantic/regen_fixtures.py
# Conflicts:
#	runtime/test/shaders/check.py
#	scripts/run_gpu_tests.py
#	tests/semantic/regen_fixtures.py
# Conflicts:
#	runtime/test/shaders/check.py
#	scripts/run_gpu_tests.py
#	tests/semantic/regen_fixtures.py
# Conflicts:
#	runtime/test/shaders/check.py
#	scripts/run_gpu_tests.py
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 08:47:15 +00:00
github-bot closed this pull request 2026-11-26 08:47:15 +00:00
Author
Owner

@⁠aslan2142 on GitHub · 2026-11-24 19:19 UTC · original

This carry-over of old upstream PR 9904 has been taken over in #654, so I'm closing this draft as #17 describes. The branch old-pr/9904 stays.

AI-assisted (Claude Code, Claude Opus 5.5).

**@⁠aslan2142** on GitHub · 2026-11-24 19:19 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/169#issuecomment-7141921207) This carry-over of old upstream PR 9904 has been taken over in #654, so I'm closing this draft as #17 describes. The branch `old-pr/9904` stays. AI-assisted (Claude Code, Claude Opus 5.5).

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.