aboutsummaryrefslogtreecommitdiff
path: root/sim/mips
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>1998-05-07 02:45:07 +0000
committerDoug Evans <dje@google.com>1998-05-07 02:45:07 +0000
commiteb00d70698c9c7c84c33fad6d289ad5747067543 (patch)
tree2b4bd062b172534a7f65133fc0463c424d9d2769 /sim/mips
parent433a8eafaa36690aa99ca3a9c2455d222983ab19 (diff)
downloadgdb-eb00d70698c9c7c84c33fad6d289ad5747067543.zip
gdb-eb00d70698c9c7c84c33fad6d289ad5747067543.tar.gz
gdb-eb00d70698c9c7c84c33fad6d289ad5747067543.tar.bz2
* sim-main.h (INSN_NAME): New arg `cpu'.
Diffstat (limited to 'sim/mips')
-rw-r--r--sim/mips/ChangeLog25
-rw-r--r--sim/mips/sim-main.h10
2 files changed, 33 insertions, 2 deletions
diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog
index cdcbbea..766e414 100644
--- a/sim/mips/ChangeLog
+++ b/sim/mips/ChangeLog
@@ -1,3 +1,28 @@
+Wed May 6 19:42:19 1998 Doug Evans <devans@canuck.cygnus.com>
+
+ * sim-main.h (INSN_NAME): New arg `cpu'.
+
+start-sanitize-sky
+Thu Apr 30 18:51:26 1998 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * sky-libvpe.c (FMAdd, FMSub): Replace r59fp_op3 call with
+ r59fp_mula.
+
+end-sanitize-sky
+start-sanitize-r5900
+Wed Apr 29 22:54:45 1998 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * sim-main.h (R5900_FP_MAX, R5900_FP_MIN): Define.
+ * r5900.igen (r59fp_overflow): Use.
+
+ * r5900.igen (r59fp_op3): Rename to
+ (r59fp_mula): This, delete opm argument.
+ (MADD.S, MADDA.S, MSUB.S, MSUBS.S): Update.
+ (r59fp_mula): Overflowing product propogates through to result.
+ (r59fp_mula): ACC to the MAX propogates to result.
+ (r59fp_mula): Underflow during multiply only sets SU.
+
+end-sanitize-r5900
Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
* configure: Regenerated to track ../common/aclocal.m4 changes.
diff --git a/sim/mips/sim-main.h b/sim/mips/sim-main.h
index 137f08d..690ea81 100644
--- a/sim/mips/sim-main.h
+++ b/sim/mips/sim-main.h
@@ -1,5 +1,5 @@
/* MIPS Simulator definition.
- Copyright (C) 1997 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1998 Free Software Foundation, Inc.
Contributed by Cygnus Support.
This file is part of GDB, the GNU debugger.
@@ -41,7 +41,7 @@ typedef address_word sim_cia;
of doing this. */
#include "itable.h"
#define MAX_INSNS (nr_itable_entries)
-#define INSN_NAME(i) itable[(i)].name
+#define INSN_NAME(cpu,i) itable[(i)].name
#endif
#include "sim-base.h"
@@ -248,6 +248,12 @@ enum {
R5900_EXPBIAS = 127,
};
+/* MAX and MIN FP values */
+enum {
+ R5900_FPMAX = LSMASK32 (30, 0),
+ R5900_FPMIN = LSMASK32 (31, 0),
+};
+
typedef struct _sim_r5900_cpu {