glibc/sysdeps/ieee754
Adhemerval Zanella b81252c4b9 math: Consolidate coshf and sinhf internal tables
The libm size improvement built with "--enable-stack-protector=strong
--enable-bind-now=yes --enable-fortify-source=2":

Before:

   text    data     bss     dec     hex filename
 585192     860      12  586064   8f150 aarch64-linux-gnu/math/libm.so
 960775    1068      12  961855   ead3f x86_64-linux-gnu/math/libm.so
1189174    5544     368 1195086  123c4e powerpc64le-linux-gnu/math/libm.so

After:

   text    data     bss     dec     hex filename
 584952     860      12  585824   8f060 aarch64-linux-gnu/math/libm.so
 960615    1068      12  961695   eac9f x86_64-linux-gnu/math/libm.so
1189078    5544     368 1194990  123bee powerpc64le-linux-gnu/math/libm.so

The are small code changes for x86_64 and powerpc64le, which do not
affect performance; but on aarch64 with gcc-14 I see a slight better
code generation due the usage of ldq for floating point constant loading.
Reviewed-by: Andreas K. Huettel <dilfridge@gentoo.org>
2025-02-12 16:31:57 -03:00
..
dbl-64 Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
float128 Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
flt-32 math: Consolidate coshf and sinhf internal tables 2025-02-12 16:31:57 -03:00
ldbl-64-128 Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
ldbl-96 Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
ldbl-128 Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
ldbl-128ibm Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
ldbl-128ibm-compat Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
ldbl-opt Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
soft-fp Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
Makefile
ieee754.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
k_standard.c Use copysign functions not __copysign functions in glibc libm. 2018-09-27 20:04:48 +00:00
k_standardf.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
k_standardl.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
libm-alias-finite.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_lib_version.c Simplify math-svid-compat code. 2017-08-28 15:19:52 +00:00
s_matherr.c Obsolete matherr, _LIB_VERSION, libieee.a. 2017-08-21 17:45:10 +00:00
s_signgam.c Remove unnecessary math_private.h includes. 2018-09-28 21:53:33 +00:00