[MPlayer-cvslog] CVS: main configure,1.995,1.996

Nicolas Plourde CVS syncmail at mplayerhq.hu
Mon May 9 19:02:14 CEST 2005


CVS change done by Nicolas Plourde CVS

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

Modified Files:
	configure 
Log Message:
dcbzl instruction is only for 64-bit implementations. define NO_DCBZL for ffmpeg. patch by Steven M. Schultz <sms at 2BSD.COM>

Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.995
retrieving revision 1.996
diff -u -r1.995 -r1.996
--- configure	9 May 2005 11:53:33 -0000	1.995
+++ configure	9 May 2005 17:02:10 -0000	1.996
@@ -1000,6 +1000,7 @@
 
   ppc)
     _def_arch='#define ARCH_POWERPC 1'
+    _def_dcbzl='#define NO_DCBZL 1'
     _target_arch='TARGET_ARCH_POWERPC = yes'
     iproc='ppc'
     proc=''
@@ -1064,7 +1065,8 @@
 	# 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' ;;
+		970*) _march='-mcpu=970' _mcpu='-mtune=970'
+                      _def_dcbzl='#undef NO_DCBZL' ;;
     		*) ;;
     	    esac
 	fi
@@ -7337,6 +7339,10 @@
 
 $_def_arch
 
+/* For the PPC.  G5 has the dcbzl when in 64bit mode but G4s and earlier do not
+   have the instruction. */
+$_def_dcbzl
+
 /* libmpeg2 wants ARCH_PPC and the rest of mplayer use ARCH_POWERPC,
  * define ARCH_PPC if ARCH_POWERPC is set to cope with that.
  */




More information about the MPlayer-cvslog mailing list