summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2012-09-30 11:59:23 -0700
committerSøren Sandmann Pedersen <ssp@redhat.com>2012-09-30 17:54:27 -0400
commit8ebf42cbd835daac6db14ca7046c966ca36fd127 (patch)
tree45f1e157115f75924854856a9ebd41996bc0e078
parentb763db601d9866119d1b5b11f9a1cbfb336e4bc2 (diff)
iwmmxt: Don't define dummy _mm_empty for >=gcc-4.80.26
Definition was not present in <4.8. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=55451
-rw-r--r--pixman/pixman-mmx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pixman/pixman-mmx.c b/pixman/pixman-mmx.c
index febf95a4..e678ce54 100644
--- a/pixman/pixman-mmx.c
+++ b/pixman/pixman-mmx.c
@@ -51,7 +51,7 @@
#define CHECKPOINT()
#endif
-#ifdef USE_ARM_IWMMXT
+#if defined USE_ARM_IWMMXT && __GNUC__ == 4 && __GNUC_MINOR__ < 8
/* Empty the multimedia state. For some reason, ARM's mmintrin.h doesn't provide this. */
extern __inline void __attribute__((__gnu_inline__, __always_inline__, __artificial__))
_mm_empty (void)