Commit fce9551e authored by Guillaume Poirier's avatar Guillaume Poirier

Add 3dnow intrinsic support for AMD64 machines: -march=athlon means IA32 for...

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
parent ed70a509
...@@ -1115,7 +1115,7 @@ return 0; ...@@ -1115,7 +1115,7 @@ return 0;
EOF EOF
mm3dnow=no 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 mm3dnow=yes
fi fi
......
...@@ -350,7 +350,7 @@ depend: CFLAGS+= -msse ...@@ -350,7 +350,7 @@ depend: CFLAGS+= -msse
endif endif
ifdef TARGET_BUILTIN_3DNOW ifdef TARGET_BUILTIN_3DNOW
i386/fft_3dn.o: CFLAGS+= -m3dnow i386/fft_3dn.o: CFLAGS+= -m3dnow
i386/fft_3dn2.o: CFLAGS+= -march=athlon i386/fft_3dn2.o: CFLAGS+= -m3dnow
endif endif
endif endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment