Re: [PATCH] PR 85075, Fix PowerPC __float182/__ibm128 types and mangling

2018-05-14 Thread Segher Boessenkool
On Tue, Apr 24, 2018 at 05:42:39PM +, Joseph Myers wrote: > On Mon, 16 Apr 2018, Segher Boessenkool wrote: > > > > The manglings that are now used are: > > > > > > For -mabi=ieeelongdouble: > > > > > > __float128 "u10__float128" > > > __ibm128"u8__ibm128" > > > long

Re: [PATCH] PR 85075, Fix PowerPC __float182/__ibm128 types and mangling

2018-04-24 Thread Joseph Myers
On Mon, 16 Apr 2018, Segher Boessenkool wrote: > > The manglings that are now used are: > > > > For -mabi=ieeelongdouble: > > > > __float128 "u10__float128" > > __ibm128"u8__ibm128" > > long double "u9__ieee128" > > > > For -mabi=ibmlongdouble: > > > >

Re: [PATCH] PR 85075, Fix PowerPC __float182/__ibm128 types and mangling

2018-04-17 Thread Michael Meissner
On Tue, Apr 17, 2018 at 12:29:31PM -0400, Michael Meissner wrote: > On Tue, Apr 17, 2018 at 09:57:52AM -0500, Segher Boessenkool wrote: > > On Mon, Apr 16, 2018 at 03:22:16PM -0400, Michael Meissner wrote: > > > Here is the PR 85075 patch without the rs6000.md bits: > > > > This fails on

Re: [PATCH] PR 85075, Fix PowerPC __float182/__ibm128 types and mangling

2018-04-17 Thread Michael Meissner
On Tue, Apr 17, 2018 at 09:57:52AM -0500, Segher Boessenkool wrote: > On Mon, Apr 16, 2018 at 03:22:16PM -0400, Michael Meissner wrote: > > Here is the PR 85075 patch without the rs6000.md bits: > > This fails on powerpc64-linux bootstrap (w/ --with-cpu=power7 if that > matters): > >

Re: [PATCH] PR 85075, Fix PowerPC __float182/__ibm128 types and mangling

2018-04-17 Thread Segher Boessenkool
On Mon, Apr 16, 2018 at 03:22:16PM -0400, Michael Meissner wrote: > Here is the PR 85075 patch without the rs6000.md bits: This fails on powerpc64-linux bootstrap (w/ --with-cpu=power7 if that matters): /home/segher/src/gcc/libgcc/config/rs6000/ibm-ldouble.c: In function '__gcc_qadd ':

Re: [PATCH] PR 85075, Fix PowerPC __float182/__ibm128 types and mangling

2018-04-16 Thread Michael Meissner
On Mon, Apr 16, 2018 at 11:53:13AM -0500, Segher Boessenkool wrote: > Hi! > > Thank you for working on this. > > On Sun, Apr 15, 2018 at 03:50:44PM -0400, Michael Meissner wrote: > > PR target/85075 shows that there are some problems with the types for the 3 > > 128-bit floating point types on

Re: [PATCH] PR 85075, Fix PowerPC __float182/__ibm128 types and mangling

2018-04-16 Thread Segher Boessenkool
Hi! Thank you for working on this. On Sun, Apr 15, 2018 at 03:50:44PM -0400, Michael Meissner wrote: > PR target/85075 shows that there are some problems with the types for the 3 > 128-bit floating point types on the PowerPC: > > __float128 (and _Float128 in C, IEEE 128-bit) >

Re: [PATCH] PR 85075, Fix PowerPC __float182/__ibm128 types and mangling

2018-04-15 Thread Michael Meissner
I should mention that the x86_64 port has the same issue with mangling if you use the -mlong-double-128 option, since __float128 and long double use the same mangling. -- Michael Meissner, IBM IBM, M/S 2506R, 550 King Street, Littleton, MA 01460-6245, USA email: meiss...@linux.vnet.ibm.com,

[PATCH] PR 85075, Fix PowerPC __float182/__ibm128 types and mangling

2018-04-15 Thread Michael Meissner
PR target/85075 shows that there are some problems with the types for the 3 128-bit floating point types on the PowerPC: __float128 (and _Float128 in C, IEEE 128-bit) __ieee128 (IBM extended double) long double (either IEEE 128-bit or IBM extended double)