]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
x86/string: Use `movsl` instead of `movsd` [BZ #32344]
authorNoah Goldstein <goldstein.w.n@gmail.com>
Fri, 8 Nov 2024 19:18:17 +0000 (11:18 -0800)
committerNoah Goldstein <goldstein.w.n@gmail.com>
Fri, 8 Nov 2024 23:23:05 +0000 (17:23 -0600)
`ld`, starting at 2.40, emits a warning when using `movsd`. There is
no change to the actual code produced.
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
sysdeps/x86_64/multiarch/strcpy-evex.S

index 4f5bd3ba5518d16ecb19569623b42a10d8a7255d..be1d65453c329af866c4b65669bf810351771fbc 100644 (file)
@@ -45,7 +45,7 @@
 #  define VPCMPEQ      vpcmpeqd
 #  define CHAR_SIZE    4
 
-#  define REP_MOVS     rep movsd
+#  define REP_MOVS     rep movsl
 
 #  define USE_WIDE_CHAR
 # else