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
This commit is contained in:
parent
68a205edef
commit
a88fc5c040
2
Doxyfile
2
Doxyfile
@ -836,7 +836,7 @@ INCLUDE_FILE_PATTERNS =
|
|||||||
# omitted =1 is assumed.
|
# omitted =1 is assumed.
|
||||||
|
|
||||||
PREDEFINED = __attribute__(x)="" "RENAME(x)=x ## _TMPL" "DEF(x)=x ## _TMPL" \
|
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)=""
|
ATTR_ALIGN(x)=""
|
||||||
|
|
||||||
# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then
|
# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then
|
||||||
|
35
configure
vendored
35
configure
vendored
@ -1223,31 +1223,6 @@ int main(void) {
|
|||||||
}
|
}
|
||||||
EOF
|
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
|
# big/little-endian test
|
||||||
if test "$cross_compile" = "no"; then
|
if test "$cross_compile" = "no"; then
|
||||||
@ -1575,8 +1550,6 @@ echo "inttypes.h $inttypes"
|
|||||||
echo "broken inttypes.h $emu_fast_int"
|
echo "broken inttypes.h $emu_fast_int"
|
||||||
if test $cpu = "x86" -o $cpu = "x86_64"; then
|
if test $cpu = "x86" -o $cpu = "x86_64"; then
|
||||||
echo "MMX enabled $mmx"
|
echo "MMX enabled $mmx"
|
||||||
echo "Vector Builtins $builtin_vector"
|
|
||||||
echo "3DNow! Builtins $mm3dnow"
|
|
||||||
fi
|
fi
|
||||||
if test $cpu = "armv4l"; then
|
if test $cpu = "armv4l"; then
|
||||||
echo "ARMv5TE enabled $armv5te"
|
echo "ARMv5TE enabled $armv5te"
|
||||||
@ -1759,14 +1732,6 @@ if test "$mmx" = "yes" ; then
|
|||||||
echo "#define HAVE_MMX 1" >> $TMPH
|
echo "#define HAVE_MMX 1" >> $TMPH
|
||||||
echo "#define __CPU__ 586" >> $TMPH
|
echo "#define __CPU__ 586" >> $TMPH
|
||||||
fi
|
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
|
if test "$armv5te" = "yes" ; then
|
||||||
echo "TARGET_ARMV5TE=yes" >> config.mak
|
echo "TARGET_ARMV5TE=yes" >> config.mak
|
||||||
echo "#define HAVE_ARMV5TE 1" >> $TMPH
|
echo "#define HAVE_ARMV5TE 1" >> $TMPH
|
||||||
|
@ -339,19 +339,6 @@ endif
|
|||||||
ifeq ($(CONFIG_CAVS_DECODER),yes)
|
ifeq ($(CONFIG_CAVS_DECODER),yes)
|
||||||
OBJS += i386/cavsdsp_mmx.o
|
OBJS += i386/cavsdsp_mmx.o
|
||||||
endif
|
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
|
endif
|
||||||
|
|
||||||
# armv4l specific stuff
|
# armv4l specific stuff
|
||||||
|
Loading…
Reference in New Issue
Block a user