diff options
author | Wilco Dijkstra <wilco.dijkstra@arm.com> | 2023-04-17 12:42:18 +0100 |
---|---|---|
committer | Wilco Dijkstra <wilco.dijkstra@arm.com> | 2023-04-17 13:03:10 +0100 |
commit | 76d0f094dd177e303b36d7b77e21673f244a4b53 (patch) | |
tree | b8cfddb70177f13d48445665b40d0bca62a51878 /Makerules | |
parent | 2623479105a7e11ccd1e504b3f549cadbb875a42 (diff) | |
download | glibc-76d0f094dd177e303b36d7b77e21673f244a4b53.tar glibc-76d0f094dd177e303b36d7b77e21673f244a4b53.tar.gz glibc-76d0f094dd177e303b36d7b77e21673f244a4b53.tar.bz2 glibc-76d0f094dd177e303b36d7b77e21673f244a4b53.zip |
math: Improve fmod(f) performance
Optimize the fast paths (x < y) and (x/y < 2^12). Delay handling of special
cases to reduce the number of instructions executed before the fast paths.
Performance improvements for fmod:
Skylake Zen2 Neoverse V1
subnormals 11.8% 4.2% 11.5%
normal 3.9% 0.01% -0.5%
close-exponents 6.3% 5.6% 19.4%
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'Makerules')
0 files changed, 0 insertions, 0 deletions