[PATCH v2] msvcrt: Add an ermsb-based memset for x86/64.

Piotr Caban piotr.caban at gmail.com
Tue Aug 31 07:18:26 CDT 2021

On 8/31/21 12:52 PM, Rémi Bernon wrote:
> For a start we could add -ffreestanding / -fno-builtin compilation flags 
>   to msvcrt instead, although it won't be much faster, it will at least 
> fix the issue with the builtin replacement.
As far as I understand -fno-builtin does not guarantee that there will 
be no call to memset introduced by compiler. Isn't it similar to the 
memcpy problem we have while using clang?

More information about the wine-devel mailing list