Move _mm_empty() to correct place
authorDavid Müller <dave.mueller@gmx.ch>
Tue, 23 Sep 2008 11:45:51 +0000 (07:45 -0400)
committerSøren Sandmann Pedersen <sandmann@daimi.au.dk>
Tue, 23 Sep 2008 11:45:51 +0000 (07:45 -0400)
commit1c5de7b05831b3d66821707276b71974a232f5c7
tree0d16842c21f32f9d5b05d7574c0e8b2ec21b3748
parentaadcc7f011004794cf88c126641ef8258183878f
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()").

Fix bug 17729.
pixman/pixman-sse2.c