Re: [Mingw-w64-public] [PATCH 3/3] crt: Use naked functions for ARM64 assembly functions.

2025-04-01 Thread Martin Storsjö
On Tue, 1 Apr 2025, Jacek Caban wrote: On ARM64EC, function declarations have additional nuances: - Function names are mangled by prefixing them with "#" - An unmangled symbol is defined as a weak anti-dependency alias to the mangled symbol - An entry thunk is generated to convert from the x86_

[Mingw-w64-public] [PATCH 3/3] crt: Use naked functions for ARM64 assembly functions.

2025-04-01 Thread Jacek Caban
On ARM64EC, function declarations have additional nuances: - Function names are mangled by prefixing them with "#" - An unmangled symbol is defined as a weak anti-dependency alias to the mangled symbol - An entry thunk is generated to convert from the x86_64 calling convention to the ARM64EC ca

[Mingw-w64-public] [PATCH 1/3] crt: Move trunc implementation to C file.

2025-04-01 Thread Jacek Caban
In preparation for using naked functions. --- mingw-w64-crt/Makefile.am | 4 ++-- mingw-w64-crt/include/internal.h | 8 mingw-w64-crt/math/arm64/{trunc.S => trunc.c} | 14 +- mingw-w64-crt/math/arm64/truncf.S | 16

Re: [Mingw-w64-public] [PATCH] crt: Implement exp2/exp2f/exp2l in C on ARM targets.

2025-04-01 Thread Jacek Caban
On 31.03.2025 22:31, Martin Storsjö wrote: On Mon, 31 Mar 2025, Jacek Caban wrote: --- mingw-w64-crt/Makefile.am | 10 ++ .../math/{arm64/exp2f.S => arm-common/exp2.c} | 16 ++-- .../math/{arm/exp2f.S => arm-common/exp2f.c}  | 16 ++-- mingw-w64-