RFR: 8338694: x86_64 intrinsic for tanh using libm [v6]
Scott Gibbons
sgibbons at openjdk.org
Mon Sep 16 16:36:11 UTC 2024
On Fri, 13 Sep 2024 22:36:45 GMT, Srinivas Vamsi Parasa <duke at openjdk.org> wrote:
>> 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>
I hand-verified the code.
-------------
Marked as reviewed by sgibbons (Committer).
PR Review: https://git.openjdk.org/jdk/pull/20657#pullrequestreview-2307159316
More information about the core-libs-dev
mailing list