Re: [PATCH 5/8] ntdll: Add detection for PF_SSE_DAZ_MODE_AVAILABLE

2012-10-20 Thread Chris Robinson
On 10/20/2012 05:40 PM, James Eder wrote: +/* Intel says we need a zeroed 16-byte aligned buffer */ +char buffer[512 + 16]; +XMM_SAVE_AREA32 *state = (XMM_SAVE_AREA32 *)(((ULONG_PTR)buffer + 15) & ~15); +memset(buffer, 0, sizeof(buffer)); + +__asm__ __volatile__( "fxsave %0"

ntdll feature detection patch set

2012-10-20 Thread James Eder
I've been kicking this patch set around in my local git tree for a while and I want to get it out there for comments and maybe even inclusion in Wine. Seeing some comments in another thread about wineboot made me think I should get these patches out rather than holding onto them much longer. I fe

Re: [PATCH] user32: Fix error handling in MapWindowPoints, ClientToScreen and ScreenToClient and add tests for them. (try 2)

2012-10-20 Thread Christian Costa
Ok. I'll add it. Thanks! Le 20/10/2012 21:35, Rico Schüller a écrit : I think we also need a test to prove that "return MapWindowPoints( hwnd, 0, lppnt, 1 ) != 0;" is wrong. I'd probably split the changes to ScreenToClient/ClientToScreen and MapWindowPoints, because they are not necessarily bo

Re: [PATCH] user32: Fix error handling in MapWindowPoints, ClientToScreen and ScreenToClient and add tests for them. (try 2)

2012-10-20 Thread Rico Schüller
I think we also need a test to prove that "return MapWindowPoints( hwnd, 0, lppnt, 1 ) != 0;" is wrong. I'd probably split the changes to ScreenToClient/ClientToScreen and MapWindowPoints, because they are not necessarily bound together. What about something like: wnd2 = CreateWindow("static",

Re: [PATCH] wineboot: detect correct processor name and vendorID, use Intel Pentium 4 as fallback

2012-10-20 Thread Hans Leidekker
On Sat, 2012-10-20 at 18:18 +0200, Patrick Rudolph wrote: > >> The code was copied from ntdll and modified in order to retrieve > >> processorname and vendorID. There's no similiár functionality in > >> wine. > > > > There is such functionality in WBEM (formerly known as WMI). I think > > you're l

Re: [PATCH] wineboot: detect correct processor name and vendorID, use Intel Pentium 4 as fallback

2012-10-20 Thread Patrick Rudolph
Am 2012-10-20 16:52, schrieb Hans Leidekker: On Sat, 2012-10-20 at 16:04 +0200, Patrick Rudolph wrote: Am 2012-10-20 14:54, schrieb Eric Pouech: > Le 20/10/2012 12:42, Patrick Rudolph a écrit : >> This patch need lots of testing, since I can only test it on linux >> using an Intel CPU. >> Plea

Re: [PATCH] wineboot: detect correct processor name and vendorID, use Intel Pentium 4 as fallback

2012-10-20 Thread Hans Leidekker
On Sat, 2012-10-20 at 16:04 +0200, Patrick Rudolph wrote: > Am 2012-10-20 14:54, schrieb Eric Pouech: > > Le 20/10/2012 12:42, Patrick Rudolph a écrit : > >> This patch need lots of testing, since I can only test it on linux > >> using an Intel CPU. > >> Please tests on other OS and systems, too.

Re: [PATCH] wineboot: detect correct processor name and vendorID, use Intel Pentium 4 as fallback

2012-10-20 Thread Patrick Rudolph
Am 2012-10-20 14:54, schrieb Eric Pouech: Le 20/10/2012 12:42, Patrick Rudolph a écrit : This patch need lots of testing, since I can only test it on linux using an Intel CPU. Please tests on other OS and systems, too. please use the ntdll or kernel32 relevant API so that you don't have to copy

Re: [PATCH] wineboot: detect correct processor name and vendorID, use Intel Pentium 4 as fallback

2012-10-20 Thread Eric Pouech
Le 20/10/2012 12:42, Patrick Rudolph a écrit : This patch need lots of testing, since I can only test it on linux using an Intel CPU. Please tests on other OS and systems, too. please use the ntdll or kernel32 relevant API so that you don't have to copy the same code A+