summaryrefslogtreecommitdiff
path: root/opcodes/cgen-types.h
blob: a27c84adce92510e3955d0f90136d31b6bc938fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/* Type definitions for CGEN-based opcode libraries.
   Copyright (C) 2005, 2007 Free Software Foundation, Inc.
   Contributed by Red Hat.

   This file is part of the GNU opcodes library.

   This library is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 3, or (at your option)
   any later version.

   It is distributed in the hope that it will be useful, but WITHOUT
   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
   or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
   License for more details.

   You should have received a copy of the GNU General Public License along
   with this program; if not, write to the Free Software Foundation, Inc.,
   59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */

#ifndef CGEN_TYPES_H
#define CGEN_TYPES_H

#include "../bfd/bfd_stdint.h"

typedef  int8_t   QI;
typedef uint8_t  UQI;
typedef  int16_t  HI;
typedef uint16_t UHI;
typedef  int32_t  SI;
typedef uint32_t USI;
typedef  int64_t  DI;
typedef uint64_t UDI;

typedef int INT;
typedef unsigned int UINT;

typedef float SF;
typedef double DF;
typedef long double XF, TF;

#endif /* CGEN_TYPES_H */