- added SUPPORT_FMOD
[cacao.git] / src / vm / jit / alpha / types.h
index 16737930dd9ea93cba7174a105d530a956f2636b..958bd1705754bb3757778e7c4b393edae6b19f9e 100644 (file)
@@ -1,4 +1,4 @@
-/* jit/alpha/types.h - machine specific definitions for alpha
+/* vm/jit/alpha/types.h - machine specific definitions for alpha
 
    Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
    Institut f. Computersprachen, TU Wien
@@ -29,7 +29,7 @@
             Andreas  Krall
             Michael Gschwind
 
-   $Id: types.h 624 2003-11-13 14:06:52Z twisti $
+   $Id: types.h 1624 2004-11-30 14:49:45Z twisti $
 
 */
 
 #ifndef _TYPES_H
 #define _TYPES_H
 
-#define POINTERSIZE         8
-#define WORDS_BIGENDIAN     0
+#include "vm/jit/alpha/arch.h"
 
-#define SUPPORT_DIVISION    0
-#define SUPPORT_LONG        1
-#define SUPPORT_FLOAT       1
-#define SUPPORT_DOUBLE      1
-
-#define SUPPORT_LONG_ADD    1
-#define SUPPORT_LONG_CMP    1
-#define SUPPORT_LONG_LOG    1
-#define SUPPORT_LONG_SHIFT  1
-#define SUPPORT_LONG_MUL    1
-#define SUPPORT_LONG_DIV    0
-#define SUPPORT_LONG_ICVT   1
-#define SUPPORT_LONG_FCVT   1
-
-#define CONDITIONAL_LOADCONST
-
-#define U8_AVAILABLE        1
 
+/* Define the sizes of the integer types used internally by cacao. */
 
 typedef signed char             s1;
 typedef unsigned char           u1;
@@ -76,6 +59,11 @@ typedef struct {u4 low, high;}  u8;
 #define s8 u8
 #endif
 
+
+/* Define the size of a function pointer used in function pointer casts. */
+
+typedef u8                      ptrint;
+
 #endif /* _TYPES_H */