]> sourceware.org Git - newlib-cygwin.git/commit
New pow implementation
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Tue, 26 Jun 2018 15:25:12 +0000 (16:25 +0100)
committerCorinna Vinschen <corinna@vinschen.de>
Wed, 27 Jun 2018 13:40:49 +0000 (15:40 +0200)
commitb99d49e506f595c4be91072fe0169a405ae16007
tree57ff07b7cd9110b22e64526ea5dc93ae734a0be5
parent07e2c328285e63c78d23ded96fd333afad35961d
New pow implementation

The new implementation is provided under !__OBSOLETE_MATH, it uses
ISO C99 code.  With default settings the worst case error in nearest
rounding mode is 0.54 ULP with inlined fma and fma contraction.  It uses
a 4 KB lookup table in addition to the table in exp_data.c, on aarch64
.text+.rodata size of libm.a is increased by 2295 bytes.

Improvements on Cortex-A72:
latency: 3.3x
thruput: 4.9x
newlib/libm/common/Makefile.am
newlib/libm/common/Makefile.in
newlib/libm/common/fdlibm.h
newlib/libm/common/math_config.h
newlib/libm/common/pow.c [new file with mode: 0644]
newlib/libm/common/pow_log_data.c [new file with mode: 0644]
newlib/libm/math/e_pow.c
newlib/libm/math/w_pow.c
This page took 0.03217 seconds and 5 git commands to generate.