[PATCH] msvcrt: Improve memmove performance on i386 and x86_64 architectures.

Alexandre Julliard julliard at winehq.org
Tue Jan 26 10:25:10 CST 2021


Piotr Caban <piotr at codeweavers.com> writes:

> +#define MEMMOVE_INIT \
> +    "movl " __ASM_NAME( "sse2_supported" ) ", %eax\n\t" \
> +    "cmp $0, %eax\n\t" \

In general you can't access global variables that way, it's not
compatible with PIC. I'd suggest doing that part from C code.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list