RFR(M): 8217459: [PPC64] Cleanup non-vector version of CRC32

Doerr, Martin martin.doerr at sap.com
Mon Jan 21 18:07:13 UTC 2019


Hi,

PPC64 currently contains static tables for CRC32/CRC32C calculations. We only need some of them depending on Endianess and on whether vector instructions are available or not.
We can get rid of quite some code when we generate these constants at startup as we already do for the vector version.

In addition, we can save one register in the vector case because we can use one constants pointer for all related constants.

Webrev:
http://cr.openjdk.java.net/~mdoerr/8217459_ppc64_crc_consts/webrev.00/

Please review.

Best regards,
Martin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20190121/8d71f665/attachment.html>


More information about the hotspot-compiler-dev mailing list