RFR: 8371820: Further AES performance improvements for key schedule generation [v5]
Martin Doerr
mdoerr at openjdk.org
Mon Nov 24 17:00:04 UTC 2025
> This fix simplifies the hotspot intrinsics for some platforms and optimizes the key computation for encryption. We can save the `genInvRoundKeys` computation when we only do encryption.
>
> The micro:org.openjdk.bench.javax.crypto.AESReinit benchmark results are improved by 17% for ppc64 and 26% for x86_64.
Martin Doerr has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains six additional commits since the last revision:
- Address review comments.
- Merge remote-tracking branch 'origin' into 8371820_AES_Crypt
- Remove K from AES_Crypt
- More minor cleanup.
- Improve comment and minor cleanup.
- 8371820: Further AES performance improvements for key schedule generation
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/28299/files
- new: https://git.openjdk.org/jdk/pull/28299/files/2b981288..30b5b531
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=28299&range=04
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=28299&range=03-04
Stats: 65976 lines in 954 files changed: 44668 ins; 14938 del; 6370 mod
Patch: https://git.openjdk.org/jdk/pull/28299.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/28299/head:pull/28299
PR: https://git.openjdk.org/jdk/pull/28299
More information about the graal-dev
mailing list