mbox series

[00/10] Remove the SVID wrapper from CORE-MATH functions.

Message ID 20241219202003.2651277-1-adhemerval.zanella@linaro.org
Headers show
Series Remove the SVID wrapper from CORE-MATH functions. | expand

Message

Adhemerval Zanella Netto Dec. 19, 2024, 8:13 p.m. UTC
It only adds performance overhead for the optimized implementations.
As from previous similar work, it requires new symbol versions.

Adhemerval Zanella (10):
  benchtests: Add lgammaf_r benchmark
  math: Remove the error handling wrapper from log10f
  math: Remove the error handling wrapper from lgammaf/lgammaf_r
  math: Remove the error handling wrapper from acosf
  math: Remove the error handling wrapper from asinf
  math: Remove the error handling wrapper from acoshf
  math: Remove the error handling wrapper from atan2f
  math: Remove the error handling wrapper from atanhf
  math: Remove the error handling wrapper from coshf
  math: Remove the error handling wrapper from sinhf

 benchtests/Makefile                           |    1 +
 benchtests/lgammaf_r-inputs                   | 1005 +++++++++++++++++
 math/Versions                                 |   10 +
 math/lgamma-compat.h                          |   15 +-
 math/w_acosf.c                                |    8 +
 math/w_acosf_compat.c                         |   10 +-
 math/w_acoshf.c                               |    8 +
 math/w_acoshf_compat.c                        |    6 +-
 math/w_asinf.c                                |    8 +
 math/w_asinf_compat.c                         |   10 +-
 math/w_atan2f.c                               |    8 +
 math/w_atan2f_compat.c                        |   11 +-
 math/w_atanhf.c                               |    8 +
 math/w_atanhf_compat.c                        |   11 +-
 math/w_coshf.c                                |    8 +
 math/w_coshf_compat.c                         |   12 +-
 math/w_lgammaf_compat2.c                      |    2 +-
 math/w_lgammaf_main.c                         |    7 +-
 math/w_log10f.c                               |    8 +
 math/w_log10f_compat.c                        |   10 +-
 math/w_sinhf.c                                |    8 +
 math/w_sinhf_compat.c                         |   11 +-
 sysdeps/ieee754/flt-32/e_acosf.c              |   11 +-
 sysdeps/ieee754/flt-32/e_acoshf.c             |   11 +-
 sysdeps/ieee754/flt-32/e_asinf.c              |   11 +-
 sysdeps/ieee754/flt-32/e_atan2f.c             |   19 +-
 sysdeps/ieee754/flt-32/e_atanhf.c             |   11 +-
 sysdeps/ieee754/flt-32/e_coshf.c              |   11 +-
 sysdeps/ieee754/flt-32/e_lgammaf_r.c          |   12 +-
 sysdeps/ieee754/flt-32/e_log10f.c             |   11 +-
 sysdeps/ieee754/flt-32/e_sinhf.c              |   13 +-
 sysdeps/ieee754/flt-32/w_acosf.c              |    1 +
 sysdeps/ieee754/flt-32/w_acoshf.c             |    1 +
 sysdeps/ieee754/flt-32/w_asinf.c              |    1 +
 sysdeps/ieee754/flt-32/w_atan2f.c             |    1 +
 sysdeps/ieee754/flt-32/w_atanhf.c             |    1 +
 sysdeps/ieee754/flt-32/w_coshf.c              |    1 +
 sysdeps/ieee754/flt-32/w_lgammaf.c            |   17 +
 sysdeps/ieee754/flt-32/w_log10f.c             |    1 +
 sysdeps/ieee754/flt-32/w_sinhf.c              |    1 +
 sysdeps/m68k/m680x0/fpu/w_acosf_compat.c      |    8 +
 sysdeps/m68k/m680x0/fpu/w_asinf_compat.c      |    8 +
 sysdeps/m68k/m680x0/fpu/w_atan2f_compat.c     |    8 +
 sysdeps/m68k/m680x0/fpu/w_atanhf_compat.c     |    8 +
 sysdeps/m68k/m680x0/fpu/w_coshf_compat.c      |    8 +
 sysdeps/m68k/m680x0/fpu/w_log10f_compat.c     |    8 +
 sysdeps/m68k/m680x0/fpu/w_sinhf_compat.c      |    8 +
 sysdeps/mach/hurd/i386/libm.abilist           |   10 +
 sysdeps/unix/sysv/linux/aarch64/libm.abilist  |   10 +
 sysdeps/unix/sysv/linux/alpha/libm.abilist    |   10 +
 sysdeps/unix/sysv/linux/arm/be/libm.abilist   |   10 +
 sysdeps/unix/sysv/linux/arm/le/libm.abilist   |   10 +
 sysdeps/unix/sysv/linux/hppa/libm.abilist     |   10 +
 sysdeps/unix/sysv/linux/i386/libm.abilist     |   10 +
 .../sysv/linux/m68k/coldfire/libm.abilist     |   10 +
 .../unix/sysv/linux/m68k/m680x0/libm.abilist  |    3 +
 .../sysv/linux/microblaze/be/libm.abilist     |   10 +
 .../sysv/linux/microblaze/le/libm.abilist     |   10 +
 .../unix/sysv/linux/mips/mips32/libm.abilist  |   10 +
 .../unix/sysv/linux/mips/mips64/libm.abilist  |   10 +
 .../linux/powerpc/powerpc32/fpu/libm.abilist  |   10 +
 .../powerpc/powerpc32/nofpu/libm.abilist      |   10 +
 .../linux/powerpc/powerpc64/be/libm.abilist   |   10 +
 .../linux/powerpc/powerpc64/le/libm.abilist   |   10 +
 .../unix/sysv/linux/s390/s390-32/libm.abilist |   10 +
 .../unix/sysv/linux/s390/s390-64/libm.abilist |   10 +
 sysdeps/unix/sysv/linux/sh/be/libm.abilist    |   10 +
 sysdeps/unix/sysv/linux/sh/le/libm.abilist    |   10 +
 .../sysv/linux/sparc/sparc32/libm.abilist     |   10 +
 .../sysv/linux/sparc/sparc64/libm.abilist     |   10 +
 .../unix/sysv/linux/x86_64/64/libm.abilist    |   10 +
 .../unix/sysv/linux/x86_64/x32/libm.abilist   |   10 +
 72 files changed, 1573 insertions(+), 46 deletions(-)
 create mode 100644 benchtests/lgammaf_r-inputs
 create mode 100644 math/w_acosf.c
 create mode 100644 math/w_acoshf.c
 create mode 100644 math/w_asinf.c
 create mode 100644 math/w_atan2f.c
 create mode 100644 math/w_atanhf.c
 create mode 100644 math/w_coshf.c
 create mode 100644 math/w_log10f.c
 create mode 100644 math/w_sinhf.c
 create mode 100644 sysdeps/ieee754/flt-32/w_acosf.c
 create mode 100644 sysdeps/ieee754/flt-32/w_acoshf.c
 create mode 100644 sysdeps/ieee754/flt-32/w_asinf.c
 create mode 100644 sysdeps/ieee754/flt-32/w_atan2f.c
 create mode 100644 sysdeps/ieee754/flt-32/w_atanhf.c
 create mode 100644 sysdeps/ieee754/flt-32/w_coshf.c
 create mode 100644 sysdeps/ieee754/flt-32/w_lgammaf.c
 create mode 100644 sysdeps/ieee754/flt-32/w_log10f.c
 create mode 100644 sysdeps/ieee754/flt-32/w_sinhf.c
 create mode 100644 sysdeps/m68k/m680x0/fpu/w_acosf_compat.c
 create mode 100644 sysdeps/m68k/m680x0/fpu/w_asinf_compat.c
 create mode 100644 sysdeps/m68k/m680x0/fpu/w_atan2f_compat.c
 create mode 100644 sysdeps/m68k/m680x0/fpu/w_atanhf_compat.c
 create mode 100644 sysdeps/m68k/m680x0/fpu/w_coshf_compat.c
 create mode 100644 sysdeps/m68k/m680x0/fpu/w_log10f_compat.c
 create mode 100644 sysdeps/m68k/m680x0/fpu/w_sinhf_compat.c