Skip to content

docs/design.md: one copy of each rule in the Global atomics row (stitched again after #3084) - #191

Closed
Andretuta wants to merge 5 commits into
mainfrom
old-pr/9923
Closed

Andretuta wants to merge 5 commits into
mainfrom
old-pr/9923

Conversation

@Andretuta

Copy link
Copy Markdown
Collaborator

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

docs/design.md's "Global atomics (global_atomic_*, 32-bit)" row was stitched again after #3084 cleaned it. On main it held:

Re-submission of #4879. #4879 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 #4879 by: kapitche (Ubuntu), YordiLorenzo (RTX 5090), douline (Arc A770), sovljanskii (Apple M4), byPreaZy (main 5d74c27 | on).

No game files.

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

…ched again after #3084)

Later merges re-stitched the row #3084 cleaned: it had three contradictory
'Still Unsupported' sentences (the first still listing inc/dec and the float
atomics, which main translates), two copies of the glc, cmpswap, _x2 and
approximation sentences, two CPU-checked lists, and the inc/dec sentence cut
in half at its escaped '||' with the second half after the first 'Not
GPU-verified'. The row now keeps one copy of each rule, the newest wording
already in it, the inc/dec sentence whole, and a pointer to the natural
alignment row. global_atomic's docstring said the same stale thing about
inc/dec; it now names how inc/dec and fmin/fmax are lowered and that
fcmpswap stays Unsupported. No behaviour change.
# Conflicts:
#	tools/rdna2spirv.py
milk4sale added a commit to milk4sale/leonida that referenced this pull request Nov 24, 2026
…RIFIED-ATOMICS)

Six contract rows ended with "Not GPU-verified" although fixtures on main
already run them through scripts/run_gpu_tests.py and check.py:
cs_lds_atomics_ext, cs_lds_xchg64_ext, cs_global_mem_ext, cs_w32_fcmpswap
and cs_w32_new_ops. Each row now names its fixture, the forms and cases it
compares, the GPUs it passed on (Radeon 610M, RADV Mesa 26.2.6; RTX 4070 Ti,
620.70.06), and what stays unchecked.

Rows: 8/16-bit global stores and d16 loads, ds_cmpst_f32 / fcmpswap,
ds_mskor, ds_{inc,dec,rsub}_u32 / ds_{min,max}_f32, ds_wrxchg2_rtn_b32,
ds_and/or/xor_b64. Row 279 also gets back the opening ** of its
"Hardware-measured natively on gfx1100" note.

Left out: Global atomics (32-bit) and buffer_atomic_{and,or,xor,swap}_x2,
which open pull requests ProjectLeonida#191 and ProjectLeonida#174 rewrite.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@LouisRiverstone

Copy link
Copy Markdown
Contributor

Taken over by its author in #665 (rebased on main). This draft can be closed.

milk4sale added a commit to milk4sale/leonida that referenced this pull request Nov 24, 2026
…RIFIED-ATOMICS)

Six contract rows ended with "Not GPU-verified" although fixtures on main
already run them through scripts/run_gpu_tests.py and check.py:
cs_lds_atomics_ext, cs_lds_xchg64_ext, cs_global_mem_ext, cs_w32_fcmpswap
and cs_w32_new_ops. Each row now names its fixture, the forms and cases it
compares, the GPUs it passed on (Radeon 610M, RADV Mesa 26.2.6; RTX 4070 Ti,
620.70.06), and what stays unchecked.

Rows: 8/16-bit global stores and d16 loads, ds_cmpst_f32 / fcmpswap,
ds_mskor, ds_{inc,dec,rsub}_u32 / ds_{min,max}_f32, ds_wrxchg2_rtn_b32,
ds_and/or/xor_b64. Row 279 also gets back the opening ** of its
"Hardware-measured natively on gfx1100" note.

Left out: Global atomics (32-bit) and buffer_atomic_{and,or,xor,swap}_x2,
which open pull requests ProjectLeonida#191 and ProjectLeonida#174 rewrite.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@aslan2142

Copy link
Copy Markdown
Collaborator

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

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

@aslan2142 aslan2142 closed this Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants