1 /*************************** alpha/types.h *************************************
3 Copyright (c) 1997 A. Krall, R. Grafl, M. Gschwind, M. Probst
5 See file COPYRIGHT for information on usage and disclaimer of warranties
7 machine specific definitions for the Alpha processor
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
13 Last Change: 1997/09/22
15 *******************************************************************************/
17 #ifndef _CACAO_TYPES_H
19 #define _CACAO_TYPES_H
22 #define WORDS_BIGENDIAN 0
24 #define SUPPORT_DIVISION 0
25 #define SUPPORT_LONG 1
26 #define SUPPORT_FLOAT 1
27 #define SUPPORT_DOUBLE 1
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_MULDIV 1
34 #define SUPPORT_LONG_ICVT 1
35 #define SUPPORT_LONG_FCVT 1
37 #define U8_AVAILABLE 1
40 typedef signed char s1;
41 typedef unsigned char u1;
43 typedef signed short int s2;
44 typedef unsigned short int u2;
46 typedef signed int s4;
47 typedef unsigned int u4;
50 typedef signed long int s8;
51 typedef unsigned long int u8;
53 typedef struct {u4 low, high;} u8;