Skip to content

docs/design.md: one copy of each rule in the Known approximations and 64-bit scalar bitwise rows - #193

Closed
Andretuta wants to merge 6 commits into
mainfrom
old-pr/9925
Closed

Andretuta wants to merge 6 commits into
mainfrom
old-pr/9925

Conversation

@Andretuta

Copy link
Copy Markdown
Collaborator

Carried over from old PR 9925 by LouisRiverstone in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch old-pr/9925, exactly that PR's last commit. All carried-over PRs are listed in #17.
Opened as a draft, and the CI runs the opening started were cancelled so 250 PRs don't fill the queue. Re-run CI here when you review it.
LouisRiverstone: this is your work. Feel free to take it over, by pushing to the branch or opening your own PR and closing this one.


Original description (mentions and #N references are disabled; the numbers refer to the old repository):

Two more stitched docs/design.md rows, not covered by #3637 or #4879.

Re-submission of #4891. #4891 was closed unmerged during the 2026-11-23 22:45 UTC cleanup, along with the other open PRs. This is the same branch, now merged with current main.

Checked on #4891 by: kapitche (Linux), cynbun (Linux), YordiLorenzo (Linux).

No game files.

AI-assisted (Claude Code): I reviewed the change and re-ran its tests on the merge with main.

… 64-bit scalar bitwise rows

Known approximations (14,392 chars) held a repeated block of ~17 sentences,
sentences with two to four stitched versions inside them, older claims next to
the newer measured ones ('nearest-mode v_fma_mix* still rounds twice ...
unmeasured', 'v_cos/exp/log_f16 are unmeasured'), and v_add_f64's
FastTwoSum sentence split at the unescaped |a| >= |b| with its second half
spliced into the v_mul_legacy sentence. It now keeps one copy of each rule,
the newest wording already in the row: v_add_f64's sentence whole again
(from b24f2ce, pipes escaped), the v_fma_mix sentence that matches the code
(Gen.fma_mix_odd in both modes), the exhaustive 65,536-input transcendental
sweep. 64-bit scalar bitwise ops: two repeated sentences dropped. No
behaviour change.
…py of each sentence

@kapitche on #4891: the row was still stitched after dropping its two exact
repeats. An unescaped '(D.lo | D.hi)' had split the RX 7600 sentence, and
merges then repeated its pieces: three '**Not GPU-verified.**', five 'hardware-
verified on an AMD RX 7600', three 'The measured plain-data words' (a copy of
the RX 7900 XTX words spliced into the RX 7600 sentence). The row now keeps the
dispatch, plain-data, until, nand/nor/xnor and source sentences, the
CPU-checked + RX 7900 XTX hardware sentence ('on the same part' named: the
gfx1100 raw wave32 kernels of 3105a93), and the RX 7600 sentence whole with
its pipe escaped. 5,361 -> 2,501 characters. No behaviour change.
…6 transcendentals row

@sovljanskii on #4891: the dedupe dropped the RX 6700 XT sweep and its
'see the f16 transcendentals row' pointer from this row. The measurement is
still in that row; the pointer is back.
@LouisRiverstone

Copy link
Copy Markdown
Contributor

Taken over by its author in #1450 (rebuilt on main). This draft can be closed.

@Andretuta

Copy link
Copy Markdown
Collaborator Author

Closing carried-over draft: taken over by original author in #1450 (OLD-9925).

@Andretuta Andretuta closed this Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs rebase Conflicts with the base branch: rebase it on main

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants