* sim-main.h (INSN_NAME): New arg `cpu'.
authorDoug Evans <dje@google.com>
Thu, 7 May 1998 02:45:07 +0000 (02:45 +0000)
committerDoug Evans <dje@google.com>
Thu, 7 May 1998 02:45:07 +0000 (02:45 +0000)
sim/mips/ChangeLog
sim/mips/sim-main.h

index cdcbbeacc72ead9a4c5747cd6811536e1fc31826..766e4142284b06b83c918f832e21b3d1fc7f32f3 100644 (file)
@@ -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.
 Tue Apr 28 18:33:31 1998  Geoffrey Noer  <noer@cygnus.com>
 
         * configure: Regenerated to track ../common/aclocal.m4 changes.
index 137f08dadc6bd0da318051b0290f39edef231667..690ea81b76a1cf7295c079accdc63b19ded6034f 100644 (file)
@@ -1,5 +1,5 @@
 /* MIPS Simulator definition.
 /* 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.
    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)
    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"
 #endif
 
 #include "sim-base.h"
@@ -248,6 +248,12 @@ enum {
   R5900_EXPBIAS = 127,
 };
 
   R5900_EXPBIAS = 127,
 };
 
+/* MAX and MIN FP values */
+enum {
+  R5900_FPMAX = LSMASK32 (30, 0),
+  R5900_FPMIN = LSMASK32 (31, 0),
+};
+
 
 
 typedef struct _sim_r5900_cpu {
 
 
 typedef struct _sim_r5900_cpu {
This page took 0.031949 seconds and 4 git commands to generate.