[jdk11u-dev] RFR: 8250902: Implement MD5 Intrinsics on x86
Paul Hohensee
phh at openjdk.java.net
Fri Feb 4 15:37:17 UTC 2022
On Thu, 3 Feb 2022 20:19:10 GMT, Paul Hohensee <phh at openjdk.org> wrote:
> I'd like to backport MD5 intrinsification because it improves security related performance. I understand that it may be a bridge too far for 11u. In that case we (Amazon) intend to backport it to our internal 11u distro followed by Corretto.
>
> Testing: tier1, including the new and existing sha tests.
>
> Ludovic Henry did an 11u backport in 2020 (see [JDK-8251319](https://bugs.openjdk.java.net/browse/JDK-8251319)), but I can't find a review request on the jdk-updates-dev list. My backport is essentially identical to his, and is based on the [backport from jdk15u](https://github.com/openjdk/jdk15u-dev/pull/163). It was not clean.
>
> 1. Copyright date conflicts.
> 2. Context differences.
> 3. Changing SHAOptionsBase to DigestOptionsBase.
> 4. Rewriting Assembler::roll() to use emit_int8() because emit_int16() and emit_24() don't exist in 11.
>
> This backport would be immediately followed by a backport of [JDK-8251260](https://bugs.openjdk.java.net/browse/JDK-8251260) to fix two tests. After that, I'd like to backport the aarch64 version in [JDK-8251216](https://bugs.openjdk.java.net/browse/JDK-8251216).
Ludovic's the original author, which is as "official" as it gets. Thanks for the review, Ludovic!
Thanks for the review, Bernhard!
-------------
PR: https://git.openjdk.java.net/jdk11u-dev/pull/806
More information about the jdk-updates-dev
mailing list