mirror of
https://github.com/mpv-player/mpv
synced 2025-03-19 09:57:34 +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
17
configure
vendored
17
configure
vendored
@ -580,14 +580,17 @@ if x86 || ppc; then
|
||||
echocheck "CPU type"
|
||||
echores "$pname"
|
||||
|
||||
# just leaving this here becouse the non-x86 optims
|
||||
if test "$_runtime_cpudetection" = yes ; then
|
||||
_mmx=yes
|
||||
_3dnow=yes
|
||||
_3dnowex=yes
|
||||
_mmx2=yes
|
||||
_sse=yes
|
||||
_sse2=yes
|
||||
_mtrr=yes
|
||||
if x86; then
|
||||
_mmx=yes
|
||||
_3dnow=yes
|
||||
_3dnowex=yes
|
||||
_mmx2=yes
|
||||
_sse=yes
|
||||
_sse2=yes
|
||||
_mtrr=yes
|
||||
fi
|
||||
_optimizing="Runtime CPU-Detection enabled"
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user