[Pixman] [PATCH] Add forgotten _mm_empty() calls in the SSE2 fetchers.

Søren Sandmann sandmann at cs.au.dk
Wed Feb 16 04:13:20 PST 2011


From: Søren Sandmann Pedersen <ssp at redhat.com>

---
 pixman/pixman-sse2.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/pixman/pixman-sse2.c b/pixman/pixman-sse2.c
index 2e135e2..29d2ea8 100644
--- a/pixman/pixman-sse2.c
+++ b/pixman/pixman-sse2.c
@@ -6200,6 +6200,8 @@ sse2_fetch_x8r8g8b8 (pixman_iter_t *iter, const uint32_t *mask)
 	w--;
     }
 
+    _mm_empty();
+    
     return iter->buffer;
 }
 
@@ -6246,6 +6248,8 @@ sse2_fetch_r5g6b5 (pixman_iter_t *iter, const uint32_t *mask)
 	w--;
     }
 
+    _mm_empty();
+    
     return iter->buffer;
 }
 
@@ -6292,6 +6296,8 @@ sse2_fetch_a8 (pixman_iter_t *iter, const uint32_t *mask)
 	w--;
     }
 
+    _mm_empty();
+    
     return iter->buffer;
 }
 
-- 
1.7.3.1



More information about the Pixman mailing list