Repository navigation
[VFDLIBM-30] Requote the claims from the 22 November asin, atan, acos and atan2 files - #138
Merged
Merged
Conversation
MaxGekk
force-pushed
the
requote-inverse-timings
branch
from
November 22, 2026 20:05
2eb8aa0 to
3ba4134
Compare
… and atan2 files The documents that said asin, atan, acos and atan2 have no timing, and that cosh's two arms have none, now cite the host files of 22 and 21 November, with no direction where those files give none. Generated-by: Claude Code (Opus 5.5)
MaxGekk
force-pushed
the
requote-inverse-timings
branch
from
November 22, 2026 20:10
3ba4134 to
97452af
Compare
MaxGekk
added a commit
that referenced
this pull request
Nov 22, 2026
… datapath (#140) ### What changes were proposed in this pull request? Part of #30. States issue #30's two rules as set, in every document that said they were not, following the issue's comment of 21 November ("The two rules this issue asked for, decided") and the owner's atan2 decision of 22 November (#30 (comment)). Comments and documents only; no code or results file changes. - `PLAN.md` section 5, `README.md` ("Rare paths"), the Javadoc of `Exp`, `Log`, `Log10`, `Log1p` and `Expm1`, and the matching `SKILLS.md` entries: a tie within 1.3x on every host that has a file goes to the finish arm, and where hosts disagree each species keeps its own arm (no function needs that yet). - PLAN and README state once that the `*Max` rows of the host files of 3 to 21 November for exp, expm1, log, log10 and log1p time the finish that boxed at `SPECIES_MAX` before #37, and are left out of the rules. - exp, log and log10 keep the finish arm; exp's rows favour it by more than 1.3x on mixed data at 256 bits and the preferred species on both hosts and at 512 bits on the 8573C, so its text no longer calls it a tie. - expm1 and log1p keep the guarded arm by the owner's deferral of rule 1 until the 8573C's second run (issue #30, 21 November). - cosh is the rule's named exception (its per-lane set is not rare, so a host run decides): `Cosh.java`, `SKILLS.md` and `PLAN.md` say the finish arm reads lower on every `CoshBenchmark` row by ratios near 1.3x or inside it, so the slice default stays provisional. PLAN names the two cosh files instead of a glob that also matched the kinds files. - atan2 (`Atan2.java`, `SKILLS.md`, `PLAN.md`, `README.md`): it has no finish arm, so rule 1 does not pick between its arms; neither host's file gives them a direction (the 8573C's inside 1.3x, the EPYC 7763's near or inside it, one run each), so guarded stays the default at every species by the owner's decision of 22 November until a re-run of each host. The documents do not call it "kept by rule" or faster. - `HARDWARE.md` line 38 and "The 8573C's two readings": requoted from every file's `# Datapath:` header. Fifteen of the sixteen files read 34.5-35.7 / 68.8-70.8 / 93.7-96.3, with the 21 November files split into their two runs and the 22 November files added; `log1p-xeon8573c-2026-11-03.txt` stays at 41.5 / 82.7 / 113.0; ratios unchanged; no cause claimed. This round was first made on #138's branch, which merged before it was pushed, so it lands here. ### Why are the changes needed? Issue #30 decided both rules on 21 November and the atan2 case on 22 November, but PLAN, README, SKILLS and five classes still said the defaults wait for those rules; and HARDWARE.md's 8573C readings predated seven of its sixteen files. ### Does this PR introduce _any_ user-facing change? No. Javadoc comments and documents only. ### How was this patch tested? `mvn -B -T1 -DskipTests test-compile` (main, test and JMH sources) and `javadoc -Xdoclint:all,-missing` on the main sources pass. The cosh, exp and atan2 readings and the datapath readings were checked against the named files. Left as they are (review nits): - `Log10.java` and `SKILLS.md` (log10) describe its `*Max` rows in their own words, beside the single statement in PLAN and README. - The expm1 and log1p entries of `SKILLS.md`, `Expm1.java` and `Log1p.java` still say rule 1 would move them to the finish arm at the 8573C's second run unless guarded wins by more than 1.3x, without saying per species. - `SKILLS.md` cites no reading of `exp-`, `log-`, `log10-` or `log1p-epyc7763-2026-11-21.txt`, though README says each file's reading is there. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: Claude Code (Opus 5.5)
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.
What changes were proposed in this pull request?
Part of #30.
Requotes the sentences that said
asin,atan,acosandatan2have no timing or no committed reading, and thatcosh's two arms have no timing, from the committed host files:bench/results/{asin,atan,acos,atan2}-{xeon8573c,epyc7763}-2026-11-22.txt(#137) andbench/results/cosh-*-2026-11-21.txt,cosh-kinds-*-2026-11-21.txt(#131).VFdlibm.java: theSPECIES_MAXbullet no longer says no file has anasinrow; the*Maxrows ofasin,atan,acosandatan2read under 0.05 B/op on both hosts.Atan2.java,Atan2Benchmark.java,SKILLS.md(atan2 entry and the pair-sweep note),PLAN.md: both arms are timed once per host, the files give them no direction, and the guarded default stays provisional until a re-run.Cosh.java,SKILLS.md(cosh entry),PLAN.md: both arms are timed once per host; onCoshBenchmarkthe ratios are near 1.3x or inside it, and onCoshKindsBenchthe finish arm is lower by more than 1.3x only with no small lane, so no file decides the arm and the slice default stays provisional.AsinBenchmark.java,AtanBenchmark.java,AcosBenchmark.java,SKILLS.md(asin, atan and acos entries): the rows are read by the 22 November files, vector rows at 0.02 B/op or less but for the EPYC's 512-bit rows, which run in Java there.VFdlibm.javaalso names the armsatan2andcoshcall, itsSPECIES_MAXbullet cites the sinh and cosh host files and the EPYC 7763 files of 21 November among those that read the old finish, and its EPYC 512-bit bullet addssinh,cosh,asin,atanandacos(1.1 to 1.9 million B/op, from their files).SinhBenchmark.java,CoshBenchmark.javaandCoshKindsBench.javacite their 21 November host files.README.md: "Which species to pass" now says the 21 and 22 November host files read today's*Maxrows ofsinh,cosh,asin,atan,acosandatan2, lists the EPYC's 21 November files among those of the old finish and the EPYC 7763 pair files as the host reading of today'sexpandlog10*Maxrows, and exceptsatan2from the 512-bit reading; "Rare paths" andPLAN.mdsection 5 listcoshandatan2among the functions with more than one arm, host files and a provisional default, which also wait for an EPYC 7763 re-run.Figures are cited by file rather than quoted; the only ones quoted are allocation bounds and the 1.3x cut-off, each from the named files.
Why are the changes needed?
The documents said these functions or arms had no timing after #131 and #137 committed host files for them (AGENTS.md: when committed numbers move, requote every document from them).
Does this PR introduce any user-facing change?
No. Javadoc comments and documents only.
How was this patch tested?
mvn -B -DskipTests test-compile(main, test and JMH sources) andjavadoc -Xdoclint:all,-missingon the main sources pass. Every figure and cut-off reading was checked against the named results files.Left for the owner, not changed here:
HARDWARE.mdline 38 and lines 76 on: the Xeon 8573C's datapath "two readings from nine files" predate the 21 and 22 November files, which read 34.9 / 69.9 / 94.8 and 35.7 / 70.8 / 96.3.SKILLS.md(atan entry) andAtan.javasay issue Run the benchmarks owed on the hosts and decide each function's arm #30's tie-break rule sends a tie to the finish arm, whilePLAN.mdandREADME.mdsay the tie rules are not set; cosh's slice default would not follow that rule.Was this patch authored or co-authored using generative AI tooling?
Generated-by: Claude Code (Opus 5.5)