[Ffmpeg-cvslog] r6684 - in trunk: Doxyfile configure libavcodec/Makefile
diego
subversion
Fri Oct 13 18:04:41 CEST 2006
Author: diego
Date: Fri Oct 13 18:04:41 2006
New Revision: 6684
Modified:
trunk/Doxyfile
trunk/configure
trunk/libavcodec/Makefile
Log:
Remove intrinsics checks, they are no longer used.
partly based on a patch by Zuxy Meng, zuxy.meng gmail com
Modified: trunk/Doxyfile
==============================================================================
--- trunk/Doxyfile (original)
+++ trunk/Doxyfile Fri Oct 13 18:04:41 2006
@@ -836,7 +836,7 @@
# 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
Modified: trunk/configure
==============================================================================
--- trunk/configure (original)
+++ trunk/configure Fri Oct 13 18:04:41 2006
@@ -1223,31 +1223,6 @@
}
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 "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 @@
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
Modified: trunk/libavcodec/Makefile
==============================================================================
--- trunk/libavcodec/Makefile (original)
+++ trunk/libavcodec/Makefile Fri Oct 13 18:04:41 2006
@@ -339,19 +339,6 @@
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
More information about the ffmpeg-cvslog
mailing list