This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH 0/7] Improve rounding mode changes, v3
- From: Richard Henderson <rth at twiddle dot net>
- To: libc-alpha at sourceware dot org
- Date: Sun, 18 Mar 2012 16:46:25 -0700
- Subject: [PATCH 0/7] Improve rounding mode changes, v3
Version 3:
* Updated to mainline.
* Added optimizations for 387 fpu fenv access.
r~
Richard Henderson (7):
Make inline __isnan, __isinf_ns, __finite generic.
Convert libc_feholdexcept et al from macros to inline functions.
i386: Convert libc_{feholdexcept_setround,updateenv}_53bit to
functions.
Create and use SET_RESTORE_ROUND{,_NOEX}{,F,L}.
Create and use libc_feupdateenv_test.
i386/x86_64: Optimize feholdexcept.
Optimize private 387 fenv access; share code between i386 and x86_64.
sysdeps/generic/math_private.h | 225 +++++++++++++---
sysdeps/i386/fpu/feholdexcpt.c | 17 +-
sysdeps/i386/fpu/fenv_private.h | 304 +++++++++++++++++++++
sysdeps/i386/fpu/math_private.h | 44 +---
sysdeps/ieee754/dbl-64/e_exp.c | 4 +-
sysdeps/ieee754/dbl-64/e_exp2.c | 97 ++++----
sysdeps/ieee754/dbl-64/e_pow.c | 4 +-
sysdeps/ieee754/dbl-64/s_fma.c | 25 +-
sysdeps/ieee754/dbl-64/s_fmaf.c | 12 +-
sysdeps/ieee754/dbl-64/s_sin.c | 8 +-
sysdeps/ieee754/dbl-64/s_tan.c | 4 +-
sysdeps/ieee754/dbl-64/wordsize-64/math_private.h | 35 +++
sysdeps/ieee754/flt-32/e_exp2f.c | 89 +++---
sysdeps/ieee754/flt-32/e_expf.c | 49 ++--
sysdeps/ieee754/flt-32/math_private.h | 35 +++
sysdeps/x86_64/fpu/feholdexcpt.c | 21 +-
sysdeps/x86_64/fpu/math_private.h | 105 +-------
17 files changed, 722 insertions(+), 356 deletions(-)
create mode 100644 sysdeps/i386/fpu/fenv_private.h
create mode 100644 sysdeps/ieee754/dbl-64/wordsize-64/math_private.h
create mode 100644 sysdeps/ieee754/flt-32/math_private.h
--
1.7.7.6