8299608: Add Register + imm32 orq to x86_64 assembler#11850
8299608: Add Register + imm32 orq to x86_64 assembler#11850fisk wants to merge 2 commits intoopenjdk:masterfrom
Conversation
|
👋 Welcome back eosterlund! A progress list of the required criteria for merging this PR into |
Webrevs
|
|
@fisk 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 22 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 |
|
/integrate |
|
Going to push as commit a503ec2.
Your commit was automatically rebased without conflicts. |
The current x86_64 orq Register + imm32 uses emit_arith, which is rather clever and checks if it can use imm8 instead. However, sometimes you really want it to be imm32 regardless, for example if you are going to patch the code. Such functionality should be added.
Since there seems to be a precedent distinguishing this with testl_imm32(Register, imm32) vs testl(Register, imm32), my proposed patch similarly adds an orq_imm32 that uses emit_arith_imm32.
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk pull/11850/head:pull/11850$ git checkout pull/11850Update a local copy of the PR:
$ git checkout pull/11850$ git pull https://git.openjdk.org/jdk pull/11850/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 11850View PR using the GUI difftool:
$ git pr show -t 11850Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/11850.diff