From 3b7aa5bf59c59adccc1c883840db59926bbfc6de Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Tue, 6 Oct 2015 20:47:40 +0000 Subject: 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. --- config.h.in | 3 --- 1 file changed, 3 deletions(-) (limited to 'config.h.in') diff --git a/config.h.in b/config.h.in index 865eaf3855..7663376032 100644 --- a/config.h.in +++ b/config.h.in @@ -76,9 +76,6 @@ /* Define if _rtld_local structure should be forced into .sdata section. */ #undef HAVE_SDATA_SECTION -/* Define if gcc supports SSE4. */ -#undef HAVE_SSE4_SUPPORT - /* Define if gcc supports AVX. */ #undef HAVE_AVX_SUPPORT -- cgit 1.4.1