glibc/sysdeps/unix/sysv/linux/sh
Adhemerval Zanella Netto 16439f419b math: Remove the error handling wrapper from fmod and fmodf
The error handling is moved to sysdeps/ieee754 version with no SVID
support.  The compatibility symbol versions still use the wrapper
with SVID error handling around the new code.  There is no new symbol
version nor compatibility code on !LIBM_SVID_COMPAT targets
(e.g. riscv).

The ia64 is unchanged, since it still uses the arch specific
__libm_error_region on its implementation.  For both i686 and m68k,
which provive arch specific implementation, wrappers are added so
no new symbol are added (which would require to change the
implementations).

It shows an small improvement, the results for fmod:

  Architecture     | Input           | master   | patch
  -----------------|-----------------|----------|--------
  x86_64 (Ryzen 9) | subnormals      | 12.5049  | 9.40992
  x86_64 (Ryzen 9) | normal          | 296.939  | 296.738
  x86_64 (Ryzen 9) | close-exponents | 16.0244  | 13.119
  aarch64 (N1)     | subnormal       | 6.81778  | 4.33313
  aarch64 (N1)     | normal          | 155.620  | 152.915
  aarch64 (N1)     | close-exponents | 8.21306  | 5.76138
  armhf (N1)       | subnormal       | 15.1083  | 14.5746
  armhf (N1)       | normal          | 244.833  | 241.738
  armhf (N1)       | close-exponents | 21.8182  | 22.457

Checked on x86_64-linux-gnu, i686-linux-gnu, and aarch64-linux-gnu.
Reviewed-by: Wilco Dijkstra  <Wilco.Dijkstra@arm.com>
2023-04-03 16:45:27 -03:00
..
be math: Remove the error handling wrapper from fmod and fmodf 2023-04-03 16:45:27 -03:00
bits Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
le math: Remove the error handling wrapper from fmod and fmodf 2023-04-03 16:45:27 -03:00
sh3 Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
sh4 Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
sys Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
____longjmp_chk.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
adaptive_spin_count.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
arch-syscall.h Update syscall lists for Linux 5.17 2022-03-23 17:11:56 +00:00
atomic-machine.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
c++-types.data SH: Consolidate nptl/ subdirectories under linux/..... 2014-06-23 09:23:12 -07:00
clone.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
configure Move architecture cases out of sysdeps/unix/sysv/linux/configure.ac. 2014-06-24 20:53:03 +00:00
configure.ac Move architecture cases out of sysdeps/unix/sysv/linux/configure.ac. 2014-06-24 20:53:03 +00:00
fanotify_mark.c linux: Add fanotify_mark C implementation 2021-11-25 09:56:57 -03:00
Implies NPTL is no longer an add-on! 2014-07-07 09:29:06 -07:00
kernel_sigaction.h m68k: Fix sigaction kernel definition (BZ #23960) 2018-12-18 16:45:10 -02:00
kernel_stat.h linux: Set default kernel_stat.h to LFS 2021-02-11 07:58:05 -03:00
kernel-features.h Linux: Assume and consolidate getpeername wire-up syscall 2023-02-20 10:20:44 -03:00
localplt.data elf: Rework exception handling in the dynamic loader [BZ #25486] 2022-11-03 09:39:31 +01:00
lowlevel-atomic.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
makecontext.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
Makefile SH: ____longjmp_chk for GNU/Linux with sigaltstack support. 2012-06-23 11:56:02 +02:00
pointer_guard.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
shlib-versions Move malloc hooks into a compat DSO 2021-07-22 18:37:59 +05:30
sigaltstack-offsets.sym SH: ____longjmp_chk for GNU/Linux with sigaltstack support. 2012-06-23 11:56:02 +02:00
sigcontextinfo.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
syscall.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
syscalls.list linux: Add prlimit64 C implementation 2021-11-30 13:13:03 -03:00
sysdep.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
sysdep.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
time64-compat.h y2038: Add support for 64-bit time on legacy ABIs 2021-06-15 10:42:11 -03:00
Versions Linux: Move wordsize-32 Version to default 2023-02-20 10:19:25 -03:00
vfork.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
xstatver.h Linux: make generic xstatver.h the default one 2022-12-07 14:40:36 -03:00