iwmmxt: Don't define dummy _mm_empty for >=gcc-4.8
authorMatt Turner <mattst88@gmail.com>
Sun, 30 Sep 2012 18:59:23 +0000 (11:59 -0700)
committerMatt Turner <mattst88@gmail.com>
Sun, 30 Sep 2012 18:59:23 +0000 (11:59 -0700)
Definition was not present in <4.8.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=55451

pixman/pixman-mmx.c

index fccba9d..1e6dbe8 100644 (file)
@@ -52,7 +52,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)