[PATCH 3/8] sparc: Rewrite everything

David Miller davem@davemloft.net
Wed Oct 29 20:11:00 GMT 2014


From: Richard Henderson <rth@twiddle.net>
Date: Wed, 29 Oct 2014 13:01:45 -0700

> On 10/29/2014 11:10 AM, David Miller wrote:
>> Maybe I'm missing something?
> 
> The two limits are in fact different.  In gcc, see sparc_return_in_memory and
> sparc_pass_by_reference.

My bad, thanks for clarifying.

That's the only thing that caught my eye.  I think for most v9 chips a
'return' is slightly more expensive than a 'ret/restore'.  'return' is
good for saving an instruction when you can put something in that
delay slot, but if you can't then you might as well do 'ret/restore'.

Series otherwise looks great, nice work!



More information about the Libffi-discuss mailing list