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

Jakob Stoklund Olesen stoklund at 2pi.dk
Mon May 27 14:18:27 PDT 2013


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-a-SparcV9ABIInfo-class-for-handling-the-standard.patch
Type: application/octet-stream
Size: 6477 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130527/2a2d8491/attachment.obj>


More information about the cfe-commits mailing list