[Bug 22385] GDI bezier code has unaligned access for SSE registers code for/on Intel Core 2 and newer CPUs

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Apr 17 04:47:58 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=22385





--- Comment #5 from Marcus Meissner <marcus at jet.franken.de>  2010-04-17 04:47:58 ---
(the stack in GDI_Bezier we received is only 4 byte aligned
so the stack value POINT is only 4 byte aligned
and the SSE store from it then faults.

Usual programs doing SSE need to be in alignment starting from main() on 
(only main auto aligns the stack).

With Win32 code inbetween we would not be able to guarantee this alignment.

So until gcc gets a stack alignment function attribute which it currently hasnt
... this can only work if you disable SSE.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list