[PATCH v2 1/3] math: Remove fenvinline.h
Florian Weimer
fw@deneb.enyo.de
Tue Mar 10 11:29:39 GMT 2020
* Adhemerval Zanella:
> Similar to string2.h (18b10de7ce) and string3.h (09a596cc2c) this
> patch removes the fenvinline.h on all architectures. Currently
> only powerpc implements some optimizations. This kind of optimization
> is better implemented by the compiler (which handles the architecture
> ISA transparently).
>
> Also, for the specific optimized powerpc implementation the code is
> becoming convoluted and these micro-optimization are hardly wildly
> used, even more being a possible hotspot in realword cases
> (non-default rounding are used only on specific cases and exception
> handling are done most likely only on errors path). Only x86
> implements similar optimization (on fenv.h) also indicates that
> these should no be on libc.
Wasn't the idea to make this change only after the GCC optimizations
have been implemented?
More information about the Libc-alpha
mailing list