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

Implement MD5 intrinsics on AArch64

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b27
    • CPU:
      aarch64
    • OS:
      generic

      Backports

        Description

        Following the implementation of an intrinsic for `sun.security.provider.MD5.implCompress` on x86, we want to implement it on the AArch64 platform as well.

        The speedup is as follows:

        -XX:-UseMD5Intrinsics
        Benchmark (digesterName) (length) (provider) Mode Cnt Score Error Units
        MessageDigests.digest md5 64 DEFAULT thrpt 10 1616.238 ± 28.082 ops/ms
        MessageDigests.digest md5 1024 DEFAULT thrpt 10 215.030 ± 0.691 ops/ms
        MessageDigests.digest md5 1048576 DEFAULT thrpt 10 0.228 ± 0.001 ops/ms

        -XX:+UseMD5Intrinsics
        Benchmark (digesterName) (length) (provider) Mode Cnt Score Error Units
        MessageDigests.digest md5 64 DEFAULT thrpt 10 2005.233 ± 40.513 ops/ms => 24% speedup
        MessageDigests.digest md5 1024 DEFAULT thrpt 10 275.979 ± 0.455 ops/ms => 28% speedup
        MessageDigests.digest md5 1048576 DEFAULT thrpt 10 0.279 ± 0.001 ops/ms => 22% speedup

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                phedlin Patric Hedlin (Inactive)
                Reporter:
                luhenry Ludovic Henry
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: