From 60372a3f96a7cec14f5097ebf88fa8503fb85a98 Mon Sep 17 00:00:00 2001 From: James Lemke Date: Wed, 29 Apr 1998 21:17:53 +0000 Subject: [PATCH] * 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. --- sim/mips/sim-main.h | 23 ++++++++++++----------- 1 file 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 #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; }; -- 2.7.4