diff options
author | Doug Evans <dje@google.com> | 1998-05-07 02:45:07 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 1998-05-07 02:45:07 +0000 |
commit | eb00d70698c9c7c84c33fad6d289ad5747067543 (patch) | |
tree | 2b4bd062b172534a7f65133fc0463c424d9d2769 /sim/mips/sim-main.h | |
parent | 433a8eafaa36690aa99ca3a9c2455d222983ab19 (diff) | |
download | gdb-eb00d70698c9c7c84c33fad6d289ad5747067543.zip gdb-eb00d70698c9c7c84c33fad6d289ad5747067543.tar.gz gdb-eb00d70698c9c7c84c33fad6d289ad5747067543.tar.bz2 |
* sim-main.h (INSN_NAME): New arg `cpu'.
Diffstat (limited to 'sim/mips/sim-main.h')
-rw-r--r-- | sim/mips/sim-main.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sim/mips/sim-main.h b/sim/mips/sim-main.h index 137f08d..690ea81 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 { |