Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/m68k/fpe Argument modreg of fpu_decode_ea() is actu...
details: https://anonhg.NetBSD.org/src/rev/e56a14af7fa1
branches: trunk
changeset: 487823:e56a14af7fa1
user: minoura <minoura%NetBSD.org@localhost>
date: Tue Jun 13 12:28:13 2000 +0000
description:
Argument modreg of fpu_decode_ea() is actually an opecode.
That bug prevented awk(1) to work.
diffstat:
sys/arch/m68k/fpe/fpu_calcea.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 617a48c0715a -r e56a14af7fa1 sys/arch/m68k/fpe/fpu_calcea.c
--- a/sys/arch/m68k/fpe/fpu_calcea.c Tue Jun 13 09:43:07 2000 +0000
+++ b/sys/arch/m68k/fpe/fpu_calcea.c Tue Jun 13 12:28:13 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fpu_calcea.c,v 1.8 1999/05/30 20:17:48 briggs Exp $ */
+/* $NetBSD: fpu_calcea.c,v 1.9 2000/06/13 12:28:13 minoura Exp $ */
/*
* Copyright (c) 1995 Gordon W. Ross
@@ -84,7 +84,7 @@
#ifdef DEBUG_FPE
printf("decode_ea: register direct reg=%d\n", ea->ea_regnum);
#endif
- } else if (modreg == 074) {
+ } else if ((modreg & 077) == 074) {
/* immediate */
ea->ea_flags = EA_IMMED;
sig = fetch_immed(frame, insn, &ea->ea_immed[0]);
Home |
Main Index |
Thread Index |
Old Index