about summary refs log tree commit diff
path: root/sysdeps/ia64/fpu/libm-test-ulps
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-04-09 16:38:27 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-06-19 12:08:52 -0300
commit3297d019e108aa9d16fc5a6a5aee0854f377f289 (patch)
tree354fbb1b8a72e34ebabbaee45d2b4cfc46129af4 /sysdeps/ia64/fpu/libm-test-ulps
parentbe668a8d782ab6bf363d4cdd7086295b5eebb8ea (diff)
downloadglibc-3297d019e108aa9d16fc5a6a5aee0854f377f289.tar.gz
glibc-3297d019e108aa9d16fc5a6a5aee0854f377f289.tar.xz
glibc-3297d019e108aa9d16fc5a6a5aee0854f377f289.zip
ia64: Use generic exp10f
The generic implementation is slight worse (Itanium(R) Processor 9020):

Before new code:
  "exp10f": {
   "workload-spec2017.wrf (adapted)": {
    "duration": 3.61582e+08,
    "iterations": 2.384e+07,
    "reciprocal-throughput": 14.8334,
    "latency": 15.5006,
    "max-throughput": 6.74153e+07,
    "min-throughput": 6.45136e+07
   }
  }

With new code:
  "exp10f": {
   "workload-spec2017.wrf (adapted)": {
    "duration": 3.85549e+08,
    "iterations": 2.384e+07,
    "reciprocal-throughput": 15.8391,
    "latency": 16.5056,
    "max-throughput": 6.31348e+07,
    "min-throughput": 6.05857e+07
   }
  }

However it fixes all the issues on both:

  math/test-float-exp10
  math/test-float32-exp10

(all the issues wrong results for non default rounding modes).

The existing ia64 libm interface uses matherrf and matherrl in addition
to matherr for SVID error handling. However, there is no such error
handling support for exp10f in ia64 libm.  So replacing it with the
generic implementation should be fine.

Checked on ia64-linux-gnu.
Diffstat (limited to 'sysdeps/ia64/fpu/libm-test-ulps')
-rw-r--r--sysdeps/ia64/fpu/libm-test-ulps3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/ia64/fpu/libm-test-ulps b/sysdeps/ia64/fpu/libm-test-ulps
index d0cab46c3b..249dd9e7e5 100644
--- a/sysdeps/ia64/fpu/libm-test-ulps
+++ b/sysdeps/ia64/fpu/libm-test-ulps
@@ -1057,12 +1057,15 @@ float: 1
 float128: 2
 
 Function: "exp10_downward":
+float: 1
 float128: 3
 
 Function: "exp10_towardzero":
+float: 1
 float128: 3
 
 Function: "exp10_upward":
+float: 1
 float128: 3
 
 Function: "exp2":