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/strcmp.c | |
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/strcmp.c')
-rw-r--r-- | sysdeps/x86_64/multiarch/strcmp.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sysdeps/x86_64/multiarch/strcmp.c b/sysdeps/x86_64/multiarch/strcmp.c index 68cb73baad..a248c2a6e6 100644 --- a/sysdeps/x86_64/multiarch/strcmp.c +++ b/sysdeps/x86_64/multiarch/strcmp.c @@ -28,7 +28,6 @@ extern __typeof (REDIRECT_NAME) OPTIMIZE (sse2) attribute_hidden; extern __typeof (REDIRECT_NAME) OPTIMIZE (sse2_unaligned) attribute_hidden; -extern __typeof (REDIRECT_NAME) OPTIMIZE (ssse3) attribute_hidden; extern __typeof (REDIRECT_NAME) OPTIMIZE (avx2) attribute_hidden; extern __typeof (REDIRECT_NAME) OPTIMIZE (avx2_rtm) attribute_hidden; extern __typeof (REDIRECT_NAME) OPTIMIZE (evex) attribute_hidden; @@ -56,9 +55,6 @@ IFUNC_SELECTOR (void) if (CPU_FEATURES_ARCH_P (cpu_features, Fast_Unaligned_Load)) return OPTIMIZE (sse2_unaligned); - if (CPU_FEATURE_USABLE_P (cpu_features, SSSE3)) - return OPTIMIZE (ssse3); - return OPTIMIZE (sse2); } |