On 12.12.2024 15:08, LIU Hao wrote:
在 2024-12-12 21:41, Jacek Caban 写道:

From: Billy Laws <[email protected]>

ARM64EC targets are identified by the __arm64ec__, _M_ARM64EC, and _ARM64EC_ macros.

ARM64EC code functions as an __x86_64__ compiler while utilizing the AArch64 instruction set. Consequently, it defines the __x86_64__, _M_AMD64, and _AMD64_ macros, but not
__aarch64__, _M_ARM64, or _ARM64_.

Signed-off-by: Jacek Caban <[email protected]>
---

I'm submitting this as the initial step in supporting the ARM64EC target in mingw-w64. This implementation is extracted from Billy Laws' mingw-w64 fork [1].

With the current LLVM git, ARM64EC is roughly supported across tools (clang, lld-link, llvm-dlltool, llvm-ar, etc.). However, some features remain to be implemented, such as support for hybrid ARM64X binaries. Runtime components, primarily compiler-rt, also still need porting. Despite these gaps, I believe it's a good time to begin incorporating the foundational elements into mingw-w64.

That's very good news. All these 3 patches look good to me.


Pushed, thanks!


I also regenerated some outdated configure scripts. ARM64EC requires updated config.guess.


Jacek



_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to