[Mono-dev] Returning structures via multiple registers
vargaz at gmail.com
Fri Jan 8 21:55:47 UTC 2016
amd64 does this, see the code beginning with:
* The valuetype is in RAX:RDX after the call, need to be copied to
* the stack. Push the address here, so the call instruction can
* access it.
On Fri, Jan 8, 2016 at 4:13 PM, Bill Seurer <seurer at linux.vnet.ibm.com>
> I have added but not yet checked in support for the final bit of the ELF
> v2 ABI to the power/ppc target which is returning structures too large to
> fit in one register via multiple registers. The code in the mini-ppc.c
> that handles the return from the function is good I think but the code at
> the call site I am not all that happy with. It works but seems clumsy.
> Anyway, do any of the other targets, other than llvm that is, handle
> this? I looked but I wasn't sure.
> -Bill Seurer
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list