Re: [Mingw-w64-public] [PATCH] crt: Speedup __mingw_has_sse by storing cpuid result

2024-10-20 Thread LIU Hao
在 2024-10-19 21:49, Morilli 写道: This speeds up all floating-point rounding and exception functions by only querying cpuid once and storing its result. This helps when such functions are repeatedly called. This fixes https://sourceforge.net/p/mingw-w64/bugs/995/ . Signed-off-by: Moritz Bender <35

[Mingw-w64-public] [PATCH] headers: Fix intsafe.h

2024-10-20 Thread David Grayson
This patch: - Fixes ULongToChar to return -1 on overflow, like it does in the SDK. - Fixes LongLongToUIntPtr and LongLongToULongPtr so they work on 32-bit. - Removes about 150 macros added this year that just redefine an existing function. The best way to review this might be to just apply it and

Re: [Mingw-w64-public] [PATCH] headers: Add new APIs in cfgmgr32.h

2024-10-20 Thread LIU Hao
在 2024-10-20 17:39, Biswapriyo Nath 写道: From 50ec5c3c409666b34ead6f186b56d0663e59e708 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sun, 20 Oct 2024 09:36:08 + Subject: [PATCH] headers: Add new APIs in cfgmgr32.h Fixeshttps://github.com/mingw-w64/mingw-w64/issues/61 Signed-off-by: B

[Mingw-w64-public] [PATCH] headers: Add new APIs in cfgmgr32.h

2024-10-20 Thread Biswapriyo Nath
From 50ec5c3c409666b34ead6f186b56d0663e59e708 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sun, 20 Oct 2024 09:36:08 + Subject: [PATCH] headers: Add new APIs in cfgmgr32.h Fixes https://github.com/mingw-w64/mingw-w64/issues/61 Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/i