PATCH] Add a SparcV9ABIInfo class for handling the standard SPARC v9 ABI

Rafael EspĂ­ndola rafael.espindola at gmail.com
Mon May 27 14:45:30 PDT 2013


LGTM


On 27 May 2013 17:18, Jakob Stoklund Olesen <stoklund at 2pi.dk> wrote:
> Hi,
>
> Please review this patch which handles some of the issues in the SPARC v9 ABI.
>
> This ensures that integers are extended to 64 bits, and that large structs are passed correctly (no byval).
>
> There are still some missing details when passing structs in registers, it gets complicated when the structs have float members. I'll fix that in a future patch.
>
> SPARC can use LLVM's va_arg instruction, but it needs a bit of adaption for arguments that aren't multiples of 64 bits. That's also for a future patch.
>
> Thanks,
> /jakob
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>



More information about the cfe-commits mailing list