Support __memmove_ssse3_rep when SHARED isn't defined.
authorH.J. Lu <hongjiu.lu@intel.com>
Tue, 19 Jan 2010 20:20:57 +0000 (12:20 -0800)
committerUlrich Drepper <drepper@redhat.com>
Tue, 19 Jan 2010 20:20:57 +0000 (12:20 -0800)
ChangeLog
sysdeps/i386/i686/multiarch/memmove.S

index fc074b5..7cd565f 100644 (file)
--- 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]
index d3d8d36..e0529c0 100644 (file)
@@ -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)