aboutsummaryrefslogtreecommitdiff
path: root/sim/mips/sim-main.h
diff options
context:
space:
mode:
authorJames Lemke <jlemke@cygnus>1998-04-29 21:17:53 +0000
committerJames Lemke <jlemke@cygnus>1998-04-29 21:17:53 +0000
commit60372a3f96a7cec14f5097ebf88fa8503fb85a98 (patch)
tree9844a5062af7e3255b9fd805be003da54844deb7 /sim/mips/sim-main.h
parentd1d5d252c43c0bd5712761a158a1c1b497638d57 (diff)
downloadgdb-60372a3f96a7cec14f5097ebf88fa8503fb85a98.zip
gdb-60372a3f96a7cec14f5097ebf88fa8503fb85a98.tar.gz
gdb-60372a3f96a7cec14f5097ebf88fa8503fb85a98.tar.bz2
* sim-main.h, sky-libvpe.c: r59fp_op* functions were called with
1st parm of wrong type. Converted remaining "/" to "FDiv". * interp.c: Make "--float-type host" the default.
Diffstat (limited to 'sim/mips/sim-main.h')
-rw-r--r--sim/mips/sim-main.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/sim/mips/sim-main.h b/sim/mips/sim-main.h
index a1ea1aa..137f08d 100644
--- a/sim/mips/sim-main.h
+++ b/sim/mips/sim-main.h
@@ -171,6 +171,7 @@ convert (SD, CPU, cia, rm, op, from, to)
/* start-sanitize-sky */
#ifdef TARGET_SKY
#ifdef SKY_FUNIT
+#include <assert.h>
#include "wf.h"
#endif
#endif
@@ -669,17 +670,6 @@ 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;
};
@@ -707,6 +697,17 @@ struct sim_state {
#define STATE_CPU(sd,n) (&(sd)->cpu[0])
#endif
+/* 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)->fp_type_opt)
+#define STATE_FP_TYPE_OPT_TARGET 0x80000000
+#endif
+#endif
+/* end-sanitize-sky */
+
sim_state_base base;
};