Changed names of asm_calljava* functions
[cacao.git] / jit / x86_64 / types.h
1 /* x86_64/types.h **************************************************************
2
3     Copyright (c) 1997 A. Krall, R. Grafl, M. Gschwind, M. Probst
4
5     See file COPYRIGHT for information on usage and disclaimer of warranties
6
7     Machine specific definitions for the x86_64 processor
8         
9     Authors: Reinhard Grafl      EMAIL: cacao@complang.tuwien.ac.at
10              Andreas  Krall      EMAIL: cacao@complang.tuwien.ac.at
11              Michael Gschwind    EMAIL: cacao@complang.tuwien.ac.at
12              Christian Thalinger EMAIL: cacao@complang.tuwien.ac.at
13
14     Last Change: $Id: types.h 624 2003-11-13 14:06:52Z twisti $
15
16 *******************************************************************************/
17
18 #ifndef _CACAO_TYPES_H
19 #define _CACAO_TYPES_H
20
21 #define POINTERSIZE         8
22 #define WORDS_BIGENDIAN     0
23
24 #define SUPPORT_DIVISION    1
25 #define SUPPORT_LONG        1
26 #define SUPPORT_FLOAT       1
27 #define SUPPORT_DOUBLE      1
28
29 #define SUPPORT_LONG_ADD    1
30 #define SUPPORT_LONG_CMP    1
31 #define SUPPORT_LONG_LOG    1
32 #define SUPPORT_LONG_SHIFT  1
33 #define SUPPORT_LONG_MUL    1
34 #define SUPPORT_LONG_DIV    1
35 #define SUPPORT_LONG_ICVT   1
36 #define SUPPORT_LONG_FCVT   1
37
38 #define CONDITIONAL_LOADCONST
39 #define NO_DIV_OPT
40 #define CONSECUTIVE_INTARGS
41 #define CONSECUTIVE_FLOATARGS
42
43 #define U8_AVAILABLE        1
44
45
46 typedef signed char             s1;
47 typedef unsigned char           u1;
48  
49 typedef signed short int        s2;
50 typedef unsigned short int      u2;
51
52 typedef signed int              s4;
53 typedef unsigned int            u4;
54
55 #if U8_AVAILABLE
56 typedef signed long int         s8;
57 typedef unsigned long int       u8;
58 #else
59 typedef struct {u4 low, high;}  u8;
60 #define s8 u8
61 #endif
62
63 #endif