Skip to content
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

8266388: C2: Improve constant ShiftCntV on x86 #3823

wants to merge 1 commit into from


Copy link

@iwanowww iwanowww commented Apr 30, 2021

Clone ShiftCntV w/ a constant input during matching on x86.
It enables vshiftI_imm/vshiftL_imm when ShiftCntV is shared.


  • hs-tier1 - hs-tier4


  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • Change must be properly reviewed




Using git

Checkout this PR locally:
$ git fetch pull/3823/head:pull/3823
$ git checkout pull/3823

Update a local copy of the PR:
$ git checkout pull/3823
$ git pull pull/3823/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 3823

View PR using the GUI difftool:
$ git pr show -t 3823

Using diff file

Download this PR as a diff file:

Copy link

@bridgekeeper bridgekeeper bot commented Apr 30, 2021

👋 Welcome back vlivanov! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.


@iwanowww iwanowww changed the title 8266388: C2: Improve ShiftCntV with a constant shift on x86 8266388: C2: Improve constant ShiftCntV on x86 Apr 30, 2021
Copy link

@openjdk openjdk bot commented Apr 30, 2021

@iwanowww The following label will be automatically applied to this pull request:

  • hotspot-compiler

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.


@iwanowww iwanowww marked this pull request as ready for review Apr 30, 2021
@openjdk openjdk bot added the rfr label Apr 30, 2021
Copy link

@mlbridge mlbridge bot commented Apr 30, 2021



Copy link

@vnkozlov vnkozlov left a comment



Copy link

@openjdk openjdk bot commented Apr 30, 2021

@iwanowww This change now passes all automated pre-integration checks.

ℹ️ This project also has non-automated pre-integration requirements. Please see the file for details.

After integration, the commit message for the final commit will be:

8266388: C2: Improve constant ShiftCntV on x86

Reviewed-by: kvn

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 91 new commits pushed to the master branch:

  • 50fa162: 8266389: ProblemList java/awt/Graphics2D/DrawString/ on generic-all
  • dd05158: 8266155: Convert java.base to use Stream.toList()
  • c36c63a: 8260560: convert jdeps and jdeprscan tools to use Stream.toList()
  • 096e9e5: 8266318: Switch to macos prefix for macOS bundles
  • 0544a73: 8255227: java/net/httpclient/ intermittently failing with TestServer: start exception: Invalid preface
  • 48bb996: 8266220: keytool still prompt for store password on a password-less pkcs12 file if -storetype pkcs12 is specified
  • 87de5b7: 8266040: Lanai: Incorrect calculations of clipping boundaries
  • eb8db12: 8263396: Atomic::CmpxchgByteUsingInt::set_byte_in_int needs an explicit cast
  • 07ecd42: 8258602: JavaDoc field summary does not indicate final modifier
  • 276a1bf: 8236671: NullPointerException in JKS keystore
  • ... and 81 more:

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 master branch, type /integrate in a new comment.


@openjdk openjdk bot added the ready label Apr 30, 2021
Copy link

@iwanowww iwanowww commented May 3, 2021

Thanks for the review, Vladimir.



@openjdk openjdk bot closed this May 3, 2021
@openjdk openjdk bot added integrated and removed ready rfr labels May 3, 2021
Copy link

@openjdk openjdk bot commented May 3, 2021

@iwanowww Since your change was applied there have been 100 commits pushed to the master branch:

  • 05cfac9: 8266412: Remove redundant TemplateInterpreter entries
  • c5dc657: 8266056: runtime/stringtable/ failed with "RuntimeException: Missing Callback in [10, 11]"
  • 8fa50eb: 8263363: Minor cleanup of Lanai code - unused code removal and comments correction
  • 7e30130: 8266401: mark hotspot compiler/intrinsics/sha/cli tests which ignore VM flags
  • dedddd5: 8266248: Compilation failure in PLATFORM_API_MacOSX_MidiUtils.c with Xcode 12.5
  • 5c083e8: 8266129: tools/jpackage/windows/ hangs with fastdebug
  • 3e667cc: 8265356: need code example for getting canonical constructor of a Record
  • f86b70c: 8266328: C2: Remove InlineWarmCalls
  • 928d632: 8252237: C2: Call to compute_separating_interferences has wrong argument order
  • 50fa162: 8266389: ProblemList java/awt/Graphics2D/DrawString/ on generic-all
  • ... and 90 more:

Your commit was automatically rebased without conflicts.

Pushed as commit b42d496.

💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants