[Mingw-w64-public] [PATCH] crt: add missing DXVAHD_CreateDevice for x86

2025-01-29 Thread Steve Lhomme
It was first added to arm32 in 4a306baa4a206c9314bdc129e98abfa1aebe2b0e. Then to the common one in 96fe9ec413001bfc3f5971df64bcdedc216a9020. But it was always missing in x86. I verified that's the only one missing in that .def. --- mingw-w64-crt/lib32/dxva2.def | 1 + 1 file changed, 1 insertion(

Re: [Mingw-w64-public] winpthreads and MSVC

2025-01-29 Thread Kirill Makurin
Yes, no problem. I also had a patch for Makefile.am which tried to solve the alias issue by copying `[lib]winpthreads[.dll].{lib|a}` as `[lib]pthread[.dll].{lib|a}` during installation. I can send it again. I see. I could maintain a GitHub repository with a copy of winpthreads, but with Meson

Re: [Mingw-w64-public] winpthreads and MSVC

2025-01-29 Thread Jonathan Yong
On 1/29/25 9:58 PM, Kirill Makurin wrote: Hi, I was writing to the list a few months ago regarding building of winpthreads with MSVC tools. I also sent a few patches back then, none of which were pushed. The first two patches were fixing a syntax error in `src/thread.h` and linking of `tests/

[Mingw-w64-public] [PATCH 1/2] crt: Split out the sincosl() function from sincos() and sincosf()

2025-01-29 Thread Martin Storsjö
Signed-off-by: Martin Storsjö --- mingw-w64-crt/Makefile.am| 3 ++- mingw-w64-crt/math/x86/cossin.c | 23 --- mingw-w64-crt/math/x86/cossinl.c | 29 + 3 files changed, 31 insertions(+), 24 deletions(-) create mode 100644 mingw-w64-crt/mat

[Mingw-w64-public] [PATCH 2/2] crt: Call the regular sin()/cos() functions in sincos() on UCRT/x86

2025-01-29 Thread Martin Storsjö
On UCRT, we pass calls to sin()/cos() to the CRT; the UCRT versions of these functions are faster than our x87 implementations. The same also goes for sincos(); calling the UCRT sin() and cos() from UCRT separately is almost 3x as fast as calling the x87 sincos() implementation. Using assembly fo

[Mingw-w64-public] winpthreads and MSVC

2025-01-29 Thread Kirill Makurin
Hi, I was writing to the list a few months ago regarding building of winpthreads with MSVC tools. I also sent a few patches back then, none of which were pushed. The first two patches were fixing a syntax error in `src/thread.h` and linking of `tests/t_nanosleep.c`. Other patches tried to fix i

Re: [Mingw-w64-public] dirent changes

2025-01-29 Thread Lasse Collin
On 2025-01-28 Pali Rohár wrote: > I think that for excluding 8.3 names you mean to use FindExInfoBasic > level instead of FindExInfoStandard when doing FindFirstFileExW(). > > Level FindExInfoBasic is supported since Windows 7 and I think that > readdir() could be still useful also on Windows XP.