mirror of
https://github.com/mpv-player/mpv
synced 2025-04-18 21:27:00 +00:00
Temp workaround for athlon-xp/athlon-mp/etc optimization clash, where xp was wrongly chosen (only real XP supports SSE)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6676 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
f1a69972e9
commit
1f4292346a
8
configure
vendored
8
configure
vendored
@ -592,9 +592,13 @@ case "$host_arch" in
|
|||||||
;;
|
;;
|
||||||
6) iproc=686
|
6) iproc=686
|
||||||
if test "$pmodel" -ge 7; then
|
if test "$pmodel" -ge 7; then
|
||||||
proc=athlon-xp # or MP, but it doesn't really matter
|
proc=athlon-4
|
||||||
elif test "$pmodel" -ge 6; then
|
elif test "$pmodel" -ge 6; then
|
||||||
if test "$pstepping" -ge 2; then
|
# only Athlon XP supports ssem MP, Duron etc not
|
||||||
|
# but most of them are cpuid 666, so check if sse detected
|
||||||
|
# btw. there is also athlon-mp opt, but we need extended
|
||||||
|
# cpuid to detect if cpu is SMP capable -> athlon-mp ::atmos
|
||||||
|
if test "$_sse" = yes && test "$pstepping" -ge 2; then
|
||||||
proc=athlon-xp
|
proc=athlon-xp
|
||||||
else
|
else
|
||||||
proc=athlon-4
|
proc=athlon-4
|
||||||
|
Loading…
Reference in New Issue
Block a user