From 1f4292346a149641cd7a743bd1b13e3ffa8484a3 Mon Sep 17 00:00:00 2001 From: atmos4 Date: Mon, 8 Jul 2002 23:29:02 +0000 Subject: 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 --- configure | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'configure') 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 -- cgit v1.2.3