[PATCH 0/3] Optimize dbl-64 remainder implementation
Adhemerval Zanella
adhemerval.zanella@linaro.org
Thu Sep 11 17:13:19 GMT 2025
The commit 34b9f8bc17 provides an optimized fmod implementation; use
the same strategy used for remainderf and implement the double variant
on top of fmod.
Adhemerval Zanella (3):
benchtests: Add remainder benchtest
math: Optimize dbl-64 remainder implementation
math: Remove clz_uint64/ctz_uint64 and use stdbit.h
benchtests/Makefile | 2 +
benchtests/remainder-inputs | 2182 ++++++++++++++++++++++++++
sysdeps/ieee754/dbl-64/e_fmod.c | 6 +-
sysdeps/ieee754/dbl-64/e_remainder.c | 202 +--
sysdeps/ieee754/dbl-64/math_config.h | 21 +-
sysdeps/ieee754/dbl-64/urem.h | 45 -
6 files changed, 2251 insertions(+), 207 deletions(-)
create mode 100644 benchtests/remainder-inputs
delete mode 100644 sysdeps/ieee754/dbl-64/urem.h
--
2.43.0
More information about the Libc-alpha
mailing list