RFR (M) 8175369: [ppc] Provide intrinsic implementation for CRC32C
lutz.schmidt at sap.com
Thu Mar 2 16:24:09 UTC 2017
may I kindly request reviews for my medium size enhancement? Further down the road, I would need a sponsor, too.
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the hotspot-compiler-dev