RFR: 8350483: AArch64: turn on signum intrinsics by default on Ampere CPUs
duke
duke at openjdk.org
Tue Feb 25 05:00:51 UTC 2025
On Sat, 22 Feb 2025 15:27:41 GMT, Patrick Zhang <qpzhang at openjdk.org> wrote:
> Set -XX:+UseSignumIntrinsic by default for Ampere CPUs. It is to fix performance problem found on JMH cases `vm.compiler.Signum|java.lang.*MathBench.sig[nN]um*` where fmov is used to transmit data between GPRs and FPRs with significant time cost.
>
> Verified on Ampere-1A and found the scores (thrpt, ops/s) of `java.lang.*MathBench.sig[nN]um*` improved 40~50%, while `vm.compiler.Signum._1_signumFloatTest` and `vm.compiler.Signum._3_signumDoubleTest` results gained exponential increases. Also passed GHA sanity checks, and Jtreg tier1 on Ampere-1A as function-wise smoke tests.
@cnqpzhang
Your change (at version 41a8917f38d1236cebfcbe9896cf1627cf29d29a) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23735#issuecomment-2680515990
More information about the hotspot-dev
mailing list