dev_video_bktr_ioctl_bt848_h
dlfcn_h
dlopen
+ fast_cmov
freetype2
gprof
imlib2
powerpc_perf="no"
mmx="default"
cmov="no"
-cmov_is_fast="no"
+fast_cmov="no"
armv5te="default"
armv6="default"
iwmmxt="default"
i686|pentiumpro|pentium[23]|pentium-m|athlon|athlon-tbird|athlon-4|athlon-[mx]p|athlon64|k8|opteron|athlon-fx|core2)
add_cflags "-march=$cpu"
cmov="yes"
- cmov_is_fast="yes"
+ fast_cmov="yes"
;;
# targets that do support conditional mov but on which it's slow
pentium4|prescott|nocona)
add_cflags "-march=$cpu"
cmov="yes"
- cmov_is_fast="no"
+ fast_cmov="no"
;;
sparc64)
add_cflags "-mcpu=v9"
if test $arch = "x86_32" -o $arch = "x86_64"; then
echo "MMX enabled $mmx"
echo "CMOV enabled $cmov"
- echo "CMOV is fast $cmov_is_fast"
+ echo "CMOV is fast $fast_cmov"
fi
if test $arch = "armv4l"; then
echo "ARMv5TE enabled $armv5te"
if enabled mmx; then
echo "#define __CPU__ 586" >> $TMPH
fi
-if enabled cmov_is_fast; then
- echo "TARGET_CMOV_IS_FAST=yes" >> config.mak
- echo "#define CMOV_IS_FAST 1" >> $TMPH
-fi
if enabled sdl; then
echo "SDL_LIBS=`"${SDL_CONFIG}" --libs`" >> config.mak
#else /* BRANCHLESS_CABAC_DECODER */
-#if defined CMOV_IS_FAST
+#if defined HAVE_FAST_CMOV
#define BRANCHLESS_GET_CABAC_UPDATE(ret, cabac, statep, low, lowword, range, tmp, tmpbyte)\
"mov "tmp" , %%ecx \n\t"\
"shl $17 , "tmp" \n\t"\
"and %%ecx , "tmp" \n\t"\
"sub "tmp" , "low" \n\t"\
"xor %%ecx , "ret" \n\t"
-#else /* CMOV_IS_FAST */
+#else /* HAVE_FAST_CMOV */
#define BRANCHLESS_GET_CABAC_UPDATE(ret, cabac, statep, low, lowword, range, tmp, tmpbyte)\
"mov "tmp" , %%ecx \n\t"\
"shl $17 , "tmp" \n\t"\
"and "tmp" , %%ecx \n\t"\
"sub %%ecx , "low" \n\t"\
"xor "tmp" , "ret" \n\t"
-#endif /* CMOV_IS_FAST */
+#endif /* HAVE_FAST_CMOV */
#define BRANCHLESS_GET_CABAC(ret, cabac, statep, low, lowword, range, tmp, tmpbyte)\