2009-06-12 Tristan Gingold <gingold@adacore.com>
[binutils.git] / opcodes / cgen-types.h
bloba27c84adce92510e3955d0f90136d31b6bc938fe
1 /* Type definitions for CGEN-based opcode libraries.
2 Copyright (C) 2005, 2007 Free Software Foundation, Inc.
3 Contributed by Red Hat.
5 This file is part of the GNU opcodes library.
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.
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.
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. */
21 #ifndef CGEN_TYPES_H
22 #define CGEN_TYPES_H
24 #include "../bfd/bfd_stdint.h"
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;
35 typedef int INT;
36 typedef unsigned int UINT;
38 typedef float SF;
39 typedef double DF;
40 typedef long double XF, TF;
42 #endif /* CGEN_TYPES_H */