summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authoratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-07-08 23:29:02 +0000
committeratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-07-08 23:29:02 +0000
commit1f4292346a149641cd7a743bd1b13e3ffa8484a3 (patch)
tree36b4d48ea0ca48b86f14164e1d2c16f9244e48c0 /configure
parentf1a69972e94516389867a4daddd62e5530d08376 (diff)
downloadmpv-1f4292346a149641cd7a743bd1b13e3ffa8484a3.tar.bz2
mpv-1f4292346a149641cd7a743bd1b13e3ffa8484a3.tar.xz
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
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 6 insertions, 2 deletions
diff --git a/configure b/configure
index 7efc255a48..162ec1ac85 100755
--- a/configure
+++ b/configure
@@ -592,9 +592,13 @@ case "$host_arch" in
;;
6) iproc=686
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
- 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
else
proc=athlon-4