]> git.ipfire.org Git - thirdparty/glibc.git/blame - sysdeps/arm/gmp-mparam.h
Update copyright dates with scripts/update-copyrights.
[thirdparty/glibc.git] / sysdeps / arm / gmp-mparam.h
CommitLineData
54f119d1
UD
1/* gmp-mparam.h -- Compiler/machine parameter header file.
2
04277e02 3Copyright (C) 1991-2019 Free Software Foundation, Inc.
54f119d1
UD
4
5This file is part of the GNU MP Library.
6
7The GNU MP Library is free software; you can redistribute it and/or modify
f01ec467
AJ
8it under the terms of the GNU Lesser General Public License as published by
9the Free Software Foundation; either version 2.1 of the License, or (at your
54f119d1
UD
10option) any later version.
11
12The GNU MP Library is distributed in the hope that it will be useful, but
13WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
f01ec467 14or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
54f119d1
UD
15License for more details.
16
f01ec467 17You should have received a copy of the GNU Lesser General Public License
ab84e3ff 18along with the GNU MP Library. If not, see <http://www.gnu.org/licenses/>. */
54f119d1
UD
19
20#define BITS_PER_MP_LIMB 32
21#define BYTES_PER_MP_LIMB 4
22#define BITS_PER_LONGINT 32
23#define BITS_PER_INT 32
24#define BITS_PER_SHORTINT 16
25#define BITS_PER_CHAR 8
26
3bdeb53a
PB
27#if defined(__ARMEB__)
28# define IEEE_DOUBLE_MIXED_ENDIAN 0
29# define IEEE_DOUBLE_BIG_ENDIAN 1
30#elif defined(__VFP_FP__)
31# define IEEE_DOUBLE_MIXED_ENDIAN 0
32# define IEEE_DOUBLE_BIG_ENDIAN 0
33#else
34# define IEEE_DOUBLE_BIG_ENDIAN 0
35# define IEEE_DOUBLE_MIXED_ENDIAN 1
36#endif