Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8155192

[TESTBUG] SHA tests assumes that x86 does not have SHA intrinsics

    Details

    • Subcomponent:
    • Resolved In Build:
      b20
    • CPU:
      x86
    • OS:
      generic

      Backports

        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.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  iignatyev Igor Ignatyev
                  Reporter:
                  kvn Vladimir Kozlov
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: