about summary refs log tree commit diff
path: root/math/w_scalb_compat.c
diff options
context:
space:
mode:
authorWilco Dijkstra <Wilco.Dijkstra@arm.com>2021-11-30 16:29:25 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-12-13 09:02:34 -0300
commitccfa865a82c648fde56864ea094f70ee1a8a944b (patch)
tree5d05ad55e786295bb8c49afa244ac9646a8ee98a /math/w_scalb_compat.c
parent6c848d70383e1dbe932ef41723ac0abfdeec7ca8 (diff)
downloadglibc-ccfa865a82c648fde56864ea094f70ee1a8a944b.tar.gz
glibc-ccfa865a82c648fde56864ea094f70ee1a8a944b.tar.xz
glibc-ccfa865a82c648fde56864ea094f70ee1a8a944b.zip
math: Improve hypot performance with FMA
Improve hypot performance significantly by using fma when available. The
fma version has twice the throughput of the previous version and 70% of
the latency.  The non-fma version has 30% higher throughput and 10%
higher latency.

Max ULP error is 0.949 with fma and 0.792 without fma.

Passes GLIBC testsuite.
Diffstat (limited to 'math/w_scalb_compat.c')
0 files changed, 0 insertions, 0 deletions