Skip to content

[VFDLIBM-30] State issue #30's tie rules as set and requote the 8573C datapath - #140

Merged
MaxGekk merged 8 commits into
mainfrom
requote-tie-rules
Nov 22, 2026
Merged

MaxGekk merged 8 commits into
mainfrom
requote-tie-rules

Conversation

@MaxGekk

@MaxGekk MaxGekk commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

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 Say what each species costs, and close the allocation check's gaps: SPECIES_MAX and Arm #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 Run the benchmarks owed on the hosts and decide each function's arm #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)

Max Gekk added 8 commits November 22, 2026 21:48
…ion, and requote the 8573C's datapath readings

Generated-by: Claude Code (Opus 5.5)
…ules' cases in README and PLAN

Generated-by: Claude Code (Opus 5.5)
…and atan2 in README

Generated-by: Claude Code (Opus 5.5)
…ay's finish, and name cosh's EPYC re-run

Generated-by: Claude Code (Opus 5.5)
…ules, and scope exp's lead

Generated-by: Claude Code (Opus 5.5)
…ion, and state expm1/log1p's deferral

Generated-by: Claude Code (Opus 5.5)
@MaxGekk
MaxGekk merged commit 7c1277c into main Nov 22, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant