Commit | Line | Data |
---|---|---|
49f58d10 JB |
1 | /* Type definitions for CGEN-based opcode libraries. |
2 | Copyright (C) 2005 Free Software Foundation, Inc. | |
3 | Contributed by Red Hat. | |
4 | ||
5 | This file is part of the GNU opcodes library. | |
6 | ||
7 | This program is free software; you can redistribute it and/or modify | |
8 | it under the terms of the GNU General Public License as published by | |
9 | the Free Software Foundation; either version 2, or (at your option) | |
10 | any later version. | |
11 | ||
12 | This program is distributed in the hope that it will be useful, | |
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | GNU General Public License for more details. | |
16 | ||
17 | You should have received a copy of the GNU General Public License along | |
18 | with this program; if not, write to the Free Software Foundation, Inc., | |
19 | 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
20 | ||
21 | */ | |
22 | ||
23 | #ifndef CGEN_TYPES_H | |
24 | #define CGEN_TYPES_H | |
25 | ||
26 | #include <stdint.h> | |
27 | ||
28 | typedef int8_t QI; | |
29 | typedef uint8_t UQI; | |
30 | typedef int16_t HI; | |
31 | typedef uint16_t UHI; | |
32 | typedef int32_t SI; | |
33 | typedef uint32_t USI; | |
34 | typedef int64_t DI; | |
35 | typedef uint64_t UDI; | |
36 | ||
37 | typedef int INT; | |
38 | typedef unsigned int UINT; | |
39 | ||
40 | typedef float SF; | |
41 | typedef double DF; | |
42 | typedef long double XF, TF; | |
43 | ||
44 | #endif /* CGEN_TYPES_H */ |