aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-07-25 12:02:47 -0700
committerUlrich Drepper <drepper@redhat.com>2009-07-25 12:02:47 -0700
commit29e92fa5cd9c5c09a9c78563f35729fec9075e7f (patch)
treeaeb34542aab3d439b8a82627066f6d40ede595d9 /sysdeps
parentda331e8e14f17c973444a0cbf62d90c72097b135 (diff)
downloadglibc-29e92fa5cd9c5c09a9c78563f35729fec9075e7f.tar
glibc-29e92fa5cd9c5c09a9c78563f35729fec9075e7f.tar.gz
glibc-29e92fa5cd9c5c09a9c78563f35729fec9075e7f.tar.bz2
glibc-29e92fa5cd9c5c09a9c78563f35729fec9075e7f.zip
Optimize x86-64 SSE4.2 strcmp.
The file contained some code which was never used. Don't compile it in.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/x86_64/multiarch/strcmp.S5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/x86_64/multiarch/strcmp.S b/sysdeps/x86_64/multiarch/strcmp.S
index 37985036aa..f9cf943e32 100644
--- a/sysdeps/x86_64/multiarch/strcmp.S
+++ b/sysdeps/x86_64/multiarch/strcmp.S
@@ -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) */