JDK-8155192 : [TESTBUG] SHA tests assumes that x86 does not have SHA intrinsics
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 9,10
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: x86
  • Submitted: 2016-04-27
  • Updated: 2019-09-13
  • Resolved: 2018-06-22
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.
JDK 11 JDK 12
11 b20Fixed 12Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
When SHA tests were developed (JDK-8055904) x86 did not have SHA intrinsics.
But recent changes added it.
(JDK-8150767) added SHA1 and SHA256 intrinsics when 'sha' instruction is present.
(JDK-8154495) added  SHA256 intrinsic for 64-bit VM when AVX2 and BMI2 instructions are present.
During JDK-8154495 testing 4 SHA tests failed and tests were fixed to pass them. But tests which verifies SHA  on supported CPU were not fixed so tests are not executed.
We need to revisit all SHA tests test/compiler/intrinsics/sha to make sure the we have tests coverage for x86. 
Comments
http://cr.openjdk.java.net/~iignatyev//8155192/webrev.00/index.html
21-06-2018

ILW = testbug leading to test coverage reduction; SHA tests on x86; none = MMH = P3
22-06-2016

Igor, please, assign this to SQE engineer.
27-04-2016