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

Vladimir Kozlov kvn at openjdk.org
Tue Sep 24 01:04:38 UTC 2024


On Mon, 23 Sep 2024 19:24:51 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:
> 
>   change ifdef from x86 to AMD64

My testing passed.

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

Marked as reviewed by kvn (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/20657#pullrequestreview-2323769774


More information about the core-libs-dev mailing list