|
|
bdc76f |
commit cdd927d98cc38acf55e1c6594b5c9451df8f239f
|
|
|
bdc76f |
Author: Stefan Liebler <stli@linux.ibm.com>
|
|
|
bdc76f |
Date: Tue Dec 18 13:57:08 2018 +0100
|
|
|
bdc76f |
|
|
|
bdc76f |
S390: Add z13 memmove ifunc variant.
|
|
|
bdc76f |
|
|
|
bdc76f |
This patch introduces a z13 specific ifunc variant for memmove.
|
|
|
bdc76f |
As the common code implementation, it checks if we can copy from
|
|
|
bdc76f |
the beginning to the end - with z196 memcpy implementation - or
|
|
|
bdc76f |
if we have to copy from the end to the beginning.
|
|
|
bdc76f |
The latter case is done by using vector load/store instructions.
|
|
|
bdc76f |
|
|
|
bdc76f |
If vector instructions are not available, the common-code is
|
|
|
bdc76f |
used as fallback. Therefore it is implemented in memmove-c with
|
|
|
bdc76f |
a different name.
|
|
|
bdc76f |
Furthermore the ifunc logic decides if we need the common-code
|
|
|
bdc76f |
implementation at all. If vector instructions are supported
|
|
|
bdc76f |
due to the minimum architecture level set we can skip the
|
|
|
bdc76f |
common-code ifunc variant.
|
|
|
bdc76f |
|
|
|
bdc76f |
ChangeLog:
|
|
|
bdc76f |
|
|
|
bdc76f |
* sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
|
|
|
bdc76f |
* sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
|
|
|
bdc76f |
HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
|
|
|
bdc76f |
HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
|
|
|
bdc76f |
New defines.
|
|
|
bdc76f |
* sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
|
|
|
bdc76f |
* sysdeps/s390/memmove-c.c: New file.
|
|
|
bdc76f |
* sysdeps/s390/memmove.c: Likewise.
|
|
|
bdc76f |
* sysdeps/s390/multiarch/ifunc-impl-list.c
|
|
|
bdc76f |
(__libc_ifunc_impl_list): Add ifunc variants for memmove.
|
|
|
bdc76f |
|
|
|
bdc76f |
diff --git a/sysdeps/s390/Makefile b/sysdeps/s390/Makefile
|
|
|
bdc76f |
index 838950a5ab958e31..3a7cccdf8f147398 100644
|
|
|
bdc76f |
--- a/sysdeps/s390/Makefile
|
|
|
bdc76f |
+++ b/sysdeps/s390/Makefile
|
|
|
bdc76f |
@@ -33,5 +33,6 @@ endif
|
|
|
bdc76f |
ifeq ($(subdir),string)
|
|
|
bdc76f |
sysdep_routines += bzero memset memset-z900 \
|
|
|
bdc76f |
memcmp memcmp-z900 \
|
|
|
bdc76f |
- mempcpy memcpy memcpy-z900
|
|
|
bdc76f |
+ mempcpy memcpy memcpy-z900 \
|
|
|
bdc76f |
+ memmove memmove-c
|
|
|
bdc76f |
endif
|
|
|
bdc76f |
diff --git a/sysdeps/s390/ifunc-memcpy.h b/sysdeps/s390/ifunc-memcpy.h
|
|
|
bdc76f |
index 51c71baa2c0b0452..0e701968c8f39014 100644
|
|
|
bdc76f |
--- a/sysdeps/s390/ifunc-memcpy.h
|
|
|
bdc76f |
+++ b/sysdeps/s390/ifunc-memcpy.h
|
|
|
bdc76f |
@@ -43,6 +43,29 @@
|
|
|
bdc76f |
# define HAVE_MEMCPY_Z196 HAVE_MEMCPY_IFUNC
|
|
|
bdc76f |
#endif
|
|
|
bdc76f |
|
|
|
bdc76f |
+#if defined SHARED && defined USE_MULTIARCH && IS_IN (libc) \
|
|
|
bdc76f |
+ && ! defined HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT
|
|
|
bdc76f |
+# define HAVE_MEMMOVE_IFUNC 1
|
|
|
bdc76f |
+#else
|
|
|
bdc76f |
+# define HAVE_MEMMOVE_IFUNC 0
|
|
|
bdc76f |
+#endif
|
|
|
bdc76f |
+
|
|
|
bdc76f |
+#ifdef HAVE_S390_VX_ASM_SUPPORT
|
|
|
bdc76f |
+# define HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT HAVE_MEMMOVE_IFUNC
|
|
|
bdc76f |
+#else
|
|
|
bdc76f |
+# define HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT 0
|
|
|
bdc76f |
+#endif
|
|
|
bdc76f |
+
|
|
|
bdc76f |
+#if defined HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT
|
|
|
bdc76f |
+# define MEMMOVE_DEFAULT MEMMOVE_Z13
|
|
|
bdc76f |
+# define HAVE_MEMMOVE_C 0
|
|
|
bdc76f |
+# define HAVE_MEMMOVE_Z13 1
|
|
|
bdc76f |
+#else
|
|
|
bdc76f |
+# define MEMMOVE_DEFAULT MEMMOVE_C
|
|
|
bdc76f |
+# define HAVE_MEMMOVE_C 1
|
|
|
bdc76f |
+# define HAVE_MEMMOVE_Z13 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT
|
|
|
bdc76f |
+#endif
|
|
|
bdc76f |
+
|
|
|
bdc76f |
#if HAVE_MEMCPY_Z900_G5
|
|
|
bdc76f |
# define MEMCPY_Z900_G5 __memcpy_default
|
|
|
bdc76f |
# define MEMPCPY_Z900_G5 __mempcpy_default
|
|
|
bdc76f |
@@ -66,3 +89,15 @@
|
|
|
bdc76f |
# define MEMCPY_Z196 NULL
|
|
|
bdc76f |
# define MEMPCPY_Z196 NULL
|
|
|
bdc76f |
#endif
|
|
|
bdc76f |
+
|
|
|
bdc76f |
+#if HAVE_MEMMOVE_C
|
|
|
bdc76f |
+# define MEMMOVE_C __memmove_c
|
|
|
bdc76f |
+#else
|
|
|
bdc76f |
+# define MEMMOVE_C NULL
|
|
|
bdc76f |
+#endif
|
|
|
bdc76f |
+
|
|
|
bdc76f |
+#if HAVE_MEMMOVE_Z13
|
|
|
bdc76f |
+# define MEMMOVE_Z13 __memmove_z13
|
|
|
bdc76f |
+#else
|
|
|
bdc76f |
+# define MEMMOVE_Z13 NULL
|
|
|
bdc76f |
+#endif
|
|
|
bdc76f |
diff --git a/sysdeps/s390/memcpy-z900.S b/sysdeps/s390/memcpy-z900.S
|
|
|
bdc76f |
index 3a50cf44d85d2417..bd3b1950ee442c0c 100644
|
|
|
bdc76f |
--- a/sysdeps/s390/memcpy-z900.S
|
|
|
bdc76f |
+++ b/sysdeps/s390/memcpy-z900.S
|
|
|
bdc76f |
@@ -182,6 +182,7 @@ ENTRY(MEMCPY_Z196)
|
|
|
bdc76f |
# endif /* !defined __s390x__ */
|
|
|
bdc76f |
ltgr %r4,%r4
|
|
|
bdc76f |
je .L_Z196_4
|
|
|
bdc76f |
+.L_Z196_start2:
|
|
|
bdc76f |
aghi %r4,-1
|
|
|
bdc76f |
srlg %r5,%r4,8
|
|
|
bdc76f |
ltgr %r5,%r5
|
|
|
bdc76f |
@@ -207,6 +208,75 @@ ENTRY(MEMCPY_Z196)
|
|
|
bdc76f |
END(MEMCPY_Z196)
|
|
|
bdc76f |
#endif /* HAVE_MEMCPY_Z196 */
|
|
|
bdc76f |
|
|
|
bdc76f |
+#if HAVE_MEMMOVE_Z13
|
|
|
bdc76f |
+ENTRY(MEMMOVE_Z13)
|
|
|
bdc76f |
+ .machine "z13"
|
|
|
bdc76f |
+ .machinemode "zarch_nohighgprs"
|
|
|
bdc76f |
+# if !defined __s390x__
|
|
|
bdc76f |
+ /* Note: The 31bit dst and src pointers are prefixed with zeroes. */
|
|
|
bdc76f |
+ llgfr %r4,%r4
|
|
|
bdc76f |
+ llgfr %r3,%r3
|
|
|
bdc76f |
+ llgfr %r2,%r2
|
|
|
bdc76f |
+# endif /* !defined __s390x__ */
|
|
|
bdc76f |
+ sgrk %r0,%r2,%r3
|
|
|
bdc76f |
+ clgijh %r4,16,.L_MEMMOVE_Z13_LARGE
|
|
|
bdc76f |
+ aghik %r5,%r4,-1
|
|
|
bdc76f |
+.L_MEMMOVE_Z13_SMALL:
|
|
|
bdc76f |
+ jl .L_MEMMOVE_Z13_END /* Jump away if len was zero. */
|
|
|
bdc76f |
+ /* Store up to 16 bytes with vll/vstl which needs the index
|
|
|
bdc76f |
+ instead of lengths. */
|
|
|
bdc76f |
+ vll %v16,%r5,0(%r3)
|
|
|
bdc76f |
+ vstl %v16,%r5,0(%r2)
|
|
|
bdc76f |
+.L_MEMMOVE_Z13_END:
|
|
|
bdc76f |
+ br %r14
|
|
|
bdc76f |
+.L_MEMMOVE_Z13_LARGE:
|
|
|
bdc76f |
+ lgr %r1,%r2 /* For memcpy: r1: Use as dest ;
|
|
|
bdc76f |
+ r2: Return dest */
|
|
|
bdc76f |
+ /* The unsigned comparison (dst - src >= len) determines if we can
|
|
|
bdc76f |
+ execute the forward case with memcpy. */
|
|
|
bdc76f |
+#if ! HAVE_MEMCPY_Z196
|
|
|
bdc76f |
+# error The z13 variant of memmove needs the z196 variant of memcpy!
|
|
|
bdc76f |
+#endif
|
|
|
bdc76f |
+ clgrjhe %r0,%r4,.L_Z196_start2
|
|
|
bdc76f |
+ risbgn %r5,%r4,4,128+63,60 /* r5 = r4 / 16 */
|
|
|
bdc76f |
+ aghi %r4,-16
|
|
|
bdc76f |
+ clgijhe %r5,8,.L_MEMMOVE_Z13_LARGE_64B
|
|
|
bdc76f |
+.L_MEMMOVE_Z13_LARGE_16B_LOOP:
|
|
|
bdc76f |
+ /* Store at least 16 bytes with vl/vst. The number of 16byte blocks
|
|
|
bdc76f |
+ is stored in r5. */
|
|
|
bdc76f |
+ vl %v16,0(%r4,%r3)
|
|
|
bdc76f |
+ vst %v16,0(%r4,%r2)
|
|
|
bdc76f |
+ aghi %r4,-16
|
|
|
bdc76f |
+ brctg %r5,.L_MEMMOVE_Z13_LARGE_16B_LOOP
|
|
|
bdc76f |
+ aghik %r5,%r4,15
|
|
|
bdc76f |
+ j .L_MEMMOVE_Z13_SMALL
|
|
|
bdc76f |
+.L_MEMMOVE_Z13_LARGE_64B:
|
|
|
bdc76f |
+ /* Store at least 128 bytes with 4x vl/vst. The number of 64byte blocks
|
|
|
bdc76f |
+ will be stored in r0. */
|
|
|
bdc76f |
+ aghi %r4,-48
|
|
|
bdc76f |
+ srlg %r0,%r5,2 /* r5 = %r0 / 4
|
|
|
bdc76f |
+ => Number of 64byte blocks. */
|
|
|
bdc76f |
+.L_MEMMOVE_Z13_LARGE_64B_LOOP:
|
|
|
bdc76f |
+ vl %v20,48(%r4,%r3)
|
|
|
bdc76f |
+ vl %v19,32(%r4,%r3)
|
|
|
bdc76f |
+ vl %v18,16(%r4,%r3)
|
|
|
bdc76f |
+ vl %v17,0(%r4,%r3)
|
|
|
bdc76f |
+ vst %v20,48(%r4,%r2)
|
|
|
bdc76f |
+ vst %v19,32(%r4,%r2)
|
|
|
bdc76f |
+ vst %v18,16(%r4,%r2)
|
|
|
bdc76f |
+ vst %v17,0(%r4,%r2)
|
|
|
bdc76f |
+ aghi %r4,-64
|
|
|
bdc76f |
+ brctg %r0,.L_MEMMOVE_Z13_LARGE_64B_LOOP
|
|
|
bdc76f |
+ aghi %r4,48
|
|
|
bdc76f |
+ /* Recalculate the number of 16byte blocks. */
|
|
|
bdc76f |
+ risbg %r5,%r5,62,128+63,0 /* r5 = r5 & 3
|
|
|
bdc76f |
+ => Remaining 16byte blocks. */
|
|
|
bdc76f |
+ jne .L_MEMMOVE_Z13_LARGE_16B_LOOP
|
|
|
bdc76f |
+ aghik %r5,%r4,15
|
|
|
bdc76f |
+ j .L_MEMMOVE_Z13_SMALL
|
|
|
bdc76f |
+END(MEMMOVE_Z13)
|
|
|
bdc76f |
+#endif /* HAVE_MEMMOVE_Z13 */
|
|
|
bdc76f |
+
|
|
|
bdc76f |
#if ! HAVE_MEMCPY_IFUNC
|
|
|
bdc76f |
/* If we don't use ifunc, define an alias for mem[p]cpy here.
|
|
|
bdc76f |
Otherwise see sysdeps/s390/mem[p]cpy.c. */
|
|
|
bdc76f |
@@ -215,10 +285,27 @@ strong_alias (MEMPCPY_DEFAULT, __mempcpy)
|
|
|
bdc76f |
weak_alias (__mempcpy, mempcpy)
|
|
|
bdc76f |
#endif
|
|
|
bdc76f |
|
|
|
bdc76f |
+#if ! HAVE_MEMMOVE_IFUNC
|
|
|
bdc76f |
+/* If we don't use ifunc, define an alias for memmove here.
|
|
|
bdc76f |
+ Otherwise see sysdeps/s390/memmove.c. */
|
|
|
bdc76f |
+# if ! HAVE_MEMMOVE_C
|
|
|
bdc76f |
+/* If the c variant is needed, then sysdeps/s390/memmove-c.c
|
|
|
bdc76f |
+ defines memmove.
|
|
|
bdc76f |
+ Otherwise MEMMOVE_DEFAULT is implemented here and we have to define it. */
|
|
|
bdc76f |
+strong_alias (MEMMOVE_DEFAULT, memmove)
|
|
|
bdc76f |
+# endif
|
|
|
bdc76f |
+#endif
|
|
|
bdc76f |
+
|
|
|
bdc76f |
#if defined SHARED && IS_IN (libc)
|
|
|
bdc76f |
/* Defines the internal symbols.
|
|
|
bdc76f |
Compare to libc_hidden_[builtin_]def (mem[p]cpy) in string/mem[p]cpy.c. */
|
|
|
bdc76f |
strong_alias (MEMCPY_DEFAULT, __GI_memcpy)
|
|
|
bdc76f |
strong_alias (MEMPCPY_DEFAULT, __GI_mempcpy)
|
|
|
bdc76f |
strong_alias (MEMPCPY_DEFAULT, __GI___mempcpy)
|
|
|
bdc76f |
+# if ! HAVE_MEMMOVE_C
|
|
|
bdc76f |
+/* If the c variant is needed, then sysdeps/s390/memmove-c.c
|
|
|
bdc76f |
+ defines the internal symbol.
|
|
|
bdc76f |
+ Otherwise MEMMOVE_DEFAULT is implemented here and we have to define it. */
|
|
|
bdc76f |
+strong_alias (MEMMOVE_DEFAULT, __GI_memmove)
|
|
|
bdc76f |
+# endif
|
|
|
bdc76f |
#endif
|
|
|
bdc76f |
diff --git a/sysdeps/s390/memmove-c.c b/sysdeps/s390/memmove-c.c
|
|
|
bdc76f |
new file mode 100644
|
|
|
bdc76f |
index 0000000000000000..be571093e019a38d
|
|
|
bdc76f |
--- /dev/null
|
|
|
bdc76f |
+++ b/sysdeps/s390/memmove-c.c
|
|
|
bdc76f |
@@ -0,0 +1,37 @@
|
|
|
bdc76f |
+/* Fallback C version of memmove.
|
|
|
bdc76f |
+ Copyright (C) 2018 Free Software Foundation, Inc.
|
|
|
bdc76f |
+ This file is part of the GNU C Library.
|
|
|
bdc76f |
+
|
|
|
bdc76f |
+ The GNU C Library is free software; you can redistribute it and/or
|
|
|
bdc76f |
+ modify it under the terms of the GNU Lesser General Public
|
|
|
bdc76f |
+ License as published by the Free Software Foundation; either
|
|
|
bdc76f |
+ version 2.1 of the License, or (at your option) any later version.
|
|
|
bdc76f |
+
|
|
|
bdc76f |
+ The GNU C Library is distributed in the hope that it will be useful,
|
|
|
bdc76f |
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
bdc76f |
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
bdc76f |
+ Lesser General Public License for more details.
|
|
|
bdc76f |
+
|
|
|
bdc76f |
+ You should have received a copy of the GNU Lesser General Public
|
|
|
bdc76f |
+ License along with the GNU C Library; if not, see
|
|
|
bdc76f |
+ <http://www.gnu.org/licenses/>. */
|
|
|
bdc76f |
+
|
|
|
bdc76f |
+#include <ifunc-memcpy.h>
|
|
|
bdc76f |
+
|
|
|
bdc76f |
+#if HAVE_MEMMOVE_C
|
|
|
bdc76f |
+# if HAVE_MEMMOVE_IFUNC
|
|
|
bdc76f |
+/* If we use ifunc, then the memmove symbol is defined
|
|
|
bdc76f |
+ in sysdeps/s390/memmove.c and we use a different name here.
|
|
|
bdc76f |
+ Otherwise, we have to define memmove here or in
|
|
|
bdc76f |
+ sysdeps/s390/memcpy.S depending on the used default implementation. */
|
|
|
bdc76f |
+# define MEMMOVE MEMMOVE_C
|
|
|
bdc76f |
+# if defined SHARED && IS_IN (libc)
|
|
|
bdc76f |
+/* Define the internal symbol. */
|
|
|
bdc76f |
+# undef libc_hidden_builtin_def
|
|
|
bdc76f |
+# define libc_hidden_builtin_def(name) \
|
|
|
bdc76f |
+ __hidden_ver1 (__memmove_c, __GI_memmove, __memmove_c);
|
|
|
bdc76f |
+# endif
|
|
|
bdc76f |
+# endif
|
|
|
bdc76f |
+
|
|
|
bdc76f |
+# include <string/memmove.c>
|
|
|
bdc76f |
+#endif
|
|
|
bdc76f |
diff --git a/sysdeps/s390/memmove.c b/sysdeps/s390/memmove.c
|
|
|
bdc76f |
new file mode 100644
|
|
|
bdc76f |
index 0000000000000000..ac34edf80f2678cd
|
|
|
bdc76f |
--- /dev/null
|
|
|
bdc76f |
+++ b/sysdeps/s390/memmove.c
|
|
|
bdc76f |
@@ -0,0 +1,44 @@
|
|
|
bdc76f |
+/* Multiple versions of memmove.
|
|
|
bdc76f |
+ Copyright (C) 2016-2018 Free Software Foundation, Inc.
|
|
|
bdc76f |
+ This file is part of the GNU C Library.
|
|
|
bdc76f |
+
|
|
|
bdc76f |
+ The GNU C Library is free software; you can redistribute it and/or
|
|
|
bdc76f |
+ modify it under the terms of the GNU Lesser General Public
|
|
|
bdc76f |
+ License as published by the Free Software Foundation; either
|
|
|
bdc76f |
+ version 2.1 of the License, or (at your option) any later version.
|
|
|
bdc76f |
+
|
|
|
bdc76f |
+ The GNU C Library is distributed in the hope that it will be useful,
|
|
|
bdc76f |
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
bdc76f |
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
bdc76f |
+ Lesser General Public License for more details.
|
|
|
bdc76f |
+
|
|
|
bdc76f |
+ You should have received a copy of the GNU Lesser General Public
|
|
|
bdc76f |
+ License along with the GNU C Library; if not, see
|
|
|
bdc76f |
+ <http://www.gnu.org/licenses/>. */
|
|
|
bdc76f |
+
|
|
|
bdc76f |
+#include <ifunc-memcpy.h>
|
|
|
bdc76f |
+
|
|
|
bdc76f |
+#if HAVE_MEMMOVE_IFUNC
|
|
|
bdc76f |
+/* If we don't use ifunc, an alias is defined for memmove
|
|
|
bdc76f |
+ in sysdeps/s390/memmove-c.c or sysdeps/s390/memcpy.S
|
|
|
bdc76f |
+ depending on the used default implementation. */
|
|
|
bdc76f |
+# undef memmove
|
|
|
bdc76f |
+# define memmove __redirect_memmove
|
|
|
bdc76f |
+# include <string.h>
|
|
|
bdc76f |
+# include <ifunc-resolve.h>
|
|
|
bdc76f |
+# undef memmove
|
|
|
bdc76f |
+
|
|
|
bdc76f |
+# if HAVE_MEMMOVE_C
|
|
|
bdc76f |
+extern __typeof (__redirect_memmove) MEMMOVE_C attribute_hidden;
|
|
|
bdc76f |
+# endif
|
|
|
bdc76f |
+
|
|
|
bdc76f |
+# if HAVE_MEMMOVE_Z13
|
|
|
bdc76f |
+extern __typeof (__redirect_memmove) MEMMOVE_Z13 attribute_hidden;
|
|
|
bdc76f |
+# endif
|
|
|
bdc76f |
+
|
|
|
bdc76f |
+s390_libc_ifunc_expr (__redirect_memmove, memmove,
|
|
|
bdc76f |
+ (HAVE_MEMMOVE_Z13 && (hwcap & HWCAP_S390_VX))
|
|
|
bdc76f |
+ ? MEMMOVE_Z13
|
|
|
bdc76f |
+ : MEMMOVE_DEFAULT
|
|
|
bdc76f |
+ )
|
|
|
bdc76f |
+#endif
|
|
|
bdc76f |
diff --git a/sysdeps/s390/multiarch/ifunc-impl-list.c b/sysdeps/s390/multiarch/ifunc-impl-list.c
|
|
|
bdc76f |
index 6969c480cc40e0e2..c05c63e00608dcd7 100644
|
|
|
bdc76f |
--- a/sysdeps/s390/multiarch/ifunc-impl-list.c
|
|
|
bdc76f |
+++ b/sysdeps/s390/multiarch/ifunc-impl-list.c
|
|
|
bdc76f |
@@ -126,6 +126,18 @@ __libc_ifunc_impl_list (const char *name, struct libc_ifunc_impl *array,
|
|
|
bdc76f |
)
|
|
|
bdc76f |
#endif /* HAVE_MEMCPY_IFUNC */
|
|
|
bdc76f |
|
|
|
bdc76f |
+#if HAVE_MEMMOVE_IFUNC
|
|
|
bdc76f |
+ IFUNC_IMPL (i, name, memmove,
|
|
|
bdc76f |
+# if HAVE_MEMMOVE_Z13
|
|
|
bdc76f |
+ IFUNC_IMPL_ADD (array, i, memmove,
|
|
|
bdc76f |
+ dl_hwcap & HWCAP_S390_VX, MEMMOVE_Z13)
|
|
|
bdc76f |
+# endif
|
|
|
bdc76f |
+# if HAVE_MEMMOVE_C
|
|
|
bdc76f |
+ IFUNC_IMPL_ADD (array, i, memmove, 1, MEMMOVE_C)
|
|
|
bdc76f |
+# endif
|
|
|
bdc76f |
+ )
|
|
|
bdc76f |
+#endif /* HAVE_MEMMOVE_IFUNC */
|
|
|
bdc76f |
+
|
|
|
bdc76f |
#ifdef HAVE_S390_VX_ASM_SUPPORT
|
|
|
bdc76f |
|
|
|
bdc76f |
# define IFUNC_VX_IMPL(FUNC) \
|