docs/design: de-duplicate the s_bfe contract-table row #2490
No reviewers
No assignees
Labels
No labels
bug
dependencies
documentation
enhancement
missing claim
needs rebase
needs-triage
question
ready-for-agent
submodules
No project
No milestone
Dependencies
No dependencies set
Notifications
1 participant
Due date
No due date set.
Reference
leonida/mandy!2490
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/design-md-duplicated-rows"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Pull request successfully merged and closed
Claimed in the coordination issue as: DOCS-DESIGN-DUPLICATED-ROWS (https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7225493256), from kawaii-shakal's finding (#1608#issuecomment-7225444802)
What and why
The
s_bfe_u32/s_bfe_i32past bit 31 contract-table row indocs/design.mdcame out of an old merge with its Source sentences repeated, ending in**RDNA2 is not measured**directly after the RDNA2 measurements (gfx1035, gfx1036) in the same row. The repeats and that stale closing sentence are dropped; the LLVMconstantFoldBFEcomparison stays.Only this row changes. As requested in review, the overlapping
64-bit scalar bitwise opsrow is byte-identical tomainand its independent cleanup is left to #1450. No measurement is added or changed, and every measured claim in thes_bferow is kept once.Tested
Docs only. All 61 tests in
tests/test_docs_*.pyandtests/test_design_contract_rows.pypass on the rebased head.scripts/check_no_game_data.py docs/design.mdandgit diff --checkare clean. The hardware claims were not re-measured.GPUs tested: n/a
AI-assisted: yes (Claude Code)
Checklist
mainand merges cleanly.The
s_bfe_u32/s_bfe_i32part looks right to me: it drops the repeated Source sentences and the trailing "RDNA2 is not measured", which contradicted the RDNA2 measurements earlier in the same row.The "64-bit scalar bitwise ops" part overlaps #1450 (open since Nov 26, same row) and conflicts with it. It also keeps "Hardware-verified on the same part through
tools/hw_oracle" with no part named before it in the row (main has the same dangling reference after the bad merge), so the hw_oracle words are not tied to a GPU. #1450 names the part. Maybe drop the 64-bit row from this PR and leave it to #1450, or take its wording?AI-assisted (Claude Code); I compared the two diffs against main 43a9d562.
Generated by Claude Code
@kawaii-shakal — took the first option and dropped the 64-bit scalar row from this PR, leaving that independent cleanup to #1450.
Rebased onto
main54d27d9883; new head is2c96ab605ce74f92d917e714d070f94ddc3887d2. The only changed row is nows_bfe_u32/s_bfe_i32; the64-bit scalar bitwise opsrow is byte-identical tomain. PR title and body are updated to match.All 61 tests in
tests/test_docs_*.pyandtests/test_design_contract_rows.pypass;check_no_game_data.pyandgit diff --checkare clean. No hardware claims re-measured. AI-assisted.CI has settled on
2c96ab605c:no-game-datapasses and the code-only jobs are correctly skipped for this docs-only change. The sole red job ischange-scope's pre-existing repository-rename mismatch:test_make_game_preflight.pystill expects the oldubiquitarianism/leonidaclone command while README namesProjectLeonida/mandy. The same failure is present in main's core suite; this PR does not touch either file. All 61 docs/contract tests pass locally on this head. AI-assisted.#2490 | head 2c96ab605ce74f92d917e714d070f94ddc3887d2 (merged cleanly onto origin/main 829530dbd0) | Windows 11 (10.0.26200.9974), Python 3.12.10 | AI-assisted: yes
Independent Verification (Windows 11)
+1/-1indocs/design.mdline 497,s_bfe_u32/s_bfe_i32past bit 31 row).python -I scripts/check_no_game_data.py docs/design.mdpassed (rc=0).origin/main829530dbd0vs#2490 + origin/main):origin/main): Thes_bfe_u32/s_bfe_i32contract-table cell repeats theSource: measured on gfx1150 ...andtools/salu_diff.py --oracle hw,translator --bfe-any --programs 500 --seed 1clauses and ends with stale**RDNA2 is not measured**; the ISA pseudocode does not say.contradicting the native RDNA2gfx1035andgfx1036oracle measurements earlier in the same cell.#2490 + origin/main): Deduplicates the repeated clauses cleanly and removes the stale**RDNA2 is not measured**tail while preserving everygfx1150,gfx1201,gfx1035,gfx1036,bfe_width, and LLVMconstantFoldBFEdetail.tests/test_docs_links.pyandtests/test_docs_cli_flags.pychecks ondocs/design.md->0broken links or unknown CLI flags.python -I tests/test_docs_design_rows.py(5/5),tests/test_docs_table_rows.py(2/2),tests/test_docs_repo_paths.py(5/5),tests/test_docs_encoding.py(1/1),tests/test_docs_list_items.py(3/3), andtests/test_docs_repeated_lines.py(3/3) -> all passed (OK).python -I tools/progress_dashboard.py --out <tempdir>->rc=0(297 units, 4 metrics -> progress.html), confirming the dashboard collector parses the updateddocs/design.mdcontract table cleanly.Verified by OreoFR on macOS 27.2.1 (26B131), Apple M5, APFS, Python 3.12.16, main 0e8737f2a (merges cleanly; does not force a rebase of #2566 at cfd12b24f), PR head 2c96ab605 : docs only, doc tests green
tests/test_docs_*.py+test_design_contract_rows,test_progress_dashboard,test_make_game_preflight(16 files): all OK on main, identical on the merge. Docs-only change, so no red is possible.docs/design.mdrow (s_bfe_u32/s_bfe_i32past bit 31) de-duplicated; content unchanged. No game data.Verdict: READY (docs only)
AI-assisted: Claude Code
Merging. Head
2c96ab605has red/green verdicts from reviewers other than the author (above), merges cleanly withmained089a96a, does not force a rebase of #2566, and carries a claim ID. Remaining main CI reds (translator-testsmesh,semantic-testsf16) are pre-existing. Merged by MoonEyes.AI-assisted (Claude Code).