aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-05-28 23:19:29 +0000
committerMåns Rullgård <mans@mansr.com>2009-05-28 23:19:29 +0000
commit85dd97adff3560b5d3c79f6cd12b59f1d3c771ca (patch)
treeaac1d31341426036f400317ae3656b56c0205aad
parentb716a792158ffccd04f30420813deff78f88e308 (diff)
downloadffmpeg-85dd97adff3560b5d3c79f6cd12b59f1d3c771ca.tar.gz
configure: detect Loongson MIPS extensions
Originally committed as revision 18978 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure
index 590853e27d..c35bfbb9b5 100755
--- a/configure
+++ b/configure
@@ -897,6 +897,7 @@ HAVE_LIST="
libdc1394_1
libdc1394_2
llrint
+ loongson
lrint
lrintf
lzo1x_999_compress
@@ -1916,6 +1917,8 @@ fi
# check for assembler specific support
+enabled mips && check_asm loongson '"dmult.g $1, $2, $3"'
+
enabled ppc && check_asm dcbzl '"dcbzl 0, 1"'
enabled ppc && check_asm ppc4xx '"maclhw r10, r11, r12"'
enabled ppc && check_asm xform_asm '"lwzx 0, %y0" :: "Z"(*(int*)0)'