Originally committed as revision 19502 to svn://svn.ffmpeg.org/ffmpeg/trunk
Måns Rullgård authored on 2009/07/24 08:30:50... | ... |
@@ -2003,6 +2003,7 @@ EOF |
2003 | 2003 |
od -A n -t x1 $TMPO | grep -q '42 *49 *47 *45' && enable bigendian |
2004 | 2004 |
|
2005 | 2005 |
if enabled arm; then |
2006 |
+ |
|
2006 | 2007 |
check_ld <<EOF && enable vfp_args |
2007 | 2008 |
__asm__ (".eabi_attribute 28, 1"); |
2008 | 2009 |
int main(void) { return 0; } |
... | ... |
@@ -2017,10 +2018,14 @@ EOF |
2017 | 2017 |
enabled armvfp && check_asm armvfp '"fadds s0, s0, s0"' |
2018 | 2018 |
enabled iwmmxt && check_asm iwmmxt '"wunpckelub wr6, wr4"' |
2019 | 2019 |
enabled neon && check_asm neon '"vadd.i16 q0, q0, q0"' |
2020 |
+ |
|
2020 | 2021 |
elif enabled mips; then |
2022 |
+ |
|
2021 | 2023 |
check_asm loongson '"dmult.g $1, $2, $3"' |
2022 | 2024 |
enabled mmi && check_asm mmi '"lq $2, 0($2)"' |
2025 |
+ |
|
2023 | 2026 |
elif enabled ppc; then |
2027 |
+ |
|
2024 | 2028 |
check_asm dcbzl '"dcbzl 0, 1"' |
2025 | 2029 |
check_asm ppc4xx '"maclhw r10, r11, r12"' |
2026 | 2030 |
check_asm xform_asm '"lwzx 0, %y0" :: "Z"(*(int*)0)' |
... | ... |
@@ -2047,10 +2052,14 @@ $inc_altivec_h |
2047 | 2047 |
int main (void) { (vector int) {1}; return 0; } |
2048 | 2048 |
EOF |
2049 | 2049 |
fi |
2050 |
+ |
|
2050 | 2051 |
elif enabled sparc; then |
2052 |
+ |
|
2051 | 2053 |
enabled vis && check_asm vis '"pdist %f0, %f0, %f0"' -mcpu=ultrasparc && |
2052 | 2054 |
add_cflags -mcpu=ultrasparc -mtune=ultrasparc |
2055 |
+ |
|
2053 | 2056 |
elif enabled x86; then |
2057 |
+ |
|
2054 | 2058 |
# check whether EBP is available on x86 |
2055 | 2059 |
# As 'i' is stored on the stack, this program will crash |
2056 | 2060 |
# if the base pointer is used to access it because the |
... | ... |
@@ -2093,6 +2102,7 @@ EOF |
2093 | 2093 |
*) append YASMFLAGS "-DPREFIX" ;; |
2094 | 2094 |
esac |
2095 | 2095 |
disabled yasm || { check_yasm "pabsw xmm0, xmm0" && enable yasm; } |
2096 |
+ |
|
2096 | 2097 |
fi |
2097 | 2098 |
|
2098 | 2099 |
if check_func dlopen; then |