-
Notifications
You must be signed in to change notification settings - Fork 6.2k
8351156: C1: Remove FPU stack support after 32-bit x86 removal #24274
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
Conversation
|
👋 Welcome back shade! A progress list of the required criteria for merging this PR into |
|
@shipilev 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 16 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 |
Which is wrong I think. It should be "FPR". May be file RFE to rename |
Yes, that would be more accurate. Remains to be seen how intrusive is this rename. |
|
@shipilev this pull request can not be integrated into git checkout JDK-8351156-x86-c1-fpustack
git fetch https://git.openjdk.org/jdk.git master
git merge FETCH_HEAD
# resolve conflicts and follow the instructions given by git merge
git commit -m "Merge master"
git push |
iwanowww
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
|
Are you still good with this, @vnkozlov? I would like to integrate it sooner to unblock some dependent cleanup work. |
vnkozlov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good.
|
Thank you! Here we go. /integrate |
|
Going to push as commit 23e3b3f.
Your commit was automatically rebased without conflicts. |
C1 has the 32-bit x86 specific code that supports x87 FPU stack allocations. With 32-bit x86 port removed, we can clean up those parts. 64-bit x86 does not need x87 FPU, since it is baselined on SSE2 and using XMM registers instead.
There are lots of deeper cleanups possible, this PR focuses on removing the x87 FPU allocation/uses in C1. Note current C1 nomenclature is confusing. On all arches, "FPU" means floating-point registers. That is except on x86, where "FPU" means x87 FPU stack, and "XMM" means floating-point registers. This is why we only touch "FPU" code on other architectures only in a light manner. After all 32-bit x86 cleanups land, we might consider renaming "XMM" -> "FPU" in x86 C1 to match the common nomenclature.
Brief tour of changes:
lir_fxch,lir_fld,lir_fpop_raware prunedpop_fpu_stackThis PR would likely conflict with some in-flight cleanups, so it would require merges later. Take a look meanwhile.
Additional testing:
tier1tier1+-XX:TieredStopAtLevel=1allall+-XX:TieredStopAtLevel=1Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/24274/head:pull/24274$ git checkout pull/24274Update a local copy of the PR:
$ git checkout pull/24274$ git pull https://git.openjdk.org/jdk.git pull/24274/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 24274View PR using the GUI difftool:
$ git pr show -t 24274Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/24274.diff
Using Webrev
Link to Webrev Comment