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:
Noah Goldstein 2024-11-12 17:04:42 -06:00
parent 8d3fb43797
commit c510681a69

View File

@ -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