From f55b299ae67d2205fb253783e773360e2c9733a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Sun, 20 Apr 2008 16:14:06 +0000 Subject: [PATCH] check for ARM VFP support Originally committed as revision 12911 to svn://svn.ffmpeg.org/ffmpeg/trunk --- configure | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure b/configure index 5c09691c45..ba816f5ccb 100755 --- a/configure +++ b/configure @@ -124,6 +124,7 @@ show_help(){ echo " --disable-ssse3 disable SSSE3 usage" echo " --disable-armv5te disable armv5te usage" echo " --disable-armv6 disable armv6 usage" + echo " --disable-armvfp disable ARM VFP usage" echo " --disable-iwmmxt disable iwmmxt usage" echo " --disable-altivec disable AltiVec usage" echo " --disable-network disable network support [default=no]" @@ -693,6 +694,7 @@ ARCH_EXT_LIST=' altivec armv5te armv6 + armvfp iwmmxt mmi mmx @@ -794,6 +796,7 @@ CMDLINE_SET=' altivec_deps="powerpc" armv5te_deps="armv4l" armv6_deps="armv4l" +armvfp_deps="armv4l" iwmmxt_deps="armv4l" mmi_deps="mips" mmx_deps="x86" @@ -1528,6 +1531,7 @@ fi enabled armv4l && check_asm pld '"pld [r0]"' enabled armv5te && check_asm armv5te '"qadd r0, r0, r0"' enabled armv6 && check_asm armv6 '"sadd16 r0, r0, r0"' +enabled armvfp && check_asm armvfp '"fadds s0, s0, s0"' enabled iwmmxt && check_asm iwmmxt '"wunpckelub wr6, wr4"' enabled mmi && check_asm mmi '"lq $2, 0($2)"' enabled vis && check_asm vis '"pdist %f0, %f0, %f0"' -mcpu=ultrasparc @@ -1860,6 +1864,7 @@ fi if test $arch = "armv4l"; then echo "ARMv5TE enabled ${armv5te-no}" echo "ARMv6 enabled ${armv6-no}" + echo "ARM VFP enabled ${armvfp-no}" echo "IWMMXT enabled ${iwmmxt-no}" fi if test $arch = "mips"; then