This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH], Add optional IEEE/IBM long double multilib support
- From: Michael Meissner <meissner at linux dot vnet dot ibm dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Michael Meissner <meissner at linux dot vnet dot ibm dot com>, Joseph Myers <joseph at codesourcery dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, Segher Boessenkool <segher at kernel dot crashing dot org>, David Edelsohn <dje dot gcc at gmail dot com>, Bill Schmidt <wschmidt at linux dot vnet dot ibm dot com>
- Date: Fri, 5 Jan 2018 14:26:37 -0500
- Subject: Re: [PATCH], Add optional IEEE/IBM long double multilib support
- Authentication-results: sourceware.org; auth=none
- References: <20180104230555.GA4847@ibm-tiger.the-meissners.org> <alpine.DEB.2.20.1801051712320.14880@digraph.polyomino.org.uk> <20180105190751.GA26283@ibm-tiger.the-meissners.org> <20180105192257.GE1833@tucnak>
On Fri, Jan 05, 2018 at 08:22:57PM +0100, Jakub Jelinek wrote:
> On Fri, Jan 05, 2018 at 02:07:51PM -0500, Michael Meissner wrote:
> > Yes, in C code _Float128 _Comples works. The trouble is compiling
> > libstdc++-v3. In C++, we don't have _Float128, and __float128 _Complex does
> > not work for either x86 or PowerPC. So on PowerPC the code from bits/floatn.h
> > is:
>
> Well, libstdc++-v3 should be certainly easier than glibc, at least assuming
> that ICmode mangles differently from KCmode, because it should be just a
> matter of compiling the subset of symbols refering to long double twice.
Yep. But as I said, I think we will need the crutch of having multilibs
initially.
--
Michael Meissner, IBM
IBM, M/S 2506R, 550 King Street, Littleton, MA 01460-6245, USA
email: meissner@linux.vnet.ibm.com, phone: +1 (978) 899-4797