[MPlayer-dev-eng] [PATCH] K6-2+/K6-III+ detection in configure (forwarded messagefrom Piergiorgio Sartor)

Diego Biurrun diego at biurrun.de
Sat May 24 00:53:30 CEST 2003


I just stumbled across a really old "patch"... and came up with the
following change to configure.  I have a K6-III+ processor and it is
indeed model 13, for K6-2+ I have to trust the guy.

Is this patch OK?  (hmm, maybe the comment should be removed or
updated in a better way)

Diego

--- configure	23 May 2003 12:37:31 -0000	1.714
+++ configure	23 May 2003 22:49:27 -0000
@@ -662,8 +662,10 @@
     3) proc=i386 iproc=386 ;;
     4) proc=i486 iproc=486 ;;
     5) iproc=586       # LGB: models are: K5/SSA5 K5 K5 K5 ? ? K6 K6 K6-2 K6-3
-	# TODO: how to determine if model 13 is a k6-2 or a k6-3? Couldn't find anything on amd.com
-	if test "$pmodel" -eq 9; then
+	# TODO: how to determine if model 13 is a k6-2 or a k6-3?
+	# Couldn't find anything on amd.com
+	# k6 model 13 are the k6-2+ and k6-3+, which only differ in cache size.
+	if test "$pmodel" -eq 9 -o "$pmodel" -eq 13; then
 		proc=k6-3
 	elif test "$pmodel" -ge 8; then
 		proc=k6-2


-------------- next part --------------
An embedded message was scrubbed...
From: Piergiorgio Sartor <piergiorgio.sartor at nexgo.de>
Subject: [MPlayer-users] k6 model 13
Date: Sat, 26 Oct 2002 19:04:06 +0200 (CEST)
Size: 4289
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030524/187ff1d1/attachment.eml>


More information about the MPlayer-dev-eng mailing list