1/* Type definitions for CGEN-based opcode libraries.
2   Copyright (C) 2005, 2007 Free Software Foundation, Inc.
3   Contributed by Red Hat.
4
5   This file is part of the GNU opcodes library.
6
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.
11
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.
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#ifndef CGEN_TYPES_H
22#define CGEN_TYPES_H
23
24#include "../bfd/bfd_stdint.h"
25
26typedef  int8_t   QI;
27typedef uint8_t  UQI;
28typedef  int16_t  HI;
29typedef uint16_t UHI;
30typedef  int32_t  SI;
31typedef uint32_t USI;
32typedef  int64_t  DI;
33typedef uint64_t UDI;
34
35typedef int INT;
36typedef unsigned int UINT;
37
38typedef float SF;
39typedef double DF;
40typedef long double XF, TF;
41
42#endif /* CGEN_TYPES_H */
43