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

AArch64: Use SHA3 GPR intrinsic where it's faster

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 26
    • hotspot

      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.

            dchuyko Dmitry Chuyko
            dchuyko Dmitry Chuyko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: