On Fri Jul 18 12:25:03 2025 +0000, Bernhard Übelacker wrote:
Thanks for looking at it. I replaced _WIN64 already, but still fails, and still trying to sort this out. I don't understand why even with `#if defined(__x86_64__) && !defined(__aarch64__)` this movaps is failing for `make: *** [Makefile:300035: dlls/ntdll/tests/arm64ec-windows/virtual.o] Error 1`. The idea behind is to enable a developer with a recent CPU to be able to debug issues just showing up in older CPUs. Or like in this merge request make this a CI test to avoid future issues like 58335. It was not specifically intended to disable avx support but to see how Wine would behave on such a CPU.
[On MSVC](https://techcommunity.microsoft.com/blog/windowsosplatform/getting-to-know-a...), arm64ec defines _M_AMD64 and does not define _M_ARM64.
I'd guess your compiler does something similar, and you need to explicitly look for an arm64ec define.