Re: [PATCH, AARCH64] improve float/double 0.0 support

2015-06-19 Thread James Greenhalgh
On Fri, Jun 19, 2015 at 05:43:01PM +0100, Jim Wilson wrote: > This is a follow on to the long double 0.0 patch. The float and > double support has similar problems and need similar fixes, though a > little smaller in scope. Before the patch this testcase > void sub1 (float *f) { *f = 0.0; } > vo

[PATCH, AARCH64] improve float/double 0.0 support

2015-06-19 Thread Jim Wilson
This is a follow on to the long double 0.0 patch. The float and double support has similar problems and need similar fixes, though a little smaller in scope. Before the patch this testcase void sub1 (float *f) { *f = 0.0; } void sub2 (double *d) { *d = 0.0; } gives assembly code sub1: fm