NetBSD Problem Report #3110

Received: (qmail-queue invoked from smtpd); 15 Jan 1997 07:27:37 -0000
Message-Id: <199701150725.IAA01228@rumolt.teuto.de>
Date: Wed, 15 Jan 1997 08:25:30 +0100 (MET)
From: martin@rumolt.teuto.de
Reply-To: martin@rumolt.teuto.de
To: gnats-bugs@gnats.netbsd.org
Subject: port-i386 does not identify MMX cpus
X-Send-Pr-Version: 3.95

>Number:         3110
>Category:       port-i386
>Synopsis:       MMX cpus are not identified
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 14 23:35:00 +0000 1997
>Closed-Date:    Thu Jan 16 23:21:04 +0000 1997
>Last-Modified:  Thu Jan 16 23:21:41 +0000 1997
>Originator:     Martin Husemann
>Release:        current
>Organization:
private
>Environment:
System: NetBSD rumolt.teuto.de 1.2 NetBSD 1.2 (RUMOLT) #1: Fri Oct 4 04:57:09 MET DST 1996 root@rumolt.teuto.de:/usr/src/sys/arch/i386/compile/RUMOLT i386
Any P5/P6 cpu with mmx support.

>Description:
Just a minor nit, while we're at frobbing cpuid tables. We should
add code to identify MMX cpus.

>How-To-Repeat:
Boot on a MMX cpu.

>Fix:
Apply the following patch.

*** /tmp/machdep.c	Wed Jan 15 08:02:25 1997
--- machdep.c	Wed Jan 15 08:03:38 1997
***************
*** 628,635 ****
  		}
  	}

! 	sprintf(cpu_model, "%s %s%s (%s-class)", vendorname, modifier, name,
! 		classnames[class]);
  	printf("cpu0: %s\n", cpu_model);

  	cpu_class = class;
--- 628,635 ----
  		}
  	}

! 	sprintf(cpu_model, "%s %s%s (%s-class)%s", vendorname, modifier, name,
! 		classnames[class], cpu_feature & 0x800000 ? " with MMX" : "");
  	printf("cpu0: %s\n", cpu_model);

  	cpu_class = class;

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: perry 
State-Changed-When: Thu Jan 16 15:21:04 PST 1997 
State-Changed-Why:  
applied the patch. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.