This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Move -mlong-double-128 away from platform-agnostic files


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]