* src/vm/jit/alpha/patcher.c (patcher_wrapper): Added return address
[cacao.git] / src / vm / jit / sparc64 / arch.h
1
2 #ifndef _ARCH_H
3 #define _ARCH_H
4
5 /* define architecture features ***********************************************/
6
7 #define U8_AVAILABLE                     1
8
9 /*  #define USEBUILTINTABLE */
10
11 #define SUPPORT_DIVISION                 0
12 #define SUPPORT_LONG                     1
13 #define SUPPORT_FLOAT                    1
14 #define SUPPORT_DOUBLE                   1
15
16 #define SUPPORT_I2F                      1
17 #define SUPPORT_I2D                      1
18 #define SUPPORT_L2F                      1
19 #define SUPPORT_L2D                      1
20
21 #define SUPPORT_F2I                      0
22 #define SUPPORT_F2L                      0
23 #define SUPPORT_D2I                      0
24 #define SUPPORT_D2L                      0
25
26 #define SUPPORT_LONG_ADD                 1
27 #define SUPPORT_LONG_CMP                 1
28 #define SUPPORT_LONG_CMP_CONST           1
29 #define SUPPORT_LONG_LOGICAL             1
30 #define SUPPORT_LONG_SHIFT               1
31 #define SUPPORT_LONG_MUL                 1
32 #define SUPPORT_LONG_DIV                 0
33
34 #define SUPPORT_CONST_LOGICAL            1  /* AND, OR, XOR with immediates   */
35 #define SUPPORT_CONST_MUL                1  /* mutiply with immediate         */
36
37 #define SUPPORT_CONST_STORE              1  /* do we support const stores     */
38 #define SUPPORT_CONST_STORE_ZERO_ONLY    1  /* on some risc machines we can   */
39                                             /* only store REG_ZERO            */
40
41 #define CONDITIONAL_LOADCONST            1
42
43 #endif /* _ARCH_H */
44
45
46 /*
47  * These are local overrides for various environment variables in Emacs.
48  * Please do not remove this and leave it at the end of the file, where
49  * Emacs will automagically detect them.
50  * ---------------------------------------------------------------------
51  * Local variables:
52  * mode: c
53  * indent-tabs-mode: t
54  * c-basic-offset: 4
55  * tab-width: 4
56  * End:
57  */