x86-64: Fix strcmp-avx2.S

Change "movl %edx, %rdx" to "movl %edx, %edx" in:

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

    x86: Optimize strcmp-avx2.S

(cherry picked from commit c15efd011c)
This commit is contained in:
H.J. Lu 2022-02-04 11:09:10 -08:00 committed by Sunil K Pandey
parent c41a66767d
commit d299032743

View File

@ -106,7 +106,7 @@ ENTRY(STRCMP)
# ifdef USE_AS_STRNCMP # ifdef USE_AS_STRNCMP
# ifdef __ILP32__ # ifdef __ILP32__
/* Clear the upper 32 bits. */ /* Clear the upper 32 bits. */
movl %edx, %rdx movl %edx, %edx
# endif # endif
cmp $1, %RDX_LP cmp $1, %RDX_LP
/* Signed comparison intentional. We use this branch to also /* Signed comparison intentional. We use this branch to also