summary refs log tree commit diff
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2010-01-19 12:20:57 -0800
committerUlrich Drepper <drepper@redhat.com>2010-01-19 12:20:57 -0800
commitcff0be8849a5685e525f534b1da9c43856a1a4b8 (patch)
tree6865723d1ef1270e77638420972e47be5cc77bbe
parenta7bbf3d742b181bdad41e830f6ef72e632e9fc89 (diff)
downloadglibc-cff0be8849a5685e525f534b1da9c43856a1a4b8.tar.gz
glibc-cff0be8849a5685e525f534b1da9c43856a1a4b8.tar.xz
glibc-cff0be8849a5685e525f534b1da9c43856a1a4b8.zip
Support __memmove_ssse3_rep when SHARED isn't defined.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/i386/i686/multiarch/memmove.S3
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index fc074b57b8..7cd565f356 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-01-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* sysdeps/i386/i686/multiarch/memmove.S: Also check
+	bit_Fast_Rep_String when SHARED isn't defined.
+
 2010-01-19  Ulrich Drepper  <drepper@redhat.com>
 
 	[BZ #11194]
diff --git a/sysdeps/i386/i686/multiarch/memmove.S b/sysdeps/i386/i686/multiarch/memmove.S
index d3d8d3675c..e0529c0126 100644
--- a/sysdeps/i386/i686/multiarch/memmove.S
+++ b/sysdeps/i386/i686/multiarch/memmove.S
@@ -74,6 +74,9 @@ ENTRY(memmove)
 	testl	$bit_SSSE3, CPUID_OFFSET+index_SSSE3+__cpu_features
 	jz	2f
 	leal	__memmove_ssse3, %eax
+	testl	$bit_Fast_Rep_String, FEATURE_OFFSET+index_Fast_Rep_String+__cpu_features
+	jz	2f
+	leal	__memmove_ssse3_rep, %eax
 2:	ret
 END(memmove)