Repository navigation
docs/design.md: one Scalar select and pack row again, with s_cmov_b64 supported - #2913
Merged
Merged
Conversation
2 tasks done
… supported - the round-40 fix (ec8ec4c) stitched the five s_cmov_b64-titled rows into one sentence by sentence: two Source:/CPU-checked groups, a pasted half-sentence fragment, and "**Not measured on RDNA2.**" right after the gfx1035 (SHADER-137) and gfx1036 measurements the row itself lists; the older row without s_cmov_b64 in the topic survived at line 335, so test_docs_design_rows does not flag the pair (self-sourced; found by @jayneebabageyus in issuecomment-7083604496 while fixing PROC-132). - keep one row with the s_cmov_b64 topic cell: the lane-mask rationale, the SOPInstructions.td source and the test_salu_cmov_b64.py CPU list from the pre-merge row (43f8e34), the cs_w32_salu64/cs_w32_int_ext GPU-test naming (8564110), the gfx1035 SHADER-137 and gfx1036 int_hw_probe/salu_diff measurements (06f36ce, fe7edb5); the stale "Not measured on RDNA2." tail and the line-335 duplicate dropped. - docs checks 4/4 green (11 tests). AI-assisted. # Conflicts: # docs/design.md
jaybeebabageyus
force-pushed
the
ht-scmov
branch
from
November 22, 2026 20:58
1659d22 to
51746cc
Compare
Contributor
|
Tested 51746cc on Windows, CPython 3.14.7, CPU only (no GPU, no game files): pass. This is a documentation change, so the check was whether the revised Scalar select and pack row is true of the translator.
No contradiction found. AI-assisted. |
This was referenced Nov 22, 2026
2 tasks done
dev-ewann
pushed a commit
to dev-ewann/Leonida
that referenced
this pull request
Nov 22, 2026
# Conflicts: # docs/design.md
This was referenced Nov 22, 2026
This was referenced Nov 23, 2026
This was referenced Nov 23, 2026
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.
Claimed in the coordination issue as: issuecomment-7083746790 (new PROC item, self-sourced; found in issuecomment-7083604496 while fixing PROC-132).
What and why
docs/design.mdon main (ec8ec4c9) names the "Scalar select and pack" topic twice:ec8ec4c9) stitched from the fives_cmov_b64-titled rows sentence by sentence. It has twoSource: RDNA2 ISA SOP1/SOP2/SOPKand twoCPU-checkedgroups, a pasted half-sentence fragment ("D[63:0], SCC read and not written, ..."), and ends "Not measured on RDNA2." immediately after listing the gfx1035 (SHADER-137) and native gfx1036tools/hw_oracle/tools/salu_diff.pymeasurements.s_cmov_b64in the topic cell, which still says "s_cmov_b64... stayUnsupported, Translator: wave64 lane masks used as integers read back as per-lane bools; wave64 inferred from mnemonics #210" - but the translator supportss_cmov_b64on plain 64-bit scalar data pairs (43f8e34;tools/rdna2spirv.pyraisesUnsupportedonly for lane-mask pairs and non-SGPR destinations) andtests/semantic/test_salu_cmov_b64.pychecks it.The pair survives
tests/test_docs_design_rows.pyonly because the two topic cells differ. The repair keeps one row with thes_cmov_b64topic cell and the pre-merge superset content: the lane-mask rationale ("any dword that is or has been a lane mask ... 0/-1 EITHER constants are data", matching the translator'sany_ever_mask_wordchecks), the LLVM SOPInstructions.td source, thetest_salu_cmov_b64.pyCPU list, thecs_w32_salu64.asm/cs_w32_int_ext.asmGPU-test naming, the NVIDIA reviewer runs (#613/#449), the gfx1035 SHADER-137 verification, the gfx1036int_hw_probesalu_cmov_pack/salu_cmov_b64measurements (#2087) and the gfx1036salu_diff500-program run - and drops the duplicated sentence groups, the stale "Not measured on RDNA2." tail and the line-335 duplicate. 1 file, 1 insertion, 2 deletions.Tested
Docs-only change, CPU only, no GPU needed (Windows 11 26200, Python 3.11.9):
python -I tests/test_docs_design_rows.py- 2 tests OKpython -I tests/test_docs_links.py- 5 tests OKpython -I tests/test_docs_list_items.py- 2 tests OKpython -I tests/test_docs_repo_paths.py- 2 tests OKNo game data, keys or decryption; no game files anywhere in the diff.
Checklist
docs/design.md, with how it was confirmed.(No new rule: this PR only deduplicates the existing
Scalar select and packrow, keeping every confirmation note it already had.)AI-assisted.