[Mingw-w64-public] [PATCH 2/2] crt: Use aarch64 assembly variants for ARM64EC math functions.

2025-04-03 Thread Jacek Caban
From: Billy Laws --- mingw-w64-crt/math/fma.c | 2 +- mingw-w64-crt/math/fmaf.c | 2 +- mingw-w64-crt/math/llrint.c | 2 +- mingw-w64-crt/math/llrintf.c | 2 +- mingw-w64-crt/math/llrintl.c | 3 ++- mingw-w64-crt/math/lrint.c| 14 +++--- mingw-w64-crt/math/lrintf.c

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

2025-04-03 Thread Jacek Caban
On 3.04.2025 14:32, Martin Storsjö wrote: On Wed, 2 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 entr

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

2025-04-03 Thread Martin Storsjö
On Wed, 2 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_

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

2025-04-03 Thread Martin Storsjö
On Wed, 2 Apr 2025, Jacek Caban wrote: In preparation for using naked functions. --- Please add "arm64" somewhere in the subject. // Martin ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lis

Re: [Mingw-w64-public] [PATCH 1/2] crt: Respect automake silent rules

2025-04-03 Thread Martin Storsjö
On Thu, 3 Apr 2025, Jacek Caban wrote: On 2.04.2025 21:47, Martin Storsjö wrote: If configuring mingw-w64-crt with the autoconf/automake config option --enable-silent-rules, the default automake rules will print e.g. " CC misc/lib64_libmsvcrt_extra_a-wctype.o" when compiling such a file.

Re: [Mingw-w64-public] [PATCH 1/2] crt: Respect automake silent rules

2025-04-03 Thread Jacek Caban
On 2.04.2025 21:47, Martin Storsjö wrote: If configuring mingw-w64-crt with the autoconf/automake config option --enable-silent-rules, the default automake rules will print e.g. " CC misc/lib64_libmsvcrt_extra_a-wctype.o" when compiling such a file. However, any custom makefile rules will