JDK-8371459 : [REDO] AArch64: Use SHA3 GPR intrinsic where it's faster
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 26
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • CPU: aarch64
  • Submitted: 2025-11-07
  • Updated: 2025-12-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbd masterUnresolved
Related Reports
Cloners :  
Description
The original fix JDK-8359256 was backed out by JDK-8371432. This is the REDO.

JDK-8337666 implementation is enabled with '-XX:+UnlockDiagnosticVMOptions -XX:+UseSHA3Intrinsics -XX:-UseSIMDForSHA3Intrinsic'. It is not slower than C2 generated code on any tested platform. For hardware that supports SHA3 extension there is JDK-8252204 implementation. The only known platform where it is faster than GPR version is Apple Silicon, and on some platforms such as Graviton 3 it is slower than C2 version.

The updated flag detection can be like:

* If no SHA3 extension, use GPR version;
* If Neoverse with SHA3 extension, still use GPR version;
* Otherwise use extension-based version.
Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/28515 Date: 2025-11-26 19:14:14 +0000
08-12-2025