mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:55:52 +01:00
[PR #1450] docs/design.md: one copy of each rule in the Known approximations and 64-bit scalar bitwise ops rows (OLD-9925) #1480
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1480
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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 Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/1450
Author: @LouisRiverstone
Created: 11/25/2026
Status: 🔄 Open
Base:
main← Head:carry-old-9925📝 Commits (3)
815eac0docs/design.md: one copy of each rule in the Known approximations and 64-bit scalar bitwise rowsacb5fa2Merge main into carry-old-99252ce188eMerge main into carry-old-9925📊 Changes
1 file changed (+2 additions, -2 deletions)
View changed files
📝
docs/design.md(+2 -2)📄 Description
Claimed in the coordination issue as: OLD-9925 (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7148545774)
Replaces the carried-over draft #193. I'm the original author of old upstream PR 9925.
What and why
Both rows had been stitched together from several copies of the same sentences. "Known approximations" was 14,392 characters with 14 sentences repeated word for word. "64-bit scalar bitwise ops" was 6,327 characters, with the measured words for the plain-data path appearing three times. Each row is rebuilt from one copy of each sentence, keeping the most complete copy. "Known approximations" drops to 5,172 characters, and "64-bit scalar bitwise ops" to 2,501.
The only text removed for good is stale text that the same row contradicts:
v_fma_mix{lo,hi}_f16twice ... until #1774 lands", next to the sentence saying it rounds once in both modes throughGen.fma_mix_odd(SHADER-296)v_cos_f16,v_exp_f16andv_log_f16are unmeasured", next to the sentence saying all seven transcendentals were measured (RX 6700 XT, and the 65,536-input sweep on gfx1036)Fma, then narrow)"The pointer from "Known approximations" to the f16 transcendentals row is kept.
Rebuilt on current
main. The old branch no longer merged, but the rows it changes are byte for byte the same onmainas on its old base. Only neighbouring lines had changed. So each of those rows is replaced with the old branch's version, and no other line changes. No behaviour change.Tested
0x0F0F0000_00000000and the others),0x7fdd9bb47daa1333and0xffefffffffffffff,ps_f64_round.asm,ps_legacy_mul.asm,tests/test_mode_round.py,tools/mode_round_probe.py,tools/fma_mix_probe.py, SHADER-132/135/296, the omod-versus-denormal note, and the MODE write rules.tests/test_docs_*.pyfiles (12, includingtest_docs_design_rows.py,test_docs_repeated_lines.py,test_docs_table_rows.pyandtest_docs_table_ids.py): all OK.git diff --checkis clean.GPUs tested: n/a
AI-assisted: yes (Claude Code)
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (n/a: documentation only)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.