From eb00d70698c9c7c84c33fad6d289ad5747067543 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Thu, 7 May 1998 02:45:07 +0000 Subject: [PATCH] * sim-main.h (INSN_NAME): New arg `cpu'. --- sim/mips/ChangeLog | 25 +++++++++++++++++++++++++ sim/mips/sim-main.h | 10 ++++++++-- 2 files changed, 33 insertions(+), 2 deletions(-) diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog index cdcbbeacc72..766e4142284 100644 --- a/sim/mips/ChangeLog +++ b/sim/mips/ChangeLog @@ -1,3 +1,28 @@ +Wed May 6 19:42:19 1998 Doug Evans + + * sim-main.h (INSN_NAME): New arg `cpu'. + +start-sanitize-sky +Thu Apr 30 18:51:26 1998 Andrew Cagney + + * sky-libvpe.c (FMAdd, FMSub): Replace r59fp_op3 call with + r59fp_mula. + +end-sanitize-sky +start-sanitize-r5900 +Wed Apr 29 22:54:45 1998 Andrew Cagney + + * sim-main.h (R5900_FP_MAX, R5900_FP_MIN): Define. + * r5900.igen (r59fp_overflow): Use. + + * r5900.igen (r59fp_op3): Rename to + (r59fp_mula): This, delete opm argument. + (MADD.S, MADDA.S, MSUB.S, MSUBS.S): Update. + (r59fp_mula): Overflowing product propogates through to result. + (r59fp_mula): ACC to the MAX propogates to result. + (r59fp_mula): Underflow during multiply only sets SU. + +end-sanitize-r5900 Tue Apr 28 18:33:31 1998 Geoffrey Noer * configure: Regenerated to track ../common/aclocal.m4 changes. diff --git a/sim/mips/sim-main.h b/sim/mips/sim-main.h index 137f08dadc6..690ea81b76a 100644 --- a/sim/mips/sim-main.h +++ b/sim/mips/sim-main.h @@ -1,5 +1,5 @@ /* MIPS Simulator definition. - Copyright (C) 1997 Free Software Foundation, Inc. + Copyright (C) 1997, 1998 Free Software Foundation, Inc. Contributed by Cygnus Support. This file is part of GDB, the GNU debugger. @@ -41,7 +41,7 @@ typedef address_word sim_cia; of doing this. */ #include "itable.h" #define MAX_INSNS (nr_itable_entries) -#define INSN_NAME(i) itable[(i)].name +#define INSN_NAME(cpu,i) itable[(i)].name #endif #include "sim-base.h" @@ -248,6 +248,12 @@ enum { R5900_EXPBIAS = 127, }; +/* MAX and MIN FP values */ +enum { + R5900_FPMAX = LSMASK32 (30, 0), + R5900_FPMIN = LSMASK32 (31, 0), +}; + typedef struct _sim_r5900_cpu { -- 2.30.2