]> git.ipfire.org Git - thirdparty/glibc.git/commit
math: Consolidate acospif and asinpif internal tables
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 13 Feb 2025 19:35:44 +0000 (16:35 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 17 Feb 2025 13:09:09 +0000 (10:09 -0300)
commit1faccf388abb497fc9429126ae5e333daa24efb3
treed7b54c0e962874aeaa0d22291d86df181cac3b6f
parent246e52574d0c6dd3523a6e6f680b1599655f7aa1
math: Consolidate acospif and asinpif internal tables

The libm size improvement built with gcc-14, "--enable-stack-protector=strong
--enable-bind-now=yes --enable-fortify-source=2":

Before:

   text    data     bss     dec     hex filename
 583444     844      12  584300   8ea6c aarch64-linux-gnu/math/libm.so
 976349    1076      12  977437   eea1d x86_64-linux-gnu/math/libm.so
1204738    5608     368 1210714  12795a powerpc64le-linux-gnu/math/libm.so

After:

 582292     844      12  583148   8e5ec aarch64-linux-gnu/math/libm.so
 975133    1076      12  976221   ee55d x86_64-linux-gnu/math/libm.so
1203586    5608     368 1209562  1274da powerpc64le-linux-gnu/math/libm.so
Reviewed-by: Andreas K. Huettel <dilfridge@gentoo.org>
math/Makefile
sysdeps/ieee754/flt-32/s_acospif.c
sysdeps/ieee754/flt-32/s_asincospif_data.c [new file with mode: 0644]
sysdeps/ieee754/flt-32/s_asincospif_data.h [new file with mode: 0644]
sysdeps/ieee754/flt-32/s_asinpif.c