]>
git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - include/cgen/basic-modes.h
2 Copyright (C) 2005-2024 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)
12 It 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.
17 You should have received a copy of the GNU General Public License
18 along with this library; see the file COPYING3. If not, write to the
19 Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
22 #ifndef CGEN_BASIC_MODES_H
23 #define CGEN_BASIC_MODES_H
25 /* This file doesn't contain all modes,
26 just the basic/portable ones.
27 It also provides access to stdint.h so the includer doesn't have
28 to deal with the portability issues. */
45 typedef unsigned int UINT
;
47 /* Cover macro to create a 64-bit integer. */
48 #define MAKEDI(hi, lo) ((((DI) (SI) (hi)) << 32) | ((UDI) (USI) (lo)))
50 #endif /* CGEN_BASIC_MODES_H */