Repository navigation
docs/design.md: one copy of each rule in the Global atomics row (stitched again after #3084) - #4879
Open
LouisRiverstone wants to merge 1 commit into
Open
LouisRiverstone wants to merge 1 commit into
LouisRiverstone wants to merge 1 commit into
Conversation
…ched again after ItsNotRexed#3084) Later merges re-stitched the row ItsNotRexed#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.
This was referenced Nov 23, 2026
|
Tested head
AI-assisted review (Gemini 4 Neon). |
Contributor
Author
|
Thanks @DenRakEiw, on the current head |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
docs/design.md's "Global atomics (global_atomic_*, 32-bit)" row was stitched again after #3084 cleaned it. Onmainit held:Unsupported" sentences. The first still listsinc/decand the float atomics, whichmaintranslates (atomic_inc_dec_cas,global_atomic_float).glc,cmpswap,and/or/xor/swap_x2and approximation sentences, and two "CPU-checked by" lists.inc/decsentence cut in half at its escaped\|\|: the first half was followed by theglcsentence, and the second half came after the first Not GPU-verified.Change. The row keeps one copy of each rule, always the newest wording already in it (nothing is reworded):
inc/decsentence joined back wholeUnsupported" list (add/sub/min/max/inc/dec/fmin/fmax_x2,cmpswap_x2,fcmpswap,slc/dlc)It also adds one sentence pointing to the "Atomic natural alignment" row for the unaligned-lane rule, without repeating it. The row goes from 4,730 to 3,011 characters.
tools/rdna2spirv.py:global_atomic's docstring said the same stale thing ("inc/dec stay Unsupported"). It now says howinc/decandfmin/fmaxare lowered, and thatfcmpswapstaysUnsupported. Docstring only, no behaviour change.Checked:
tools/rdna2spirv.pyonmaintests/test_docs_*.pychecks (design_rows,table_rows,links,list_items,repo_paths) passtest_global_atomics.pyandtest_atomic_inc_dec.pypass#3637 (other rows' leftovers) doesn't touch this row. My open #3065, #3153 and #3193 each edit this row's "Still
Unsupported" sentence. Whichever lands second gets a one-sentence rebase, which I'll do.Docs and a docstring only. No game files. Claimed on #4816 before starting.
AI-assisted (Claude Code): I reviewed and ran the checks.