Repository navigation
[VFDLIBM-30] Record the Xeon 8573C first run of today's expm1, log1p, log and log10 - #148
Merged
Merged
Conversation
added 3 commits
November 23, 2026 05:43
… log and log10 Run 45082534869 (main at b283273) timed expm1, log1p, log and log10 at code that differs from the 21 November files' (a1db6df) in more than comments, so bench/record.py does not join it to them: #100's allocation-free SPECIES_MAX finish in Expm1, Log1p, Log and Log10, #83's expm1Core and its benchmark rows, and pom.xml's plugin versions. Each function gets a file of its own, a first run of the new code, named by the run's date, with a reading by minimums; a second Xeon run of the same code will join these files. Generated-by: Claude Code (Opus 5.5)
…he tables' minimums Generated-by: Claude Code (Opus 5.5)
…ed width reading Generated-by: Claude Code (Opus 5.5)
MaxGekk
added a commit
that referenced
this pull request
Nov 23, 2026
### What changes were proposed in this pull request? Part of #30. Requotes the cosh and atan2 sentences that still described one run per host, from the files that now hold the re-runs: `cosh-epyc7763-2026-11-21.txt`, `cosh-kinds-epyc7763-2026-11-21.txt` and `atan2-epyc7763-2026-11-22.txt` (two runs each since #145) and `atan2-xeon8573c-2026-11-22.txt` (two runs since #146). Comments and documents only. - atan2 (`Atan2.java`, `Atan2Benchmark.java`, `SKILLS.md` atan2 entry, `PLAN.md` section 5, `README.md` "Rare paths"): each host has timed both arms in a run and a re-run, and neither file gives them a direction; guarded stays the default at every species by the owner's decision of 22 November (issue #30's corrected comment). The "until a re-run of each host" wording is gone. - cosh (`Cosh.java`, `CoshBenchmark.java`, `CoshKindsBench.java`, `SKILLS.md` cosh entry, `PLAN.md` sections 1 and 5): the slice arm stays the default, provisionally, as rule 1's named exception, whose arm a host run decides (#30 (comment)). The readings, as the files state them: on `CoshBenchmark` the EPYC 7763's two runs agree, outside 1.3x, on the finish arm lower on common data (1.33 to 1.37), a direction, and give none on mixed data; on `CoshKindsBench` the finish arm reads lower outside 1.3x with no small lane (1.46 to 1.70 on both hosts), lower inside 1.3x at 3.5% of small lanes, and the slice arm lower inside 1.3x at 17%. The Xeon 8573C has one `CoshBenchmark` run; a second run decides. In PLAN section 5 these readings are a sentence of their own after the list of defaults. - expm1 and log1p (`PLAN.md` section 5, `README.md`): they keep the guarded arm by the owner's deferral of rule 1 until a second run, on the 8573C, of the code the 22 November files time; #148 recorded those files as the first run of that code. - `HARDWARE.md` "The 8573C's two readings" and its table row: recounted after #148, nineteen of the twenty files of this host in the lower reading, naming run 45082534869's `expm1-`, `log-`, `log10-` and `log1p-xeon8573c-2026-11-22.txt` and the second run in `atan2-xeon8573c-2026-11-22.txt` (34.6 / 69.1 / 93.8); the ranges and ratios are unchanged. The branch also holds a commit that made cosh's finish arm the default and its follow-up, each reverted by a plain commit after the owner chose to keep slice until a second Xeon cosh run; the net diff has no code change and no CHANGELOG line. It merges main (with #148) rather than rebasing. ### Why are the changes needed? #145, #146 and #148 added the EPYC 7763's re-run of cosh and atan2, the Xeon 8573C's second run of atan2 and its first run of today's expm1, log1p, log and log10, and the documents still said each host had timed cosh and atan2 once, that their defaults waited for those re-runs, and that the 8573C had 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` and `javadoc -Xdoclint:all,-missing` on the main sources pass. Every requoted claim was checked against the readings of the six cosh and atan2 files, and the datapath count against every Xeon file's `# Datapath:` header. ### 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.
Adds four results files from the Xeon Platinum 8573C run 45082534869 ((Expm1|Log1p|Atan2|Log|Log10)Benchmark, main at b283273, 22 November):
expm1-xeon8573c-2026-11-22.txt,log1p-xeon8573c-2026-11-22.txt,log-xeon8573c-2026-11-22.txtandlog10-xeon8573c-2026-11-22.txt, written bybench/record.py write --run 45082534869and checked bybench/record.py check --run 45082534869.They are named by the date
record.pygives the run (22 November, the run's start, 23:18 UTC); no existing file has those names.The run was dispatched as the re-run of the 21 November files (run 44885832313, a1db6df), but
record.pyrefuses to join it to them: the code under each benchmark differs between a1db6df and b283273 in more than comments. Each file is therefore a first run of new code, and its provenance names the files that differ.The files that differ: Expm1Benchmark.java, Expm1.java and pom.xml (expm1); Log1p.java and pom.xml (log1p); Log.java and pom.xml (log); Log.java, Log10.java and pom.xml (log10).
The Java changes are #100 (5a452fa), the allocation-free SPECIES_MAX finish, in all four, and #83 (73703ef), expm1Core and the core rows that time it; pom.xml moved JUnit, Surefire and other plugin versions and added repositories. The other commits that touched those files changed comments only, as
record.py's comparison shows.Each reading is by minimums with the 1.3x cut-off, on one run: no direction is read from a ratio under 1.40. The 512-bit, preferred and SPECIES_MAX rows are one width on this host and 256 bits another. A second Xeon run of the same code is dispatched and will join these files as run 2.
expm1: guarded over finish is 0.86 to 1.07 at every species (finish over guarded at most 1.17, mixed data at 512 bits), so guarded does not beat finish by 1.3x anywhere on this run; blended over finish is 0.90 to 1.18.
log1p: guarded over finish is 0.85 to 1.00 (finish over guarded at most 1.17, mixed data at 256 bits), so guarded does not beat finish by 1.3x anywhere on this run; blended over finish is 0.95 to 1.18.
log: on mixed data, finish over blended is 1.14 at 512 bits and 1.13 at the preferred species, inside 1.3x; on common data, blended over finish is 1.36 and 1.32 there, near 1.3x and waiting for the second run.
log10: on mixed data, finish over blended is 1.10 at 512 bits and at the preferred species and 1.08 at SPECIES_MAX, inside 1.3x; on common data, blended over finish is 1.15 to 1.23.
In all four the finishMax rows no longer box on mixed data (0.016 B/op or less; finishMax over finishPreferred on mixed data 0.99 to 1.01), which the 21 November files' finishMax rows did.
No other file changes; the documents that quote the 21 November files are left for the requote pull request once the second run has joined.
Why are the changes needed?
Issue #30 waits for current Xeon files of these functions, and the 21 November files time code that main no longer has (the boxing SPECIES_MAX finish); AGENTS.md has a run at changed code recorded as a first run of that code.
Does this PR introduce any user-facing change?
No
How was this patch tested?
bench/record.py check bench/results/<function>-xeon8573c-2026-11-22.txt --run 45082534869passes for each of the four files; every figure of the readings was computed by script from the files' tables and summary tables.Was this patch authored or co-authored using generative AI tooling?
Generated-by: Claude Code (Opus 5.5)