This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Adding __float128 (i.e TS 18661-3)
- From: Joseph Myers <joseph at codesourcery dot com>
- To: "Paul E. Murphy" <murphyp at linux dot vnet dot ibm dot com>
- Cc: "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>, Steve Munroe <sjmunroe at us dot ibm dot com>
- Date: Thu, 9 Jun 2016 20:46:07 +0000
- Subject: Re: Adding __float128 (i.e TS 18661-3)
- Authentication-results: sourceware.org; auth=none
- References: <572BB6DF dot 7090709 at linux dot vnet dot ibm dot com> <alpine dot DEB dot 2 dot 20 dot 1605052236310 dot 24016 at digraph dot polyomino dot org dot uk> <572CD397 dot 2090405 at linux dot vnet dot ibm dot com> <alpine dot DEB dot 2 dot 20 dot 1605062118090 dot 15027 at digraph dot polyomino dot org dot uk> <c6fdca14-2c5a-4b9a-8dd9-25630c6a100e at linux dot vnet dot ibm dot com>
On Thu, 9 Jun 2016, Paul E. Murphy wrote:
> Macros added via math.h
>
> From TS 18661-3:
>
> FP_FAST_FMA HUGE_VAL
I should take this opportunity to give a reminder:
A handful of GCC built-in functions should be added for float128 support,
and are not currently present in the powerpc port. You should add
__builtin_infq __builtin_huge_valq __builtin_fabsq __builtin_copysignq as
on x86 (or if you wish, use *f128 names instead of *q - *f128 may be
better as in line with TS 18661-3 naming), plus __builtin_nan*
__builtin_nans* which I noted in GCC bugs 71241 and 71242 are missing for
x86 / ia64.
HUGE_VALF128 can then be defined as (__builtin_hugevalf128 ()).
--
Joseph S. Myers
joseph@codesourcery.com