This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: RFC: Patch to avoid using _finite calls in some cases (including in libmvec names)
- From: Wilco Dijkstra <Wilco dot Dijkstra at arm dot com>
- To: Szabolcs Nagy <Szabolcs dot Nagy at arm dot com>, Joseph Myers <joseph at codesourcery dot com>, "Ellcey, Steve" <Steve dot Ellcey at cavium dot com>, "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>
- Cc: nd <nd at arm dot com>
- Date: Thu, 14 Mar 2019 13:52:29 +0000
- Subject: Re: RFC: Patch to avoid using _finite calls in some cases (including in libmvec names)
Hi,
Clearly the best solution is to remove all finite renaming. Over the past years
we've removed a lot of unnecessary inlines, redirects and other nasty hacks
from GLIBC. GCC now sees the original functions and as a result can optimize far
better. This is just one of the last few remaining header hacks.
We use no veneers in the new optimized math functions and as a result they are
significantly faster, so there is no argument that the finite variants are useful or
improve performance. It is better to handle special cases in the main code rather
than do them in a veneer and thus need to check them twice...
So I believe we should be bold and go ahead with disabling the header completely.
Wilco