aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authorGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-01-04 13:05:24 +0000
committerGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-01-04 13:05:24 +0000
commit143661f942e2707eb9a4fefe57576b247a7aaeb2 (patch)
tree4752b87a349c0f9aa20601b504302cabab44369b /configure
parentb57cc610daa257d779bb5540318dbfa1b7c5d44b (diff)
Sync ARMv6t2 optimization support from FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28243 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure14
1 files changed, 14 insertions, 0 deletions
diff --git a/configure b/configure
index 8a350fd073..d060f2a80a 100755
--- a/configure
+++ b/configure
@@ -450,6 +450,7 @@ Advanced options:
--enable-altivec enable AltiVec (PowerPC) [autodetect]
--enable-armv5te enable DSP extensions (ARM) [autodetect]
--enable-armv6 enable ARMv6 (ARM) [autodetect]
+ --enable-armv6t2 enable ARMv6t2 (ARM) [autodetect]
--enable-armvfp enable ARM VFP (ARM) [autodetect]
--enable-iwmmxt enable iWMMXt (ARM) [autodetect]
--disable-fastmemcpy disable 3DNow!/SSE/MMX optimized memcpy [enable]
@@ -499,6 +500,7 @@ _cmov=auto
_fast_cmov=auto
_armv5te=auto
_armv6=auto
+_armv6t2=auto
_armvfp=auto
_iwmmxt=auto
_mtrr=auto
@@ -1266,6 +1268,8 @@ for ac_option do
--disable-armv5te) _armv5te=no ;;
--enable-armv6) _armv6=yes ;;
--disable-armv6) _armv6=no ;;
+ --enable-armv6t2) _armv6t2=yes ;;
+ --disable-armv6t2) _armv6t2=no ;;
--enable-armvfp) _armvfp=yes ;;
--disable-armvfp) _armvfp=no ;;
--enable-iwmmxt) _iwmmxt=yes ;;
@@ -2545,6 +2549,16 @@ EOF
fi
echores "$_armv6"
+ echocheck "ARMv6t2 (SIMD instructions)"
+ if test $_armv6t2 = "auto" ; then
+ cat > $TMPC << EOF
+int main(void) { __asm__ volatile ("movt r0, #0"); return 0; }
+EOF
+ _armv6t2=no
+ cc_check && _armv6t2=yes
+ fi
+ echores "$_armv6"
+
echocheck "ARM VFP"
if test $_armvfp = "auto" ; then
cat > $TMPC << EOF