[PATCH v2 04/11] x86_64: Remove bcopy optimizations
Sunil Pandey
skpgkp2@gmail.com
Thu May 12 19:28:13 GMT 2022
On Wed, Feb 23, 2022 at 6:12 AM Adhemerval Zanella via Libc-alpha
<libc-alpha@sourceware.org> wrote:
>
> The symbols is not present in current POSIX specification and compiler
> already generates memmove call.
> ---
> sysdeps/x86_64/multiarch/bcopy.S | 7 -------
> 1 file changed, 7 deletions(-)
> delete mode 100644 sysdeps/x86_64/multiarch/bcopy.S
>
> diff --git a/sysdeps/x86_64/multiarch/bcopy.S b/sysdeps/x86_64/multiarch/bcopy.S
> deleted file mode 100644
> index 639f02bde3..0000000000
> --- a/sysdeps/x86_64/multiarch/bcopy.S
> +++ /dev/null
> @@ -1,7 +0,0 @@
> -#include <sysdep.h>
> -
> - .text
> -ENTRY(bcopy)
> - xchg %rdi, %rsi
> - jmp __libc_memmove /* Branch to IFUNC memmove. */
> -END(bcopy)
> --
> 2.32.0
>
I would like to backport this patch to release branches.
Any comments or objections?
--Sunil
More information about the Libc-stable
mailing list