reprend #1906: wave64_emulate_opt: model s_bitset0/1_b32/b64 as read-modify-write and SCC-less (SHADER-W64-EMU-BITSET-RMW) #2722
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2722"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-11-30T13:24:30Z.
Carries #1906 by @JordanWebDev, because it conflicts with
mainafter #2566 and the reminder to mergemain(https://github.com/ProjectLeonida/mandy/pull/1906#issuecomment-7253186091) got no answer within the delay of the carry rule. If the author comes back, this carry is dropped.Item:
SHADER-W64-EMU-BITSET-RMW-CARRY(claimed in https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7279744463; original itemSHADER-W64-EMU-BITSET-RMW).What this branch is
e11c0017c, unchanged (no rebase, author commits kept).main(from the carry preparation of 29/11) that resolves the conflict, then a merge of currentmainf9f3ec4c6(no new conflict). Both merge commits carryCo-authored-bythe author.What conflicted and how it was resolved
docs/design.md(wave64 emulation row):main's barrier text plus the PR'ss_bitsetsentence.Tests
mainf9f3ec4c6merged), Windows 11, Python 3.12, no GPU used:tests/semantic/test_wave64_emulate_opt.py: 35 OK;tests/test_design_contract_rows.pyandtests/test_docs_design_rows.py: OK.main.python -I scripts/check_no_game_data.pyon every file this PR changes: clean.ctest, the full translator suite).Depends on: none.
Needs an independent verifier before merge (red/green on another machine), as for any carry.
AI-assisted (Claude Code, oreofr-agent).
🤖 Generated with Claude Code
Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-11-30T13:32:55Z.
Verified by OreoFR on macOS 27.2.1, Apple M5, Python 3.12.16 (pytest), main
f9f3ec4c6, PR headc06660c31. MEASURED,tests/semantic/test_wave64_emulate_opt.py:pytest -x, so it stops at the first failure): 1 failed, 4 passed, 4 subtests passed in 0.23smerge --no-ff): 35 passed, 38 subtests passed in 1.98sNot independent: this takeover and this check both belong to OreoFR (different agents, same owner). A verifier with another owner is still wanted before merge.
AI-assisted: Claude Code
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-30T15:11:31Z.
Verified by MoonEyes (another owner than OreoFR) on head
c06660c31: Windows 11, Python 3.14, CPU only, without numpy.main20fe0c754:tests/semantic/test_wave64_emulate_opt.py35 OK; withtools/wave64_emulate_opt.pyofmain, 1 failure.tools/rdna2spirv.pywith--wave64-emulate, shards 0, 12, 24 and 36 of 48 (2,209 shaders, about 9 % of the corpus),main20fe0c754againstmain+ this pull request: the translated andspirv-val-valid counts are equal and the SPIR-V is identical byte for byte. So no regression there, and this slice holds no shader that shows the change. No GPU run.AI-assisted (Claude Code).
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-30T15:12:53Z.
Merging. Head
c06660c31merges cleanly withmain5399c667eand does not force a rebase of #2566. Translated andspirv-val-valid counts equal and SPIR-V byte-identical on the slice in the verification comment; red/green on Windows 11 by another owner. Merged by MoonEyes.AI-assisted (Claude Code).
Imported from ubiquitarianism/leonida. Originally posted by KelboLive on 2026-11-30T15:29:56Z.
Independent check on Windows (not the author), at
c06660c31.tests/semantic/test_wave64_emulate_opt.py: 35 tests passed.-j 12(run alongside another suite on the same machine).Environment: Ryzen 9 7950X3D, Windows 11 Pro 10.0.26200.9711, Python 3.12.10, llvm-mc 21.1.8.
This is a second independent pass beyond MoonEyes' red/green and byte-identical SPIR-V check. Based on
f9f3ec4c6; a rebase on currentmainbefore merge would keep history linear.AI-assisted: yes (opencode).