mirror of git://sourceware.org/git/glibc.git
x86/string: Use `movsl` instead of `movsd` in strncat [BZ #32344]
The previous patch missed strncat, so fixed that. Resolves: BZ #32344 Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
This commit is contained in:
parent
7a61e7f557
commit
713d6d7e78
|
|
@ -44,7 +44,7 @@
|
|||
# define VPCMPEQ vpcmpeqd
|
||||
# define CHAR_SIZE 4
|
||||
|
||||
# define REP_MOVS rep movsd
|
||||
# define REP_MOVS rep movsl
|
||||
|
||||
# define VMASK_REG VR10
|
||||
# define FIND_FIRST_ONE(src, dst) movl $CHAR_PER_VEC, %dst; bsf %src, %dst
|
||||
|
|
@ -514,7 +514,7 @@ L(page_cross_small):
|
|||
cmova %edx, %ecx
|
||||
|
||||
# ifdef USE_AS_WCSCPY
|
||||
rep movsd
|
||||
rep movsl
|
||||
# else
|
||||
rep movsb
|
||||
# endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue