Blame SOURCES/glibc-rh631011.patch

b9ba6d
2010-08-19  Andreas Schwab  <schwab@redhat.com>
b9ba6d
b9ba6d
	* sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
b9ba6d
b9ba6d
Index: glibc-2.12-2-gc4ccff1/sysdeps/i386/i686/multiarch/strspn.S
b9ba6d
===================================================================
b9ba6d
--- glibc-2.12-2-gc4ccff1.orig/sysdeps/i386/i686/multiarch/strspn.S
b9ba6d
+++ glibc-2.12-2-gc4ccff1/sysdeps/i386/i686/multiarch/strspn.S
b9ba6d
@@ -65,7 +65,7 @@ ENTRY(strspn)
b9ba6d
 	jne	1f
b9ba6d
 	call	__init_cpu_features
b9ba6d
 1:	leal	__strspn_ia32, %eax
b9ba6d
-	testl	$index_SSE2, CPUID_OFFSET+index_SSE4_2+__cpu_features
b9ba6d
+	testl	$bit_SSE4_2, CPUID_OFFSET+index_SSE4_2+__cpu_features
b9ba6d
 	jz	2f
b9ba6d
 	leal	__strspn_sse42, %eax
b9ba6d
 2:	ret