about summary refs log tree commit diff
path: root/sysdeps/i386/i686/multiarch/memmove.S
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 /sysdeps/i386/i686/multiarch/memmove.S
parenta7bbf3d742b181bdad41e830f6ef72e632e9fc89 (diff)
downloadglibc-cff0be8849a5685e525f534b1da9c43856a1a4b8.tar.gz
glibc-cff0be8849a5685e525f534b1da9c43856a1a4b8.tar.xz
glibc-cff0be8849a5685e525f534b1da9c43856a1a4b8.zip
Support __memmove_ssse3_rep when SHARED isn't defined.
Diffstat (limited to 'sysdeps/i386/i686/multiarch/memmove.S')
-rw-r--r--sysdeps/i386/i686/multiarch/memmove.S3
1 files changed, 3 insertions, 0 deletions
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)