RFR (M) 8175369: [ppc] Provide intrinsic implementation for CRC32C
Schmidt, Lutz
lutz.schmidt at sap.com
Thu Mar 2 16:24:09 UTC 2017
Hi all,
may I kindly request reviews for my medium size enhancement? Further down the road, I would need a sponsor, too.
Bug: https://bugs.openjdk.java.net/browse/JDK-8175369
Webrev: http://cr.openjdk.java.net/~lucy/webrevs/8175369/
Description:
This intrinsic implementation provides some performance benefit over the standard Java implementation. It uses only well-known “standard” instructions, available on all supported POWER cpus. Being very similar to the CRC32 intrinsics, it was tried to share as much code as possible between these two.
Performance was observed to increase up to 2.0x, depending on the length of the byte array fed into CRC32C. Short byte arrays benefit more. That is due to the fact that the Java implementation of CRC32C is well inlined and optimized by the JIT, at least with my simple micro benchmarks.
Thanks,
Lutz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20170302/5ba23cbc/attachment.html>
More information about the hotspot-compiler-dev
mailing list