On 19/01/12 06:46, Bin Cheng wrote:
> Hi,
> Currently gcc generates code violating ARM EABI when passing arguments to
> some floating point
> helper functions, which are __aeabi_d2iz/__aeabi_d2uiz. As reported in bug
> PR51835.
> 
> This patch fixes the issue, with test cases.
> 
> It is for trunk and 4.6 branch, and I have checked the output codes
> manually.
> Is it OK?
> 
> Thanks
> 
> gcc/ChangeLog:
> 2012-01-17  Bin Cheng  <bin.ch...@arm.com>
> 
>       PR target/51835
>       * config/arm/arm.c (arm_libcall_uses_aapcs_base): Use correct ABI
> for
>       __aeabi_d2iz/__aeabi_d2uiz in hard-float abi if only
> single-precision
>       arithmetic is supported in hardware.
> 
> gcc/testsuite/ChangeLog:
> 2012-01-17  Bin Cheng  <bin.ch...@arm.com>
> 
>       PR target/51835
>       * testsuite/gcc.target/arm/pr51835.c: New testcase.
> 
> 

OK both.

R.

Reply via email to