This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Move -mlong-double-128 away from platform-agnostic files
- From: Tulio Magno Quites Machado Filho <tuliom at linux dot ibm dot com>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: libc-alpha at sourceware dot org
- Cc:
- Date: Fri, 01 Jun 2018 12:50:09 -0300
- Subject: Re: [PATCH] Move -mlong-double-128 away from platform-agnostic files
- References: <20180528220027.30943-1-tuliom@linux.ibm.com> <alpine.DEB.2.20.1805312124340.10808@digraph.polyomino.org.uk>
Joseph Myers <joseph@codesourcery.com> writes:
> On Mon, 28 May 2018, Tulio Magno Quites Machado Filho wrote:
>
>> This was not a problem because all the architectures implying these
>> directories had to use -mlong-double-128 to set their long double type.
>> As powerpc64le is changing its default long double type to be binary
>> compatible with IEEE 128-bit floating point, this will have to change.
>
> But as far as I know the option is still supported for powerpc64le. And
> indeed it works fine together with -mabi=ieeelongdouble, and does not
> change the format away from IEEE, and -mlong-double-64 also works together
> with -mabi=ieeelongdouble (overriding it to make long double have the same
> ABI as double).
>
> So what is the actual problem you're trying to fix here?
I'm trying to avoid compiler calls like this:
gcc ... -mlong-double-128 ... \
... -mabi=ieeelongdouble ...
Because they make it hard to understand which long double format is being used
in a multiline compiler command.
--
Tulio Magno