mirror of git://sourceware.org/git/glibc.git
x86/string: Use `movsl` instead of `movsd` in strncpy/strncat [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>
This commit is contained in:
parent
8d3fb43797
commit
c510681a69
|
@ -43,7 +43,7 @@
|
|||
# define VPTEST vptestmd
|
||||
# define CHAR_SIZE 4
|
||||
|
||||
# define REP_MOVS rep movsd
|
||||
# define REP_MOVS rep movsl
|
||||
# define REP_STOS rep stosl
|
||||
|
||||
# define USE_WIDE_CHAR
|
||||
|
|
Loading…
Reference in New Issue