[PATCH v2] Remove isinf uses that rely on signed return value
Joseph Myers
joseph@codesourcery.com
Thu Aug 20 14:39:00 GMT 2015
On Thu, 20 Aug 2015, Wilco Dijkstra wrote:
> I found a few more cases where isinf is used to get the signbit. Clean
> these up to improve the readability and maintainability and allow
> inlining. Generated code is virtually identical once isinf is inlined
> using the GCC builtin.
>
> OK for commit?
What exactly are the dependencies of this patch and their review state?
My understanding is that first we need to get in benchmarks for the
classification macros. Then, given such benchmarks checked in, the change
to use the built-in functions can be considered on the basis of evidence
from those benchmarks. Then, with the built-in functions in use, we can
consider patches like this based on such comparisons of code generated.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list