You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1015 B
34 lines
1015 B
7 months ago
|
From c15efd011cea3d8f0494269eb539583215a1feed Mon Sep 17 00:00:00 2001
|
||
|
From: "H.J. Lu" <hjl.tools@gmail.com>
|
||
|
Date: Fri, 4 Feb 2022 11:09:10 -0800
|
||
|
Subject: [PATCH] x86-64: Fix strcmp-avx2.S
|
||
|
Content-type: text/plain; charset=UTF-8
|
||
|
|
||
|
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
|
||
|
---
|
||
|
sysdeps/x86_64/multiarch/strcmp-avx2.S | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/sysdeps/x86_64/multiarch/strcmp-avx2.S b/sysdeps/x86_64/multiarch/strcmp-avx2.S
|
||
|
index 554ffe4c..04675aa4 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
|
||
|
--
|
||
|
GitLab
|
||
|
|