Commit | Line | Data |
---|---|---|
49f58d10 | 1 | /* Type definitions for CGEN-based opcode libraries. |
9b201bb5 | 2 | Copyright (C) 2005, 2007 Free Software Foundation, Inc. |
49f58d10 JB |
3 | Contributed by Red Hat. |
4 | ||
9b201bb5 | 5 | This file is part of the GNU opcodes library. |
49f58d10 | 6 | |
9b201bb5 NC |
7 | This library 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 3, or (at your option) | |
10 | any later version. | |
49f58d10 | 11 | |
9b201bb5 NC |
12 | It is distributed in the hope that it will be useful, but WITHOUT |
13 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | |
14 | or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public | |
15 | License for more details. | |
49f58d10 | 16 | |
9b201bb5 NC |
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. */ | |
49f58d10 JB |
20 | |
21 | #ifndef CGEN_TYPES_H | |
22 | #define CGEN_TYPES_H | |
23 | ||
4c273957 | 24 | #include "../bfd/bfd_stdint.h" |
49f58d10 JB |
25 | |
26 | typedef int8_t QI; | |
27 | typedef uint8_t UQI; | |
28 | typedef int16_t HI; | |
29 | typedef uint16_t UHI; | |
30 | typedef int32_t SI; | |
31 | typedef uint32_t USI; | |
32 | typedef int64_t DI; | |
33 | typedef uint64_t UDI; | |
34 | ||
35 | typedef int INT; | |
36 | typedef unsigned int UINT; | |
37 | ||
38 | typedef float SF; | |
39 | typedef double DF; | |
40 | typedef long double XF, TF; | |
41 | ||
42 | #endif /* CGEN_TYPES_H */ |