aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorJames Lemke <jlemke@cygnus>1998-04-22 20:41:04 +0000
committerJames Lemke <jlemke@cygnus>1998-04-22 20:41:04 +0000
commitaefd02b523a6cfebfc1862692e645c1a46135075 (patch)
treeedf17fa6f736a81a0344779a98ad220287097fb5 /sim
parent75a55dc37a45ead517e5d7d36edfd1761b2237be (diff)
downloadgdb-aefd02b523a6cfebfc1862692e645c1a46135075.zip
gdb-aefd02b523a6cfebfc1862692e645c1a46135075.tar.gz
gdb-aefd02b523a6cfebfc1862692e645c1a46135075.tar.bz2
Move target specific stuff from sim/common/sim-base.h to sim/mips/sim-main.h
Diffstat (limited to 'sim')
-rw-r--r--sim/common/ChangeLog7
-rw-r--r--sim/mips/sim-main.h11
2 files changed, 18 insertions, 0 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 191e2e9..37cd0e9 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,3 +1,9 @@
+start-sanitize-sky
+Wed Apr 22 16:49:48 1998 Jim Lemke <jlemke@cygnus.com>
+
+ * sim-base.h: Move target specific stuff to sim/mips/sim-main.h
+
+end-sanitize-sky
Wed Apr 22 14:14:19 1998 Michael Meissner <meissner@cygnus.com>
* Make-common.in (CSEARCH): Add -I to intl directories.
@@ -7,6 +13,7 @@ Wed Apr 22 14:14:19 1998 Michael Meissner <meissner@cygnus.com>
start-sanitize-sky
Tue Apr 21 17:29:48 1998 Jim Lemke <jlemke@cygnus.com>
+
* sim-base.h: Add configure option --with-sim-funit.
end-sanitize-sky
diff --git a/sim/mips/sim-main.h b/sim/mips/sim-main.h
index 326eff0..a1ea1aa 100644
--- a/sim/mips/sim-main.h
+++ b/sim/mips/sim-main.h
@@ -669,6 +669,17 @@ enum float_operation
unsigned8 acc[3 * 8];
/* end-sanitize-vr5400 */
+/* start-sanitize-sky */
+#ifdef TARGET_SKY
+#ifdef SKY_FUNIT
+ /* Record of option for floating point implementation type. */
+ int fp_type_opt;
+#define STATE_FP_TYPE_OPT(sd) ((sd)->base.fp_type_opt)
+#define STATE_FP_TYPE_OPT_TARGET 0x80000000
+#endif
+#endif
+/* end-sanitize-sky */
+
sim_cpu_base base;
};