mirror of
https://github.com/mpv-player/mpv
synced 2025-04-27 05:39:21 +00:00
support runtime cpudetect on non-x86 systems too
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9025 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
1a862d97c4
commit
46b83bc82a
3
configure
vendored
3
configure
vendored
@ -580,7 +580,9 @@ if x86 || ppc; then
|
|||||||
echocheck "CPU type"
|
echocheck "CPU type"
|
||||||
echores "$pname"
|
echores "$pname"
|
||||||
|
|
||||||
|
# just leaving this here becouse the non-x86 optims
|
||||||
if test "$_runtime_cpudetection" = yes ; then
|
if test "$_runtime_cpudetection" = yes ; then
|
||||||
|
if x86; then
|
||||||
_mmx=yes
|
_mmx=yes
|
||||||
_3dnow=yes
|
_3dnow=yes
|
||||||
_3dnowex=yes
|
_3dnowex=yes
|
||||||
@ -588,6 +590,7 @@ if x86 || ppc; then
|
|||||||
_sse=yes
|
_sse=yes
|
||||||
_sse2=yes
|
_sse2=yes
|
||||||
_mtrr=yes
|
_mtrr=yes
|
||||||
|
fi
|
||||||
_optimizing="Runtime CPU-Detection enabled"
|
_optimizing="Runtime CPU-Detection enabled"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user