OSDN Git Service

2000-11-16 Ben Elliston <bje@redhat.com>
authorbje <bje>
Thu, 16 Nov 2000 03:21:48 +0000 (03:21 +0000)
committerbje <bje>
Thu, 16 Nov 2000 03:21:48 +0000 (03:21 +0000)
* cgen-types.h (VOID): New type.

sim/common/ChangeLog
sim/common/cgen-types.h

index a901836..36e1fbb 100644 (file)
@@ -1,3 +1,7 @@
+2000-11-16  Ben Elliston  <bje@redhat.com>
+
+       * cgen-types.h (VOID): New type.
+
 2000-11-09  Ben Elliston  <bje@redhat.com>
 
        * sim-fpu.c (sim_fpu_one): Set exponent to 0.
index e57e601..dd85d4c 100644 (file)
@@ -48,7 +48,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 /* Common mode types.  */
 /* ??? Target specific modes.  */
 typedef enum mode_type {
-  MODE_VM, MODE_BI,
+  MODE_VOID, MODE_BI,
   MODE_QI, MODE_HI, MODE_SI, MODE_DI,
   MODE_UQI, MODE_UHI, MODE_USI, MODE_UDI,
   MODE_SF, MODE_DF, MODE_XF, MODE_TF,
@@ -64,6 +64,7 @@ typedef enum mode_type {
 extern const char *mode_names[];
 #define MODE_NAME(m) (mode_names[m])
 
+typedef void VOID;
 typedef unsigned char BI;
 typedef signed8 QI;
 typedef signed16 HI;
@@ -98,13 +99,6 @@ extern DI make_struct_di (SI, SI);
 #define MAKEDI(hi, lo) (make_struct_di ((hi), (lo)))
 #endif
 
-/* FIXME: Need to provide libraries if these aren't appropriate for target,
-   or user's needs.  */
-typedef float SF;
-typedef double DF;
-typedef double XF; /* FIXME: configure, provide library */
-typedef double TF; /* FIXME: configure, provide library */
-
 /* These are used to record extracted raw data from an instruction, among other
    things.  It must be a host data type, and not a target one.  */
 typedef int INT;
@@ -113,4 +107,6 @@ typedef unsigned int UINT;
 typedef unsigned_address ADDR;  /* FIXME: wip*/
 typedef unsigned_address IADDR; /* FIXME: wip*/
 
+/* fp types are in cgen-fpu.h */
+
 #endif /* CGEN_TYPES_H */