diff --git a/sysdeps/x86_64/multiarch/strncat-evex.S b/sysdeps/x86_64/multiarch/strncat-evex.S index e6717bdea8..fbec351796 100644 --- a/sysdeps/x86_64/multiarch/strncat-evex.S +++ b/sysdeps/x86_64/multiarch/strncat-evex.S @@ -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