echo " (requires enabling PMC)"
echo " --disable-altivec disable AltiVec optimizations"
echo " --disable-amd3dnow disable 3DNow! optimizations"
+ echo " --disable-amd3dnowext disable 3DNow! extended optimizations"
echo " --disable-mmx disable MMX optimizations"
echo " --disable-mmx2 disable MMX2 optimizations"
echo " --disable-sse disable SSE optimizations"
ARCH_EXT_LIST='
altivec
amd3dnow
+ amd3dnowext
armv5te
armv6
armv6t2
# options emitted with CONFIG_ prefix but not available on command line
CONFIG_EXTRA="
- fft_mmx
oldscaler
"
# architecture extensions
altivec_deps="ppc"
amd3dnow_deps="mmx"
+amd3dnowext_deps="amd3dnow"
armv5te_deps="arm"
armv6_deps="arm"
armv6t2_deps="arm"
vis_deps="sparc"
# common features
-fft_suggest="fft_mmx"
-fft_mmx_deps="mmx yasm"
oldscaler_deps="!swscale"
# decoders / encoders
eac3_decoder_deps="gpl"
eac3_decoder_select="fft mdct"
eatgq_decoder_select="aandct"
+eatqi_decoder_select="aandct"
ffv1_decoder_select="golomb"
flac_decoder_select="golomb"
flac_encoder_select="golomb"
qdm2_decoder_select="fft mdct rdft"
rv10_encoder_select="aandct"
rv20_encoder_select="aandct"
+rv30_decoder_select="golomb"
+rv40_decoder_select="golomb"
shorten_decoder_select="golomb"
sonic_decoder_select="golomb"
sonic_encoder_select="golomb"
# gcc stupidly only outputs the basename of targets with -MM, but we need the
# full relative path for objects in subdirectories for non-recursive Make.
-DEPEND_CMD='$(CC) $(CFLAGS) -MM -MG $< | sed -e "/^\#.*/d" -e "s,^[[:space:]]*$(*F)\\.o,$(@D)/$(*F).o," -e "s,\\([[:space:]]\\)\\(version\\.h\\),\\1\$$(BUILD_ROOT_REL)/\\2,"'
+DEPEND_CMD='$(CC) $(CFLAGS) -MM $< | sed -e "/^\#.*/d" -e "s,^[[:space:]]*$(*F)\\.o,$(@D)/$(*F).o,"'
# find source path
source_path="`dirname \"$0\"`"
check_cflags -std=c99
case "$arch" in
- i386|i486|i586|i686|i86pc|BePC)
- arch="x86"
- subarch="x86_32"
- enable fast_unaligned
- ;;
- x86_64|amd64)
- arch="x86"
- subarch="x86_32"
- enable cmov
- enable fast_cmov
- enable fast_unaligned
- check_cc <<EOF && enable fast_64bit && subarch="x86_64"
- int test[sizeof(char*) - 7];
-EOF
- ;;
- arm|armv[4567]*l)
- arch="arm"
- ;;
alpha)
arch="alpha"
enable fast_64bit
check_cflags -mieee
;;
- "Power Macintosh"|ppc|powerpc)
- arch="ppc"
- enable fast_unaligned
+ arm|armv[4567]*l)
+ arch="arm"
;;
- ppc64)
- arch="ppc"
+ avr32)
+ ;;
+ bfin)
+ arch="bfin"
+ ;;
+ ia64)
+ arch="ia64"
enable fast_64bit
- enable fast_unaligned
+ ;;
+ m68k)
+ arch="m68k"
;;
mips|mipsel|IP*)
arch="mips"
arch="mips"
enable fast_64bit
;;
- sun4u|sparc64)
- arch="sparc"
- subarch="sparc64"
- enable fast_64bit
- ;;
- sparc)
- arch="sparc"
- ;;
- sh4|sh)
- arch="sh4"
- ;;
parisc|hppa)
arch="parisc"
;;
arch="parisc"
enable fast_64bit
;;
+ "Power Macintosh"|ppc|powerpc)
+ arch="ppc"
+ enable fast_unaligned
+ ;;
+ ppc64)
+ arch="ppc"
+ enable fast_64bit
+ enable fast_unaligned
+ ;;
s390|s390x)
arch="s390"
;;
- m68k)
- arch="m68k"
+ sh4|sh)
+ arch="sh4"
;;
- ia64)
- arch="ia64"
+ sparc)
+ arch="sparc"
+ ;;
+ sun4u|sparc64)
+ arch="sparc"
+ subarch="sparc64"
enable fast_64bit
;;
- bfin)
- arch="bfin"
+ i386|i486|i586|i686|i86pc|BePC)
+ arch="x86"
+ subarch="x86_32"
+ enable fast_unaligned
+ ;;
+ x86_64|amd64)
+ arch="x86"
+ subarch="x86_32"
+ enable cmov
+ enable fast_cmov
+ enable fast_unaligned
+ check_cc <<EOF && enable fast_64bit && subarch="x86_64"
+ int test[sizeof(char*) - 7];
+EOF
;;
*)
arch="unknown"
echo "MMX enabled ${mmx-no}"
echo "MMX2 enabled ${mmx2-no}"
echo "3DNow! enabled ${amd3dnow-no}"
+ echo "3DNow! extended enabled ${amd3dnowext-no}"
echo "SSE enabled ${sse-no}"
echo "SSSE3 enabled ${ssse3-no}"
echo "CMOV enabled ${cmov-no}"