Linux PPC64LE: argument passing problem when passing 15 floats in native call

Doerr, Martin martin.doerr at sap.com
Thu Jul 30 13:48:36 UTC 2015


Hi all,

seems like the ABIv2 calling convention needs different treatment for float arguments.
The following native call test passes 15 float parameters, but the native code doesn't get them correctly:
http://cr.openjdk.java.net/~goetz/webrevs/ppc64le_native_float_arg_test/

Adding 15 times 1.0f resulted in 13.0f on a LE machine. The BE machine correctly returns 15.0f.

Best regards,
Martin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/ppc-aix-port-dev/attachments/20150730/e210f40c/attachment.html>


More information about the ppc-aix-port-dev mailing list