]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix SSSE3 memcpy
authorH.J. Lu <hongjiu.lu@intel.com>
Tue, 23 Feb 2010 12:14:37 +0000 (13:14 +0100)
committerAndreas Schwab <schwab@redhat.com>
Tue, 23 Feb 2010 12:18:05 +0000 (13:18 +0100)
ChangeLog
sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S

index d5b67e804f6985bf1259e01d7a7062ba426e65b1..a4bb213f5e83d10ff1569353d1c9f2d40f256688 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-02-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Properly
+       decrement ECX when jumping to copy_page_by_rep.
+
 2010-02-19  Carl Fredrik Hammar  <hammy.lite@gmail.com>
 
        * hurd/hurdioctl.c (tiocsctty): Call `do_tiocsctty' instead of
index f85049185c45524e49fa148ddad6bb663d32aceb..0547b56d7c950834cdcbef5705e70aa7d8ceaecb 100644 (file)
@@ -1249,11 +1249,12 @@ L(large_page):
        movdqu  %xmm0, (%esi)
        movntdq %xmm1, (%edx)
        lea     16(%edx), %edx
+       lea     -16(%ecx), %ecx
        cmp     %al, %dl
        je      L(copy_page_by_rep)
 L(large_page_loop_init):
        POP (%esi)
-       lea     -0x90(%ecx), %ecx
+       lea     -0x80(%ecx), %ecx
        POP (%edi)
 L(large_page_loop):
        prefetchnta     0x1c0(%eax)