You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-23 21:54:53 +02:00
Set HAVE_FAST_CLZ if CPU has a fast count leading zeros instruction
Originally committed as revision 21216 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
9
configure
vendored
9
configure
vendored
@@ -962,6 +962,7 @@ HAVE_LIST="
|
|||||||
exp2
|
exp2
|
||||||
exp2f
|
exp2f
|
||||||
fast_64bit
|
fast_64bit
|
||||||
|
fast_clz
|
||||||
fast_cmov
|
fast_cmov
|
||||||
fast_unaligned
|
fast_unaligned
|
||||||
fork
|
fork
|
||||||
@@ -1094,6 +1095,8 @@ sse_deps="mmx"
|
|||||||
ssse3_deps="sse"
|
ssse3_deps="sse"
|
||||||
vis_deps="sparc"
|
vis_deps="sparc"
|
||||||
|
|
||||||
|
fast_clz_if_any="alpha armv5te avr32 mips ppc x86"
|
||||||
|
|
||||||
need_memalign="altivec neon sse"
|
need_memalign="altivec neon sse"
|
||||||
inline_asm_deps="!tms470"
|
inline_asm_deps="!tms470"
|
||||||
|
|
||||||
@@ -2312,6 +2315,12 @@ EOF
|
|||||||
esac
|
esac
|
||||||
disabled yasm || { check_yasm "pabsw xmm0, xmm0" && enable yasm; }
|
disabled yasm || { check_yasm "pabsw xmm0, xmm0" && enable yasm; }
|
||||||
|
|
||||||
|
case "$cpu" in
|
||||||
|
athlon*|opteron*|k8*|pentium|pentium-mmx|prescott|nocona|atom|geode)
|
||||||
|
disable fast_clz
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if check_func dlopen; then
|
if check_func dlopen; then
|
||||||
|
|||||||
Reference in New Issue
Block a user