about summary refs log tree commit diff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2022-02-04 11:09:10 -0800
committerH.J. Lu <hjl.tools@gmail.com>2022-02-04 11:09:10 -0800
commitc15efd011cea3d8f0494269eb539583215a1feed (patch)
tree3cdcbd61df86c9b898627990a1b13f6520feed3d
parent811124ce08306021a85834a0ddf60f122a050a59 (diff)
downloadglibc-c15efd011cea3d8f0494269eb539583215a1feed.tar.gz
glibc-c15efd011cea3d8f0494269eb539583215a1feed.tar.xz
glibc-c15efd011cea3d8f0494269eb539583215a1feed.zip
x86-64: Fix strcmp-avx2.S
Change "movl %edx, %rdx" to "movl %edx, %edx" in:

commit b77b06e0e296f1a2276c27a67e1d44f2cfa38d45
Author: Noah Goldstein <goldstein.w.n@gmail.com>
Date:   Mon Jan 10 15:35:38 2022 -0600

    x86: Optimize strcmp-avx2.S
-rw-r--r--sysdeps/x86_64/multiarch/strcmp-avx2.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/x86_64/multiarch/strcmp-avx2.S b/sysdeps/x86_64/multiarch/strcmp-avx2.S
index 28d6a0025a..99e5349be8 100644
--- a/sysdeps/x86_64/multiarch/strcmp-avx2.S
+++ b/sysdeps/x86_64/multiarch/strcmp-avx2.S
@@ -106,7 +106,7 @@ ENTRY(STRCMP)
 # ifdef USE_AS_STRNCMP
 #  ifdef __ILP32__
 	/* Clear the upper 32 bits.  */
-	movl	%edx, %rdx
+	movl	%edx, %edx
 #  endif
 	cmp	$1, %RDX_LP
 	/* Signed comparison intentional. We use this branch to also