Repository navigation
[VFDLIBM-30] Record the Xeon 8573C second run of atan2 - #146
Merged
Merged
Conversation
added 2 commits
November 23, 2026 02:08
…og10 and atan2 Run 45082534869 (main at b283273) joins atan2-xeon8573c-2026-11-22.txt as run 2, written by bench/record.py write --run 45049628201 --run 45082534869, whose Code line shows the code under Atan2Benchmark the same as at d3bb335 but for comments. The title, provenance and reading cover both runs: no direction between atan2's arms at either width; 512 bits lower than 256 for both arms on both inputs. record.py refuses to join the run to the expm1, log1p, log and log10 files of run 44885832313 (a1db6df): their code differs (Expm1.java and Expm1Benchmark.java; Log1p.java; Log.java; Log.java and Log10.java; pom.xml for all four), so those rows are a first run of new code and are not recorded here. Generated-by: Claude Code (Opus 5.5)
…n ratios near 1.3x 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.
The Xeon Platinum 8573C's second run, run 45082534869 ((Expm1|Log1p|Atan2|Log|Log10)Benchmark, main at b283273, 22 November), joins
bench/results/atan2-xeon8573c-2026-11-22.txtas run 2, written bybench/record.py write --run 45049628201 --run 45082534869and checked bybench/record.py checkwith both runs.Its
# Code:line, written byrecord.py, shows the code under Atan2Benchmark (Atan2Benchmark.java, Atan.java, Atan2.java, Faults.java, Lanes.java and pom.xml) the same at d3bb335 and b283273 but for comments.The file's title, provenance and reading now cover both runs, every figure recomputed by script from the two tables, by minimums, with the re-run rule (a direction needs both runs outside 1.3x and agreeing; on this host the preferred species and SPECIES_MAX are both 512 bits, one width, and 256 bits another).
atan2's verdict: no direction between the blended and guarded arms at either width (blended over guarded 0.95 to 1.05 in both runs); 512 bits is lower than 256 bits for both arms on both inputs, firm on common data (1.45 or more in both runs) and near 1.3x on mixed data (1.32 to 1.40 in both runs); the vector arms beat the scalar loop outside 1.3x everywhere; mixed over common has no direction.
The same run is not joined to the expm1, log1p, log and log10 files of run 44885832313 (a1db6df):
record.pyrefuses each, since the code under those benchmarks differs between a1db6df and b283273 in more than comments.The files that differ: under Expm1Benchmark, Expm1Benchmark.java, Expm1.java and pom.xml; under Log1pBenchmark, Log1p.java and pom.xml; under LogBenchmark, Log.java and pom.xml; under Log10Benchmark, Log.java, Log10.java and pom.xml (pom.xml: JUnit, Surefire and other plugin versions and the added repositories). Those rows are a first run of new code and are left for a file of their own; this PR records nothing for them, so it gives no verdict for expm1, log1p, log or log10.
No other file changes. Documents that quote atan2's Xeon file as one run, to requote from it:
src/jmh/java/io/github/vecbricks/vfdlibm/Atan2Benchmark.java:34,src/main/java/io/github/vecbricks/vfdlibm/Atan2.java:64,PLAN.md:164,SKILLS.md:863andSKILLS.md:1272.Why are the changes needed?
Issue #30's rules wait for a re-run of each host before a ratio near 1.3x is read as a direction, and AGENTS.md asks that a run and its re-run on one host go in one file.
Does this PR introduce any user-facing change?
No
How was this patch tested?
bench/record.py check bench/results/atan2-xeon8573c-2026-11-22.txt --run 45049628201 --run 45082534869passes; the four refusals arebench/record.py write --run 44885832313 --run 45082534869's own output.Was this patch authored or co-authored using generative AI tooling?
Generated-by: Claude Code (Opus 5.5)