summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-10-23 09:53:08 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-10-23 09:53:08 +0000
commite2362bfa559e14c7d7cfefac00ca64c8be93927c (patch)
tree4991c4879a3cee094ce89b0449fa3c107c489544 /configure
parent4722fa0b827b53ce49eb73941c6b981f0a375512 (diff)
downloadmpv-e2362bfa559e14c7d7cfefac00ca64c8be93927c.tar.bz2
mpv-e2362bfa559e14c7d7cfefac00ca64c8be93927c.tar.xz
Add ARM pld instruction test for FFmpeg ARM optimizations.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27813 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure11
1 files changed, 10 insertions, 1 deletions
diff --git a/configure b/configure
index 1674447fb5..0322259d52 100755
--- a/configure
+++ b/configure
@@ -2440,6 +2440,14 @@ EOF
fi
if arm ; then
+ echocheck "ARM pld instruction"
+ cat > $TMPC << EOF
+int main(void) { __asm__ volatile ("pld [r0]"); return 0; }
+EOF
+ pld=no
+ cc_check && pld=yes
+ echores "$pld"
+
echocheck "ARMv5TE (Enhanced DSP Extensions)"
if test $_armv5te = "auto" ; then
cat > $TMPC << EOF
@@ -2481,7 +2489,7 @@ EOF
echores "$_iwmmxt"
fi
-_cpuexts_all='ALTIVEC MMX MMX2 3DNOW 3DNOWEX SSE SSE2 SSSE3 FAST_CMOV CMOV ARMV5TE ARMV6 ARMVFP IWMMXT MLIB MMI SH4 VIS MVI'
+_cpuexts_all='ALTIVEC MMX MMX2 3DNOW 3DNOWEX SSE SSE2 SSSE3 FAST_CMOV CMOV PLD ARMV5TE ARMV6 ARMVFP IWMMXT MLIB MMI SH4 VIS MVI'
test "$_altivec" = yes && _cpuexts="ALTIVEC $_cpuexts"
test "$_mmx" = yes && _cpuexts="MMX $_cpuexts"
test "$_mmxext" = yes && _cpuexts="MMX2 $_cpuexts"
@@ -2492,6 +2500,7 @@ test "$_sse2" = yes && _cpuexts="SSE2 $_cpuexts"
test "$_ssse3" = yes && _cpuexts="SSSE3 $_cpuexts"
test "$_cmov" = yes && _cpuexts="CMOV $_cpuexts"
test "$_fast_cmov" = yes && _cpuexts="FAST_CMOV $_cpuexts"
+test "$pld" = yes && _cpuexts="PLD $_cpuexts"
test "$_armv5te" = yes && _cpuexts="ARMV5TE $_cpuexts"
test "$_armv6" = yes && _cpuexts="ARMV6 $_cpuexts"
test "$_armvfp" = yes && _cpuexts="ARMVFP $_cpuexts"