[Mplayer-cvslog] CVS: main configure,1.823,1.824

Alex Beregszaszi alex at mplayerhq.hu
Sat Dec 27 20:28:05 CET 2003


Update of /cvsroot/mplayer/main
In directory mail:/tmp/cvs-serv15220

Modified Files:
	configure 
Log Message:
optimizing for cpus on irix

Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.823
retrieving revision 1.824
diff -u -r1.823 -r1.824
--- configure	25 Dec 2003 12:05:28 -0000	1.823
+++ configure	27 Dec 2003 19:27:59 -0000	1.824
@@ -971,6 +971,21 @@
     _march=''
     _mcpu=''
     _optimizing=''
+
+    if irix ; then
+	echocheck "CPU type"
+	proc=`hinv -c processor | grep CPU | cut -d " " -f3`
+	case "`echo $proc`" in
+	    R3000) _march='-mips1' _mcpu='-mtune=r2000' ;;
+	    R4000) _march='-mips3' _mcpu='-mtune=r4000' ;;
+	    R4400) _march='-mips3' _mcpu='-mtune=r4400' ;;
+	    R4600) _march='-mips3' _mcpu='-mtune=r4600' ;;
+	    R5000) _march='-mips4' _mcpu='-mtune=r5000' ;;
+	    R8000|R10000|R12000|R14000|R16000) _march='-mips4' _mcpu='-mtune=r8000' ;;
+	esac
+        echores "$proc"
+    fi
+
     ;;
 
   hppa)




More information about the MPlayer-cvslog mailing list