mirror of https://github.com/mpv-player/mpv
Move fast cmov detection code from the PPC section into the x86 section
where it has a chance of actually being executed and fix the obvious syntax errors it contained in the process. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22719 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
efa7170803
commit
0d059c66a5
|
@ -1787,6 +1787,16 @@ EOF
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if test $_cmov = "yes" && test $_fast_cmov = "auto" ; then
|
||||||
|
_fast_cmov="yes"
|
||||||
|
case "$proc" in
|
||||||
|
pentium4|prescott|nocona)
|
||||||
|
_fast_cmov="no"
|
||||||
|
esac
|
||||||
|
else
|
||||||
|
_fast_cmov="no"
|
||||||
|
fi
|
||||||
|
|
||||||
echores "$proc"
|
echores "$proc"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
@ -1973,17 +1983,6 @@ EOF
|
||||||
echores "$proc"
|
echores "$proc"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#FIXME: The runtime CPU detection could check this as well.
|
|
||||||
if test _cmov = "yes" && test _fast_cmov = "auto" ; then
|
|
||||||
_fast_cmov="yes"
|
|
||||||
case "$proc" in
|
|
||||||
pentium4|prescott|nocona)
|
|
||||||
_fast_cmov="no"
|
|
||||||
esac
|
|
||||||
else
|
|
||||||
_fast_cmov="no"
|
|
||||||
fi
|
|
||||||
|
|
||||||
echocheck "GCC & CPU optimization abilities"
|
echocheck "GCC & CPU optimization abilities"
|
||||||
|
|
||||||
if test -n "$proc"; then
|
if test -n "$proc"; then
|
||||||
|
|
Loading…
Reference in New Issue