[PATCH] msvcrt: Use unaligned data types in memset.
Piotr Caban
piotr at codeweavers.com
Thu Sep 16 06:51:58 CDT 2021
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(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-msvcrt-Use-unaligned-data-types-in-memset.txt
Type: text/x-patch
Size: 2104 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20210916/b1293c1e/attachment.bin>
More information about the wine-devel
mailing list