Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/fpu Remove old workaround foe cache problem...
details: https://anonhg.NetBSD.org/src/rev/99601ba57805
branches: trunk
changeset: 935977:99601ba57805
user: rin <rin%NetBSD.org@localhost>
date: Wed Jul 15 07:37:25 2020 +0000
description:
Remove old workaround foe cache problem on ibm4xx.
The problem seems gone already.
diffstat:
sys/arch/powerpc/fpu/fpu_emu.c | 16 ++--------------
1 files changed, 2 insertions(+), 14 deletions(-)
diffs (40 lines):
diff -r f3806aef192c -r 99601ba57805 sys/arch/powerpc/fpu/fpu_emu.c
--- a/sys/arch/powerpc/fpu/fpu_emu.c Wed Jul 15 02:26:07 2020 +0000
+++ b/sys/arch/powerpc/fpu/fpu_emu.c Wed Jul 15 07:37:25 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fpu_emu.c,v 1.24 2020/07/06 10:31:23 rin Exp $ */
+/* $NetBSD: fpu_emu.c,v 1.25 2020/07/15 07:37:25 rin Exp $ */
/*
* Copyright 2001 Wasabi Systems, Inc.
@@ -76,11 +76,10 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fpu_emu.c,v 1.24 2020/07/06 10:31:23 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fpu_emu.c,v 1.25 2020/07/15 07:37:25 rin Exp $");
#ifdef _KERNEL_OPT
#include "opt_ddb.h"
-#include "opt_ppcarch.h"
#endif
#include <sys/param.h>
@@ -260,17 +259,6 @@
opc_disasm((vaddr_t)(tf->tf_srr0), insn.i_int);
}
#endif
-#if defined(PPC_IBM4XX) && defined(DDB) && defined(DEBUG)
- /*
- * XXXX retry an illegal insn once due to cache issues.
- */
- static int lastill = 0;
- if (lastill == tf->tf_srr0) {
- if (fpe_debug & FPE_EX)
- Debugger();
- }
- lastill = tf->tf_srr0;
-#endif /* PPC_IBM4XX && DDB && DEBUG */
return false;
}
}
Home |
Main Index |
Thread Index |
Old Index