]> sourceware.org Git - glibc.git/commitdiff
Optimize x86-64 SSE4.2 strcmp.
authorUlrich Drepper <drepper@redhat.com>
Sat, 25 Jul 2009 19:02:47 +0000 (12:02 -0700)
committerUlrich Drepper <drepper@redhat.com>
Sat, 25 Jul 2009 19:02:47 +0000 (12:02 -0700)
The file contained some code which was never used.  Don't compile it
in.

ChangeLog
sysdeps/x86_64/multiarch/strcmp.S

index e95e94b4b2d4f6e93698abb014d564a2d751611d..8246614d1a34ae06b0a1e65e8b08a08b47abeab2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-07-25  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/x86_64/multiarch/strcmp.S: Exclude unused code from being
+       compiled in.
+
 2009-07-24  Ulrich Drepper  <drepper@redhat.com>
 
        * sysdeps/unix/sysv/linux/configure.in: Don't automatically include
index 37985036aa16fb98683f2e41879bfdc3a79790c9..f9cf943e327e56368d6b438179cb89dbef797f05 100644 (file)
@@ -1457,6 +1457,9 @@ LABEL(use_sse4_2_ret):
        sub     %edx, %eax
        ret
 
+#if 0
+       /* This code was in the origial submission but isn't used.
+          --drepper */
        .p2align 4
 LABEL(aftertail):
        pcmpeqb %xmm3, %xmm1
@@ -1467,6 +1470,8 @@ LABEL(aftertail):
        .p2align 4
 LABEL(exit):
        lea     -16(%r9, %rcx), %rax    /* locate the exact offset for rdi */
+#endif
+
 LABEL(less32bytes):
        lea     (%rdi, %rax), %rdi      /* locate the exact address for first operand(rdi) */
        lea     (%rsi, %rcx), %rsi      /* locate the exact address for second operand(rsi) */
This page took 0.057002 seconds and 5 git commands to generate.