JDK-8292894 : AArch64: Enable SHA3 intrinsic by default on supported hardware
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 20
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • CPU: aarch64
  • Submitted: 2022-08-25
  • Updated: 2022-11-02
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
tbdUnresolved
Related Reports
Blocks :  
Relates :  
Description
Currently UseSHA3Intrinsics is disabled by default. See https://github.com/openjdk/jdk/blob/master/src/hotspot/cpu/aarch64/vm_version_aarch64.cpp#L338.

As a result, test/hotspot/jtreg/compiler/intrinsics/sha/cli/TestUseSHA3IntrinsicsOptionOnSupportedCPU.java failed on the sha3 supported hardware.

We may need to enable it on supported hardware.
Comments
We have to evaluate the correctness and performance before we set sha3 intrinsic as auto-enabled on real hardware. 1) Correctness JDK-8295698 addressed one JTREG failure. Hence, tier1~tier3 can pass now. 2) Performance As discussed in JDK-8295698, there exists performance regression on some hardware. Note that we use JMH, i.e. MessageDigests.java case.
02-11-2022

I'd like to handle SHA512 intrinsics in JDK-8293484 separately. The title of this JBS is updated to "AArch64: Enable SHA3 intrinsics on supported hardware"
28-10-2022