changeset 11848:63fecc69c3fb

ppc970 support, patch by Romain Dolbeau
author alex
date Sun, 25 Jan 2004 18:18:21 +0000
parents f5effe037458
children 459ba3f14302
files configure
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sun Jan 25 17:38:16 2004 +0000
+++ b/configure	Sun Jan 25 18:18:21 2004 +0000
@@ -902,6 +902,13 @@
     		*) ;;
     	    esac
 	fi
+	# gcc 3.2 and up supports 970
+	if test "$_cc_major" -ge "3" && test "$_cc_minor" -ge "3"; then
+	    case "$proc" in
+		970*) _march='-mcpu=970' _mcpu='-mtune=970' ;;
+    		*) ;;
+    	    esac
+	fi
     fi
 
     if test -n "$_mcpu"; then