Re: Add another e500 subreg pattern

2016-11-23 Thread Joseph Myers
On Wed, 23 Nov 2016, Segher Boessenkool wrote: > > --- gcc/testsuite/gcc.c-torture/compile/20161123-1.c(nonexistent) > > +++ gcc/testsuite/gcc.c-torture/compile/20161123-1.c(working copy) > > @@ -0,0 +1,7 @@ > > +double > > +f (long double x) > > +{ > > + union { long double ld; d

Re: Add another e500 subreg pattern

2016-11-23 Thread Segher Boessenkool
On Wed, Nov 23, 2016 at 09:14:44PM +, Joseph Myers wrote: > This patch adds an insn pattern similar to various patterns already > present to handle extracting such a subreg. This allows the glibc > build to get further, until it runs into an assembler error for which > I have another patch. O

Add another e500 subreg pattern

2016-11-23 Thread Joseph Myers
Building glibc for powerpc-linux-gnuspe --enable-e500-double, given the patch applied, fails with errors such as: ../sysdeps/ieee754/ldbl-128ibm/s_modfl.c: In function '__modfl': ../sysdeps/ieee754/ldbl-128ibm/s_modfl.c:91:1: error: unreco