math: Remove powerpc e_hypot
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Sun, 4 Apr 2021 02:52:45 +0000 (23:52 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 13 Dec 2021 12:08:07 +0000 (09:08 -0300)
commit2eb1cd2f47fe6568c539fa105551bb73df8368ec
tree8404bf6b82969a864d916c1bdbda844fad7231e2
parenta1d3c9b64266d84736ba8eac96aa864165905b79
math: Remove powerpc e_hypot

The generic implementation is shows only slight worse performance:

POWER10    reciprocal-throughput    latency
master                   8.28478    13.7253
new hypot                7.21945    13.1933

POWER9     reciprocal-throughput    latency
master                   13.4024    14.0967
new hypot                14.8479    15.8061

POWER8     reciprocal-throughput    latency
master                   15.5767    16.8885
new hypot                16.5371    18.4057

One way to improve might to make gcc generate xsmaxdp/xsmindp for
fmax/fmin (it onl does for -ffast-math, clang does for default
options).

Checked on powerpc64-linux-gnu (power8) and powerpc64le-linux-gnu
(power9).
sysdeps/powerpc/fpu/e_hypot.c [deleted file]
sysdeps/powerpc/fpu/e_hypotf.c [deleted file]
sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c [deleted file]
sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c [deleted file]
sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c [deleted file]
sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c [deleted file]
sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c [deleted file]
sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c [deleted file]