[MPlayer-cvslog] r22347 - trunk/configure

rathann subversion at mplayerhq.hu
Sun Feb 25 23:33:10 CET 2007


Author: rathann
Date: Sun Feb 25 23:33:10 2007
New Revision: 22347

Modified:
   trunk/configure

Log:
Support for PowerPC 440x embedded CPUs.
Approved by Luca Barbato.


Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Sun Feb 25 23:33:10 2007
@@ -1937,6 +1937,14 @@
 		*) ;;
 	    esac
 	fi
+	# gcc 3.4 and up supports 440*
+	if test "$_cc_major" -ge "3" && test "$_cc_minor" -ge "4" || test "$_cc_major" -ge "4"; then
+	    case "$proc" in
+                440EP*) _march='-mcpu=440fp' _mcpu='-mtune=440fp' ;;
+                440G* ) _march='-mcpu=440'   _mcpu='-mtune=440'   ;;
+		*) ;;
+	    esac
+	fi
 	# gcc 4.0 and up supports POWER5
 	if test "$_cc_major" -ge "4"; then
 	    case "$proc" in



More information about the MPlayer-cvslog mailing list