Blame SOURCES/ia-strcmp-avx2-fix.patch
|
|
513694 |
From d7ca99114ba67e94c99aac230ac025720cf30918 Mon Sep 17 00:00:00 2001
|
|
|
513694 |
From: "H.J. Lu" <hjl.tools@gmail.com>
|
|
|
513694 |
Date: Fri, 4 Feb 2022 11:09:10 -0800
|
|
|
513694 |
Subject: [PATCH] x86-64: Fix strcmp-avx2.S
|
|
|
513694 |
|
|
|
513694 |
Change "movl %edx, %rdx" to "movl %edx, %edx" in:
|
|
|
513694 |
|
|
|
513694 |
commit b77b06e0e296f1a2276c27a67e1d44f2cfa38d45
|
|
|
513694 |
Author: Noah Goldstein <goldstein.w.n@gmail.com>
|
|
|
513694 |
Date: Mon Jan 10 15:35:38 2022 -0600
|
|
|
513694 |
|
|
|
513694 |
x86: Optimize strcmp-avx2.S
|
|
|
513694 |
|
|
|
513694 |
(cherry picked from commit c15efd011cea3d8f0494269eb539583215a1feed)
|
|
|
513694 |
---
|
|
|
513694 |
sysdeps/x86_64/multiarch/strcmp-avx2.S | 2 +-
|
|
|
513694 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
513694 |
|
|
|
513694 |
diff --git a/sysdeps/x86_64/multiarch/strcmp-avx2.S b/sysdeps/x86_64/multiarch/strcmp-avx2.S
|
|
|
513694 |
index 554ffe4c..04675aa4 100644
|
|
|
513694 |
--- a/sysdeps/x86_64/multiarch/strcmp-avx2.S
|
|
|
513694 |
+++ b/sysdeps/x86_64/multiarch/strcmp-avx2.S
|
|
|
513694 |
@@ -106,7 +106,7 @@ ENTRY(STRCMP)
|
|
|
513694 |
# ifdef USE_AS_STRNCMP
|
|
|
513694 |
# ifdef __ILP32__
|
|
|
513694 |
/* Clear the upper 32 bits. */
|
|
|
513694 |
- movl %edx, %rdx
|
|
|
513694 |
+ movl %edx, %edx
|
|
|
513694 |
# endif
|
|
|
513694 |
cmp $1, %RDX_LP
|
|
|
513694 |
/* Signed comparison intentional. We use this branch to also
|
|
|
513694 |
--
|
|
|
513694 |
GitLab
|
|
|
513694 |
|