Hello Thomas,

On Sat, Feb 01, 2014 at 07:04:24PM +0800, Thomas Preud'homme wrote:
> Got a bit of time (and more importantly internet access) so it's now
> fixed in mob. Thanks for reporting.

your patch makes

float f(unsigned long long x)
{
        return x;
}

compile to

  ...
  bl      __aeabi_ul2f
  vmov    s0, r0
  vmov.32 d0[0], r0
  vmov.32 d0[1], r1
  ...

with softfp ABI and it generates the superfluous move from r1 with hard
float ABI. Maybe the cleanest solution is to temporarily change the ABI
when calling these functions.

Best regards,

  Daniel

_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to