diff options
author | Diego Biurrun <diego@biurrun.de> | 2006-10-13 16:04:41 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2006-10-13 16:04:41 +0000 |
commit | a88fc5c0408f78d78d96d298fdc15213e6bfb541 (patch) | |
tree | 487e2cc4753bdd648141d1cddefd7545a5a9df15 | |
parent | 68a205edef062ab8f583a40ab8607a28faedb3b2 (diff) | |
download | ffmpeg-a88fc5c0408f78d78d96d298fdc15213e6bfb541.tar.gz |
Remove intrinsics checks, they are no longer used.
partly based on a patch by Zuxy Meng, zuxy.meng gmail com
Originally committed as revision 6684 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | Doxyfile | 2 | ||||
-rwxr-xr-x | configure | 35 | ||||
-rw-r--r-- | libavcodec/Makefile | 13 |
3 files changed, 1 insertions, 49 deletions
@@ -836,7 +836,7 @@ INCLUDE_FILE_PATTERNS = # omitted =1 is assumed. PREDEFINED = __attribute__(x)="" "RENAME(x)=x ## _TMPL" "DEF(x)=x ## _TMPL" \ - HAVE_BUILTIN_VECTOR HAVE_AV_CONFIG_H HAVE_MMX HAVE_MMX2 HAVE_3DNOW \ + HAVE_AV_CONFIG_H HAVE_MMX HAVE_MMX2 HAVE_3DNOW \ ATTR_ALIGN(x)="" # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then @@ -1223,31 +1223,6 @@ int main(void) { } EOF -# test gcc version to see if vector builtins can be used -# currently only used on i386 for MMX builtins -check_cc -msse <<EOF && builtin_vector=yes || builtin_vector=no -#include <xmmintrin.h> -int main(void) { -#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2) -return 0; -#else -#error no vector builtins -#endif -} -EOF - -# test for mm3dnow.h -test "$cpu" = "x86_64" && march=k8 || march=athlon -check_cc -march=$march <<EOF && mm3dnow=yes || mm3dnow=no -#include <mm3dnow.h> -int main(void) { -__m64 b1; -b1 = _m_pswapd(b1); -_m_femms(); -return 0; -} -EOF - # --- # big/little-endian test if test "$cross_compile" = "no"; then @@ -1575,8 +1550,6 @@ echo "inttypes.h $inttypes" echo "broken inttypes.h $emu_fast_int" if test $cpu = "x86" -o $cpu = "x86_64"; then echo "MMX enabled $mmx" - echo "Vector Builtins $builtin_vector" - echo "3DNow! Builtins $mm3dnow" fi if test $cpu = "armv4l"; then echo "ARMv5TE enabled $armv5te" @@ -1759,14 +1732,6 @@ if test "$mmx" = "yes" ; then echo "#define HAVE_MMX 1" >> $TMPH echo "#define __CPU__ 586" >> $TMPH fi -if test "$builtin_vector" = "yes" ; then - echo "TARGET_BUILTIN_VECTOR=yes" >> config.mak - echo "#define HAVE_BUILTIN_VECTOR 1" >> $TMPH -fi -if test "$mm3dnow" = "yes" ; then - echo "TARGET_BUILTIN_3DNOW=yes" >> config.mak - echo "#define HAVE_MM3DNOW 1" >> $TMPH -fi if test "$armv5te" = "yes" ; then echo "TARGET_ARMV5TE=yes" >> config.mak echo "#define HAVE_ARMV5TE 1" >> $TMPH diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 94aa96ad27..3d961b8fa1 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -339,19 +339,6 @@ endif ifeq ($(CONFIG_CAVS_DECODER),yes) OBJS += i386/cavsdsp_mmx.o endif -ifeq ($(TARGET_BUILTIN_VECTOR),yes) -i386/fft_sse.o: CFLAGS+= -msse -depend: CFLAGS+= -msse -endif -ifeq ($(TARGET_BUILTIN_3DNOW),yes) -i386/fft_3dn.o: CFLAGS+= -m3dnow -ifeq ($(TARGET_ARCH_X86),yes) -i386/fft_3dn2.o: CFLAGS+= -march=athlon -endif -ifeq ($(TARGET_ARCH_X86_64),yes) -i386/fft_3dn2.o: CFLAGS+= -march=k8 -endif -endif endif # armv4l specific stuff |