wave64_halves: a vote on EXEC ends with a new EXEC, plus GPU test ps_w64_c_vote_rewrite (SHADER-820) #187

Closed
Andretuta wants to merge 6 commits from upstream-pr/187 into main
Andretuta commented 2026-11-24 02:38:10 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by Andretuta on 2026-11-24T02:38:10Z.


Carried over from old PR 9919 by LouisRiverstone in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch old-pr/9919, 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):

SHADER-820: the GPU fixture for the rewritten-vote-mask rule.

Status after main moved. The rule itself is on main as 2cbc8e046, which is this PR's first commit: a vote on a mask ends when the mask register is rewritten before the branch, so the branch is tier C tainted-branch. main's tests now expect that result. This PR had later changed it to a "stale vote" reported as unsafe-vote-branch, but only to satisfy an older test. Both tiers are C, so the change is dropped, and tools/wave64_halves.py, docs/design.md and tests/semantic are main's.

Re-submission of #4620. #4620 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 #4620 by: theswiss24 (two GPUs in a Dell Latitude 5501), Atomic258 (3.15.2), kapitche (WSL2 Ubuntu), sperm (RX 9070 XT), SweatierKey (Linux), AwkGrep256 (Linux), KkelebekK (780M), sennecools (main 561b65a8) on Windows 11 with AM), lunarminus (760M).

No game files.

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

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5465039496 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/187). Originally posted by [Andretuta](https://github.com/Andretuta) on 2026-11-24T02:38:10Z. --- > Carried over from **old PR 9919** by `LouisRiverstone` in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch `old-pr/9919`, 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): SHADER-820: the GPU fixture for the rewritten-vote-mask rule. **Status after `main` moved.** The rule itself is on `main` as `2cbc8e046`, which is this PR's first commit: a vote on a mask ends when the mask register is rewritten before the branch, so the branch is tier C `tainted-branch`. `main`'s tests now expect that result. This PR had later changed it to a "stale vote" reported as `unsafe-vote-branch`, but only to satisfy an older test. Both tiers are C, so the change is dropped, and `tools/wave64_halves.py`, `docs/design.md` and `tests/semantic` are `main`'s. Re-submission of `#4620`. `#4620` 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 `#4620` by: theswiss24 (two GPUs in a Dell Latitude 5501), Atomic258 (3.15.2), kapitche (WSL2 Ubuntu), sperm (RX 9070 XT), SweatierKey (Linux), AwkGrep256 (Linux), KkelebekK (780M), sennecools (main 561b65a8) on Windows 11 with AM), lunarminus (760M). No game files. AI-assisted (Claude Code): I reviewed the change and re-ran its tests on the merge with `main`.
MoonEyes commented 2026-11-27 19:42:48 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-27T19:42:48Z.


Thanks a lot for carrying this over, @Andretuta. This change continues in #1468, which starts from the commit by LouisRiverstone (old PR 9919): it has the same fixtures, the same docs/design.md row and all the tests of this draft, and its follow-up commit extends the tools/wave64_halves.py rule to the 3-tuple vote tags, with more tests. Like this draft, #1468 still needs a rebase.

I am closing this draft to keep the queue clear. Please continue the discussion in #1468, or reopen this one if something is missing there.

AI-assisted (Claude Code, Claude Opus 5.5)

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7226797449 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/187#issuecomment-7226797449). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-11-27T19:42:48Z. --- Thanks a lot for carrying this over, @Andretuta. This change continues in #1468, which starts from the commit by `LouisRiverstone` (old PR 9919): it has the same fixtures, the same `docs/design.md` row and all the tests of this draft, and its follow-up commit extends the `tools/wave64_halves.py` rule to the 3-tuple vote tags, with more tests. Like this draft, #1468 still needs a rebase. I am closing this draft to keep the queue clear. Please continue the discussion in #1468, or reopen this one if something is missing there. AI-assisted (Claude Code, Claude Opus 5.5)

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
ProjectLeonida/mandy!187
No description provided.