summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2012-05-27 13:01:57 -0400
committerMatt Turner <mattst88@gmail.com>2012-05-27 14:59:56 -0400
commitda6193b1fcc1dfab27f4c36917864f2f2c41cf3e (patch)
tree151a94d63545abaaa21ffc7658b929090bb46f08
parent62c4bdc94f82d1e4c5dc0e58b5903382d74f3883 (diff)
mmx: add missing _mm_empty calls
Fixes spurious test failures on x86-32.
-rw-r--r--pixman/pixman-mmx.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/pixman/pixman-mmx.c b/pixman/pixman-mmx.c
index bb125bf0..6e292c6b 100644
--- a/pixman/pixman-mmx.c
+++ b/pixman/pixman-mmx.c
@@ -2232,6 +2232,8 @@ mmx_composite_src_x888_0565 (pixman_implementation_t *imp,
w--;
}
}
+
+ _mm_empty ();
}
static void
@@ -3542,6 +3544,7 @@ mmx_fetch_x8r8g8b8 (pixman_iter_t *iter, const uint32_t *mask)
w--;
}
+ _mm_empty ();
return iter->buffer;
}
@@ -3585,6 +3588,7 @@ mmx_fetch_r5g6b5 (pixman_iter_t *iter, const uint32_t *mask)
w--;
}
+ _mm_empty ();
return iter->buffer;
}
@@ -3630,6 +3634,7 @@ mmx_fetch_a8 (pixman_iter_t *iter, const uint32_t *mask)
w--;
}
+ _mm_empty ();
return iter->buffer;
}