This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [middle-end,patch] Making __builtin_signbit type-generic
- From: FX <fxcoudert at gmail dot com>
- To: Paolo Carlini <paolo dot carlini at oracle dot com>
- Cc: Jeff Law <law at redhat dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>, Uros Bizjak <ubizjak at gmail dot com>, Joseph Myers <joseph at codesourcery dot com>, libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Wed, 19 Aug 2015 08:50:20 +0200
- Subject: Re: [middle-end,patch] Making __builtin_signbit type-generic
- Authentication-results: sourceware.org; auth=none
- References: <BB1A5070-5A21-4393-A5B8-0C320B020902 at gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1508171522570 dot 29836 at digraph dot polyomino dot org dot uk> <C8DC1045-215B-4FCF-8EA3-F2E08A8E325F at gmail dot com> <55D374AB dot 20207 at redhat dot com> <B8E8B6D1-75AE-4639-8C97-21768EB8B3CB at gmail dot com> <55D39531 dot 5000104 at oracle dot com>
> .. I think this improvement means that in principle we could revert what we committed for libstdc++/58625, thus increasing a little the consistency wrt the other classification facilities in c_global/cmath (and c_std/cmath). Not sure it's worth it.
Can’t comment on whether it’s worth doing, but yes, with the type-generic __builtin_signbit you can revert that patch with no change to the generated code.
FX