mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
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
Block a user