aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 fc074b5..7cd565f 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 d3d8d36..e0529c0 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)