diff options
author | Joseph Myers <joseph@codesourcery.com> | 2015-10-06 20:47:40 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2015-10-06 20:47:40 +0000 |
commit | 3b7aa5bf59c59adccc1c883840db59926bbfc6de (patch) | |
tree | 90114cc9fefa5c39990841197d427dfabe85baef /sysdeps/i386/i686 | |
parent | 5c34f1b5bb3df60c09dcfbbee3dc89c7657ff279 (diff) | |
download | glibc-3b7aa5bf59c59adccc1c883840db59926bbfc6de.tar glibc-3b7aa5bf59c59adccc1c883840db59926bbfc6de.tar.gz glibc-3b7aa5bf59c59adccc1c883840db59926bbfc6de.tar.bz2 glibc-3b7aa5bf59c59adccc1c883840db59926bbfc6de.zip |
Remove configure tests for SSE4 support.
GCC added support for -msse4 in version 4.3. Thus the configure tests
for it are obsolete, and this patch removes them.
Tested for x86_64 and x86 (testsuite, and that installed stripped
shared libraries are unchanged by this patch).
* sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
test.
* sysdeps/i386/configure: Regenerated.
* sysdeps/i386/i686/multiarch/Makefile
[$(config-cflags-sse4) = yes]: Make code unconditional.
* sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
Likewise.
* sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
Likewise.
* sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
test.
* sysdeps/x86_64/configure: Regenerated.
* sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
Make code unconditional.
* sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
Likewise.
* sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
* config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
Diffstat (limited to 'sysdeps/i386/i686')
-rw-r--r-- | sysdeps/i386/i686/multiarch/Makefile | 6 | ||||
-rw-r--r-- | sysdeps/i386/i686/multiarch/strcspn.S | 5 | ||||
-rw-r--r-- | sysdeps/i386/i686/multiarch/strspn.S | 5 |
3 files changed, 2 insertions, 14 deletions
diff --git a/sysdeps/i386/i686/multiarch/Makefile b/sysdeps/i386/i686/multiarch/Makefile index 31bfd39bae..7ccd9c7b79 100644 --- a/sysdeps/i386/i686/multiarch/Makefile +++ b/sysdeps/i386/i686/multiarch/Makefile @@ -24,15 +24,13 @@ sysdep_routines += bzero-sse2 memset-sse2 memcpy-ssse3 mempcpy-ssse3 \ strncase_l-c strncase-c strncase_l-ssse3 \ strcasecmp_l-sse4 strncase_l-sse4 \ bcopy-sse2-unaligned memcpy-sse2-unaligned \ - mempcpy-sse2-unaligned memmove-sse2-unaligned -ifeq (yes,$(config-cflags-sse4)) -sysdep_routines += strcspn-c strpbrk-c strspn-c + mempcpy-sse2-unaligned memmove-sse2-unaligned \ + strcspn-c strpbrk-c strspn-c CFLAGS-varshift.c += -msse4 CFLAGS-strcspn-c.c += -msse4 CFLAGS-strpbrk-c.c += -msse4 CFLAGS-strspn-c.c += -msse4 endif -endif ifeq ($(subdir),wcsmbs) sysdep_routines += wcscmp-sse2 wcscmp-c wcslen-sse2 wcslen-c \ diff --git a/sysdeps/i386/i686/multiarch/strcspn.S b/sysdeps/i386/i686/multiarch/strcspn.S index b669b9797a..985c66c6aa 100644 --- a/sysdeps/i386/i686/multiarch/strcspn.S +++ b/sysdeps/i386/i686/multiarch/strcspn.S @@ -19,9 +19,6 @@ <http://www.gnu.org/licenses/>. */ #include <config.h> - -#ifdef HAVE_SSE4_SUPPORT - #include <sysdep.h> #include <init-arch.h> @@ -71,8 +68,6 @@ END(STRCSPN) .globl __GI_STRCSPN; __GI_STRCSPN = STRCSPN_IA32 #endif -#endif /* HAVE_SSE4_SUPPORT */ - #ifdef USE_AS_STRPBRK #include "../../strpbrk.S" #else diff --git a/sysdeps/i386/i686/multiarch/strspn.S b/sysdeps/i386/i686/multiarch/strspn.S index 4ba87be45b..5e48ea1350 100644 --- a/sysdeps/i386/i686/multiarch/strspn.S +++ b/sysdeps/i386/i686/multiarch/strspn.S @@ -19,9 +19,6 @@ <http://www.gnu.org/licenses/>. */ #include <config.h> - -#ifdef HAVE_SSE4_SUPPORT - #include <sysdep.h> #include <init-arch.h> @@ -56,6 +53,4 @@ __strspn_ia32: cfi_startproc; \ .globl __GI_strspn; __GI_strspn = __strspn_ia32 #endif -#endif /* HAVE_SSE4_SUPPORT */ - #include "../../strspn.S" |