This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Making __builtin_signbit type-generic
- From: FX <fxcoudert at gmail dot com>
- To: GCC Development <gcc at gcc dot gnu dot org>
- Cc: Joseph Myers <joseph at codesourcery dot com>, Uros Bizjak <ubizjak at gmail dot com>
- Date: Mon, 6 Jul 2015 11:49:47 +0200
- Subject: Making __builtin_signbit type-generic
- Authentication-results: sourceware.org; auth=none
Hi,
Many of the floating point-related builtins are type-generic, including __builtin_{isfinite,isinf_sign,isinf,isnan,isnormal,isgreater,islesser,isunordered}. However, __builtin_signbit is not. It would make life easier for the implementation of IEEE in Fortran if it were, and probably for some other stuff too (PR 36757).
I donât know where to start and how to achieve that, though. Could someone who knows this middle-end FP stuff help?
Thanks,
FX