Re: [PATCH, AARCH64] improve long double 0.0 support

2015-06-15 Thread Marcus Shawcroft
On 4 June 2015 at 01:35, Jim Wilson jim.wil...@linaro.org wrote: I noticed that poor code is emitted for a long double 0.0. This testcase long double sub (void) { return 0.0; } void sub2 (long double *ld) { *ld = 0.0; } currently generates sub: ldr q0, .LC0 ret ... sub2: ldr q0, .LC1

Re: [PATCH, AARCH64] improve long double 0.0 support

2015-06-12 Thread Jim Wilson
On 06/03/2015 05:35 PM, Jim Wilson wrote: I noticed that poor code is emitted for a long double 0.0. ping https://gcc.gnu.org/ml/gcc-patches/2015-06/msg00370.html Jim

[PATCH, AARCH64] improve long double 0.0 support

2015-06-03 Thread Jim Wilson
I noticed that poor code is emitted for a long double 0.0. This testcase long double sub (void) { return 0.0; } void sub2 (long double *ld) { *ld = 0.0; } currently generates sub: ldr q0, .LC0 ret ... sub2: ldr q0, .LC1 str q0, [x0] ret where LC0 and LC1 are 16-byte constant table long double