Drop fenvinline.h - Was: [PATCH] powerpc: Fix feraiseexcept and feclearexcept macros
Tulio Magno Quites Machado Filho
tuliom@ascii.art.br
Wed Mar 4 16:06:00 GMT 2020
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
More information about the Libc-alpha
mailing list