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