about summary refs log tree commit diff
path: root/sysdeps/i386
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/i386')
-rw-r--r--sysdeps/i386/i486/bits/string.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/i386/i486/bits/string.h b/sysdeps/i386/i486/bits/string.h
index e20f037ab7..84421b40a2 100644
--- a/sysdeps/i386/i486/bits/string.h
+++ b/sysdeps/i386/i486/bits/string.h
@@ -172,6 +172,7 @@ memcmp (__const void *__s1, __const void *__s2, size_t __n)
   register int __res;
   __asm__ __volatile__
     ("cld\n\t"
+     "testl %3,%3\n\t"
      "repe; cmpsb\n\t"
      "je	1f\n\t"
      "sbbl	%0,%0\n\t"