2001-11-17 Fred Fish <fnf@redhat.com>
authorFred Fish <fnf@specifix.com>
Sun, 18 Nov 2001 06:00:29 +0000 (06:00 +0000)
committerFred Fish <fnf@specifix.com>
Sun, 18 Nov 2001 06:00:29 +0000 (06:00 +0000)
* sim-main.h (float_operation): Move enum declaration outside
of _sim_cpu struct declaration.

sim/mips/ChangeLog
sim/mips/sim-main.h

index f03884a4f7bf1ead2a8c2498c2538340ab34b355..6a5f08f395f8ae8342b4976c4dcdf57b9ad8534e 100644 (file)
@@ -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
index 8a1b7f767033d4c32000d4feac55f9859d569a4f..215a8161ff27b59b5386599894fefdc22265dd9d 100644 (file)
@@ -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. */