changeset 6675:2377a525addd

Temp workaround for athlon-xp/athlon-mp/etc optimization clash, where xp was wrongly chosen (only real XP supports SSE)
author atmos4
date Mon, 08 Jul 2002 23:29:02 +0000
parents f8551f89dd48
children a957cc0b89a4
files configure
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Mon Jul 08 21:44:51 2002 +0000
+++ b/configure	Mon Jul 08 23:29:02 2002 +0000
@@ -592,9 +592,13 @@
 	;;
     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