RFR(S): 8159368: [JVMCI] SPARCHotSpotRegisterConfig.callingConvention gives incorrect calling convention for native calls containing fp args
vladimir.kozlov at oracle.com
Wed Jul 6 00:50:20 UTC 2016
webrev.03 patch does not apply to latest hs-comp/hotspot sources. Can
you update it?
On 6/17/16 12:14 AM, Stefan Anzinger wrote:
> Thank you, Igor.
> I've updated a webrev with the header in the .c file:
> The change is best applied on top of 8159167: [JVMCI] fix
> HotSpotVMConfig startup performance
> Thank you
> On 06/16/2016 05:03 PM, Igor Veresov wrote:
>> The .c file probably needs a copyright header. Otherwise looks good.
>>> On Jun 16, 2016, at 4:54 AM, Stefan Anzinger <stefan.anzinger at oracle.com> wrote:
>>> we found a bug in the JVMCI defined SPARC calling convention when
>>> calling native methods with single float arguments. Previously the
>>> HotSpot Calling Convention was used, which is different to the one
>>> defined in the native ABI .
>>> This fix implements the correct native calling convention in the SPARC
>>> ABI  in SPARCHotSpotRegisterConfig.java.
>>> The rest of the change is a jtreg test which exercises native calls on
>>> AMD64 and SPARC with code installed via JVMCI. Different parameter types
>>> and argument counts are tested.
>>>  http://sparc.org/wp-content/uploads/2014/01/SCD.2.4.1.pdf.gz
More information about the hotspot-compiler-dev