This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Use builtins in fabs implementations
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Wilco Dijkstra <wdijkstr at arm dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Fri, 22 May 2015 14:22:34 +0000
- Subject: Re: [PATCH] Use builtins in fabs implementations
- Authentication-results: sourceware.org; auth=none
- References: <000701d0947d$22cc6db0$68654910$ at com>
On Fri, 22 May 2015, Wilco Dijkstra wrote:
> Since GLIBC is built with a modern GCC which always inlines
> __builtin_fabs, it is safe to use the builtin for the definitions of
> fabs and fabsf (fabsl is typically emulated and unsafe in some cases,
> see https://sourceware.org/ml/libc-alpha/2015-05/msg00336.html). This
> means targets no longer need to define their own implementations.
>
> OK for commit?
OK if you've at least run the math/ tests with clean results for at least
one configuration.
--
Joseph S. Myers
joseph@codesourcery.com