Fix missing instruction in NexGen test code; make it a 386-class CPU too.

(Valtteri Vuorikoski / Jason).
This commit is contained in:
fvdl 1996-12-06 22:27:37 +00:00
parent 6b31797b23
commit 3e4fb99a14
2 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: locore.s,v 1.158 1996/12/03 23:59:25 fvdl Exp $ */
/* $NetBSD: locore.s,v 1.159 1996/12/06 22:27:37 fvdl Exp $ */
/*-
* Copyright (c) 1993, 1994, 1995 Charles M. Hannum. All rights reserved.
@ -255,6 +255,7 @@ try386: /* Try to toggle alignment check flag; does not exist on 386. */
movl $0x5555,%eax
xorl %edx,%edx
movl $2,%ecx
divl %ecx
jnz is386
isnx586:

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.216 1996/12/03 23:59:27 fvdl Exp $ */
/* $NetBSD: machdep.c,v 1.217 1996/12/06 22:27:40 fvdl Exp $ */
/*-
* Copyright (c) 1993, 1994, 1995, 1996 Charles M. Hannum. All rights reserved.
@ -428,7 +428,7 @@ struct cpu_nocpuid_nameclass i386_nocpuid_cpus[] = {
{ CPUVENDOR_INTEL, "Intel", "486SX", CPUCLASS_486 }, /* CPU_486SX */
{ CPUVENDOR_INTEL, "Intel", "486DX", CPUCLASS_486 }, /* CPU_486 */
{ CPUVENDOR_CYRIX, "Cyrix", "486DLC", CPUCLASS_486 }, /* CPU_486DLC */
{ CPUVENDOR_NEXGEN,"NexGen","586", CPUCLASS_586 }, /* CPU_NX586 */
{ CPUVENDOR_NEXGEN,"NexGen","586", CPUCLASS_386 }, /* CPU_NX586 */
};
const char *classnames[] = {