diff configure @ 10488:ec04f41e2480

gcc2.95.x has no support for mvi instructions
author alex
date Sun, 27 Jul 2003 22:55:25 +0000
parents 80f9c51b88bb
children 461be9432217
line wrap: on
line diff
--- a/configure	Sun Jul 27 22:41:53 2003 +0000
+++ b/configure	Sun Jul 27 22:55:25 2003 +0000
@@ -919,6 +919,15 @@
     fi
     _mcpu="-mcpu=$proc"
     echores "$proc"
+
+    echocheck "MVI instruction support in GCC"
+    if test "$_cc_major" -ge "3"; then
+    	_def_gcc_mvi_support="#define CAN_COMPILE_ALPHA_MVI 1"
+	echores "yes"
+    else
+	_def_gcc_mvi_support="#undef CAN_COMPILE_ALPHA_MVI"
+	echores "no"
+    fi
     ;;
 
   mips)
@@ -5788,6 +5797,9 @@
 #define ARCH_ARM 1
 #endif
 
+/* only gcc3 can compile mvi instructions */
+$_def_gcc_mvi_support
+
 /* Define this for Cygwin build for win32 */
 $_def_confwin32