From fce9551efc1495d48f797fda0a85999007840dc5 Mon Sep 17 00:00:00 2001 From: Guillaume Poirier Date: Sun, 14 May 2006 22:00:03 +0000 Subject: [PATCH] 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 --- configure | 2 +- libavcodec/Makefile | 2 +- 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