1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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
This commit is contained in:
Guillaume Poirier 2006-05-14 22:00:03 +00:00
parent ed70a5099e
commit fce9551efc
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@ -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

View 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