diff options
author | Noah Goldstein <goldstein.w.n@gmail.com> | 2022-04-14 11:47:35 -0500 |
---|---|---|
committer | Noah Goldstein <goldstein.w.n@gmail.com> | 2022-04-14 23:21:41 -0500 |
commit | c024a0b9cf26a4c1df4da7ee5fe4098df3f59d93 (patch) | |
tree | 5d91a1cf6f71a2b3a2e3229a47893c13c9921269 /sysdeps/x86_64/multiarch/strncmp-ssse3.S | |
parent | c725f408db3a374ae7aec4e83de15715113b6398 (diff) | |
download | glibc-c024a0b9cf26a4c1df4da7ee5fe4098df3f59d93.tar.gz glibc-c024a0b9cf26a4c1df4da7ee5fe4098df3f59d93.tar.xz glibc-c024a0b9cf26a4c1df4da7ee5fe4098df3f59d93.zip |
x86: Remove str{n}{case}cmp-ssse3
With SSE2, SSE4.1, AVX2, and EVEX versions very few targets prefer SSSE3. As a result it is no longer worth it to keep the SSSE3 versions given the code size cost. Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'sysdeps/x86_64/multiarch/strncmp-ssse3.S')
-rw-r--r-- | sysdeps/x86_64/multiarch/strncmp-ssse3.S | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/sysdeps/x86_64/multiarch/strncmp-ssse3.S b/sysdeps/x86_64/multiarch/strncmp-ssse3.S deleted file mode 100644 index ec37308347..0000000000 --- a/sysdeps/x86_64/multiarch/strncmp-ssse3.S +++ /dev/null @@ -1,28 +0,0 @@ -/* strcmp optimized with SSSE3. - Copyright (C) 2017-2022 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/>. */ - -#include <sysdep.h> - -#define STRCMP __strncmp_ssse3 - -#undef libc_hidden_builtin_def -#define libc_hidden_builtin_def(strcmp) - -#define USE_SSSE3 1 -#define USE_AS_STRNCMP -#include <sysdeps/x86_64/strcmp.S> |