[PATCH] msvcrt: Use unaligned data types in memset.

Martin Storsjö martin at martin.st
Thu Sep 16 07:43:26 CDT 2021


On Thu, 16 Sep 2021, Piotr Caban wrote:

>
> This fixes a regression in memset on ARM described by Martin:
> ARM can do 64 bit writes with the STRD instruction, but that
> instruction requires a 32 bit aligned address - while these stores
> are unaligned.
>
> Signed-off-by: Piotr Caban <piotr at codeweavers.com>
> ---
> dlls/msvcrt/string.c | 32 ++++++++++++++++++--------------
> 1 file changed, 18 insertions(+), 14 deletions(-)

Thanks!

Signed-off-by: Martin Storsjö <martin at martin.st>

// Martin


More information about the wine-devel mailing list