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 <35152647+mori...@users.noreply.githu
On Saturday 19 October 2024 00:10:09 Martin Storsjö wrote:
> On Fri, 18 Oct 2024, Pali Rohár wrote:
>
> > > Liu Hao presented another option in the discussion as well - we could also
> > > define __MSVCRT_VERSION__ to another value inbetween, as it currently is
> > > 0x700 for msvcr70.dll, we coul
On Saturday 19 October 2024 09:15:24 LIU Hao wrote:
> 在 2024-10-19 04:36, Martin Storsjö 写道:
> > But you're right that technically, msvcrt.dll is more of a 6.0 than a
> > 7.0 msvcrt (although it has gotten many additions on top of the original
> > one from MSVC 6.0). I guess we could use 0x6FF as w