Bug 17729

Summary: pixman crashs on non-MMX / non-SSE capable CPUs
Product: pixman Reporter: dave.mueller
Component: pixmanAssignee: Søren Sandmann Pedersen <soren.sandmann>
Status: RESOLVED FIXED QA Contact: Søren Sandmann Pedersen <soren.sandmann>
Severity: normal    
Priority: medium    
Version: 0.1.3   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: move _mm_empty() to correct place

Description dave.mueller 2008-09-22 23:42:34 UTC
Created attachment 19114 [details] [review]
move _mm_empty() to correct place

The "fbComposeSetupSSE2()" function is guarding most of its code depending on the capabilities of the CPU, but unfortunately the call to "_mm_empty()" is not part of this code path but executed unconditionally.
This results in a "illegal instruction" crash on non-MMX / non-SSE capable CPUs caused by the the "emms" instruction (embedded in "_mm_empty()").
Comment 1 Søren Sandmann Pedersen 2008-09-23 04:48:59 UTC
Fixed in master, thanks.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.