-
Notifications
You must be signed in to change notification settings - Fork 63
8350483: AArch64: turn on signum intrinsics by default on Ampere CPUs #101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
8350483: AArch64: turn on signum intrinsics by default on Ampere CPUs #101
Conversation
👋 Welcome back qpzhang! A progress list of the required criteria for merging this PR into |
@cnqpzhang This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 5 new commits pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the As you do not have Committer status in this project an existing Committer must agree to sponsor your change. ➡️ To flag this PR as ready for integration with the above commit message, type |
This backport pull request has now been updated with issue from the original commit. |
|
/approval request The backport is simple and straight-forward, the change itself is safely limited to AArch64-port Ampere CPUs only, and well verified on Ampere-1A system, can be safe for backport. The fix is for not only for performance but also can be regarded a function-wise patch since the worst performance gap (patched vs base) is super huge. Please approve, thanks. |
@cnqpzhang |
/integrate |
@cnqpzhang |
/sponsor |
Going to push as commit 23389d0.
Your commit was automatically rebased without conflicts. |
@phohensee @cnqpzhang Pushed as commit 23389d0. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
/backport jdk21u-dev |
@cnqpzhang Could not automatically backport
Please fetch the appropriate branch/commit and manually resolve these conflicts by using the following commands in your personal fork of openjdk/jdk21u-dev. Note: these commands are just some suggestions and you can use other equivalent commands you know.
Once you have resolved the conflicts as explained above continue with creating a pull request towards the openjdk/jdk21u-dev with the title Below you can find a suggestion for the pull request body:
|
Backport the commit to set
-XX:+UseSignumIntrinsic
by default for Ampere CPUs. It is to fix performance problem observed on JMH casesvm.compiler.Signum|java.lang.*MathBench.sig[nN]um*
. In the worst test cases, run speed is 1~2% of the expected (patched) and functions got severely impacted. So, the fix can be regarded not only a performance fix but also a function problem solving in a manner, which can be a point to support this backport request too.The backporting is of low risk as the patch is limited to Ampere CPUs only and well verified on Ampere-1A with related jmh and jtreg tier1 tests.
Progress
Issue
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk24u.git pull/101/head:pull/101
$ git checkout pull/101
Update a local copy of the PR:
$ git checkout pull/101
$ git pull https://git.openjdk.org/jdk24u.git pull/101/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 101
View PR using the GUI difftool:
$ git pr show -t 101
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk24u/pull/101.diff
Using Webrev
Link to Webrev Comment