aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-base.h
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/sim-base.h')
-rw-r--r--sim/common/sim-base.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/sim/common/sim-base.h b/sim/common/sim-base.h
index c8c6a5e..c455f41 100644
--- a/sim/common/sim-base.h
+++ b/sim/common/sim-base.h
@@ -214,6 +214,17 @@ typedef struct {
#define STATE_MEMOPT(sd) ((sd)->base.memopt)
sim_memopt *memopt;
+/* start-sanitize-sky */
+#ifdef TARGET_SKY
+#ifdef SKY_FUNIT
+ /* Record of option for floating point implementation type. */
+#define STATE_FP_TYPE_OPT(sd) ((sd)->base.fp_type_opt)
+#define STATE_FP_TYPE_OPT_TARGET 0x80000000
+ int fp_type_opt;
+#endif
+#endif
+/* end-sanitize-sky */
+
/* event handler */
#define STATE_EVENTS(sd) (&(sd)->base.events)
sim_events events;