Re: Resend: Potential upcoming changes in mangling to PowerPC GCC

2022-08-10 Thread Tulio Magno Quites Machado Filho via Gcc
Segher Boessenkool writes: > You can write > double convert (__ibm128 x) { return x; } > double convert (__ieee128 x) { return x; } > as well. "__ieee128" and "long double" are the same type then (and the > same as _Float128 and __float128 as well). Oh! I see. Thanks! Going back

Re: Resend: Potential upcoming changes in mangling to PowerPC GCC

2022-08-10 Thread Segher Boessenkool
On Wed, Aug 10, 2022 at 04:55:42PM -0300, Tulio Magno Quites Machado Filho wrote: > Michael Meissner via Gcc writes: > > Because long double mangles the same as either __float128 or __ibm128, you > > cannot write programs like: > > > > double convert (__ibm128x) { return x; } > > doub

Re: Resend: Potential upcoming changes in mangling to PowerPC GCC

2022-08-10 Thread Tulio Magno Quites Machado Filho via Gcc
Michael Meissner via Gcc writes: > Because long double mangles the same as either __float128 or __ibm128, you > cannot write programs like: > > double convert (__ibm128x) { return x; } > double convert (__float128 x) { return x; } > double convert (long double x) { return x

Re: Resend: Potential upcoming changes in mangling to PowerPC GCC

2022-08-10 Thread Segher Boessenkool
On Mon, Aug 08, 2022 at 05:44:36PM -0400, Michael Meissner wrote: > On Thu, Aug 04, 2022 at 03:53:55PM -0500, Segher Boessenkool wrote: > > On Thu, Aug 04, 2022 at 01:48:51PM -0400, Michael Meissner wrote: > > It would be a lot simpler and less roundabout and inside out if we could > > do this the

Re: Resend: Potential upcoming changes in mangling to PowerPC GCC

2022-08-08 Thread Michael Meissner via Gcc
On Thu, Aug 04, 2022 at 03:53:55PM -0500, Segher Boessenkool wrote: > Hi! > > On Thu, Aug 04, 2022 at 01:48:51PM -0400, Michael Meissner wrote: > > At the moment, GCC 12 on the server PowerPC systems supports multiple > > 128-bit > > floating point types: > > > > * _Float128 (in the C

Re: Resend: Potential upcoming changes in mangling to PowerPC GCC

2022-08-04 Thread Segher Boessenkool
Hi! On Thu, Aug 04, 2022 at 01:48:51PM -0400, Michael Meissner wrote: > At the moment, GCC 12 on the server PowerPC systems supports multiple 128-bit > floating point types: > > * _Float128 (in the C language): IEEE 128-bit floating point; > > * __float128 (in the C and C++ languages): I

Resend: Potential upcoming changes in mangling to PowerPC GCC

2022-08-04 Thread Michael Meissner via Gcc
This is the same message I sent out before. I'm resending it to include libc-al...@sourceware.org in the To: list. Sorry for the scatter shot mail that covers C++, Objective C++, Glibc, etc. developers, but I wanted to discuss and get buy-in on changes to the PowerPC GCC compiler that I would lik