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
8299323: Allow extended registers for cmpw #11776
Conversation
/contributor add xmas92 |
|
@fisk Syntax:
User names can only be used for users in the census associated with this repository. For other contributors you need to supply the full name and email address. |
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.
LGTM
@fisk This change now passes all automated pre-integration checks. 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 316 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.
|
Thanks for the review @sviswa7! |
Any takers? |
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 reasonable.
Did you verify that the code works when extended registers are used? It does match how we encode other 16bit instructions.
Thanks for the review, @vnkozlov! I did indeed check that the code generation is accurate for extended registers. |
/integrate |
Going to push as commit b7fb8ef.
Your commit was automatically rebased without conflicts. |
The current instruction encoder for cmpw(Address, int16_t) on x64 does not allow rex extended registers. Generational ZGC needs to use this for arbitrary registers. Let's add support for it instead of asserting the input Address uses a subset of registers.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk pull/11776/head:pull/11776
$ git checkout pull/11776
Update a local copy of the PR:
$ git checkout pull/11776
$ git pull https://git.openjdk.org/jdk pull/11776/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 11776
View PR using the GUI difftool:
$ git pr show -t 11776
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/11776.diff