-/* 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
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;
#define s8 u8
#endif
+
+/* Define the size of a function pointer used in function pointer casts. */
+
+typedef u8 ptrint;
+
#endif /* _TYPES_H */