Skip to content

8305690: [X86] Do not emit two REX prefixes in Assembler::prefix#13369

Closed
lgxbslgx wants to merge 1 commit intoopenjdk:masterfrom
lgxbslgx:FIX_PREFIX
Closed

8305690: [X86] Do not emit two REX prefixes in Assembler::prefix#13369
lgxbslgx wants to merge 1 commit intoopenjdk:masterfrom
lgxbslgx:FIX_PREFIX

Conversation

@lgxbslgx
Copy link
Member

@lgxbslgx lgxbslgx commented Apr 6, 2023

Hi all,

This patch prevents Assembler::prefix from emitting two REX prefixes. The current code in mainline works well because the corresponding code path is not triggered.

Thanks for the review.

Best Regards,
-- Guoxiong


Progress

  • Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue

Issue

  • JDK-8305690: [X86] Do not emit two REX prefixes in Assembler::prefix

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/13369/head:pull/13369
$ git checkout pull/13369

Update a local copy of the PR:
$ git checkout pull/13369
$ git pull https://git.openjdk.org/jdk.git pull/13369/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 13369

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

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/13369.diff

Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Apr 6, 2023

👋 Welcome back gli! 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.

@openjdk openjdk bot added the rfr Pull request is ready for review label Apr 6, 2023
@openjdk
Copy link

openjdk bot commented Apr 6, 2023

@lgxbslgx 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.

@openjdk openjdk bot added the hotspot-compiler hotspot-compiler-dev@openjdk.org label Apr 6, 2023
@mlbridge
Copy link

mlbridge bot commented Apr 6, 2023

Webrevs

@lgxbslgx
Copy link
Member Author

Ping for review. Thanks.

Copy link
Contributor

@vnkozlov vnkozlov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@openjdk
Copy link

openjdk bot commented Apr 17, 2023

@lgxbslgx 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:

8305690: [X86] Do not emit two REX prefixes in Assembler::prefix

Reviewed-by: kvn, thartmann

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

  • e3ece36: 8303422: Use common functions to exit the VM for -Xshare:dump and CDS errors
  • bb1a7bb: 8305762: FileInputStream and FileOutputStream implSpec should be corrected or removed
  • 8858d54: 8305811: (bf) Improve performance of CharBuffer::append(CharSequence[,int,int])
  • 525a91e: 8305673: Convert DocCommentParser to use enhanced switch
  • 6831f9d: 8278583: Open source SwingMark - Swing performance benchmark
  • 497f9e7: 8305755: [JVMCI] missing barriers in CompilerToVM.readFieldValue for Reference.referent
  • 4ed933c: 8296248: Update CLDR to Version 43.0
  • 7360960: 8305625: Stress test crashes with SEGV in Deoptimization::deoptimize_frame_internal(JavaThread*, long*, Deoptimization::DeoptReason)
  • cc60f2f: 8305060: G1: Refactor G1ScanHRForRegionClosure::scan_heap_roots
  • fb58d77: 8305192: serial GC fails "assert(Universe::on_page_boundary(bottom) && Universe::on_page_boundary(end)) failed: invalid space boundaries"
  • ... and 102 more: https://git.openjdk.org/jdk/compare/312702567a15d67fcf69325b9cb6345f9ea026f7...master

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 Pull request is ready to be integrated label Apr 17, 2023
Copy link
Member

@TobiHartmann TobiHartmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me too.

@lgxbslgx
Copy link
Member Author

Thanks for the review. Integrating.

/integrate

@openjdk
Copy link

openjdk bot commented Apr 18, 2023

Going to push as commit 49726ee.
Since your change was applied there have been 113 commits pushed to the master branch:

  • 445ebef: 8305668: PPC: Non-Top Interpreted frames should be independent of ABI_ELFv2
  • e3ece36: 8303422: Use common functions to exit the VM for -Xshare:dump and CDS errors
  • bb1a7bb: 8305762: FileInputStream and FileOutputStream implSpec should be corrected or removed
  • 8858d54: 8305811: (bf) Improve performance of CharBuffer::append(CharSequence[,int,int])
  • 525a91e: 8305673: Convert DocCommentParser to use enhanced switch
  • 6831f9d: 8278583: Open source SwingMark - Swing performance benchmark
  • 497f9e7: 8305755: [JVMCI] missing barriers in CompilerToVM.readFieldValue for Reference.referent
  • 4ed933c: 8296248: Update CLDR to Version 43.0
  • 7360960: 8305625: Stress test crashes with SEGV in Deoptimization::deoptimize_frame_internal(JavaThread*, long*, Deoptimization::DeoptReason)
  • cc60f2f: 8305060: G1: Refactor G1ScanHRForRegionClosure::scan_heap_roots
  • ... and 103 more: https://git.openjdk.org/jdk/compare/312702567a15d67fcf69325b9cb6345f9ea026f7...master

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot added the integrated Pull request has been integrated label Apr 18, 2023
@openjdk openjdk bot closed this Apr 18, 2023
@openjdk openjdk bot removed ready Pull request is ready to be integrated rfr Pull request is ready for review labels Apr 18, 2023
@openjdk
Copy link

openjdk bot commented Apr 18, 2023

@lgxbslgx Pushed as commit 49726ee.

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

@lgxbslgx lgxbslgx deleted the FIX_PREFIX branch April 18, 2023 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hotspot-compiler hotspot-compiler-dev@openjdk.org integrated Pull request has been integrated

Development

Successfully merging this pull request may close these issues.

3 participants