Re: [Mingw-w64-public] [PATCH 3/4] crt: api-ms-win-crt-private-l1-1-0.def.in: Don't provide long double functions on x86

2025-03-15 Thread Jacek Caban
On 15.03.2025 17:36, Martin Storsjö wrote: On Mon, 10 Mar 2025, Pali Rohár wrote: --- .../api-ms-win-crt-private-l1-1-0.def.in  | 64 +-- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/mingw-w64-crt/lib-common/api-ms-win-crt-private-l1-1-0.def.in b/mingw-w6

Re: [Mingw-w64-public] [PATCH] crt: Remove target checks from math/arm-common/* files.

2025-03-15 Thread Jacek Caban
On 12.03.2025 13:45, Martin Storsjö wrote: On Wed, 12 Mar 2025, Jacek Caban wrote: These files are already in a target-specific directory, and it's the build system's job to include them only for applicable targets. This also allows their use for ARM64EC. --- mingw-w64-crt/math/arm-common/aco

Re: [Mingw-w64-public] [PATCH] headers: Use selectany fenv_t pointers for FE_*_ENV macros.

2025-03-15 Thread Jacek Caban
On 13.03.2025 12:58, Martin Storsjö wrote: I guess these hardcoded constants are ok then, but please add a comment explaining the bits they contain. I extended the commit message and pushed, thanks! Jacek ___ Mingw-w64-public mailing list Min

Re: [Mingw-w64-public] [PATCH] headers: Use proper header file for std::nullptr_t

2025-03-15 Thread LIU Hao
在 2025-03-06 15:26, Biswapriyo Nath 写道: From 23a11153b530e53010026285fb1d896b977418d6 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Thu, 6 Mar 2025 07:20:54 + Subject: [PATCH] headers: Use proper header file for std::nullptr_t This fixes the following compiler error in gecko/gfx/angl

Re: [Mingw-w64-public] [RFC PATCH 0/2] PoC for merging lib32/*.def and lib-common/*.def files

2025-03-15 Thread Pali Rohár
On Saturday 14 December 2024 23:39:50 Pali Rohár wrote: > This is just very simple PoC with attempt to merge lib32/*.def and > lib-common/*.def files. It is mostly untested. As an example I chose > lib-common/ws2_32.def.in how the merge could look like. > > Pali Rohár (2): > crt: Remove @ stdcal

Re: [Mingw-w64-public] [PATCH v2 2/2] fenv: Use MSVC-compatible ABI for fenv.h functions.

2025-03-15 Thread Martin Storsjö
On Wed, 5 Mar 2025, Jacek Caban wrote: I left FE_*_ENV handling unchanged, but we could consider making them proper pointers to structs filled with the appropriate values instead. Regarding this, what does MSVC do? If we do that, that's also a bit of an ABI break, so if we do want to do it,

Re: [Mingw-w64-public] [PATCH 3/4] crt: api-ms-win-crt-private-l1-1-0.def.in: Don't provide long double functions on x86

2025-03-15 Thread Martin Storsjö
On Mon, 10 Mar 2025, Pali Rohár wrote: --- .../api-ms-win-crt-private-l1-1-0.def.in | 64 +-- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/mingw-w64-crt/lib-common/api-ms-win-crt-private-l1-1-0.def.in b/mingw-w64-crt/lib-common/api-ms-win-crt-private-l1-1-

Re: [Mingw-w64-public] [RFC PATCH 0/2] PoC for merging lib32/*.def and lib-common/*.def files

2025-03-15 Thread Martin Storsjö
On Mon, 10 Mar 2025, Pali Rohár wrote: On Saturday 14 December 2024 23:39:50 Pali Rohár wrote: This is just very simple PoC with attempt to merge lib32/*.def and lib-common/*.def files. It is mostly untested. As an example I chose lib-common/ws2_32.def.in how the merge could look like. Pali Ro

[Mingw-w64-public] [PATCH 3/4] crt: api-ms-win-crt-private-l1-1-0.def.in: Don't provide long double functions on x86

2025-03-15 Thread Pali Rohár
--- .../api-ms-win-crt-private-l1-1-0.def.in | 64 +-- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/mingw-w64-crt/lib-common/api-ms-win-crt-private-l1-1-0.def.in b/mingw-w64-crt/lib-common/api-ms-win-crt-private-l1-1-0.def.in index 3bcce9953157..90d530d6a68

Re: [Mingw-w64-public] [PATCH 4/4] crt: api-ms-win-crt-private-l1-1-0.def.in: Add new VC++ 2015 14.0.23506.0 symbols

2025-03-15 Thread Martin Storsjö
On Mon, 10 Mar 2025, Pali Rohár wrote: These symbols are already defined in the ucrtbase.def.in file. --- .../api-ms-win-crt-private-l1-1-0.def.in | 30 +++ 1 file changed, 30 insertions(+) Thanks, these patches looked fine, so I pushed patches 1, 2, and 4. Will comment on

Re: [Mingw-w64-public] [PATCH] crt: Use __builtin_bswap* functions for _byteswap_* implementation.

2025-03-15 Thread Jacek Caban
On 14.03.2025 12:46, LIU Hao wrote: 在 2025-3-14 19:42, Jacek Caban 写道: ---   mingw-w64-crt/misc/winbs_uint64.c | 35 +--   mingw-w64-crt/misc/winbs_ulong.c  | 16 +-   mingw-w64-crt/misc/winbs_ushort.c | 13 +---   3 files changed, 3 insertions(+), 61