diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-03-26 17:32:26 +0000 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-06-12 14:32:39 -0300 |
commit | a8c590f7896ab661df873e64ad0cbb559d399dbf (patch) | |
tree | f1a0bde11bbffb6bb6ce68ed623a00176e475c69 /login | |
parent | 2666f96390b8283cf8dacd0d0f268bf06ff10eb8 (diff) | |
download | glibc-a8c590f7896ab661df873e64ad0cbb559d399dbf.tar glibc-a8c590f7896ab661df873e64ad0cbb559d399dbf.tar.gz glibc-a8c590f7896ab661df873e64ad0cbb559d399dbf.tar.bz2 glibc-a8c590f7896ab661df873e64ad0cbb559d399dbf.zip |
math: Use wordsize-64 version for isinf
- math.h will use compiler builtin for gcc 4.4 when built without
-fsignaling-nans and the builtin is expanded inline for all
support architectures. As an example, there is no intra isinf
call on libm for the architecture I checked, x86, arm, aarch64,
and powerpc.
- The resulting binary difference on 32 bits architecture is minimum
for the non hotspot symbol.
- 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_isinf.c: Move to ...
* sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
Reviewed-by: Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
Diffstat (limited to 'login')
0 files changed, 0 insertions, 0 deletions