This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug string/19776] New: Unreachable code in sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S


https://sourceware.org/bugzilla/show_bug.cgi?id=19776

            Bug ID: 19776
           Summary: Unreachable code in
                    sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S
           Product: glibc
           Version: 2.24
            Status: NEW
          Severity: normal
          Priority: P2
         Component: string
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com
                CC: neleai at seznam dot cz
  Target Milestone: ---

sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S has

L(overlapping):
   cmpq  %rsi, %rdi
   jae   .L3
...
L3:
   leaq  -1(%rdx), %rax
   .p2align 4,,10
   .p2align 4
.L11:
   movzbl   (%rsi,%rax), %edx
   movb  %dl, (%rdi,%rax)
   subq  $1, %rax
   jmp   .L11

I don't believe .L3 is reachable.  Can it be removed?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]