-
Enhancement
-
Resolution: Fixed
-
P4
-
20
-
b26
-
aarch64
As commented in https://bugs.openjdk.org/browse/JDK-8293484?focusedCommentId=14532743&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-14532743, we may like to set sha512 intrinsic enabled by default on CPU cores, where sha512 feature is supported.
Here shows the snippet of the comment in JDK-8293484
```
Besides, I noticed that this case(TestUseSHA512IntrinsicsOptionOnSupportedCPU.java) failed on Graviton3 with the JDK mainline code base either.
Here shows the snippet of error log.
```
TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.AssertionError: Option 'UseSHA512Intrinsics' is expected to have 'true' value Option 'UseSHA512Intrinsics' should be enabled by default
--------------------------------------------------
Test results: failed: 1
```
I think the root cause (for the failure with mainline code base) is that SHA512 intrinsics is disabled even
with the sha512 feature supported hardware, mainly because there was no available hardware for testing when implementing SHA512 intrinsincs.
See the comment around https://github.com/openjdk/jdk/blob/master/src/hotspot/cpu/aarch64/vm_version_aarch64.cpp#L348~L351
```
Here shows the snippet of the comment in JDK-8293484
```
Besides, I noticed that this case(TestUseSHA512IntrinsicsOptionOnSupportedCPU.java) failed on Graviton3 with the JDK mainline code base either.
Here shows the snippet of error log.
```
TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.AssertionError: Option 'UseSHA512Intrinsics' is expected to have 'true' value Option 'UseSHA512Intrinsics' should be enabled by default
--------------------------------------------------
Test results: failed: 1
```
I think the root cause (for the failure with mainline code base) is that SHA512 intrinsics is disabled even
with the sha512 feature supported hardware, mainly because there was no available hardware for testing when implementing SHA512 intrinsincs.
See the comment around https://github.com/openjdk/jdk/blob/master/src/hotspot/cpu/aarch64/vm_version_aarch64.cpp#L348~L351
```
- relates to
-
JDK-8293484 AArch64: TestUseSHA512IntrinsicsOptionOnSupportedCPU.java fails on CPU with SHA512 feature support
-
- Open
-