aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S
diff options
context:
space:
mode:
authorAdhemerval Zanella Netto <adhemerval.zanella@linaro.org>2023-02-28 14:23:59 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-03-02 16:41:43 -0300
commit92fdb11ae7aa1ab6b18622670ea702205cd6fdc5 (patch)
treeb998d54301a426299c2111c51bce18c5af6d305d /sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S
parenta46bb1523d2f39ba252f95b1fff738f1dff82132 (diff)
downloadglibc-92fdb11ae7aa1ab6b18622670ea702205cd6fdc5.zip
glibc-92fdb11ae7aa1ab6b18622670ea702205cd6fdc5.tar.gz
glibc-92fdb11ae7aa1ab6b18622670ea702205cd6fdc5.tar.bz2
powerpc: Remove powerpc64 strncmp variants
The default, and power7 implementation just adds word aligned access when inputs have the same aligment. The unaligned case is still done by byte operations. This is already covered by the generic implementation, which also add the unaligned input optimization. Checked on powerpc64-linux-gnu built without multi-arch for powerpc64, power7, power8, and power9 (build for le). Reviewed-by: Rajalakshmi Srinivasaraghavan <rajis@linux.ibm.com>
Diffstat (limited to 'sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S')
-rw-r--r--sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S26
1 files changed, 0 insertions, 26 deletions
diff --git a/sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S b/sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S
deleted file mode 100644
index 8401a40..0000000
--- a/sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S
+++ /dev/null
@@ -1,26 +0,0 @@
-/* Copyright (C) 2013-2023 Free Software Foundation, Inc.
- This file is part of the GNU C Library.
-
- The GNU C Library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- The GNU C Library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, see
- <https://www.gnu.org/licenses/>. */
-
-#if defined SHARED && IS_IN (libc)
-# define STRNCMP __strncmp_ppc
-
-# undef libc_hidden_builtin_def
-# define libc_hidden_builtin_def(name) \
- .globl __GI_strncmp; __GI_strncmp = __strncmp_ppc
-#endif
-
-#include <sysdeps/powerpc/powerpc64/strncmp.S>