Skip to content

8216437: PPC64: Add intrinsic for GHASH algorithm #1789

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

suchismith1993
Copy link

@suchismith1993 suchismith1993 commented May 15, 2025

Hi all,

This pull request contains a backport of commit cdad6d78 from the openjdk/jdk repository.

The commit being backported was authored by Suchismith Roy on 2 May 2025 and was reviewed by Martin Doerr and Amit Kumar.

Thanks!


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
  • JDK-8216437 needs maintainer approval

Issue

  • JDK-8216437: PPC64: Add intrinsic for GHASH algorithm (Enhancement - P4 - Requested)

Reviewers

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 1789

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

Using diff file

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

Using Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented May 15, 2025

👋 Welcome back sroy! 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 May 15, 2025

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

@openjdk openjdk bot changed the title Backport cdad6d788de4785c8dbf2710a86fdacb8d070565 8216437: PPC64: Add intrinsic for GHASH algorithm May 15, 2025
@openjdk
Copy link

openjdk bot commented May 15, 2025

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 May 15, 2025
@openjdk
Copy link

openjdk bot commented May 15, 2025

⚠️ @suchismith1993 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 May 15, 2025
@mlbridge
Copy link

mlbridge bot commented May 15, 2025

Webrevs

@openjdk
Copy link

openjdk bot commented May 15, 2025

@suchismith1993
8216437: The approval request has been created successfully.

@suchismith1993
Copy link
Author

Need to adapt code for jdk21 repo. Looking into it

@openjdk openjdk bot added the approval Requires approval; will be removed when approval is received label May 15, 2025
@openjdk openjdk bot removed the clean Identical backport; no merge resolution required label May 22, 2025
@suchismith1993
Copy link
Author

/approval request Need GHASH for jdk21

@openjdk
Copy link

openjdk bot commented May 23, 2025

@suchismith1993
8216437: The approval request has been updated successfully.

Copy link
Contributor

@TheRealMDoerr TheRealMDoerr left a comment

Choose a reason for hiding this comment

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

Backport looks correct.

@suchismith1993
Copy link
Author

/approval ghash fix needed for jdk21

@suchismith1993
Copy link
Author

/approval request ghash fix needed for jdk21

@openjdk
Copy link

openjdk bot commented Jun 16, 2025

@suchismith1993 usage: /approval [<id>] (request|cancel) [<text>]

@openjdk
Copy link

openjdk bot commented Jun 16, 2025

@suchismith1993
8216437: The approval request has been updated successfully.

@suchismith1993
Copy link
Author

/integrate

@openjdk
Copy link

openjdk bot commented Jul 7, 2025

@suchismith1993 This pull request has not yet been marked as ready for integration.

@GoeLin
Copy link
Member

GoeLin commented Jul 7, 2025

Hi @suchismith1993
please give a fix request comment that gives the necessary details.
The change is definitely not needed for 21, probably a nice-to-have performance optimization.

This has not been tested in any released JVM yet, do you really want to bring it to 21 now?

@suchismith1993
Copy link
Author

Hi @suchismith1993 please give a fix request comment that gives the necessary details. The change is definitely not needed for 21, probably a nice-to-have performance optimization.

This has not been tested in any released JVM yet, do you really want to bring it to 21 now?

It has been tested on the headstream, but not sure which release it would be a part of. 21 is LTS and used by many customers, so the optimisation should be a good addition.
@TheRealMDoerr Your thoughts ?

@TheRealMDoerr
Copy link
Contributor

TheRealMDoerr commented Jul 7, 2025

It will be released with JDK25 in September. The October Update of JDK21 should be ok for the backport. The tests should have covered it well enough. If we want some extra safety, postponing to January Update would be ok with me, too.

@suchismith1993
Copy link
Author

@TheRealMDoerr @GoeLin so we wait at least till October ? So should this PR be closed now ?

@TheRealMDoerr
Copy link
Contributor

No, you can integrate it after you got maintainer approval.

@suchismith1993
Copy link
Author

@GoeLin can it be approved now ? or shall we hold till October ?

@GoeLin
Copy link
Member

GoeLin commented Jul 10, 2025

Hi Suchismith,
I labeled it jdk21u-defer-next.
Also, you did not update the fix-request comment yet. There should be good information about this in the JBS issue. The purpose of the PR is only to review it.

@suchismith1993
Copy link
Author

/approval request The fix provides a 3x performance benefit. JDK21 is LTS and used by many customers, so this fix is essential.

@openjdk
Copy link

openjdk bot commented Jul 10, 2025

@suchismith1993
8216437: The approval request has been updated successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approval Requires approval; will be removed when approval is received backport Port of a pull request already in a different code base rfr Pull request is ready for review
Development

Successfully merging this pull request may close these issues.

3 participants