[jdk17u-dev] Integrated: 8299158: Improve MD5 intrinsic on AArch64
Yi-Fan Tsai
duke at openjdk.org
Mon Jul 10 15:26:14 UTC 2023
On Thu, 5 Jan 2023 06:49:24 GMT, Yi-Fan Tsai <duke at openjdk.org> wrote:
> This change is nearly clean. 17u uses macro and tip uses functions.
>
> TestMD5Intrinsics and TestMD5MultiBlockIntrinsics are tested with [the patch](https://github.com/openjdk/jdk/pull/10954).
>
> Similar performance improvement is observed.
>
> baseline
>
> Benchmark (digesterName) (length) (provider) Mode Cnt Score Error Units
> MessageDigests.digest md5 64 DEFAULT thrpt 50 2987.994 ? 3.246 ops/ms
> MessageDigests.digest md5 1024 DEFAULT thrpt 50 370.344 ? 0.683 ops/ms
> MessageDigests.digest md5 16384 DEFAULT thrpt 50 24.773 ? 0.038 ops/ms
> MessageDigests.getAndDigest md5 64 DEFAULT thrpt 50 2543.829 ? 3.060 ops/ms
> MessageDigests.getAndDigest md5 1024 DEFAULT thrpt 50 364.196 ? 0.319 ops/ms
> MessageDigests.getAndDigest md5 16384 DEFAULT thrpt 50 24.741 ? 0.021 ops/ms
>
>
> optimized
>
> Benchmark (digesterName) (length) (provider) Mode Cnt Score Error Units
> MessageDigests.digest md5 64 DEFAULT thrpt 50 3671.576 ? 2.780 ops/ms
> MessageDigests.digest md5 1024 DEFAULT thrpt 50 462.163 ? 0.724 ops/ms
> MessageDigests.digest md5 16384 DEFAULT thrpt 50 31.137 ? 0.058 ops/ms
> MessageDigests.getAndDigest md5 64 DEFAULT thrpt 50 3015.830 ? 4.608 ops/ms
> MessageDigests.getAndDigest md5 1024 DEFAULT thrpt 50 453.550 ? 0.263 ops/ms
> MessageDigests.getAndDigest md5 16384 DEFAULT thrpt 50 31.039 ? 0.006 ops/ms
This pull request has now been integrated.
Changeset: cb35d88e
Author: Yi-Fan Tsai <yifan.tsai at gmail.com>
Committer: Paul Hohensee <phh at openjdk.org>
URL: https://git.openjdk.org/jdk17u-dev/commit/cb35d88e3f100dc6a6f5c8e5e95adb0457ba5627
Stats: 8 lines in 1 file changed: 1 ins; 1 del; 6 mod
8299158: Improve MD5 intrinsic on AArch64
Reviewed-by: phh
Backport-of: c6588d5bb3f778806c9112e86dbfba964c0636fd
-------------
PR: https://git.openjdk.org/jdk17u-dev/pull/1037
More information about the jdk-updates-dev
mailing list