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]

Re: [PATCH] v11 Improves __ieee754_exp() performance by greater than 5x on sparc/x86.


On Fri, 2 Feb 2018, Szabolcs Nagy wrote:

> (i also removed the rounding mode settings in both cases
> as that can be avoided at least on aarch64)

There is or was certainly code in the existing exp that gives completely 
wrong results in non-default rounding modes (that was bug 3976) - e.g. 
using precision-extension techniques that require round-to-nearest - 
though I don't know if that applies to the fast case code or if it's only 
in code for slow cases (or code for slow cases but using other rounding 
modes results in the slow cases getting used much more).

-- 
Joseph S. Myers
joseph@codesourcery.com


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