It seems that 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. Adding 15 times 1.0f resulted in 13.0f on a LE machine. The BE machine correctly returns 15.0f. Here is a test to reproduce the issue: http://cr.openjdk.java.net/~goetz/webrevs/ppc64le_native_float_arg_test/
|