glibc/sysdeps
Stefan Liebler cdd927d98c S390: Add z13 memmove ifunc variant.
This patch introduces a z13 specific ifunc variant for memmove.
As the common code implementation, it checks if we can copy from
the beginning to the end - with z196 memcpy implementation - or
if we have to copy from the end to the beginning.
The latter case is done by using vector load/store instructions.

If vector instructions are not available, the common-code is
used as fallback.  Therefore it is implemented in memmove-c with
a different name.
Furthermore the ifunc logic decides if we need the common-code
implementation at all.  If vector instructions are supported
due to the minimum architecture level set we can skip the
common-code ifunc variant.

ChangeLog:

	* sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
	* sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
	HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
	HAVE_MEMMOVE_C, MEMMOVE_C,  HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
	New defines.
	* sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
	* sysdeps/s390/memmove-c.c: New file.
	* sysdeps/s390/memmove.c: Likewise.
	* sysdeps/s390/multiarch/ifunc-impl-list.c
	(__libc_ifunc_impl_list): Add ifunc variants for memmove.
2018-12-18 13:57:08 +01:00
..
aarch64
alpha
arm
generic Use PRINTF_LDBL_IS_DBL instead of __ldbl_is_dbl. 2018-12-05 18:15:43 -02:00
gnu
hppa
htl htl: Fix comparing attr with default values 2018-12-01 21:42:12 +01:00
hurd
i386 x86: Merge i386/x86_64 atomic-machine.h 2018-12-18 04:25:26 -08:00
ia64 Remove the error handling wrapper from pow 2018-11-21 09:58:36 +00:00
ieee754 Fix powf overflow handling in non-nearest rounding mode [BZ #23961] 2018-12-11 10:01:43 +00:00
init_array
m68k Remove the error handling wrapper from pow 2018-11-21 09:58:36 +00:00
mach Do not clobber sp in _hurd_stack_setup. 2018-12-13 22:36:33 +00:00
microblaze
mips
nios2
nptl Use PRINTF_FORTIFY instead of _IO_FLAGS2_FORTIFY (bug 11319) 2018-12-05 18:15:43 -02:00
posix timespec_get (posix): Fix copyright header 2018-12-12 17:13:17 +01:00
powerpc powerpc: Add missing CFI register information (bug #23614) 2018-12-12 10:56:51 -02:00
pthread
riscv
s390 S390: Add z13 memmove ifunc variant. 2018-12-18 13:57:08 +01:00
sh
sparc
unix Do not clobber r12 for ia64 syscalls. 2018-12-17 18:31:50 +00:00
wordsize-32
wordsize-64
x86 x86: Merge i386/x86_64 atomic-machine.h 2018-12-18 04:25:26 -08:00
x86_64 x86: Merge i386/x86_64 atomic-machine.h 2018-12-18 04:25:26 -08:00