Repository navigation
docs/design.md: one copy of each rule in the Known approximations and 64-bit scalar bitwise ops rows (OLD-9925) - #1450
LouisRiverstone wants to merge 4 commits into
Conversation
… 64-bit scalar bitwise rows - docs/design.md: one copy of each rule in the Known approximations and 64-bit scalar bitwise rows - docs/design.md: rebuild the 64-bit scalar bitwise ops row from one copy of each sentence - docs/design.md: keep the known-approximations row's pointer to the f16 transcendentals row Carried over from old-pr/9925 (old upstream PR 9925). The rows it changes are unchanged on main, so each is replaced with the old branch's version; the conflict was only in neighbouring lines.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The s_bfe_u32/s_bfe_i32 past bit 31 row repeated its Source sentences and ended with a stale "RDNA2 is not measured" after its own RDNA2 measurements. Each measured claim is kept once; nothing new is measured. The independent 64-bit scalar bitwise cleanup is left to ProjectLeonida#1450. AI-assisted (Claude Code).
Native Windows 11 Verification (
|
… new rows in docs/design.md
|
Ready for testing: with today's merge of AI-assisted (Claude Code). |
|
Tested 374f9cd merged (no commit) with main 0bc6e21: Python 3.12.4, Windows 11 10.0.26300, CPU only.
AI-assisted (Claude Code). |
aslan2142
left a comment
There was a problem hiding this comment.
The deduplication of the Known approximations and 64-bit scalar bitwise ops rows in docs/design.md is still needed on main and was well-verified in the thread, but docs/design.md now conflicts with current main after subsequent merges.
Please rebase onto current main and ensure change-scope and no-game-data pass so this can be merged.
(AI-assisted review.)
Claimed in the coordination issue as: OLD-9925 (#14 (comment))
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 rdna2spirv: --explicit-lod-bias applies the S# LOD bias where MoltenVK drops the sampler's; ps_ssharp passes on Macs (SHADER-EXPLICIT-LOD-BIAS-MVK) #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)