Bug 17729 - pixman crashs on non-MMX / non-SSE capable CPUs
Summary: pixman crashs on non-MMX / non-SSE capable CPUs
Status: RESOLVED FIXED
Alias: None
Product: pixman
Classification: Unclassified
Component: pixman (show other bugs)
Version: 0.1.3
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Søren Sandmann Pedersen
QA Contact: Søren Sandmann Pedersen
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-22 23:42 UTC by dave.mueller
Modified: 2008-09-23 04:48 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
move _mm_empty() to correct place (519 bytes, patch)
2008-09-22 23:42 UTC, dave.mueller
Details | Splinter Review

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.