RFR (S) 8175370: Fix C calling convention for CRC32C and Adler32 intrinsics

Schmidt, Lutz lutz.schmidt at sap.com
Thu Feb 23 09:26:28 UTC 2017


Hi all,

may I kindly request reviews for my small bug fix? Further down the road, I would need a sponsor, too.

Bug: https://bugs.openjdk.java.net/browse/JDK-8175370
Webrev: http://cr.openjdk.java.net/~lucy/webrevs/8175370/

Description:
On some platforms (ppc, s390) the C calling convention requires “int” arguments to be converted to “long” by the caller. This requirement was not observed by c2-generated calls to the CRC32C and Adler32 intrinsics. The fix was rather simple, using the calls from the CRC32 intrinsics as a template.

This is not an issue as of now. The affected intrinsics are not yet (but will soon be) implemented. You may see this as a preemptive bug fix.

Thanks,
Lutz

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20170223/5b2c53bb/attachment-0001.html>


More information about the hotspot-compiler-dev mailing list