Add 3dnow intrinsic support for AMD64 machines: -march=athlon means IA32 for GCC...
authorGuillaume Poirier <gpoirier@mplayerhq.hu>
Sun, 14 May 2006 22:00:03 +0000 (22:00 +0000)
committerGuillaume Poirier <gpoirier@mplayerhq.hu>
Sun, 14 May 2006 22:00:03 +0000 (22:00 +0000)
Note that there's no way to specificly activate 3dnow ext support

Originally committed as revision 5380 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure
libavcodec/Makefile

index 0024d34..cce077b 100755 (executable)
--- a/configure
+++ b/configure
@@ -1115,7 +1115,7 @@ return 0;
 EOF
 
 mm3dnow=no
-if $cc -march=athlon -o $TMPO $TMPC 2> /dev/null ; then
+if $cc -m3dnow -o $TMPO $TMPC 2> /dev/null ; then
   mm3dnow=yes
 fi
 
index aba23b3..6f82a5b 100644 (file)
@@ -350,7 +350,7 @@ depend: CFLAGS+= -msse
 endif
 ifdef TARGET_BUILTIN_3DNOW
 i386/fft_3dn.o: CFLAGS+= -m3dnow
-i386/fft_3dn2.o: CFLAGS+= -march=athlon
+i386/fft_3dn2.o: CFLAGS+= -m3dnow
 endif
 endif