Skip to content

docs/design: merge duplicate contract rows for No-op SOPP and Scalar select (PROC-183) - #3731

Closed
wxrrry wants to merge 1 commit into
ItsNotRexed:mainfrom
wxrrry:docs/proc-183-design-dedup-rows
Closed

wxrrry wants to merge 1 commit into
ItsNotRexed:mainfrom
wxrrry:docs/proc-183-design-dedup-rows

Conversation

@wxrrry

@wxrrry wxrrry commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

Summary

Resolves PROC-183 (as reported by @YaBulochka in #3381 and tracked in #3574):

  • Merged duplicate No-op SOPP/SMEM contract rows in docs/design.md (~273 into ~275): row 275 is the complete superset which documents s_atc_probe and s_atc_probe_buffer (SMEM prefetch no-ops), removing the obsolete duplicate row 273.
  • Merged duplicate Scalar select and pack contract rows in docs/design.md (~348 into ~342):
    • Row 348 mistakenly claimed s_cmov_b64 stays Unsupported, directly contradicting tools/rdna2spirv.py:7754.
    • Row 342 correctly documents 64-bit plain data pair selection for s_cmov_b64 while rejecting lane-mask registers (EXEC, VCC).
    • Preserved s_pack_* specification and gfx1035 / gfx1036 hardware measurement evidence from both rows, eliminated internal phrase duplication, and removed the trailing contradictory **Not measured on RDNA2.** marker.
  • Added regression test test_design_contract_unique_prefix_topics in tests/test_docs_design_rows.py to ensure contract rows for these topic prefixes remain unique.

Verification

  • python -I tests/test_docs_design_rows.py (3/3 pass)
  • python -I tests/test_docs_links.py (5/5 pass)
  • python -I tests/test_docs_list_items.py (2/2 pass)
  • python -I tests/test_docs_repo_paths.py (2/2 pass)
  • Clean-room verification: documentation and synthetic tests only, no game files or proprietary binaries.

@ray3242

ray3242 commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

This PR overlaps two open, mergeable PRs that already do these two row merges. The PROC-183 claim was released for that reason (release, check by @tylerstraub):

I merged #2913 and then #2945 onto main f847748. Each row is left once (grep -c gives 1 for both), and merging this PR on top then conflicts in docs/design.md.

The tests/test_docs_design_rows.py guard against duplicate rows may still be worth having on its own. The row edits, though, will conflict with whichever of the other PRs lands first. AI-assisted (Devin).

@wxrrry

wxrrry commented Nov 22, 2026

Copy link
Copy Markdown
Contributor Author

Closing in favor of #2913 and #2945, which already merge these duplicate contract rows onto main. Thank you for checking and noting the overlap @ray3242!

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