diff options
author | Noah Goldstein <goldstein.w.n@gmail.com> | 2024-11-08 11:18:17 -0800 |
---|---|---|
committer | Noah Goldstein <goldstein.w.n@gmail.com> | 2024-11-08 17:23:05 -0600 |
commit | 6754b5becf403a3c6b95a0ebd829edf8e4d83251 (patch) | |
tree | 5317ce882f655d82b63e7670e221ebc5b54f4b8c | |
parent | c7dcf594f4c52fa7e2cc76918c8aa9abb98e9625 (diff) | |
download | glibc-6754b5becf403a3c6b95a0ebd829edf8e4d83251.zip glibc-6754b5becf403a3c6b95a0ebd829edf8e4d83251.tar.gz glibc-6754b5becf403a3c6b95a0ebd829edf8e4d83251.tar.bz2 |
x86/string: Use `movsl` instead of `movsd` [BZ #32344]
`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>
-rw-r--r-- | sysdeps/x86_64/multiarch/strcpy-evex.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/x86_64/multiarch/strcpy-evex.S b/sysdeps/x86_64/multiarch/strcpy-evex.S index 4f5bd3b..be1d654 100644 --- a/sysdeps/x86_64/multiarch/strcpy-evex.S +++ b/sysdeps/x86_64/multiarch/strcpy-evex.S @@ -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 |