RFR: 8338694: x86_64 intrinsic for tanh using libm [v6]

Srinivas Vamsi Parasa duke at openjdk.org
Fri Sep 13 22:36:45 UTC 2024


> The goal of this PR is to implement an x86_64 intrinsic for java.lang.Math.tanh() using libm
> 
> Benchmark (ops/ms) | Stock JDK | Tanh intrinsic | Speedup
> -- | -- | -- | --
> MathBench.tanhDouble | 70900 | 95618 | 1.35x

Srinivas Vamsi Parasa has updated the pull request incrementally with one additional commit since the last revision:

  Update test/jdk/java/lang/Math/HyperbolicTests.java
  
  Co-authored-by: Andrey Turbanov <turbanoff at gmail.com>

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/20657/files
  - new: https://git.openjdk.org/jdk/pull/20657/files/d4ddc313..ca3314c5

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=20657&range=05
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=20657&range=04-05

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/20657.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20657/head:pull/20657

PR: https://git.openjdk.org/jdk/pull/20657


More information about the core-libs-dev mailing list