* 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.
This commit is contained in:
James Lemke 1998-04-29 21:17:53 +00:00
parent d1d5d252c4
commit 60372a3f96

View File

@ -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;
};