Skip to content

docs: drop the two narrow No-op SOPP/SMEM copies the 12-op row supersedes - #3081

Closed
bobcatchris wants to merge 3 commits into
ItsNotRexed:mainfrom
bobcatchris:docs/merge-duplicate-contract-rows
Closed

bobcatchris wants to merge 3 commits into
ItsNotRexed:mainfrom
bobcatchris:docs/merge-duplicate-contract-rows

Conversation

@bobcatchris

@bobcatchris bobcatchris commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

The contract table listed the same instruction group three times with 7, 9 and 12 names, each row a longer copy of the one before:

  • 7 ops: s_icache_inv … v_clrexcp
  • 9 ops: adds s_atc_probe, s_atc_probe_buffer
  • 12 ops: adds s_incperflevel, s_decperflevel, s_wakeup

The 12-op row repeats every sentence of the other two and adds the perf-level and s_wakeup text, so a reader who stops at the first match concludes that s_atc_probe, s_incperflevel and s_wakeup are unsupported, when the section below says they are no-ops.

This deletes the two narrower rows and keeps the widest. Text-only, no rule changes: docs/design.md 2 deletions. Rebased onto main aa2988cc; the docs table checks still pass (python -IB tests/test_docs_design_rows.py → 2 OK, and test_each_page_names_each_topic_once_per_table is what would catch a re-added copy).

@chpeu

chpeu commented Nov 22, 2026

Copy link
Copy Markdown

Tested d634632c on Linux (Ubuntu 24.04, Python 3.12.3, CPU only, no game files).

  • python -I tests/test_docs_design_rows.py, test_docs_links.py, test_docs_list_items.py and
    test_docs_repo_paths.py all pass at this head.
  • I checked the merge really keeps every measurement. I took the set of measurable items in the two rows
    that disappear (numbers, instruction spellings, GPU/driver names, tests/... paths, issue links) and
    looked for each one in the new file: none missing. The counts I re-read by hand — 38,858 / 46,967 /
    6,552, the gfx1031 SHADER-353 run, the gfx1036 numbers, the denorm modes and the invalid/NaN rules —
    are all inside the merged row.
  • The stale contradiction is gone, and it was a real one: on main the first Output modifiers on hardware (gfx1150) row ends with “RDNA2 itself is unmeasured”, while two rows down the gfx1031/gfx1036 runs
    measure RDNA2. The merged row no longer says it.
  • Your reading of the checker is right: repeated_topics() compares cells[1].strip() exactly, so a second
    No-op SOPP/SMEM (…) row with a different list is invisible to CI. Counting topics with the trailing
    (...) ignored: main has 4 repeated topics in the contract table, this head has 2, and the 2 left are
    exactly the ones you say are different scopes.
  • Out of scope for this PR, just so nobody duplicates work: the Scalar select and pack pair
    (docs/design.md:330 and :335) is still there — docs/design.md: one Scalar select and pack row again, with s_cmov_b64 supported #2913 already covers it.

One suggestion for a follow-up, not a change request here: repeated_topics() could also compare the first
cell with its trailing (...) stripped and report those pairs as a warning list. Images and samplers
versus Images and samplers (core) shows a hard failure would be wrong, but a warning would have caught
both pairs you merged today.

Docs-only change, nothing here needs a GPU or the game. AI-assisted review (pi), read through by hand.

@bobcatchris
bobcatchris force-pushed the docs/merge-duplicate-contract-rows branch from d634632 to a921c2e Compare November 22, 2026 20:10
@bobcatchris

Copy link
Copy Markdown
Contributor Author

Rebased onto f847748c after the round-41 merges moved main; docs tests (design rows, links, list items, repo paths) OK. Force-pushed with lease.

After the merge round main carried three no-op SOPP/SMEM contract rows,
nested by scope (v_clrexcp; then + s_atc_probe/s_atc_probe_buffer; then +
s_incperflevel/s_decperflevel/s_wakeup). Each shorter copy says nothing
the last one does not, so this keeps only the full-scope row and drops
the two strict subsets.
The (gfx1150, RDNA2) row carries every measurement the (gfx1150) row had
(the gfx1150 f32_fuzz sweep, the RDNA2 gfx1036 numbers as the 'Earlier'
paragraph, the denorm and NaN notes) plus the RX 6700 XT RDNA2 rule check
(SHADER-353). The shorter row's 'RDNA2 itself is unmeasured' sentence is
stale, contradicted by the same document.
@bobcatchris
bobcatchris force-pushed the docs/merge-duplicate-contract-rows branch 3 times, most recently from d092480 to 64c13e4 Compare November 22, 2026 23:39
@bobcatchris bobcatchris changed the title docs: merge the duplicated no-op SOPP/SMEM and output-modifier contract rows docs: drop the two narrow No-op SOPP/SMEM copies the 12-op row supersedes Nov 22, 2026
@bobcatchris

Copy link
Copy Markdown
Contributor Author

Rebased onto main aa2988c and re-scoped after the merge round (heads 0478628..64c13e4). Main still carried the duplicates this PR merges, but nested one level deeper than before: three No-op SOPP/SMEM rows (v_clrexcp ⊂ +s_atc_probe ⊂ +s_incperflevel/s_wakeup) and two output-modifier rows ((gfx1150) ⊂ (gfx1150, RDNA2)), and the Buffer format stores row held its Z,Y,X,W swap sentence twice. The branch now: keeps the full-scope no-op row (drops the two strict subsets), keeps the (gfx1150, RDNA2) row (drops the (gfx1150) copy whose 'RDNA2 itself is unmeasured' sentence the same document contradicts), and deduplicates the swap sentence in the buffer-format row. Docs suites (design rows, links, list items, repo paths) all pass. AI-assisted.

ItsNotRexed added a commit that referenced this pull request Nov 23, 2026
# Conflicts:
#	docs/design.md
@bobcatchris

Copy link
Copy Markdown
Contributor Author

Closing as superseded: main already carries this row, including the measured tail ("exact on an RTX 3050 and the 680M") and the tests/semantic/test_tbuffer_store.py reference. Nothing here is needed.

AI-assisted.

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.

2 participants