aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Poirier <gpoirier@mplayerhq.hu>2006-05-14 22:00:03 +0000
committerGuillaume Poirier <gpoirier@mplayerhq.hu>2006-05-14 22:00:03 +0000
commitfce9551efc1495d48f797fda0a85999007840dc5 (patch)
tree37588576a3f0ef2f4e719e56210b8fe0cbd2d4f1
parented70a5099eab05393633617e0a8e3bd41dcab745 (diff)
downloadffmpeg-fce9551efc1495d48f797fda0a85999007840dc5.tar.gz
Add 3dnow intrinsic support for AMD64 machines: -march=athlon means IA32 for GCC, so use -m3dnow instead.
Note that there's no way to specificly activate 3dnow ext support Originally committed as revision 5380 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-xconfigure2
-rw-r--r--libavcodec/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 0024d3435b..cce077b3c9 100755
--- 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
diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index aba23b35a2..6f82a5bd3e 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -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