[PATCH] Vector return on ARM

Julian Brown julian@codesourcery.com
Thu May 12 00:26:00 GMT 2005


Andrew Pinski wrote:
> 
> On May 11, 2005, at 8:13 PM, Julian Brown wrote:
> 
>> Hi,
>>
>> This patch corrects returning vectors from functions on ARM, both with 
>> the classic APCS and the new AAPCS. Vectors of word-size or less are 
>> returned in r0, and larger vectors are returned in memory. Previously, 
>> vector values were always returned in registers, which sometimes 
>> caused wrong code (on arm-none-elf) and sometimes ICEd on both 
>> arm-none-elf and arm-none-eabi.
>>
> 
> This is the same as the patch which Josh Conner posted?
> <http://gcc.gnu.org/ml/gcc-patches/2005-05/msg01017.html>

It's functionally identical, by the looks of it. Sorry for the noise!

Cheers,

Julian



More information about the Gcc-patches mailing list