llvm-mingw icon indicating copy to clipboard operation
llvm-mingw copied to clipboard

Is ARM64x supported?

Open justanotheranonymoususer opened this issue 10 months ago • 2 comments

I tried to create a DLL in ARM64x format using command line as following:

bin\clang.exe -shared test.cpp -target aarch64-w64-mingw32 -marm64x -o test.dll

But it seems that specifying -marm64x makes no changes to the resulting file. At least, the size is the same, I expected it to be about 30% larger.

The PE format is also still ARM64 and not ARM64x, which I verified with the System Informer PE viewer.

Are there any additional flags needed?

ARM64X (or ARM64EC) aren’t quite supported yet.

The necessary support in LLVM isn’t available in the latest releases (19.x), but it should be mostly supported in the latest git versions of LLVM (while ARM64X still is a bit incomplete).

Mingw-w64 doesn’t yet have everything that is needed though, plus some bits about actually assembling the toolchain (for base runtime libraries like compiler-rt) also still are missing.

mstorsjo avatar Jan 26 '25 12:01 mstorsjo

Ok thanks. You can close this issue unless you perfer to have it to track this.

On Sun, Jan 26, 2025, 14:33 Martin Storsjö @.***> wrote:

ARM64X (or ARM64EC) aren’t quite supported yet.

The necessary support in LLVM isn’t available in the latest releases (19.x), but it should be mostly supported in the latest git versions of LLVM (while ARM64X still is a bit incomplete).

Mingw-w64 doesn’t yet have everything that is needed though, plus some bits about actually assembling the toolchain (for base runtime libraries like compiler-rt) also still are missing.

— Reply to this email directly, view it on GitHub https://github.com/mstorsjo/llvm-mingw/issues/475#issuecomment-2614399755, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMDRPFKIBYKCR4VOZLA35D2MTIYPAVCNFSM6AAAAABV4LBYSOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMJUGM4TSNZVGU . You are receiving this because you authored the thread.Message ID: @.***>