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

Joseph Myers joseph@codesourcery.com
Fri Feb 2 15:33:00 GMT 2018


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



More information about the Libc-alpha mailing list