[aarch64-port-dev ] [16] RFR[S]: 8251216: Implement MD5 intrinsics on AArch64

Ludovic Henry luhenry at microsoft.com
Tue Aug 11 18:28:56 UTC 2020


Hi Andrew,

(I'm currently on vacation and will come back on the 20th.)

I've relied on the existing test suite, which was also enhanced when submitting the patch for the MD5 intrinsic on x86 [1]. To help in the development, I've also generated 1k random strings, got them through md5sum on Linux, and compared the output of this MD5 intrinsic on the same input. I did not use [2] as a testing bed, but would be happy to add it to the OpenJDK test suite (if the license allows for it, I didn't check yet where it's allowed).

> I'm looking through the test suite, but I can't find the test vectors. They must be in there somewhere.

test/hotspot/jtreg/compiler/intrinsics/sha/TestDigest.java covers that by running a single value with and without the intrinsic.

--
Ludovic

[1] https://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/2020-August/039327.html
[2] https://www.nist.gov/itl/ssd/software-quality-group/nsrl-test-data



More information about the aarch64-port-dev mailing list