* sim-main.h (INSN_NAME): New arg `cpu'.

This commit is contained in:
Doug Evans 1998-05-07 02:45:07 +00:00
parent 433a8eafaa
commit eb00d70698
2 changed files with 33 additions and 2 deletions

View file

@ -1,3 +1,28 @@
Wed May 6 19:42:19 1998 Doug Evans <devans@canuck.cygnus.com>
* sim-main.h (INSN_NAME): New arg `cpu'.
start-sanitize-sky
Thu Apr 30 18:51:26 1998 Andrew Cagney <cagney@b1.cygnus.com>
* 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 <cagney@b1.cygnus.com>
* 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 <noer@cygnus.com>
* configure: Regenerated to track ../common/aclocal.m4 changes.

View file

@ -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 {