This is the mail archive of the 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]

Re: [PATCH v3 1/9] Add new exp and exp2 implementations

On 02/07/18 22:43, Joseph Myers wrote:
On Fri, 29 Jun 2018, Szabolcs Nagy wrote:
There are sufficiently many different cases in the code (fma or not (maybe
that one's more of an issue for some of the other patches),
and EXP_TABLE_BITS and EXP_POLY_WIDE) that I think clear information is
needed about how those different cases have been tested and what purpose
they all serve.  My starting expectation is that there should be one value
of EXP_POLY_ORDER and one value of EXP_TABLE_BITS in glibc (and probably
likewise for some other macros), without multiple alternative code choices
in glibc (possibly with #error in appropriate cases to make clear they
aren't supported in glibc), unless there is some reason different choices
are appropriate for different architectures - there should not be lots of
different cases in code and tables of data that are not actually used in
any glibc configuration.

ok i'll remove the unused variants.

they are there in case the tradeoffs i selected are deemed inappropriate
for some reason, but there is not much gain configuring these so i think
i should just drop the unused variants.. i'll keep separate code paths

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