[jdk17u-dev] RFR: 8299158: Improve MD5 intrinsic on AArch64
Paul Hohensee
phh at openjdk.org
Thu Jul 6 01:55:09 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
Reopening.
-------------
PR Comment: https://git.openjdk.org/jdk17u-dev/pull/1037#issuecomment-1622806956
More information about the jdk-updates-dev
mailing list