diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-03-28 19:14:04 +0000 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-07-08 17:22:22 -0300 |
commit | 105f2ed368ed61785a0a63ddb47fc62b89b58e0d (patch) | |
tree | 512ec7360e796ba58b8b44444b4a341a7a922379 /ChangeLog | |
parent | 0cccd37f70ba629a32773d6f253cb69a893fa652 (diff) | |
download | glibc-105f2ed368ed61785a0a63ddb47fc62b89b58e0d.tar glibc-105f2ed368ed61785a0a63ddb47fc62b89b58e0d.tar.gz glibc-105f2ed368ed61785a0a63ddb47fc62b89b58e0d.tar.bz2 glibc-105f2ed368ed61785a0a63ddb47fc62b89b58e0d.zip |
math: Use wordsize-64 version for s_logb
- The resulting binary difference on 32 bits architecture is
minimum. On i686-linux-gnu (with architecture optimization
routine removed) there is no different using logb benchtests
- It helps wordsize-64 architectures that use ldbl-opt.
- It add some code simplification with reduction of duplicated
implementations.
Checked on powerpc-linux-gnu (built without --with-cpu, with
--with-cpu=power4 and with --with-cpu=power5+ and --disable-multi-arch),
powerpc64-linux-gnu (built without --with-cp and with --with-cpu=power5+
and --disable-multi-arch).
* sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
* sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
powerpc32 integer 0 converting to -0.
Reviewed-by: Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,5 +1,9 @@ 2019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org> + * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ... + * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for + powerpc32 integer 0 converting to -0. + * benchtests/Makefile (bench-math): Add logb. * benchtests/logb-inputs: New file. * benchtests/logbf-inputs: New file. |