[aarch64-port-dev ] RFR: 8131362: aarch64: C2 does not handle large stack offsets

Andrew Haley aph at redhat.com
Thu Jul 16 15:46:30 UTC 2015


On 07/16/2015 04:13 PM, Edward Nevill wrote:
> OK. So what I have done is changed the declaration to have a 'tmp' Register which defaults to rscratch2 as follows:-
> 
> Address spill_address(int size, int offset, Register tmp=rscratch2);
> 
> That way people can see from the header that it needs a tmp which
> defaults to rscratch2.
> 
> Similarly for spill_copy128 we now have
> 
> void spill_copy128(int src_offset, int dst_offset,
>                    Register tmp1=rscratch1, Register tmp2=rscratch2)
> 
> Is this OK? Or do you want to force people to name the tmp registers
> on every call.

OK, I can live with that.

Andrew.



More information about the hotspot-compiler-dev mailing list