diff options
author | Jakub Jelinek <jakub@redhat.com> | 2009-05-09 18:40:14 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2009-05-09 18:40:14 +0000 |
commit | 8075bb0fc6925bfb43f0db8e9c5bf22eb9e9f119 (patch) | |
tree | 08716fe3e8c25a9732600ec718325785e5352c33 /sysdeps/x86_64/memchr.S | |
parent | 83489168c2447e3fe351dbb302b1026dc9fc512c (diff) |
Updated to fedora-glibc-20090509T1828cvs/fedora-glibc-2_10-1
Diffstat (limited to 'sysdeps/x86_64/memchr.S')
-rw-r--r-- | sysdeps/x86_64/memchr.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/x86_64/memchr.S b/sysdeps/x86_64/memchr.S index 09ba6d4f8d..54b7af534c 100644 --- a/sysdeps/x86_64/memchr.S +++ b/sysdeps/x86_64/memchr.S @@ -26,7 +26,9 @@ ENTRY (memchr) movq %rdi, %rcx punpcklbw %xmm1, %xmm1 andq $~15, %rdi + testq %rdx, %rdx punpcklbw %xmm1, %xmm1 + jz 3f orl $0xffffffff, %esi movdqa (%rdi), %xmm0 pshufd $0, %xmm1, %xmm1 |