diff options
author | Fred Fish <fnf@specifix.com> | 2001-11-18 06:00:29 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 2001-11-18 06:00:29 +0000 |
commit | 9e52972e45304ff59d731ea0b126d1cee275f12d (patch) | |
tree | 468f42b8735f809919d1436caf84bb35672e74d2 /sim/mips | |
parent | 4edb848c4eb8347bb458eb214a99822afe2c6655 (diff) | |
download | gdb-9e52972e45304ff59d731ea0b126d1cee275f12d.zip gdb-9e52972e45304ff59d731ea0b126d1cee275f12d.tar.gz gdb-9e52972e45304ff59d731ea0b126d1cee275f12d.tar.bz2 |
2001-11-17 Fred Fish <fnf@redhat.com>
* sim-main.h (float_operation): Move enum declaration outside
of _sim_cpu struct declaration.
Diffstat (limited to 'sim/mips')
-rw-r--r-- | sim/mips/ChangeLog | 5 | ||||
-rw-r--r-- | sim/mips/sim-main.h | 14 |
2 files changed, 12 insertions, 7 deletions
diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog index f03884a..6a5f08f 100644 --- a/sim/mips/ChangeLog +++ b/sim/mips/ChangeLog @@ -1,3 +1,8 @@ +2001-11-17 Fred Fish <fnf@redhat.com> + + * sim-main.h (float_operation): Move enum declaration outside + of _sim_cpu struct declaration. + 2001-04-12 Jim Blandy <jimb@redhat.com> * mips.igen (CFC1, CTC1): Pass the correct register numbers to diff --git a/sim/mips/sim-main.h b/sim/mips/sim-main.h index 8a1b7f7..215a816 100644 --- a/sim/mips/sim-main.h +++ b/sim/mips/sim-main.h @@ -297,6 +297,13 @@ do { \ } while (0) +enum float_operation + { + FLOP_ADD, FLOP_SUB, FLOP_MUL, FLOP_MADD, + FLOP_MSUB, FLOP_MAX=10, FLOP_MIN, FLOP_ABS, + FLOP_ITOF0=14, FLOP_FTOI0=18, FLOP_NEG=23 + }; + struct _sim_cpu { @@ -362,13 +369,6 @@ struct _sim_cpu { #endif -enum float_operation - { - FLOP_ADD, FLOP_SUB, FLOP_MUL, FLOP_MADD, - FLOP_MSUB, FLOP_MAX=10, FLOP_MIN, FLOP_ABS, - FLOP_ITOF0=14, FLOP_FTOI0=18, FLOP_NEG=23 - }; - /* To keep this default simulator simple, and fast, we use a direct vector of registers. The internal simulator engine then uses manifests to access the correct slot. */ |