This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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]

Drop fenvinline.h - Was: [PATCH] powerpc: Fix feraiseexcept and feclearexcept macros


Adhemerval Zanella <adhemerval.zanella@linaro.org> writes:

> I mean the fenvinline.h altogether and the macro dance to avoid function
> calls.  It is similar to the ones on string{2,3}.h macros to optimize
> some function calls and I think it would be worth to avoid such optimization
> on glibc side and try to leverage them on compiler (as it does for various
> math functions with builtins).

That's a nice proposal in the long term, but it's better to involve the GCC
folks (Segher, Mike and Bill) before taking any decision.

The proposal here is to provide an inline expansion code in GCC for
fegetround(), feraiseexcept() and feclearexcept().

-- 
Tulio Magno


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