-/* jit/i386/types.h - machine specific definitions for i386
+/* vm/jit/i386/types.h - machine specific definitions for i386
- Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
- Institut f. Computersprachen, TU Wien
- R. Grafl, A. Krall, C. Kruegel, C. Oates, R. Obermaisser, M. Probst,
- S. Ring, E. Steiner, C. Thalinger, D. Thuernbeck, P. Tomsich,
- J. Wenninger
+ Copyright (C) 1996-2005 R. Grafl, A. Krall, C. Kruegel, C. Oates,
+ R. Obermaisser, M. Platter, M. Probst, S. Ring, E. Steiner,
+ C. Thalinger, D. Thuernbeck, P. Tomsich, C. Ullrich, J. Wenninger,
+ Institut f. Computersprachen - TU Wien
This file is part of CACAO.
Authors: Reinhard Grafl
Andreas Krall
- Michael Gschwind
Changes: Christan Thalinger
- $Id: types.h 765 2003-12-13 22:49:18Z twisti $
+ $Id: types.h 1735 2004-12-07 14:33:27Z twisti $
*/
#ifndef _TYPES_H
#define _TYPES_H
-#define POINTERSIZE 4
-#define WORDS_BIGENDIAN 0
+#include "vm/jit/i386/arch.h"
-#define SUPPORT_DIVISION 1
-#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 USEBUILTINTABLE
-
-#define SUPPORT_IFCVT 1
-#define SUPPORT_FICVT 1
-#define SUPPORT_FMOD 1
-
-#define CONDITIONAL_LOADCONST
-#define NO_DIV_OPT
-
-#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 u4 ptrint;
+
#endif /* _TYPES_H */