[PATCH] AAPCS complex value return [csl-arm-branch]

Julian Brown julian@codesourcery.com
Wed Jan 5 17:53:00 GMT 2005


Hi,

This patch alters the ABI for functions returning complex values to 
conform with the ARM AAPCS. Previously, multi-word complex values were 
returned in registers. With this patch they are treated the same as 
multi-word aggregates, i.e. they are returned in memory at an address 
passed in through r0.

ABIs other than AAPCS shouldn't be affected.

This should be applied to both csl-arm-branch and mainline.

Cheers,

Julian

-- 
Julian Brown
CodeSourcery, LLC
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch4
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050105/8c226280/attachment.ksh>


More information about the Gcc-patches mailing list