configure: detect Loongson MIPS extensions

Originally committed as revision 18978 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2009-05-28 23:19:29 +00:00
parent b716a79215
commit 85dd97adff
1 changed files with 3 additions and 0 deletions

3
configure vendored
View File

@ -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)'