RFR(M): 8131048: ppc: implement CRC32 intrinsic

Christian Thalinger christian.thalinger at oracle.com
Mon Jul 13 16:28:04 UTC 2015

> On Jul 13, 2015, at 2:45 AM, Lindenmaier, Goetz <goetz.lindenmaier at sap.com> wrote:
> Hi,
> Lutz implemented the CRC32 intrinsic for ppc.  So far, it's based on
> the Power7 instructions.  Power8 might allow further optimizations.
> Please review this change:
> http://cr.openjdk.java.net/~goetz/webrevs/8131048-crc32/webrev.01/

+juint StubRoutines::ppc64::_crc_table[CRC32_TABLES][CRC32_COLUMN_SIZE] = {

I’ aware that this table contains more than just the x86 one but I still think it would be better to share the existing table somehow:

juint StubRoutines::x86::_crc_table[] =

> We tested this with jck, jtreg and our benchmarks on aix, ppc64 and ppc64le.
> Perormance improvements are seen especially for small jobs.
> Best regards,
>  Goetz

More information about the hotspot-dev mailing list