On 1/26/21 5:25 PM, Alexandre Julliard wrote:
Piotr Caban piotr@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.
I've sent a fixed version that does the check on C side. It has some impact on performance but I guess it can be ignored.
Thanks, Piotr