This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Making __builtin_signbit type-generic


On Mon, Jul 6, 2015 at 11:49 AM, FX <fxcoudert@gmail.com> wrote:

> 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?

Please look at builtins.def, grep for TYPEGENERIC.

Uros.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]