[Ffmpeg-cvslog] CVS: ffmpeg configure,1.272,1.273

Guillaume Poirier CVS gpoirier
Tue May 16 16:24:47 CEST 2006


Update of /cvsroot/ffmpeg/ffmpeg
In directory mail:/var2/tmp/cvs-serv11020

Modified Files:
	configure 
Log Message:
fix compilation of 3dnowext instinsincs, both on ia32 and AMD64.
3dnow intrinsincs are for now only compiled if 3dnowext support is available. (I should add smth that 
checks for plain 3dnow later)


Index: configure
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/configure,v
retrieving revision 1.272
retrieving revision 1.273
diff -u -d -r1.272 -r1.273
--- configure	16 May 2006 11:51:05 -0000	1.272
+++ configure	16 May 2006 14:24:44 -0000	1.273
@@ -1114,13 +1114,19 @@
 cat > $TMPC << EOF
 #include <mm3dnow.h>
 int main(void) {
+__m64 b1;
+b1 = _m_pswapd(b1);
 _m_femms();
 return 0;
 }
 EOF
 
 mm3dnow=no
-if $cc -m3dnow -o $TMPO $TMPC 2> /dev/null ; then
+march=athlon
+if test "$cpu" = "x86_64"; then
+  march=k8
+fi
+if $cc -march=$march -o $TMPO $TMPC 2> /dev/null ; then
   mm3dnow=yes
 fi
 





More information about the ffmpeg-cvslog mailing list