summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2013-07-30 13:22:29 -0700
committerMatt Turner <mattst88@gmail.com>2013-09-04 23:48:52 -0700
commit8ad63f90cd8392a40f115c56b16c54d45012070e (patch)
tree12cc12ef061ecd89050f6f2a6c253ecb275af03e
parent02906e57bd801e20b3094ca348fad563c6b5a922 (diff)
iwmmxt: Disallow if gcc version is < 4.8.
Later versions of gcc-4.7.x are capable of generating iwMMXt instructions properly, but gcc-4.8 contains better support and other fixes, including iwMMXt in conjunction with hardfp. The existing 4.5 requirement was based on attempts to have OLPC use a patched gcc to build pixman. Let's just require gcc-4.8.
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 5b9512c..daf4062 100644
--- a/configure.ac
+++ b/configure.ac
@@ -631,8 +631,8 @@ AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
#ifndef __IWMMXT__
#error "IWMMXT not enabled (with -march=iwmmxt)"
#endif
-#if defined(__GNUC__) && (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5))
-#error "Need GCC >= 4.5 for IWMMXT intrinsics"
+#if defined(__GNUC__) && (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 8))
+#error "Need GCC >= 4.8 for IWMMXT intrinsics"
#endif
#include <mmintrin.h>
int main () {