JDK-8210858: AArch64: remove Math.log intrinsic#17480
JDK-8210858: AArch64: remove Math.log intrinsic#17480tobiasholenstein wants to merge 4 commits intoopenjdk:masterfrom
Conversation
|
👋 Welcome back tholenstein! A progress list of the required criteria for merging this PR into |
|
@tobiasholenstein The following label will be automatically applied to this pull request:
When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command. |
Webrevs
|
|
Should we also remove |
you are right. I removed them as well |
|
Mailing list message from Andrew Haley on hotspot-compiler-dev: On 1/18/24 09:29, Nick Gasson wrote:
Yes, we shouldn't have code with no prospect of being used. -- |
|
@tobiasholenstein 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 48 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. ➡️ To integrate this PR with the above commit message to the |
shipilev
left a comment
There was a problem hiding this comment.
Looks good, with nits.
Separately, I do wonder if JDK-8301202 gives us a reason to avoid even calling to runtime, and instead just stay in Java completely.
That would be nice. |
|
Yes, would be nice to stay in Java. We had a similar discussion in #13606 |
@jddarcy any thoughts on that? Perhaps I should re-run the benchmarks from May 2023.. |
|
To be clear, the question on going to Java instead of runtime does not block this PR. I think the discussion on merits of removing the StubRoutines can continue in the relevant RFE. |
So move that discussion to https://bugs.openjdk.org/browse/JDK-8324296 ? |
Yes! |
replaced asserts with comment
"up to" isn't very interesting here. I think we care more about averages. 40% performance improvement vs. staying in java. I don't think much has changed performance wise since then..
That would be good. Significant performance deficits on purely numeric code demand explanation. |
|
Going to push as commit 422020c.
Your commit was automatically rebased without conflicts. |
|
@tobiasholenstein Pushed as commit 422020c. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
JDK-8215133 disabled vmIntrinsics::_dlog. Remove it now
Why remove
That Java specification says:
"The computed result must be within 1 ulp of the exact result. Results must be semi-monotonic... whenever the mathematical function is non-decreasing, so is the floating-point approximation, likewise, whenever the mathematical function is non-increasing, so is the floating-point approximation"
There is no proof of the monotonicity of this intrinsics at the moment.
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/17480/head:pull/17480$ git checkout pull/17480Update a local copy of the PR:
$ git checkout pull/17480$ git pull https://git.openjdk.org/jdk.git pull/17480/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 17480View PR using the GUI difftool:
$ git pr show -t 17480Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/17480.diff
Webrev
Link to Webrev Comment