diff options
author | Shawn Landden <shawn@git.icu> | 2019-05-27 12:47:16 -0500 |
---|---|---|
committer | Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com> | 2020-02-19 17:29:02 -0300 |
commit | af60f86c7c3b1ec3b42945e53be33fde5baaf757 (patch) | |
tree | fa386d02aff7c346310164265b861db22fc00edc /resolv/tst-resolv-basic.c | |
parent | 287ae18fbad9e62e533eb572e38589142449eb09 (diff) | |
download | glibc-af60f86c7c3b1ec3b42945e53be33fde5baaf757.zip glibc-af60f86c7c3b1ec3b42945e53be33fde5baaf757.tar.gz glibc-af60f86c7c3b1ec3b42945e53be33fde5baaf757.tar.bz2 |
PPC64: Add libmvec SIMD single-precision natural exponent function [BZ #24209]
Passes all tests.
Based off the ./sysdeps/ieee754/dbl-64/e_exp.c implementation,
and thus provides identical results.
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.
Suprisingly the special-case path performs as well as the normal path.
(both of which are vectorized)
Running 20 times over 32MiB
vector: mean 432.263032 MiB/s (sd 0.486733)
scalar: mean 178.646197 MiB/s (sd 0.050013)
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