diff options
author | Shawn Landden <shawn@git.icu> | 2019-05-29 16:11:06 -0300 |
---|---|---|
committer | Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com> | 2020-02-19 17:29:15 -0300 |
commit | cedb79470b005cd86a6c81ebf3de7fb1066ec763 (patch) | |
tree | 5e96180bb8673b9f070968c62cce3388f6c785d5 /resolv/tst-resolv-basic.c | |
parent | af60f86c7c3b1ec3b42945e53be33fde5baaf757 (diff) | |
download | glibc-cedb79470b005cd86a6c81ebf3de7fb1066ec763.zip glibc-cedb79470b005cd86a6c81ebf3de7fb1066ec763.tar.gz glibc-cedb79470b005cd86a6c81ebf3de7fb1066ec763.tar.bz2 |
PPC64: Add libmvec SIMD double-precision natural exponent function [BZ #24209]
Passes all tests.
Unlike other libmvec functions, this sets the underflow and overflow bits.
The caller can check these flags, and possibly re-run the calculations with
scalar expf to figure out what is causing the overflow or underflow.
The special-case path is not vectorized, and performs much worse than
the scalar code.
Normalized data: 1 to 2^32 converted to double
Running 20 times over 32MiB
vector: mean 563.807107 MiB/s (sd 0.390922)
scalar: mean 226.527824 MiB/s (sd 0.077406)
Random data:
vector: mean 80.175986 MiB/s (sd 1.110948)
scalar: mean 244.738130 MiB/s (sd 0.029561)
Reviewed-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
Diffstat (limited to 'resolv/tst-resolv-basic.c')
0 files changed, 0 insertions, 0 deletions