RFR: 8308776: [AArch64] Math.log is 10% slower than StrictMath.log on aarch64
Dhamoder Nalla
dhanalla at openjdk.org
Tue Nov 18 19:07:34 UTC 2025
This PR Introduces an optimized AArch64 intrinsic for Math.log using reciprocal refinement and a table-driven polynomial.
Improves throughput for double logarithms while preserving IEEE-754 corner case behavior (±0, subnormals, negatives, NaN).
-------------
Commit messages:
- [AArch64] Math.log is 10% slower than StrictMath.log on aarch64
- [AArch64] Math.log is 10% slower than StrictMath.log on aarch64
- [AArch64] Math.log is 10% slower than StrictMath.log on aarch64
- [AArch64] Math.log is 10% slower than StrictMath.log on aarch64
- [AArch64] Math.log is 10% slower than StrictMath.log on macosx-aarch64
- [AArch64] Math.log is 10% slower than StrictMath.log on macosx-aarch64
Changes: https://git.openjdk.org/jdk/pull/28306/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28306&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8308776
Stats: 544 lines in 7 files changed: 541 ins; 0 del; 3 mod
Patch: https://git.openjdk.org/jdk/pull/28306.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/28306/head:pull/28306
PR: https://git.openjdk.org/jdk/pull/28306
More information about the hotspot-dev
mailing list