Skip to content

8321308: AArch64: Fix matching predication for cbz/cbnz #940

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

Closed
wants to merge 1 commit into from

Conversation

bulasevich
Copy link

@bulasevich bulasevich commented Aug 21, 2024

Clean backport to improve aarch code generation for array length if (a.length > 0)

Testing: jtreg tier1-3 on linux-aarch64.


Progress

  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • JDK-8321308 needs maintainer approval

Issue

  • JDK-8321308: AArch64: Fix matching predication for cbz/cbnz (Enhancement - P4 - Rejected)

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk21u-dev.git pull/940/head:pull/940
$ git checkout pull/940

Update a local copy of the PR:
$ git checkout pull/940
$ git pull https://git.openjdk.org/jdk21u-dev.git pull/940/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 940

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

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk21u-dev/pull/940.diff

Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Aug 21, 2024

👋 Welcome back bulasevich! 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
Copy link

openjdk bot commented Aug 21, 2024

❗ This change is not yet ready to be integrated.
See the Progress checklist in the description for automated requirements.

@openjdk openjdk bot added the rfr Pull request is ready for review label Aug 21, 2024
@mlbridge
Copy link

mlbridge bot commented Aug 21, 2024

Webrevs

@bulasevich bulasevich changed the title 8321308: AArch64: Fix matching predication for cbz/cbnz Backport 8321308: AArch64: Fix matching predication for cbz/cbnz Aug 21, 2024
@openjdk openjdk bot removed the rfr Pull request is ready for review label Aug 21, 2024
@bulasevich bulasevich changed the title Backport 8321308: AArch64: Fix matching predication for cbz/cbnz Backport 2c9185eb81c9dfcc30d160a6254089c474b56b0d 8321308: AArch64: Fix matching predication for cbz/cbnz Aug 21, 2024
@bulasevich bulasevich changed the title Backport 2c9185eb81c9dfcc30d160a6254089c474b56b0d 8321308: AArch64: Fix matching predication for cbz/cbnz Backport 2c9185eb81c9dfcc30d160a6254089c474b56b0d Aug 21, 2024
@openjdk openjdk bot changed the title Backport 2c9185eb81c9dfcc30d160a6254089c474b56b0d 8321308: AArch64: Fix matching predication for cbz/cbnz Aug 21, 2024
@openjdk
Copy link

openjdk bot commented Aug 21, 2024

This backport pull request has now been updated with issue from the original commit.

@openjdk openjdk bot added backport Port of a pull request already in a different code base clean Identical backport; no merge resolution required labels Aug 21, 2024
@openjdk
Copy link

openjdk bot commented Aug 21, 2024

⚠️ @bulasevich This change is now ready for you to apply for maintainer approval. This can be done directly in each associated issue or by using the /approval command.

@openjdk openjdk bot added the rfr Pull request is ready for review label Aug 21, 2024
@bulasevich
Copy link
Author

/approval request This simple change applies cleanly to jdk21. The change fixes the matching rules to use a single instruction for unsigned comparison and branch, which is also useful for jdk-21.
Testing: tier1-3 on linux-aarch64.

@openjdk
Copy link

openjdk bot commented Aug 21, 2024

@bulasevich
8321308: The approval request has been created successfully.

@openjdk openjdk bot added the approval Requires approval; will be removed when approval is received label Aug 21, 2024
@jerboaa
Copy link
Contributor

jerboaa commented Aug 22, 2024

We should not backport about anything to JDK 21. Especially when it comes to performance improvements. This P4 enhancement doesn't strike me as anything important enough for a stable update release. Let's be more diligent with performance enhancements. You may consider backporting to 23u.

/approve no

@openjdk
Copy link

openjdk bot commented Aug 22, 2024

@jerboaa
8321308: The approval request has been rejected.

@openjdk openjdk bot removed the approval Requires approval; will be removed when approval is received label Aug 22, 2024
@bridgekeeper
Copy link

bridgekeeper bot commented Sep 19, 2024

@bulasevich This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!

@bulasevich bulasevich closed this Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Port of a pull request already in a different code base clean Identical backport; no merge resolution required rfr Pull request is ready for review
Development

Successfully merging this pull request may close these issues.

2 participants