xref: /minix3/external/bsd/llvm/dist/clang/test/Preprocessor/init.c (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -x assembler-with-cpp < /dev/null | FileCheck -check-prefix ASM %s
2f4a2713aSLionel Sambuc //
3f4a2713aSLionel Sambuc // ASM:#define __ASSEMBLER__ 1
4f4a2713aSLionel Sambuc //
5f4a2713aSLionel Sambuc //
6f4a2713aSLionel Sambuc // RUN: %clang_cc1 -fblocks -E -dM < /dev/null | FileCheck -check-prefix BLOCKS %s
7f4a2713aSLionel Sambuc //
8f4a2713aSLionel Sambuc // BLOCKS:#define __BLOCKS__ 1
9f4a2713aSLionel Sambuc // BLOCKS:#define __block __attribute__((__blocks__(byref)))
10f4a2713aSLionel Sambuc //
11f4a2713aSLionel Sambuc //
12*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -x c++ -std=c++1z -E -dM < /dev/null | FileCheck -check-prefix CXX1Z %s
13*0a6a1f1dSLionel Sambuc //
14*0a6a1f1dSLionel Sambuc // CXX1Z:#define __GNUG__
15*0a6a1f1dSLionel Sambuc // CXX1Z:#define __GXX_EXPERIMENTAL_CXX0X__ 1
16*0a6a1f1dSLionel Sambuc // CXX1Z:#define __GXX_RTTI 1
17*0a6a1f1dSLionel Sambuc // CXX1Z:#define __GXX_WEAK__ 1
18*0a6a1f1dSLionel Sambuc // CXX1Z:#define __cplusplus 201406L
19*0a6a1f1dSLionel Sambuc // CXX1Z:#define __private_extern__ extern
20*0a6a1f1dSLionel Sambuc //
21*0a6a1f1dSLionel Sambuc //
22f4a2713aSLionel Sambuc // RUN: %clang_cc1 -x c++ -std=c++1y -E -dM < /dev/null | FileCheck -check-prefix CXX1Y %s
23f4a2713aSLionel Sambuc //
24f4a2713aSLionel Sambuc // CXX1Y:#define __GNUG__
25f4a2713aSLionel Sambuc // CXX1Y:#define __GXX_EXPERIMENTAL_CXX0X__ 1
26f4a2713aSLionel Sambuc // CXX1Y:#define __GXX_RTTI 1
27f4a2713aSLionel Sambuc // CXX1Y:#define __GXX_WEAK__ 1
28*0a6a1f1dSLionel Sambuc // CXX1Y:#define __cplusplus 201402L
29f4a2713aSLionel Sambuc // CXX1Y:#define __private_extern__ extern
30f4a2713aSLionel Sambuc //
31f4a2713aSLionel Sambuc //
32f4a2713aSLionel Sambuc // RUN: %clang_cc1 -x c++ -std=c++11 -E -dM < /dev/null | FileCheck -check-prefix CXX11 %s
33f4a2713aSLionel Sambuc //
34f4a2713aSLionel Sambuc // CXX11:#define __GNUG__
35f4a2713aSLionel Sambuc // CXX11:#define __GXX_EXPERIMENTAL_CXX0X__ 1
36f4a2713aSLionel Sambuc // CXX11:#define __GXX_RTTI 1
37f4a2713aSLionel Sambuc // CXX11:#define __GXX_WEAK__ 1
38f4a2713aSLionel Sambuc // CXX11:#define __cplusplus 201103L
39f4a2713aSLionel Sambuc // CXX11:#define __private_extern__ extern
40f4a2713aSLionel Sambuc //
41f4a2713aSLionel Sambuc //
42f4a2713aSLionel Sambuc // RUN: %clang_cc1 -x c++ -std=c++98 -E -dM < /dev/null | FileCheck -check-prefix CXX98 %s
43f4a2713aSLionel Sambuc //
44f4a2713aSLionel Sambuc // CXX98:#define __GNUG__
45f4a2713aSLionel Sambuc // CXX98:#define __GXX_RTTI 1
46f4a2713aSLionel Sambuc // CXX98:#define __GXX_WEAK__ 1
47f4a2713aSLionel Sambuc // CXX98:#define __cplusplus 199711L
48f4a2713aSLionel Sambuc // CXX98:#define __private_extern__ extern
49f4a2713aSLionel Sambuc //
50f4a2713aSLionel Sambuc //
51f4a2713aSLionel Sambuc // RUN: %clang_cc1 -fdeprecated-macro -E -dM < /dev/null | FileCheck -check-prefix DEPRECATED %s
52f4a2713aSLionel Sambuc //
53f4a2713aSLionel Sambuc // DEPRECATED:#define __DEPRECATED 1
54f4a2713aSLionel Sambuc //
55f4a2713aSLionel Sambuc //
56f4a2713aSLionel Sambuc // RUN: %clang_cc1 -std=c99 -E -dM < /dev/null | FileCheck -check-prefix C99 %s
57f4a2713aSLionel Sambuc //
58f4a2713aSLionel Sambuc // C99:#define __STDC_VERSION__ 199901L
59f4a2713aSLionel Sambuc // C99:#define __STRICT_ANSI__ 1
60f4a2713aSLionel Sambuc //
61f4a2713aSLionel Sambuc //
62f4a2713aSLionel Sambuc // RUN: %clang_cc1 -std=c11 -E -dM < /dev/null | FileCheck -check-prefix C11 %s
63f4a2713aSLionel Sambuc //
64f4a2713aSLionel Sambuc // C11:#define __STDC_UTF_16__ 1
65f4a2713aSLionel Sambuc // C11:#define __STDC_UTF_32__ 1
66f4a2713aSLionel Sambuc // C11:#define __STDC_VERSION__ 201112L
67f4a2713aSLionel Sambuc // C11:#define __STRICT_ANSI__ 1
68f4a2713aSLionel Sambuc //
69f4a2713aSLionel Sambuc //
70f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM < /dev/null | FileCheck -check-prefix COMMON %s
71f4a2713aSLionel Sambuc //
72f4a2713aSLionel Sambuc // COMMON:#define __CONSTANT_CFSTRINGS__ 1
73f4a2713aSLionel Sambuc // COMMON:#define __FINITE_MATH_ONLY__ 0
74f4a2713aSLionel Sambuc // COMMON:#define __GNUC_MINOR__
75f4a2713aSLionel Sambuc // COMMON:#define __GNUC_PATCHLEVEL__
76f4a2713aSLionel Sambuc // COMMON:#define __GNUC_STDC_INLINE__ 1
77f4a2713aSLionel Sambuc // COMMON:#define __GNUC__
78f4a2713aSLionel Sambuc // COMMON:#define __GXX_ABI_VERSION
79f4a2713aSLionel Sambuc // COMMON:#define __ORDER_BIG_ENDIAN__ 4321
80f4a2713aSLionel Sambuc // COMMON:#define __ORDER_LITTLE_ENDIAN__ 1234
81f4a2713aSLionel Sambuc // COMMON:#define __ORDER_PDP_ENDIAN__ 3412
82f4a2713aSLionel Sambuc // COMMON:#define __STDC_HOSTED__ 1
83*0a6a1f1dSLionel Sambuc // COMMON:#define __STDC_VERSION__ 201112L
84f4a2713aSLionel Sambuc // COMMON:#define __STDC__ 1
85f4a2713aSLionel Sambuc // COMMON:#define __VERSION__
86f4a2713aSLionel Sambuc // COMMON:#define __clang__ 1
87f4a2713aSLionel Sambuc // COMMON:#define __clang_major__ {{[0-9]+}}
88f4a2713aSLionel Sambuc // COMMON:#define __clang_minor__ {{[0-9]+}}
89f4a2713aSLionel Sambuc // COMMON:#define __clang_patchlevel__ {{[0-9]+}}
90f4a2713aSLionel Sambuc // COMMON:#define __clang_version__
91f4a2713aSLionel Sambuc // COMMON:#define __llvm__ 1
92f4a2713aSLionel Sambuc //
93f4a2713aSLionel Sambuc //
94f4a2713aSLionel Sambuc // RUN: %clang_cc1 -ffreestanding -E -dM < /dev/null | FileCheck -check-prefix FREESTANDING %s
95f4a2713aSLionel Sambuc // FREESTANDING:#define __STDC_HOSTED__ 0
96f4a2713aSLionel Sambuc //
97f4a2713aSLionel Sambuc //
98*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -x c++ -std=gnu++1z -E -dM < /dev/null | FileCheck -check-prefix GXX1Z %s
99*0a6a1f1dSLionel Sambuc //
100*0a6a1f1dSLionel Sambuc // GXX1Z:#define __GNUG__
101*0a6a1f1dSLionel Sambuc // GXX1Z:#define __GXX_WEAK__ 1
102*0a6a1f1dSLionel Sambuc // GXX1Z:#define __cplusplus 201406L
103*0a6a1f1dSLionel Sambuc // GXX1Z:#define __private_extern__ extern
104*0a6a1f1dSLionel Sambuc //
105*0a6a1f1dSLionel Sambuc //
106f4a2713aSLionel Sambuc // RUN: %clang_cc1 -x c++ -std=gnu++1y -E -dM < /dev/null | FileCheck -check-prefix GXX1Y %s
107f4a2713aSLionel Sambuc //
108f4a2713aSLionel Sambuc // GXX1Y:#define __GNUG__
109f4a2713aSLionel Sambuc // GXX1Y:#define __GXX_WEAK__ 1
110*0a6a1f1dSLionel Sambuc // GXX1Y:#define __cplusplus 201402L
111f4a2713aSLionel Sambuc // GXX1Y:#define __private_extern__ extern
112f4a2713aSLionel Sambuc //
113f4a2713aSLionel Sambuc //
114f4a2713aSLionel Sambuc // RUN: %clang_cc1 -x c++ -std=gnu++11 -E -dM < /dev/null | FileCheck -check-prefix GXX11 %s
115f4a2713aSLionel Sambuc //
116f4a2713aSLionel Sambuc // GXX11:#define __GNUG__
117f4a2713aSLionel Sambuc // GXX11:#define __GXX_WEAK__ 1
118f4a2713aSLionel Sambuc // GXX11:#define __cplusplus 201103L
119f4a2713aSLionel Sambuc // GXX11:#define __private_extern__ extern
120f4a2713aSLionel Sambuc //
121f4a2713aSLionel Sambuc //
122f4a2713aSLionel Sambuc // RUN: %clang_cc1 -x c++ -std=gnu++98 -E -dM < /dev/null | FileCheck -check-prefix GXX98 %s
123f4a2713aSLionel Sambuc //
124f4a2713aSLionel Sambuc // GXX98:#define __GNUG__
125f4a2713aSLionel Sambuc // GXX98:#define __GXX_WEAK__ 1
126f4a2713aSLionel Sambuc // GXX98:#define __cplusplus 199711L
127f4a2713aSLionel Sambuc // GXX98:#define __private_extern__ extern
128f4a2713aSLionel Sambuc //
129f4a2713aSLionel Sambuc //
130f4a2713aSLionel Sambuc // RUN: %clang_cc1 -std=iso9899:199409 -E -dM < /dev/null | FileCheck -check-prefix C94 %s
131f4a2713aSLionel Sambuc //
132f4a2713aSLionel Sambuc // C94:#define __STDC_VERSION__ 199409L
133f4a2713aSLionel Sambuc //
134f4a2713aSLionel Sambuc //
135f4a2713aSLionel Sambuc // RUN: %clang_cc1 -fms-extensions -triple i686-pc-win32 -E -dM < /dev/null | FileCheck -check-prefix MSEXT %s
136f4a2713aSLionel Sambuc //
137f4a2713aSLionel Sambuc // MSEXT-NOT:#define __STDC__
138f4a2713aSLionel Sambuc // MSEXT:#define _INTEGRAL_MAX_BITS 64
139f4a2713aSLionel Sambuc // MSEXT-NOT:#define _NATIVE_WCHAR_T_DEFINED 1
140f4a2713aSLionel Sambuc // MSEXT-NOT:#define _WCHAR_T_DEFINED 1
141f4a2713aSLionel Sambuc //
142f4a2713aSLionel Sambuc //
143f4a2713aSLionel Sambuc // RUN: %clang_cc1 -x c++ -fms-extensions -triple i686-pc-win32 -E -dM < /dev/null | FileCheck -check-prefix MSEXT-CXX %s
144f4a2713aSLionel Sambuc //
145f4a2713aSLionel Sambuc // MSEXT-CXX:#define _NATIVE_WCHAR_T_DEFINED 1
146f4a2713aSLionel Sambuc // MSEXT-CXX:#define _WCHAR_T_DEFINED 1
147f4a2713aSLionel Sambuc //
148f4a2713aSLionel Sambuc //
149f4a2713aSLionel Sambuc // RUN: %clang_cc1 -x c++ -fno-wchar -fms-extensions -triple i686-pc-win32 -E -dM < /dev/null | FileCheck -check-prefix MSEXT-CXX-NOWCHAR %s
150f4a2713aSLionel Sambuc //
151f4a2713aSLionel Sambuc // MSEXT-CXX-NOWCHAR-NOT:#define _NATIVE_WCHAR_T_DEFINED 1
152f4a2713aSLionel Sambuc // MSEXT-CXX-NOWCHAR-NOT:#define _WCHAR_T_DEFINED 1
153f4a2713aSLionel Sambuc //
154f4a2713aSLionel Sambuc //
155f4a2713aSLionel Sambuc // RUN: %clang_cc1 -x objective-c -E -dM < /dev/null | FileCheck -check-prefix OBJC %s
156f4a2713aSLionel Sambuc //
157f4a2713aSLionel Sambuc // OBJC:#define OBJC_NEW_PROPERTIES 1
158f4a2713aSLionel Sambuc // OBJC:#define __NEXT_RUNTIME__ 1
159f4a2713aSLionel Sambuc // OBJC:#define __OBJC__ 1
160f4a2713aSLionel Sambuc //
161f4a2713aSLionel Sambuc //
162f4a2713aSLionel Sambuc // RUN: %clang_cc1 -x objective-c -fobjc-gc -E -dM < /dev/null | FileCheck -check-prefix OBJCGC %s
163f4a2713aSLionel Sambuc //
164f4a2713aSLionel Sambuc // OBJCGC:#define __OBJC_GC__ 1
165f4a2713aSLionel Sambuc //
166f4a2713aSLionel Sambuc //
167f4a2713aSLionel Sambuc // RUN: %clang_cc1 -x objective-c -fobjc-exceptions -E -dM < /dev/null | FileCheck -check-prefix NONFRAGILE %s
168f4a2713aSLionel Sambuc //
169f4a2713aSLionel Sambuc // NONFRAGILE:#define OBJC_ZEROCOST_EXCEPTIONS 1
170f4a2713aSLionel Sambuc // NONFRAGILE:#define __OBJC2__ 1
171f4a2713aSLionel Sambuc //
172f4a2713aSLionel Sambuc //
173f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM < /dev/null | FileCheck -check-prefix O0 %s
174f4a2713aSLionel Sambuc //
175f4a2713aSLionel Sambuc // O0:#define __NO_INLINE__ 1
176f4a2713aSLionel Sambuc // O0-NOT:#define __OPTIMIZE_SIZE__
177f4a2713aSLionel Sambuc // O0-NOT:#define __OPTIMIZE__
178f4a2713aSLionel Sambuc //
179f4a2713aSLionel Sambuc //
180f4a2713aSLionel Sambuc // RUN: %clang_cc1 -fno-inline -O3 -E -dM < /dev/null | FileCheck -check-prefix NO_INLINE %s
181f4a2713aSLionel Sambuc //
182f4a2713aSLionel Sambuc // NO_INLINE:#define __NO_INLINE__ 1
183f4a2713aSLionel Sambuc // NO_INLINE-NOT:#define __OPTIMIZE_SIZE__
184f4a2713aSLionel Sambuc // NO_INLINE:#define __OPTIMIZE__
185f4a2713aSLionel Sambuc //
186f4a2713aSLionel Sambuc //
187f4a2713aSLionel Sambuc // RUN: %clang_cc1 -O1 -E -dM < /dev/null | FileCheck -check-prefix O1 %s
188f4a2713aSLionel Sambuc //
189f4a2713aSLionel Sambuc // O1-NOT:#define __OPTIMIZE_SIZE__
190f4a2713aSLionel Sambuc // O1:#define __OPTIMIZE__ 1
191f4a2713aSLionel Sambuc //
192f4a2713aSLionel Sambuc //
193f4a2713aSLionel Sambuc // RUN: %clang_cc1 -Os -E -dM < /dev/null | FileCheck -check-prefix Os %s
194f4a2713aSLionel Sambuc //
195f4a2713aSLionel Sambuc // Os:#define __OPTIMIZE_SIZE__ 1
196f4a2713aSLionel Sambuc // Os:#define __OPTIMIZE__ 1
197f4a2713aSLionel Sambuc //
198f4a2713aSLionel Sambuc //
199f4a2713aSLionel Sambuc // RUN: %clang_cc1 -Oz -E -dM < /dev/null | FileCheck -check-prefix Oz %s
200f4a2713aSLionel Sambuc //
201f4a2713aSLionel Sambuc // Oz:#define __OPTIMIZE_SIZE__ 1
202f4a2713aSLionel Sambuc // Oz:#define __OPTIMIZE__ 1
203f4a2713aSLionel Sambuc //
204f4a2713aSLionel Sambuc //
205f4a2713aSLionel Sambuc // RUN: %clang_cc1 -fpascal-strings -E -dM < /dev/null | FileCheck -check-prefix PASCAL %s
206f4a2713aSLionel Sambuc //
207f4a2713aSLionel Sambuc // PASCAL:#define __PASCAL_STRINGS__ 1
208f4a2713aSLionel Sambuc //
209f4a2713aSLionel Sambuc //
210f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM < /dev/null | FileCheck -check-prefix SCHAR %s
211f4a2713aSLionel Sambuc //
212f4a2713aSLionel Sambuc // SCHAR:#define __STDC__ 1
213f4a2713aSLionel Sambuc // SCHAR-NOT:#define __UNSIGNED_CHAR__
214f4a2713aSLionel Sambuc // SCHAR:#define __clang__ 1
215f4a2713aSLionel Sambuc //
216f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -fshort-wchar < /dev/null | FileCheck -check-prefix SHORTWCHAR %s
217*0a6a1f1dSLionel Sambuc // wchar_t is u16 for targeting Win32.
218*0a6a1f1dSLionel Sambuc // FIXME: Implement and check x86_64-cygwin.
219*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -E -dM -fno-short-wchar -triple=x86_64-w64-mingw32 < /dev/null | FileCheck -check-prefix SHORTWCHAR %s
220f4a2713aSLionel Sambuc //
221f4a2713aSLionel Sambuc // SHORTWCHAR: #define __SIZEOF_WCHAR_T__ 2
222*0a6a1f1dSLionel Sambuc // SHORTWCHAR: #define __WCHAR_MAX__ 65535
223f4a2713aSLionel Sambuc // SHORTWCHAR: #define __WCHAR_TYPE__ unsigned short
224f4a2713aSLionel Sambuc // SHORTWCHAR: #define __WCHAR_WIDTH__ 16
225f4a2713aSLionel Sambuc //
226*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -E -dM -fno-short-wchar -triple=i686-unknown-unknown < /dev/null | FileCheck -check-prefix SHORTWCHAR2 %s
227*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -E -dM -fno-short-wchar -triple=x86_64-unknown-unknown < /dev/null | FileCheck -check-prefix SHORTWCHAR2 %s
228*0a6a1f1dSLionel Sambuc //
229*0a6a1f1dSLionel Sambuc // SHORTWCHAR2: #define __SIZEOF_WCHAR_T__ 4
230*0a6a1f1dSLionel Sambuc // SHORTWCHAR2: #define __WCHAR_WIDTH__ 32
231*0a6a1f1dSLionel Sambuc // Other definitions vary from platform to platform
232*0a6a1f1dSLionel Sambuc 
233*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=aarch64-none-none < /dev/null | FileCheck -check-prefix AARCH64 %s
234*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=arm64-none-none < /dev/null | FileCheck -check-prefix AARCH64 %s
235*0a6a1f1dSLionel Sambuc //
236*0a6a1f1dSLionel Sambuc // AARCH64:#define _LP64 1
237*0a6a1f1dSLionel Sambuc // AARCH64-NOT:#define __AARCH64EB__ 1
238*0a6a1f1dSLionel Sambuc // AARCH64:#define __AARCH64EL__ 1
239*0a6a1f1dSLionel Sambuc // AARCH64-NOT:#define __AARCH_BIG_ENDIAN 1
240*0a6a1f1dSLionel Sambuc // AARCH64:#define __ARM_64BIT_STATE 1
241*0a6a1f1dSLionel Sambuc // AARCH64:#define __ARM_ARCH 8
242*0a6a1f1dSLionel Sambuc // AARCH64:#define __ARM_ARCH_ISA_A64 1
243*0a6a1f1dSLionel Sambuc // AARCH64-NOT:#define __ARM_BIG_ENDIAN 1
244*0a6a1f1dSLionel Sambuc // AARCH64:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
245*0a6a1f1dSLionel Sambuc // AARCH64:#define __CHAR16_TYPE__ unsigned short
246*0a6a1f1dSLionel Sambuc // AARCH64:#define __CHAR32_TYPE__ unsigned int
247*0a6a1f1dSLionel Sambuc // AARCH64:#define __CHAR_BIT__ 8
248*0a6a1f1dSLionel Sambuc // AARCH64:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
249*0a6a1f1dSLionel Sambuc // AARCH64:#define __DBL_DIG__ 15
250*0a6a1f1dSLionel Sambuc // AARCH64:#define __DBL_EPSILON__ 2.2204460492503131e-16
251*0a6a1f1dSLionel Sambuc // AARCH64:#define __DBL_HAS_DENORM__ 1
252*0a6a1f1dSLionel Sambuc // AARCH64:#define __DBL_HAS_INFINITY__ 1
253*0a6a1f1dSLionel Sambuc // AARCH64:#define __DBL_HAS_QUIET_NAN__ 1
254*0a6a1f1dSLionel Sambuc // AARCH64:#define __DBL_MANT_DIG__ 53
255*0a6a1f1dSLionel Sambuc // AARCH64:#define __DBL_MAX_10_EXP__ 308
256*0a6a1f1dSLionel Sambuc // AARCH64:#define __DBL_MAX_EXP__ 1024
257*0a6a1f1dSLionel Sambuc // AARCH64:#define __DBL_MAX__ 1.7976931348623157e+308
258*0a6a1f1dSLionel Sambuc // AARCH64:#define __DBL_MIN_10_EXP__ (-307)
259*0a6a1f1dSLionel Sambuc // AARCH64:#define __DBL_MIN_EXP__ (-1021)
260*0a6a1f1dSLionel Sambuc // AARCH64:#define __DBL_MIN__ 2.2250738585072014e-308
261*0a6a1f1dSLionel Sambuc // AARCH64:#define __DECIMAL_DIG__ 36
262*0a6a1f1dSLionel Sambuc // AARCH64:#define __FLT_DENORM_MIN__ 1.40129846e-45F
263*0a6a1f1dSLionel Sambuc // AARCH64:#define __FLT_DIG__ 6
264*0a6a1f1dSLionel Sambuc // AARCH64:#define __FLT_EPSILON__ 1.19209290e-7F
265*0a6a1f1dSLionel Sambuc // AARCH64:#define __FLT_EVAL_METHOD__ 0
266*0a6a1f1dSLionel Sambuc // AARCH64:#define __FLT_HAS_DENORM__ 1
267*0a6a1f1dSLionel Sambuc // AARCH64:#define __FLT_HAS_INFINITY__ 1
268*0a6a1f1dSLionel Sambuc // AARCH64:#define __FLT_HAS_QUIET_NAN__ 1
269*0a6a1f1dSLionel Sambuc // AARCH64:#define __FLT_MANT_DIG__ 24
270*0a6a1f1dSLionel Sambuc // AARCH64:#define __FLT_MAX_10_EXP__ 38
271*0a6a1f1dSLionel Sambuc // AARCH64:#define __FLT_MAX_EXP__ 128
272*0a6a1f1dSLionel Sambuc // AARCH64:#define __FLT_MAX__ 3.40282347e+38F
273*0a6a1f1dSLionel Sambuc // AARCH64:#define __FLT_MIN_10_EXP__ (-37)
274*0a6a1f1dSLionel Sambuc // AARCH64:#define __FLT_MIN_EXP__ (-125)
275*0a6a1f1dSLionel Sambuc // AARCH64:#define __FLT_MIN__ 1.17549435e-38F
276*0a6a1f1dSLionel Sambuc // AARCH64:#define __FLT_RADIX__ 2
277*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT16_C_SUFFIX__ {{$}}
278*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT16_FMTd__ "hd"
279*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT16_FMTi__ "hi"
280*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT16_MAX__ 32767
281*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT16_TYPE__ short
282*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT32_C_SUFFIX__ {{$}}
283*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT32_FMTd__ "d"
284*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT32_FMTi__ "i"
285*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT32_MAX__ 2147483647
286*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT32_TYPE__ int
287*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT64_C_SUFFIX__ L
288*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT64_FMTd__ "ld"
289*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT64_FMTi__ "li"
290*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT64_MAX__ 9223372036854775807L
291*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT64_TYPE__ long int
292*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT8_C_SUFFIX__ {{$}}
293*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT8_FMTd__ "hhd"
294*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT8_FMTi__ "hhi"
295*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT8_MAX__ 127
296*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT8_TYPE__ signed char
297*0a6a1f1dSLionel Sambuc // AARCH64:#define __INTMAX_C_SUFFIX__ L
298*0a6a1f1dSLionel Sambuc // AARCH64:#define __INTMAX_FMTd__ "ld"
299*0a6a1f1dSLionel Sambuc // AARCH64:#define __INTMAX_FMTi__ "li"
300*0a6a1f1dSLionel Sambuc // AARCH64:#define __INTMAX_MAX__ 9223372036854775807L
301*0a6a1f1dSLionel Sambuc // AARCH64:#define __INTMAX_TYPE__ long int
302*0a6a1f1dSLionel Sambuc // AARCH64:#define __INTMAX_WIDTH__ 64
303*0a6a1f1dSLionel Sambuc // AARCH64:#define __INTPTR_FMTd__ "ld"
304*0a6a1f1dSLionel Sambuc // AARCH64:#define __INTPTR_FMTi__ "li"
305*0a6a1f1dSLionel Sambuc // AARCH64:#define __INTPTR_MAX__ 9223372036854775807L
306*0a6a1f1dSLionel Sambuc // AARCH64:#define __INTPTR_TYPE__ long int
307*0a6a1f1dSLionel Sambuc // AARCH64:#define __INTPTR_WIDTH__ 64
308*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT_FAST16_FMTd__ "hd"
309*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT_FAST16_FMTi__ "hi"
310*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT_FAST16_MAX__ 32767
311*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT_FAST16_TYPE__ short
312*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT_FAST32_FMTd__ "d"
313*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT_FAST32_FMTi__ "i"
314*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT_FAST32_MAX__ 2147483647
315*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT_FAST32_TYPE__ int
316*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT_FAST64_FMTd__ "ld"
317*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT_FAST64_FMTi__ "li"
318*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT_FAST64_MAX__ 9223372036854775807L
319*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT_FAST64_TYPE__ long int
320*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT_FAST8_FMTd__ "hhd"
321*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT_FAST8_FMTi__ "hhi"
322*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT_FAST8_MAX__ 127
323*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT_FAST8_TYPE__ signed char
324*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT_LEAST16_FMTd__ "hd"
325*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT_LEAST16_FMTi__ "hi"
326*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT_LEAST16_MAX__ 32767
327*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT_LEAST16_TYPE__ short
328*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT_LEAST32_FMTd__ "d"
329*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT_LEAST32_FMTi__ "i"
330*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT_LEAST32_MAX__ 2147483647
331*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT_LEAST32_TYPE__ int
332*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT_LEAST64_FMTd__ "ld"
333*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT_LEAST64_FMTi__ "li"
334*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT_LEAST64_MAX__ 9223372036854775807L
335*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT_LEAST64_TYPE__ long int
336*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT_LEAST8_FMTd__ "hhd"
337*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT_LEAST8_FMTi__ "hhi"
338*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT_LEAST8_MAX__ 127
339*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT_LEAST8_TYPE__ signed char
340*0a6a1f1dSLionel Sambuc // AARCH64:#define __INT_MAX__ 2147483647
341*0a6a1f1dSLionel Sambuc // AARCH64:#define __LDBL_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966L
342*0a6a1f1dSLionel Sambuc // AARCH64:#define __LDBL_DIG__ 33
343*0a6a1f1dSLionel Sambuc // AARCH64:#define __LDBL_EPSILON__ 1.92592994438723585305597794258492732e-34L
344*0a6a1f1dSLionel Sambuc // AARCH64:#define __LDBL_HAS_DENORM__ 1
345*0a6a1f1dSLionel Sambuc // AARCH64:#define __LDBL_HAS_INFINITY__ 1
346*0a6a1f1dSLionel Sambuc // AARCH64:#define __LDBL_HAS_QUIET_NAN__ 1
347*0a6a1f1dSLionel Sambuc // AARCH64:#define __LDBL_MANT_DIG__ 113
348*0a6a1f1dSLionel Sambuc // AARCH64:#define __LDBL_MAX_10_EXP__ 4932
349*0a6a1f1dSLionel Sambuc // AARCH64:#define __LDBL_MAX_EXP__ 16384
350*0a6a1f1dSLionel Sambuc // AARCH64:#define __LDBL_MAX__ 1.18973149535723176508575932662800702e+4932L
351*0a6a1f1dSLionel Sambuc // AARCH64:#define __LDBL_MIN_10_EXP__ (-4931)
352*0a6a1f1dSLionel Sambuc // AARCH64:#define __LDBL_MIN_EXP__ (-16381)
353*0a6a1f1dSLionel Sambuc // AARCH64:#define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L
354*0a6a1f1dSLionel Sambuc // AARCH64:#define __LONG_LONG_MAX__ 9223372036854775807LL
355*0a6a1f1dSLionel Sambuc // AARCH64:#define __LONG_MAX__ 9223372036854775807L
356*0a6a1f1dSLionel Sambuc // AARCH64:#define __LP64__ 1
357*0a6a1f1dSLionel Sambuc // AARCH64:#define __POINTER_WIDTH__ 64
358*0a6a1f1dSLionel Sambuc // AARCH64:#define __PTRDIFF_TYPE__ long int
359*0a6a1f1dSLionel Sambuc // AARCH64:#define __PTRDIFF_WIDTH__ 64
360*0a6a1f1dSLionel Sambuc // AARCH64:#define __SCHAR_MAX__ 127
361*0a6a1f1dSLionel Sambuc // AARCH64:#define __SHRT_MAX__ 32767
362*0a6a1f1dSLionel Sambuc // AARCH64:#define __SIG_ATOMIC_MAX__ 2147483647
363*0a6a1f1dSLionel Sambuc // AARCH64:#define __SIG_ATOMIC_WIDTH__ 32
364*0a6a1f1dSLionel Sambuc // AARCH64:#define __SIZEOF_DOUBLE__ 8
365*0a6a1f1dSLionel Sambuc // AARCH64:#define __SIZEOF_FLOAT__ 4
366*0a6a1f1dSLionel Sambuc // AARCH64:#define __SIZEOF_INT128__ 16
367*0a6a1f1dSLionel Sambuc // AARCH64:#define __SIZEOF_INT__ 4
368*0a6a1f1dSLionel Sambuc // AARCH64:#define __SIZEOF_LONG_DOUBLE__ 16
369*0a6a1f1dSLionel Sambuc // AARCH64:#define __SIZEOF_LONG_LONG__ 8
370*0a6a1f1dSLionel Sambuc // AARCH64:#define __SIZEOF_LONG__ 8
371*0a6a1f1dSLionel Sambuc // AARCH64:#define __SIZEOF_POINTER__ 8
372*0a6a1f1dSLionel Sambuc // AARCH64:#define __SIZEOF_PTRDIFF_T__ 8
373*0a6a1f1dSLionel Sambuc // AARCH64:#define __SIZEOF_SHORT__ 2
374*0a6a1f1dSLionel Sambuc // AARCH64:#define __SIZEOF_SIZE_T__ 8
375*0a6a1f1dSLionel Sambuc // AARCH64:#define __SIZEOF_WCHAR_T__ 4
376*0a6a1f1dSLionel Sambuc // AARCH64:#define __SIZEOF_WINT_T__ 4
377*0a6a1f1dSLionel Sambuc // AARCH64:#define __SIZE_MAX__ 18446744073709551615UL
378*0a6a1f1dSLionel Sambuc // AARCH64:#define __SIZE_TYPE__ long unsigned int
379*0a6a1f1dSLionel Sambuc // AARCH64:#define __SIZE_WIDTH__ 64
380*0a6a1f1dSLionel Sambuc // AARCH64:#define __UINT16_C_SUFFIX__ {{$}}
381*0a6a1f1dSLionel Sambuc // AARCH64:#define __UINT16_MAX__ 65535
382*0a6a1f1dSLionel Sambuc // AARCH64:#define __UINT16_TYPE__ unsigned short
383*0a6a1f1dSLionel Sambuc // AARCH64:#define __UINT32_C_SUFFIX__ U
384*0a6a1f1dSLionel Sambuc // AARCH64:#define __UINT32_MAX__ 4294967295U
385*0a6a1f1dSLionel Sambuc // AARCH64:#define __UINT32_TYPE__ unsigned int
386*0a6a1f1dSLionel Sambuc // AARCH64:#define __UINT64_C_SUFFIX__ UL
387*0a6a1f1dSLionel Sambuc // AARCH64:#define __UINT64_MAX__ 18446744073709551615UL
388*0a6a1f1dSLionel Sambuc // AARCH64:#define __UINT64_TYPE__ long unsigned int
389*0a6a1f1dSLionel Sambuc // AARCH64:#define __UINT8_C_SUFFIX__ {{$}}
390*0a6a1f1dSLionel Sambuc // AARCH64:#define __UINT8_MAX__ 255
391*0a6a1f1dSLionel Sambuc // AARCH64:#define __UINT8_TYPE__ unsigned char
392*0a6a1f1dSLionel Sambuc // AARCH64:#define __UINTMAX_C_SUFFIX__ UL
393*0a6a1f1dSLionel Sambuc // AARCH64:#define __UINTMAX_MAX__ 18446744073709551615UL
394*0a6a1f1dSLionel Sambuc // AARCH64:#define __UINTMAX_TYPE__ long unsigned int
395*0a6a1f1dSLionel Sambuc // AARCH64:#define __UINTMAX_WIDTH__ 64
396*0a6a1f1dSLionel Sambuc // AARCH64:#define __UINTPTR_MAX__ 18446744073709551615UL
397*0a6a1f1dSLionel Sambuc // AARCH64:#define __UINTPTR_TYPE__ long unsigned int
398*0a6a1f1dSLionel Sambuc // AARCH64:#define __UINTPTR_WIDTH__ 64
399*0a6a1f1dSLionel Sambuc // AARCH64:#define __UINT_FAST16_MAX__ 65535
400*0a6a1f1dSLionel Sambuc // AARCH64:#define __UINT_FAST16_TYPE__ unsigned short
401*0a6a1f1dSLionel Sambuc // AARCH64:#define __UINT_FAST32_MAX__ 4294967295U
402*0a6a1f1dSLionel Sambuc // AARCH64:#define __UINT_FAST32_TYPE__ unsigned int
403*0a6a1f1dSLionel Sambuc // AARCH64:#define __UINT_FAST64_MAX__ 18446744073709551615UL
404*0a6a1f1dSLionel Sambuc // AARCH64:#define __UINT_FAST64_TYPE__ long unsigned int
405*0a6a1f1dSLionel Sambuc // AARCH64:#define __UINT_FAST8_MAX__ 255
406*0a6a1f1dSLionel Sambuc // AARCH64:#define __UINT_FAST8_TYPE__ unsigned char
407*0a6a1f1dSLionel Sambuc // AARCH64:#define __UINT_LEAST16_MAX__ 65535
408*0a6a1f1dSLionel Sambuc // AARCH64:#define __UINT_LEAST16_TYPE__ unsigned short
409*0a6a1f1dSLionel Sambuc // AARCH64:#define __UINT_LEAST32_MAX__ 4294967295U
410*0a6a1f1dSLionel Sambuc // AARCH64:#define __UINT_LEAST32_TYPE__ unsigned int
411*0a6a1f1dSLionel Sambuc // AARCH64:#define __UINT_LEAST64_MAX__ 18446744073709551615UL
412*0a6a1f1dSLionel Sambuc // AARCH64:#define __UINT_LEAST64_TYPE__ long unsigned int
413*0a6a1f1dSLionel Sambuc // AARCH64:#define __UINT_LEAST8_MAX__ 255
414*0a6a1f1dSLionel Sambuc // AARCH64:#define __UINT_LEAST8_TYPE__ unsigned char
415*0a6a1f1dSLionel Sambuc // AARCH64:#define __USER_LABEL_PREFIX__ _
416*0a6a1f1dSLionel Sambuc // AARCH64:#define __WCHAR_MAX__ 4294967295U
417*0a6a1f1dSLionel Sambuc // AARCH64:#define __WCHAR_TYPE__ unsigned int
418*0a6a1f1dSLionel Sambuc // AARCH64:#define __WCHAR_UNSIGNED__ 1
419*0a6a1f1dSLionel Sambuc // AARCH64:#define __WCHAR_WIDTH__ 32
420*0a6a1f1dSLionel Sambuc // AARCH64:#define __WINT_TYPE__ int
421*0a6a1f1dSLionel Sambuc // AARCH64:#define __WINT_WIDTH__ 32
422*0a6a1f1dSLionel Sambuc // AARCH64:#define __aarch64__ 1
423*0a6a1f1dSLionel Sambuc //
424*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=aarch64_be-none-none < /dev/null | FileCheck -check-prefix AARCH64-BE %s
425*0a6a1f1dSLionel Sambuc //
426*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define _LP64 1
427*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __AARCH64EB__ 1
428*0a6a1f1dSLionel Sambuc // AARCH64-BE-NOT:#define __AARCH64EL__ 1
429*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __AARCH_BIG_ENDIAN 1
430*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __ARM_64BIT_STATE 1
431*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __ARM_ARCH 8
432*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __ARM_ARCH_ISA_A64 1
433*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __ARM_BIG_ENDIAN 1
434*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__
435*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __CHAR16_TYPE__ unsigned short
436*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __CHAR32_TYPE__ unsigned int
437*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __CHAR_BIT__ 8
438*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
439*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __DBL_DIG__ 15
440*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __DBL_EPSILON__ 2.2204460492503131e-16
441*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __DBL_HAS_DENORM__ 1
442*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __DBL_HAS_INFINITY__ 1
443*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __DBL_HAS_QUIET_NAN__ 1
444*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __DBL_MANT_DIG__ 53
445*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __DBL_MAX_10_EXP__ 308
446*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __DBL_MAX_EXP__ 1024
447*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __DBL_MAX__ 1.7976931348623157e+308
448*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __DBL_MIN_10_EXP__ (-307)
449*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __DBL_MIN_EXP__ (-1021)
450*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __DBL_MIN__ 2.2250738585072014e-308
451*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __DECIMAL_DIG__ 36
452*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __FLT_DENORM_MIN__ 1.40129846e-45F
453*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __FLT_DIG__ 6
454*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __FLT_EPSILON__ 1.19209290e-7F
455*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __FLT_EVAL_METHOD__ 0
456*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __FLT_HAS_DENORM__ 1
457*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __FLT_HAS_INFINITY__ 1
458*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __FLT_HAS_QUIET_NAN__ 1
459*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __FLT_MANT_DIG__ 24
460*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __FLT_MAX_10_EXP__ 38
461*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __FLT_MAX_EXP__ 128
462*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __FLT_MAX__ 3.40282347e+38F
463*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __FLT_MIN_10_EXP__ (-37)
464*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __FLT_MIN_EXP__ (-125)
465*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __FLT_MIN__ 1.17549435e-38F
466*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __FLT_RADIX__ 2
467*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT16_C_SUFFIX__ {{$}}
468*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT16_FMTd__ "hd"
469*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT16_FMTi__ "hi"
470*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT16_MAX__ 32767
471*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT16_TYPE__ short
472*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT32_C_SUFFIX__ {{$}}
473*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT32_FMTd__ "d"
474*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT32_FMTi__ "i"
475*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT32_MAX__ 2147483647
476*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT32_TYPE__ int
477*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT64_C_SUFFIX__ L
478*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT64_FMTd__ "ld"
479*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT64_FMTi__ "li"
480*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT64_MAX__ 9223372036854775807L
481*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT64_TYPE__ long int
482*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT8_C_SUFFIX__ {{$}}
483*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT8_FMTd__ "hhd"
484*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT8_FMTi__ "hhi"
485*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT8_MAX__ 127
486*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT8_TYPE__ signed char
487*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INTMAX_C_SUFFIX__ L
488*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INTMAX_FMTd__ "ld"
489*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INTMAX_FMTi__ "li"
490*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INTMAX_MAX__ 9223372036854775807L
491*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INTMAX_TYPE__ long int
492*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INTMAX_WIDTH__ 64
493*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INTPTR_FMTd__ "ld"
494*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INTPTR_FMTi__ "li"
495*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INTPTR_MAX__ 9223372036854775807L
496*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INTPTR_TYPE__ long int
497*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INTPTR_WIDTH__ 64
498*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT_FAST16_FMTd__ "hd"
499*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT_FAST16_FMTi__ "hi"
500*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT_FAST16_MAX__ 32767
501*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT_FAST16_TYPE__ short
502*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT_FAST32_FMTd__ "d"
503*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT_FAST32_FMTi__ "i"
504*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT_FAST32_MAX__ 2147483647
505*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT_FAST32_TYPE__ int
506*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT_FAST64_FMTd__ "ld"
507*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT_FAST64_FMTi__ "li"
508*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT_FAST64_MAX__ 9223372036854775807L
509*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT_FAST64_TYPE__ long int
510*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT_FAST8_FMTd__ "hhd"
511*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT_FAST8_FMTi__ "hhi"
512*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT_FAST8_MAX__ 127
513*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT_FAST8_TYPE__ signed char
514*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT_LEAST16_FMTd__ "hd"
515*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT_LEAST16_FMTi__ "hi"
516*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT_LEAST16_MAX__ 32767
517*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT_LEAST16_TYPE__ short
518*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT_LEAST32_FMTd__ "d"
519*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT_LEAST32_FMTi__ "i"
520*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT_LEAST32_MAX__ 2147483647
521*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT_LEAST32_TYPE__ int
522*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT_LEAST64_FMTd__ "ld"
523*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT_LEAST64_FMTi__ "li"
524*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT_LEAST64_MAX__ 9223372036854775807L
525*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT_LEAST64_TYPE__ long int
526*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT_LEAST8_FMTd__ "hhd"
527*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT_LEAST8_FMTi__ "hhi"
528*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT_LEAST8_MAX__ 127
529*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT_LEAST8_TYPE__ signed char
530*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __INT_MAX__ 2147483647
531*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __LDBL_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966L
532*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __LDBL_DIG__ 33
533*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __LDBL_EPSILON__ 1.92592994438723585305597794258492732e-34L
534*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __LDBL_HAS_DENORM__ 1
535*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __LDBL_HAS_INFINITY__ 1
536*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __LDBL_HAS_QUIET_NAN__ 1
537*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __LDBL_MANT_DIG__ 113
538*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __LDBL_MAX_10_EXP__ 4932
539*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __LDBL_MAX_EXP__ 16384
540*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __LDBL_MAX__ 1.18973149535723176508575932662800702e+4932L
541*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __LDBL_MIN_10_EXP__ (-4931)
542*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __LDBL_MIN_EXP__ (-16381)
543*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L
544*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __LONG_LONG_MAX__ 9223372036854775807LL
545*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __LONG_MAX__ 9223372036854775807L
546*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __LP64__ 1
547*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __POINTER_WIDTH__ 64
548*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __PTRDIFF_TYPE__ long int
549*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __PTRDIFF_WIDTH__ 64
550*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __SCHAR_MAX__ 127
551*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __SHRT_MAX__ 32767
552*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __SIG_ATOMIC_MAX__ 2147483647
553*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __SIG_ATOMIC_WIDTH__ 32
554*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __SIZEOF_DOUBLE__ 8
555*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __SIZEOF_FLOAT__ 4
556*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __SIZEOF_INT128__ 16
557*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __SIZEOF_INT__ 4
558*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __SIZEOF_LONG_DOUBLE__ 16
559*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __SIZEOF_LONG_LONG__ 8
560*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __SIZEOF_LONG__ 8
561*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __SIZEOF_POINTER__ 8
562*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __SIZEOF_PTRDIFF_T__ 8
563*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __SIZEOF_SHORT__ 2
564*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __SIZEOF_SIZE_T__ 8
565*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __SIZEOF_WCHAR_T__ 4
566*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __SIZEOF_WINT_T__ 4
567*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __SIZE_MAX__ 18446744073709551615UL
568*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __SIZE_TYPE__ long unsigned int
569*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __SIZE_WIDTH__ 64
570*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __UINT16_C_SUFFIX__ {{$}}
571*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __UINT16_MAX__ 65535
572*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __UINT16_TYPE__ unsigned short
573*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __UINT32_C_SUFFIX__ U
574*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __UINT32_MAX__ 4294967295U
575*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __UINT32_TYPE__ unsigned int
576*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __UINT64_C_SUFFIX__ UL
577*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __UINT64_MAX__ 18446744073709551615UL
578*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __UINT64_TYPE__ long unsigned int
579*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __UINT8_C_SUFFIX__ {{$}}
580*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __UINT8_MAX__ 255
581*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __UINT8_TYPE__ unsigned char
582*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __UINTMAX_C_SUFFIX__ UL
583*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __UINTMAX_MAX__ 18446744073709551615UL
584*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __UINTMAX_TYPE__ long unsigned int
585*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __UINTMAX_WIDTH__ 64
586*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __UINTPTR_MAX__ 18446744073709551615UL
587*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __UINTPTR_TYPE__ long unsigned int
588*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __UINTPTR_WIDTH__ 64
589*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __UINT_FAST16_MAX__ 65535
590*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __UINT_FAST16_TYPE__ unsigned short
591*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __UINT_FAST32_MAX__ 4294967295U
592*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __UINT_FAST32_TYPE__ unsigned int
593*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __UINT_FAST64_MAX__ 18446744073709551615UL
594*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __UINT_FAST64_TYPE__ long unsigned int
595*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __UINT_FAST8_MAX__ 255
596*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __UINT_FAST8_TYPE__ unsigned char
597*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __UINT_LEAST16_MAX__ 65535
598*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __UINT_LEAST16_TYPE__ unsigned short
599*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __UINT_LEAST32_MAX__ 4294967295U
600*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __UINT_LEAST32_TYPE__ unsigned int
601*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __UINT_LEAST64_MAX__ 18446744073709551615UL
602*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __UINT_LEAST64_TYPE__ long unsigned int
603*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __UINT_LEAST8_MAX__ 255
604*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __UINT_LEAST8_TYPE__ unsigned char
605*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __USER_LABEL_PREFIX__ _
606*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __WCHAR_MAX__ 4294967295U
607*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __WCHAR_TYPE__ unsigned int
608*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __WCHAR_UNSIGNED__ 1
609*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __WCHAR_WIDTH__ 32
610*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __WINT_TYPE__ int
611*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __WINT_WIDTH__ 32
612*0a6a1f1dSLionel Sambuc // AARCH64-BE:#define __aarch64__ 1
613*0a6a1f1dSLionel Sambuc //
614*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=aarch64-netbsd < /dev/null | FileCheck -check-prefix AARCH64-NETBSD %s
615*0a6a1f1dSLionel Sambuc //
616*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define _LP64 1
617*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD-NOT:#define __AARCH64EB__ 1
618*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __AARCH64EL__ 1
619*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD-NOT:#define __AARCH_BIG_ENDIAN 1
620*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __ARM_64BIT_STATE 1
621*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __ARM_ARCH 8
622*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __ARM_ARCH_ISA_A64 1
623*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD-NOT:#define __ARM_BIG_ENDIAN 1
624*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
625*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __CHAR16_TYPE__ unsigned short
626*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __CHAR32_TYPE__ unsigned int
627*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __CHAR_BIT__ 8
628*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
629*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __DBL_DIG__ 15
630*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __DBL_EPSILON__ 2.2204460492503131e-16
631*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __DBL_HAS_DENORM__ 1
632*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __DBL_HAS_INFINITY__ 1
633*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __DBL_HAS_QUIET_NAN__ 1
634*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __DBL_MANT_DIG__ 53
635*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __DBL_MAX_10_EXP__ 308
636*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __DBL_MAX_EXP__ 1024
637*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __DBL_MAX__ 1.7976931348623157e+308
638*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __DBL_MIN_10_EXP__ (-307)
639*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __DBL_MIN_EXP__ (-1021)
640*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __DBL_MIN__ 2.2250738585072014e-308
641*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __DECIMAL_DIG__ 36
642*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __ELF__ 1
643*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __FLT_DENORM_MIN__ 1.40129846e-45F
644*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __FLT_DIG__ 6
645*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __FLT_EPSILON__ 1.19209290e-7F
646*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __FLT_EVAL_METHOD__ 0
647*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __FLT_HAS_DENORM__ 1
648*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __FLT_HAS_INFINITY__ 1
649*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __FLT_HAS_QUIET_NAN__ 1
650*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __FLT_MANT_DIG__ 24
651*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __FLT_MAX_10_EXP__ 38
652*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __FLT_MAX_EXP__ 128
653*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __FLT_MAX__ 3.40282347e+38F
654*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __FLT_MIN_10_EXP__ (-37)
655*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __FLT_MIN_EXP__ (-125)
656*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __FLT_MIN__ 1.17549435e-38F
657*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __FLT_RADIX__ 2
658*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT16_C_SUFFIX__ {{$}}
659*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT16_FMTd__ "hd"
660*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT16_FMTi__ "hi"
661*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT16_MAX__ 32767
662*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT16_TYPE__ short
663*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT32_C_SUFFIX__ {{$}}
664*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT32_FMTd__ "d"
665*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT32_FMTi__ "i"
666*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT32_MAX__ 2147483647
667*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT32_TYPE__ int
668*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT64_C_SUFFIX__ LL
669*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT64_FMTd__ "lld"
670*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT64_FMTi__ "lli"
671*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT64_MAX__ 9223372036854775807L
672*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT64_TYPE__ long long int
673*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT8_C_SUFFIX__ {{$}}
674*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT8_FMTd__ "hhd"
675*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT8_FMTi__ "hhi"
676*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT8_MAX__ 127
677*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT8_TYPE__ signed char
678*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INTMAX_C_SUFFIX__ LL
679*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INTMAX_FMTd__ "lld"
680*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INTMAX_FMTi__ "lli"
681*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INTMAX_MAX__ 9223372036854775807LL
682*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INTMAX_TYPE__ long long int
683*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INTMAX_WIDTH__ 64
684*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INTPTR_FMTd__ "ld"
685*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INTPTR_FMTi__ "li"
686*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INTPTR_MAX__ 9223372036854775807L
687*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INTPTR_TYPE__ long int
688*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INTPTR_WIDTH__ 64
689*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT_FAST16_FMTd__ "hd"
690*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT_FAST16_FMTi__ "hi"
691*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT_FAST16_MAX__ 32767
692*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT_FAST16_TYPE__ short
693*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT_FAST32_FMTd__ "d"
694*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT_FAST32_FMTi__ "i"
695*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT_FAST32_MAX__ 2147483647
696*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT_FAST32_TYPE__ int
697*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT_FAST64_FMTd__ "ld"
698*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT_FAST64_FMTi__ "li"
699*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT_FAST64_MAX__ 9223372036854775807L
700*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT_FAST64_TYPE__ long int
701*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT_FAST8_FMTd__ "hhd"
702*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT_FAST8_FMTi__ "hhi"
703*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT_FAST8_MAX__ 127
704*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT_FAST8_TYPE__ signed char
705*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT_LEAST16_FMTd__ "hd"
706*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT_LEAST16_FMTi__ "hi"
707*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT_LEAST16_MAX__ 32767
708*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT_LEAST16_TYPE__ short
709*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT_LEAST32_FMTd__ "d"
710*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT_LEAST32_FMTi__ "i"
711*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT_LEAST32_MAX__ 2147483647
712*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT_LEAST32_TYPE__ int
713*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT_LEAST64_FMTd__ "ld"
714*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT_LEAST64_FMTi__ "li"
715*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT_LEAST64_MAX__ 9223372036854775807L
716*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT_LEAST64_TYPE__ long int
717*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT_LEAST8_FMTd__ "hhd"
718*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT_LEAST8_FMTi__ "hhi"
719*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT_LEAST8_MAX__ 127
720*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT_LEAST8_TYPE__ signed char
721*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __INT_MAX__ 2147483647
722*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __LDBL_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966L
723*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __LDBL_DIG__ 33
724*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __LDBL_EPSILON__ 1.92592994438723585305597794258492732e-34L
725*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __LDBL_HAS_DENORM__ 1
726*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __LDBL_HAS_INFINITY__ 1
727*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __LDBL_HAS_QUIET_NAN__ 1
728*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __LDBL_MANT_DIG__ 113
729*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __LDBL_MAX_10_EXP__ 4932
730*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __LDBL_MAX_EXP__ 16384
731*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __LDBL_MAX__ 1.18973149535723176508575932662800702e+4932L
732*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __LDBL_MIN_10_EXP__ (-4931)
733*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __LDBL_MIN_EXP__ (-16381)
734*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L
735*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __LITTLE_ENDIAN__ 1
736*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __LONG_LONG_MAX__ 9223372036854775807LL
737*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __LONG_MAX__ 9223372036854775807L
738*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __LP64__ 1
739*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __NetBSD__ 1
740*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __POINTER_WIDTH__ 64
741*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __PTRDIFF_TYPE__ long int
742*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __PTRDIFF_WIDTH__ 64
743*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __SCHAR_MAX__ 127
744*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __SHRT_MAX__ 32767
745*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __SIG_ATOMIC_MAX__ 2147483647
746*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __SIG_ATOMIC_WIDTH__ 32
747*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __SIZEOF_DOUBLE__ 8
748*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __SIZEOF_FLOAT__ 4
749*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __SIZEOF_INT__ 4
750*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __SIZEOF_LONG_DOUBLE__ 16
751*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __SIZEOF_LONG_LONG__ 8
752*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __SIZEOF_LONG__ 8
753*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __SIZEOF_POINTER__ 8
754*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __SIZEOF_PTRDIFF_T__ 8
755*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __SIZEOF_SHORT__ 2
756*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __SIZEOF_SIZE_T__ 8
757*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __SIZEOF_WCHAR_T__ 4
758*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __SIZEOF_WINT_T__ 4
759*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __SIZE_MAX__ 18446744073709551615UL
760*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __SIZE_TYPE__ long unsigned int
761*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __SIZE_WIDTH__ 64
762*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __UINT16_C_SUFFIX__ {{$}}
763*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __UINT16_MAX__ 65535
764*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __UINT16_TYPE__ unsigned short
765*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __UINT32_C_SUFFIX__ U
766*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __UINT32_MAX__ 4294967295U
767*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __UINT32_TYPE__ unsigned int
768*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __UINT64_C_SUFFIX__ ULL
769*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __UINT64_MAX__ 18446744073709551615ULL
770*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __UINT64_TYPE__ long long unsigned int
771*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __UINT8_C_SUFFIX__ {{$}}
772*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __UINT8_MAX__ 255
773*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __UINT8_TYPE__ unsigned char
774*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __UINTMAX_C_SUFFIX__ ULL
775*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __UINTMAX_MAX__ 18446744073709551615ULL
776*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __UINTMAX_TYPE__ long long unsigned int
777*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __UINTMAX_WIDTH__ 64
778*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __UINTPTR_MAX__ 18446744073709551615UL
779*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __UINTPTR_TYPE__ long unsigned int
780*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __UINTPTR_WIDTH__ 64
781*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __UINT_FAST16_MAX__ 65535
782*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __UINT_FAST16_TYPE__ unsigned short
783*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __UINT_FAST32_MAX__ 4294967295U
784*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __UINT_FAST32_TYPE__ unsigned int
785*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __UINT_FAST64_MAX__ 18446744073709551615UL
786*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __UINT_FAST64_TYPE__ long unsigned int
787*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __UINT_FAST8_MAX__ 255
788*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __UINT_FAST8_TYPE__ unsigned char
789*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __UINT_LEAST16_MAX__ 65535
790*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __UINT_LEAST16_TYPE__ unsigned short
791*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __UINT_LEAST32_MAX__ 4294967295U
792*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __UINT_LEAST32_TYPE__ unsigned int
793*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __UINT_LEAST64_MAX__ 18446744073709551615UL
794*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __UINT_LEAST64_TYPE__ long unsigned int
795*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __UINT_LEAST8_MAX__ 255
796*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __UINT_LEAST8_TYPE__ unsigned char
797*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __USER_LABEL_PREFIX__
798*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __WCHAR_MAX__ 2147483647
799*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __WCHAR_TYPE__ int
800*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __WCHAR_WIDTH__ 32
801*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __WINT_TYPE__ int
802*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __WINT_WIDTH__ 32
803*0a6a1f1dSLionel Sambuc // AARCH64-NETBSD:#define __aarch64__ 1
804*0a6a1f1dSLionel Sambuc //
805*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=aarch64-freebsd11 < /dev/null | FileCheck -check-prefix AARCH64-FREEBSD %s
806*0a6a1f1dSLionel Sambuc //
807*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define _LP64 1
808*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD-NOT:#define __AARCH64EB__ 1
809*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __AARCH64EL__ 1
810*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD-NOT:#define __AARCH_BIG_ENDIAN 1
811*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __ARM_64BIT_STATE 1
812*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __ARM_ARCH 8
813*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __ARM_ARCH_ISA_A64 1
814*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD-NOT:#define __ARM_BIG_ENDIAN 1
815*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
816*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __CHAR16_TYPE__ unsigned short
817*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __CHAR32_TYPE__ unsigned int
818*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __CHAR_BIT__ 8
819*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
820*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __DBL_DIG__ 15
821*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __DBL_EPSILON__ 2.2204460492503131e-16
822*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __DBL_HAS_DENORM__ 1
823*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __DBL_HAS_INFINITY__ 1
824*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __DBL_HAS_QUIET_NAN__ 1
825*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __DBL_MANT_DIG__ 53
826*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __DBL_MAX_10_EXP__ 308
827*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __DBL_MAX_EXP__ 1024
828*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __DBL_MAX__ 1.7976931348623157e+308
829*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __DBL_MIN_10_EXP__ (-307)
830*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __DBL_MIN_EXP__ (-1021)
831*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __DBL_MIN__ 2.2250738585072014e-308
832*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __DECIMAL_DIG__ 36
833*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __ELF__ 1
834*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __FLT_DENORM_MIN__ 1.40129846e-45F
835*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __FLT_DIG__ 6
836*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __FLT_EPSILON__ 1.19209290e-7F
837*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __FLT_EVAL_METHOD__ 0
838*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __FLT_HAS_DENORM__ 1
839*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __FLT_HAS_INFINITY__ 1
840*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __FLT_HAS_QUIET_NAN__ 1
841*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __FLT_MANT_DIG__ 24
842*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __FLT_MAX_10_EXP__ 38
843*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __FLT_MAX_EXP__ 128
844*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __FLT_MAX__ 3.40282347e+38F
845*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __FLT_MIN_10_EXP__ (-37)
846*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __FLT_MIN_EXP__ (-125)
847*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __FLT_MIN__ 1.17549435e-38F
848*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __FLT_RADIX__ 2
849*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __FreeBSD__ 11
850*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT16_C_SUFFIX__ {{$}}
851*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT16_FMTd__ "hd"
852*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT16_FMTi__ "hi"
853*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT16_MAX__ 32767
854*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT16_TYPE__ short
855*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT32_C_SUFFIX__ {{$}}
856*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT32_FMTd__ "d"
857*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT32_FMTi__ "i"
858*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT32_MAX__ 2147483647
859*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT32_TYPE__ int
860*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT64_C_SUFFIX__ L
861*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT64_FMTd__ "ld"
862*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT64_FMTi__ "li"
863*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT64_MAX__ 9223372036854775807L
864*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT64_TYPE__ long int
865*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT8_C_SUFFIX__ {{$}}
866*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT8_FMTd__ "hhd"
867*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT8_FMTi__ "hhi"
868*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT8_MAX__ 127
869*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT8_TYPE__ signed char
870*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INTMAX_C_SUFFIX__ L
871*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INTMAX_FMTd__ "ld"
872*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INTMAX_FMTi__ "li"
873*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INTMAX_MAX__ 9223372036854775807L
874*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INTMAX_TYPE__ long int
875*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INTMAX_WIDTH__ 64
876*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INTPTR_FMTd__ "ld"
877*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INTPTR_FMTi__ "li"
878*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INTPTR_MAX__ 9223372036854775807L
879*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INTPTR_TYPE__ long int
880*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INTPTR_WIDTH__ 64
881*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT_FAST16_FMTd__ "hd"
882*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT_FAST16_FMTi__ "hi"
883*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT_FAST16_MAX__ 32767
884*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT_FAST16_TYPE__ short
885*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT_FAST32_FMTd__ "d"
886*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT_FAST32_FMTi__ "i"
887*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT_FAST32_MAX__ 2147483647
888*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT_FAST32_TYPE__ int
889*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT_FAST64_FMTd__ "ld"
890*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT_FAST64_FMTi__ "li"
891*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT_FAST64_MAX__ 9223372036854775807L
892*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT_FAST64_TYPE__ long int
893*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT_FAST8_FMTd__ "hhd"
894*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT_FAST8_FMTi__ "hhi"
895*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT_FAST8_MAX__ 127
896*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT_FAST8_TYPE__ signed char
897*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT_LEAST16_FMTd__ "hd"
898*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT_LEAST16_FMTi__ "hi"
899*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT_LEAST16_MAX__ 32767
900*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT_LEAST16_TYPE__ short
901*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT_LEAST32_FMTd__ "d"
902*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT_LEAST32_FMTi__ "i"
903*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT_LEAST32_MAX__ 2147483647
904*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT_LEAST32_TYPE__ int
905*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT_LEAST64_FMTd__ "ld"
906*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT_LEAST64_FMTi__ "li"
907*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT_LEAST64_MAX__ 9223372036854775807L
908*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT_LEAST64_TYPE__ long int
909*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT_LEAST8_FMTd__ "hhd"
910*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT_LEAST8_FMTi__ "hhi"
911*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT_LEAST8_MAX__ 127
912*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT_LEAST8_TYPE__ signed char
913*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __INT_MAX__ 2147483647
914*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __LDBL_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966L
915*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __LDBL_DIG__ 33
916*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __LDBL_EPSILON__ 1.92592994438723585305597794258492732e-34L
917*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __LDBL_HAS_DENORM__ 1
918*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __LDBL_HAS_INFINITY__ 1
919*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __LDBL_HAS_QUIET_NAN__ 1
920*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __LDBL_MANT_DIG__ 113
921*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __LDBL_MAX_10_EXP__ 4932
922*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __LDBL_MAX_EXP__ 16384
923*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __LDBL_MAX__ 1.18973149535723176508575932662800702e+4932L
924*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __LDBL_MIN_10_EXP__ (-4931)
925*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __LDBL_MIN_EXP__ (-16381)
926*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L
927*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __LITTLE_ENDIAN__ 1
928*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __LONG_LONG_MAX__ 9223372036854775807LL
929*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __LONG_MAX__ 9223372036854775807L
930*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __LP64__ 1
931*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __POINTER_WIDTH__ 64
932*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __PTRDIFF_TYPE__ long int
933*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __PTRDIFF_WIDTH__ 64
934*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __SCHAR_MAX__ 127
935*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __SHRT_MAX__ 32767
936*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __SIG_ATOMIC_MAX__ 2147483647
937*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __SIG_ATOMIC_WIDTH__ 32
938*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __SIZEOF_DOUBLE__ 8
939*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __SIZEOF_FLOAT__ 4
940*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __SIZEOF_INT128__ 16
941*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __SIZEOF_INT__ 4
942*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __SIZEOF_LONG_DOUBLE__ 16
943*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __SIZEOF_LONG_LONG__ 8
944*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __SIZEOF_LONG__ 8
945*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __SIZEOF_POINTER__ 8
946*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __SIZEOF_PTRDIFF_T__ 8
947*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __SIZEOF_SHORT__ 2
948*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __SIZEOF_SIZE_T__ 8
949*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __SIZEOF_WCHAR_T__ 4
950*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __SIZEOF_WINT_T__ 4
951*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __SIZE_MAX__ 18446744073709551615UL
952*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __SIZE_TYPE__ long unsigned int
953*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __SIZE_WIDTH__ 64
954*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __UINT16_C_SUFFIX__ {{$}}
955*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __UINT16_MAX__ 65535
956*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __UINT16_TYPE__ unsigned short
957*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __UINT32_C_SUFFIX__ U
958*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __UINT32_MAX__ 4294967295U
959*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __UINT32_TYPE__ unsigned int
960*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __UINT64_C_SUFFIX__ UL
961*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __UINT64_MAX__ 18446744073709551615UL
962*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __UINT64_TYPE__ long unsigned int
963*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __UINT8_C_SUFFIX__ {{$}}
964*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __UINT8_MAX__ 255
965*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __UINT8_TYPE__ unsigned char
966*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __UINTMAX_C_SUFFIX__ UL
967*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __UINTMAX_MAX__ 18446744073709551615UL
968*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __UINTMAX_TYPE__ long unsigned int
969*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __UINTMAX_WIDTH__ 64
970*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __UINTPTR_MAX__ 18446744073709551615UL
971*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __UINTPTR_TYPE__ long unsigned int
972*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __UINTPTR_WIDTH__ 64
973*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __UINT_FAST16_MAX__ 65535
974*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __UINT_FAST16_TYPE__ unsigned short
975*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __UINT_FAST32_MAX__ 4294967295U
976*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __UINT_FAST32_TYPE__ unsigned int
977*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __UINT_FAST64_MAX__ 18446744073709551615UL
978*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __UINT_FAST64_TYPE__ long unsigned int
979*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __UINT_FAST8_MAX__ 255
980*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __UINT_FAST8_TYPE__ unsigned char
981*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __UINT_LEAST16_MAX__ 65535
982*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __UINT_LEAST16_TYPE__ unsigned short
983*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __UINT_LEAST32_MAX__ 4294967295U
984*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __UINT_LEAST32_TYPE__ unsigned int
985*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __UINT_LEAST64_MAX__ 18446744073709551615UL
986*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __UINT_LEAST64_TYPE__ long unsigned int
987*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __UINT_LEAST8_MAX__ 255
988*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __UINT_LEAST8_TYPE__ unsigned char
989*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __USER_LABEL_PREFIX__
990*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __WCHAR_MAX__ 4294967295U
991*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __WCHAR_TYPE__ unsigned int
992*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __WCHAR_UNSIGNED__ 1
993*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __WCHAR_WIDTH__ 32
994*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __WINT_TYPE__ int
995*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __WINT_WIDTH__ 32
996*0a6a1f1dSLionel Sambuc // AARCH64-FREEBSD:#define __aarch64__ 1
997*0a6a1f1dSLionel Sambuc 
998f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=arm-none-none < /dev/null | FileCheck -check-prefix ARM %s
999f4a2713aSLionel Sambuc //
1000f4a2713aSLionel Sambuc // ARM-NOT:#define _LP64
1001f4a2713aSLionel Sambuc // ARM:#define __APCS_32__ 1
1002*0a6a1f1dSLionel Sambuc // ARM-NOT:#define __ARMEB__ 1
1003f4a2713aSLionel Sambuc // ARM:#define __ARMEL__ 1
1004f4a2713aSLionel Sambuc // ARM:#define __ARM_ARCH_6J__ 1
1005*0a6a1f1dSLionel Sambuc // ARM-NOT:#define __ARM_BIG_ENDIAN 1
1006f4a2713aSLionel Sambuc // ARM:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
1007f4a2713aSLionel Sambuc // ARM:#define __CHAR16_TYPE__ unsigned short
1008f4a2713aSLionel Sambuc // ARM:#define __CHAR32_TYPE__ unsigned int
1009f4a2713aSLionel Sambuc // ARM:#define __CHAR_BIT__ 8
1010f4a2713aSLionel Sambuc // ARM:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
1011f4a2713aSLionel Sambuc // ARM:#define __DBL_DIG__ 15
1012f4a2713aSLionel Sambuc // ARM:#define __DBL_EPSILON__ 2.2204460492503131e-16
1013f4a2713aSLionel Sambuc // ARM:#define __DBL_HAS_DENORM__ 1
1014f4a2713aSLionel Sambuc // ARM:#define __DBL_HAS_INFINITY__ 1
1015f4a2713aSLionel Sambuc // ARM:#define __DBL_HAS_QUIET_NAN__ 1
1016f4a2713aSLionel Sambuc // ARM:#define __DBL_MANT_DIG__ 53
1017f4a2713aSLionel Sambuc // ARM:#define __DBL_MAX_10_EXP__ 308
1018f4a2713aSLionel Sambuc // ARM:#define __DBL_MAX_EXP__ 1024
1019f4a2713aSLionel Sambuc // ARM:#define __DBL_MAX__ 1.7976931348623157e+308
1020f4a2713aSLionel Sambuc // ARM:#define __DBL_MIN_10_EXP__ (-307)
1021f4a2713aSLionel Sambuc // ARM:#define __DBL_MIN_EXP__ (-1021)
1022f4a2713aSLionel Sambuc // ARM:#define __DBL_MIN__ 2.2250738585072014e-308
1023f4a2713aSLionel Sambuc // ARM:#define __DECIMAL_DIG__ 17
1024f4a2713aSLionel Sambuc // ARM:#define __FLT_DENORM_MIN__ 1.40129846e-45F
1025f4a2713aSLionel Sambuc // ARM:#define __FLT_DIG__ 6
1026f4a2713aSLionel Sambuc // ARM:#define __FLT_EPSILON__ 1.19209290e-7F
1027f4a2713aSLionel Sambuc // ARM:#define __FLT_EVAL_METHOD__ 0
1028f4a2713aSLionel Sambuc // ARM:#define __FLT_HAS_DENORM__ 1
1029f4a2713aSLionel Sambuc // ARM:#define __FLT_HAS_INFINITY__ 1
1030f4a2713aSLionel Sambuc // ARM:#define __FLT_HAS_QUIET_NAN__ 1
1031f4a2713aSLionel Sambuc // ARM:#define __FLT_MANT_DIG__ 24
1032f4a2713aSLionel Sambuc // ARM:#define __FLT_MAX_10_EXP__ 38
1033f4a2713aSLionel Sambuc // ARM:#define __FLT_MAX_EXP__ 128
1034f4a2713aSLionel Sambuc // ARM:#define __FLT_MAX__ 3.40282347e+38F
1035f4a2713aSLionel Sambuc // ARM:#define __FLT_MIN_10_EXP__ (-37)
1036f4a2713aSLionel Sambuc // ARM:#define __FLT_MIN_EXP__ (-125)
1037f4a2713aSLionel Sambuc // ARM:#define __FLT_MIN__ 1.17549435e-38F
1038f4a2713aSLionel Sambuc // ARM:#define __FLT_RADIX__ 2
1039*0a6a1f1dSLionel Sambuc // ARM:#define __INT16_C_SUFFIX__ {{$}}
1040*0a6a1f1dSLionel Sambuc // ARM:#define __INT16_FMTd__ "hd"
1041*0a6a1f1dSLionel Sambuc // ARM:#define __INT16_FMTi__ "hi"
1042*0a6a1f1dSLionel Sambuc // ARM:#define __INT16_MAX__ 32767
1043f4a2713aSLionel Sambuc // ARM:#define __INT16_TYPE__ short
1044*0a6a1f1dSLionel Sambuc // ARM:#define __INT32_C_SUFFIX__ {{$}}
1045*0a6a1f1dSLionel Sambuc // ARM:#define __INT32_FMTd__ "d"
1046*0a6a1f1dSLionel Sambuc // ARM:#define __INT32_FMTi__ "i"
1047*0a6a1f1dSLionel Sambuc // ARM:#define __INT32_MAX__ 2147483647
1048f4a2713aSLionel Sambuc // ARM:#define __INT32_TYPE__ int
1049f4a2713aSLionel Sambuc // ARM:#define __INT64_C_SUFFIX__ LL
1050*0a6a1f1dSLionel Sambuc // ARM:#define __INT64_FMTd__ "lld"
1051*0a6a1f1dSLionel Sambuc // ARM:#define __INT64_FMTi__ "lli"
1052*0a6a1f1dSLionel Sambuc // ARM:#define __INT64_MAX__ 9223372036854775807LL
1053f4a2713aSLionel Sambuc // ARM:#define __INT64_TYPE__ long long int
1054*0a6a1f1dSLionel Sambuc // ARM:#define __INT8_C_SUFFIX__ {{$}}
1055*0a6a1f1dSLionel Sambuc // ARM:#define __INT8_FMTd__ "hhd"
1056*0a6a1f1dSLionel Sambuc // ARM:#define __INT8_FMTi__ "hhi"
1057*0a6a1f1dSLionel Sambuc // ARM:#define __INT8_MAX__ 127
1058*0a6a1f1dSLionel Sambuc // ARM:#define __INT8_TYPE__ signed char
1059*0a6a1f1dSLionel Sambuc // ARM:#define __INTMAX_C_SUFFIX__ LL
1060*0a6a1f1dSLionel Sambuc // ARM:#define __INTMAX_FMTd__ "lld"
1061*0a6a1f1dSLionel Sambuc // ARM:#define __INTMAX_FMTi__ "lli"
1062f4a2713aSLionel Sambuc // ARM:#define __INTMAX_MAX__ 9223372036854775807LL
1063f4a2713aSLionel Sambuc // ARM:#define __INTMAX_TYPE__ long long int
1064f4a2713aSLionel Sambuc // ARM:#define __INTMAX_WIDTH__ 64
1065*0a6a1f1dSLionel Sambuc // ARM:#define __INTPTR_FMTd__ "ld"
1066*0a6a1f1dSLionel Sambuc // ARM:#define __INTPTR_FMTi__ "li"
1067*0a6a1f1dSLionel Sambuc // ARM:#define __INTPTR_MAX__ 2147483647L
1068f4a2713aSLionel Sambuc // ARM:#define __INTPTR_TYPE__ long int
1069f4a2713aSLionel Sambuc // ARM:#define __INTPTR_WIDTH__ 32
1070*0a6a1f1dSLionel Sambuc // ARM:#define __INT_FAST16_FMTd__ "hd"
1071*0a6a1f1dSLionel Sambuc // ARM:#define __INT_FAST16_FMTi__ "hi"
1072*0a6a1f1dSLionel Sambuc // ARM:#define __INT_FAST16_MAX__ 32767
1073*0a6a1f1dSLionel Sambuc // ARM:#define __INT_FAST16_TYPE__ short
1074*0a6a1f1dSLionel Sambuc // ARM:#define __INT_FAST32_FMTd__ "d"
1075*0a6a1f1dSLionel Sambuc // ARM:#define __INT_FAST32_FMTi__ "i"
1076*0a6a1f1dSLionel Sambuc // ARM:#define __INT_FAST32_MAX__ 2147483647
1077*0a6a1f1dSLionel Sambuc // ARM:#define __INT_FAST32_TYPE__ int
1078*0a6a1f1dSLionel Sambuc // ARM:#define __INT_FAST64_FMTd__ "lld"
1079*0a6a1f1dSLionel Sambuc // ARM:#define __INT_FAST64_FMTi__ "lli"
1080*0a6a1f1dSLionel Sambuc // ARM:#define __INT_FAST64_MAX__ 9223372036854775807LL
1081*0a6a1f1dSLionel Sambuc // ARM:#define __INT_FAST64_TYPE__ long long int
1082*0a6a1f1dSLionel Sambuc // ARM:#define __INT_FAST8_FMTd__ "hhd"
1083*0a6a1f1dSLionel Sambuc // ARM:#define __INT_FAST8_FMTi__ "hhi"
1084*0a6a1f1dSLionel Sambuc // ARM:#define __INT_FAST8_MAX__ 127
1085*0a6a1f1dSLionel Sambuc // ARM:#define __INT_FAST8_TYPE__ signed char
1086*0a6a1f1dSLionel Sambuc // ARM:#define __INT_LEAST16_FMTd__ "hd"
1087*0a6a1f1dSLionel Sambuc // ARM:#define __INT_LEAST16_FMTi__ "hi"
1088*0a6a1f1dSLionel Sambuc // ARM:#define __INT_LEAST16_MAX__ 32767
1089*0a6a1f1dSLionel Sambuc // ARM:#define __INT_LEAST16_TYPE__ short
1090*0a6a1f1dSLionel Sambuc // ARM:#define __INT_LEAST32_FMTd__ "d"
1091*0a6a1f1dSLionel Sambuc // ARM:#define __INT_LEAST32_FMTi__ "i"
1092*0a6a1f1dSLionel Sambuc // ARM:#define __INT_LEAST32_MAX__ 2147483647
1093*0a6a1f1dSLionel Sambuc // ARM:#define __INT_LEAST32_TYPE__ int
1094*0a6a1f1dSLionel Sambuc // ARM:#define __INT_LEAST64_FMTd__ "lld"
1095*0a6a1f1dSLionel Sambuc // ARM:#define __INT_LEAST64_FMTi__ "lli"
1096*0a6a1f1dSLionel Sambuc // ARM:#define __INT_LEAST64_MAX__ 9223372036854775807LL
1097*0a6a1f1dSLionel Sambuc // ARM:#define __INT_LEAST64_TYPE__ long long int
1098*0a6a1f1dSLionel Sambuc // ARM:#define __INT_LEAST8_FMTd__ "hhd"
1099*0a6a1f1dSLionel Sambuc // ARM:#define __INT_LEAST8_FMTi__ "hhi"
1100*0a6a1f1dSLionel Sambuc // ARM:#define __INT_LEAST8_MAX__ 127
1101*0a6a1f1dSLionel Sambuc // ARM:#define __INT_LEAST8_TYPE__ signed char
1102f4a2713aSLionel Sambuc // ARM:#define __INT_MAX__ 2147483647
1103f4a2713aSLionel Sambuc // ARM:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
1104f4a2713aSLionel Sambuc // ARM:#define __LDBL_DIG__ 15
1105f4a2713aSLionel Sambuc // ARM:#define __LDBL_EPSILON__ 2.2204460492503131e-16L
1106f4a2713aSLionel Sambuc // ARM:#define __LDBL_HAS_DENORM__ 1
1107f4a2713aSLionel Sambuc // ARM:#define __LDBL_HAS_INFINITY__ 1
1108f4a2713aSLionel Sambuc // ARM:#define __LDBL_HAS_QUIET_NAN__ 1
1109f4a2713aSLionel Sambuc // ARM:#define __LDBL_MANT_DIG__ 53
1110f4a2713aSLionel Sambuc // ARM:#define __LDBL_MAX_10_EXP__ 308
1111f4a2713aSLionel Sambuc // ARM:#define __LDBL_MAX_EXP__ 1024
1112f4a2713aSLionel Sambuc // ARM:#define __LDBL_MAX__ 1.7976931348623157e+308L
1113f4a2713aSLionel Sambuc // ARM:#define __LDBL_MIN_10_EXP__ (-307)
1114f4a2713aSLionel Sambuc // ARM:#define __LDBL_MIN_EXP__ (-1021)
1115f4a2713aSLionel Sambuc // ARM:#define __LDBL_MIN__ 2.2250738585072014e-308L
1116f4a2713aSLionel Sambuc // ARM:#define __LITTLE_ENDIAN__ 1
1117f4a2713aSLionel Sambuc // ARM:#define __LONG_LONG_MAX__ 9223372036854775807LL
1118f4a2713aSLionel Sambuc // ARM:#define __LONG_MAX__ 2147483647L
1119f4a2713aSLionel Sambuc // ARM-NOT:#define __LP64__
1120f4a2713aSLionel Sambuc // ARM:#define __POINTER_WIDTH__ 32
1121f4a2713aSLionel Sambuc // ARM:#define __PTRDIFF_TYPE__ int
1122f4a2713aSLionel Sambuc // ARM:#define __PTRDIFF_WIDTH__ 32
1123f4a2713aSLionel Sambuc // ARM:#define __REGISTER_PREFIX__
1124f4a2713aSLionel Sambuc // ARM:#define __SCHAR_MAX__ 127
1125f4a2713aSLionel Sambuc // ARM:#define __SHRT_MAX__ 32767
1126*0a6a1f1dSLionel Sambuc // ARM:#define __SIG_ATOMIC_MAX__ 2147483647
1127f4a2713aSLionel Sambuc // ARM:#define __SIG_ATOMIC_WIDTH__ 32
1128f4a2713aSLionel Sambuc // ARM:#define __SIZEOF_DOUBLE__ 8
1129f4a2713aSLionel Sambuc // ARM:#define __SIZEOF_FLOAT__ 4
1130f4a2713aSLionel Sambuc // ARM:#define __SIZEOF_INT__ 4
1131f4a2713aSLionel Sambuc // ARM:#define __SIZEOF_LONG_DOUBLE__ 8
1132f4a2713aSLionel Sambuc // ARM:#define __SIZEOF_LONG_LONG__ 8
1133f4a2713aSLionel Sambuc // ARM:#define __SIZEOF_LONG__ 4
1134f4a2713aSLionel Sambuc // ARM:#define __SIZEOF_POINTER__ 4
1135f4a2713aSLionel Sambuc // ARM:#define __SIZEOF_PTRDIFF_T__ 4
1136f4a2713aSLionel Sambuc // ARM:#define __SIZEOF_SHORT__ 2
1137f4a2713aSLionel Sambuc // ARM:#define __SIZEOF_SIZE_T__ 4
1138f4a2713aSLionel Sambuc // ARM:#define __SIZEOF_WCHAR_T__ 4
1139f4a2713aSLionel Sambuc // ARM:#define __SIZEOF_WINT_T__ 4
1140f4a2713aSLionel Sambuc // ARM:#define __SIZE_MAX__ 4294967295U
1141f4a2713aSLionel Sambuc // ARM:#define __SIZE_TYPE__ unsigned int
1142f4a2713aSLionel Sambuc // ARM:#define __SIZE_WIDTH__ 32
1143f4a2713aSLionel Sambuc // ARM:#define __THUMB_INTERWORK__ 1
1144*0a6a1f1dSLionel Sambuc // ARM:#define __UINT16_C_SUFFIX__ {{$}}
1145*0a6a1f1dSLionel Sambuc // ARM:#define __UINT16_MAX__ 65535
1146*0a6a1f1dSLionel Sambuc // ARM:#define __UINT16_TYPE__ unsigned short
1147*0a6a1f1dSLionel Sambuc // ARM:#define __UINT32_C_SUFFIX__ U
1148*0a6a1f1dSLionel Sambuc // ARM:#define __UINT32_MAX__ 4294967295U
1149*0a6a1f1dSLionel Sambuc // ARM:#define __UINT32_TYPE__ unsigned int
1150*0a6a1f1dSLionel Sambuc // ARM:#define __UINT64_C_SUFFIX__ ULL
1151*0a6a1f1dSLionel Sambuc // ARM:#define __UINT64_MAX__ 18446744073709551615ULL
1152*0a6a1f1dSLionel Sambuc // ARM:#define __UINT64_TYPE__ long long unsigned int
1153*0a6a1f1dSLionel Sambuc // ARM:#define __UINT8_C_SUFFIX__ {{$}}
1154*0a6a1f1dSLionel Sambuc // ARM:#define __UINT8_MAX__ 255
1155*0a6a1f1dSLionel Sambuc // ARM:#define __UINT8_TYPE__ unsigned char
1156*0a6a1f1dSLionel Sambuc // ARM:#define __UINTMAX_C_SUFFIX__ ULL
1157*0a6a1f1dSLionel Sambuc // ARM:#define __UINTMAX_MAX__ 18446744073709551615ULL
1158f4a2713aSLionel Sambuc // ARM:#define __UINTMAX_TYPE__ long long unsigned int
1159*0a6a1f1dSLionel Sambuc // ARM:#define __UINTMAX_WIDTH__ 64
1160*0a6a1f1dSLionel Sambuc // ARM:#define __UINTPTR_MAX__ 4294967295U
1161*0a6a1f1dSLionel Sambuc // ARM:#define __UINTPTR_TYPE__ long unsigned int
1162*0a6a1f1dSLionel Sambuc // ARM:#define __UINTPTR_WIDTH__ 32
1163*0a6a1f1dSLionel Sambuc // ARM:#define __UINT_FAST16_MAX__ 65535
1164*0a6a1f1dSLionel Sambuc // ARM:#define __UINT_FAST16_TYPE__ unsigned short
1165*0a6a1f1dSLionel Sambuc // ARM:#define __UINT_FAST32_MAX__ 4294967295U
1166*0a6a1f1dSLionel Sambuc // ARM:#define __UINT_FAST32_TYPE__ unsigned int
1167*0a6a1f1dSLionel Sambuc // ARM:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
1168*0a6a1f1dSLionel Sambuc // ARM:#define __UINT_FAST64_TYPE__ long long unsigned int
1169*0a6a1f1dSLionel Sambuc // ARM:#define __UINT_FAST8_MAX__ 255
1170*0a6a1f1dSLionel Sambuc // ARM:#define __UINT_FAST8_TYPE__ unsigned char
1171*0a6a1f1dSLionel Sambuc // ARM:#define __UINT_LEAST16_MAX__ 65535
1172*0a6a1f1dSLionel Sambuc // ARM:#define __UINT_LEAST16_TYPE__ unsigned short
1173*0a6a1f1dSLionel Sambuc // ARM:#define __UINT_LEAST32_MAX__ 4294967295U
1174*0a6a1f1dSLionel Sambuc // ARM:#define __UINT_LEAST32_TYPE__ unsigned int
1175*0a6a1f1dSLionel Sambuc // ARM:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
1176*0a6a1f1dSLionel Sambuc // ARM:#define __UINT_LEAST64_TYPE__ long long unsigned int
1177*0a6a1f1dSLionel Sambuc // ARM:#define __UINT_LEAST8_MAX__ 255
1178*0a6a1f1dSLionel Sambuc // ARM:#define __UINT_LEAST8_TYPE__ unsigned char
1179f4a2713aSLionel Sambuc // ARM:#define __USER_LABEL_PREFIX__ _
1180f4a2713aSLionel Sambuc // ARM:#define __WCHAR_MAX__ 4294967295U
1181f4a2713aSLionel Sambuc // ARM:#define __WCHAR_TYPE__ unsigned int
1182f4a2713aSLionel Sambuc // ARM:#define __WCHAR_WIDTH__ 32
1183f4a2713aSLionel Sambuc // ARM:#define __WINT_TYPE__ int
1184f4a2713aSLionel Sambuc // ARM:#define __WINT_WIDTH__ 32
1185f4a2713aSLionel Sambuc // ARM:#define __arm 1
1186f4a2713aSLionel Sambuc // ARM:#define __arm__ 1
1187f4a2713aSLionel Sambuc 
1188*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=armeb-none-none < /dev/null | FileCheck -check-prefix ARM-BE %s
1189*0a6a1f1dSLionel Sambuc //
1190*0a6a1f1dSLionel Sambuc // ARM-BE-NOT:#define _LP64
1191*0a6a1f1dSLionel Sambuc // ARM-BE:#define __APCS_32__ 1
1192*0a6a1f1dSLionel Sambuc // ARM-BE:#define __ARMEB__ 1
1193*0a6a1f1dSLionel Sambuc // ARM-BE-NOT:#define __ARMEL__ 1
1194*0a6a1f1dSLionel Sambuc // ARM-BE:#define __ARM_ARCH_6J__ 1
1195*0a6a1f1dSLionel Sambuc // ARM-BE:#define __ARM_BIG_ENDIAN 1
1196*0a6a1f1dSLionel Sambuc // ARM-BE:#define __BIG_ENDIAN__ 1
1197*0a6a1f1dSLionel Sambuc // ARM-BE:#define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__
1198*0a6a1f1dSLionel Sambuc // ARM-BE:#define __CHAR16_TYPE__ unsigned short
1199*0a6a1f1dSLionel Sambuc // ARM-BE:#define __CHAR32_TYPE__ unsigned int
1200*0a6a1f1dSLionel Sambuc // ARM-BE:#define __CHAR_BIT__ 8
1201*0a6a1f1dSLionel Sambuc // ARM-BE:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
1202*0a6a1f1dSLionel Sambuc // ARM-BE:#define __DBL_DIG__ 15
1203*0a6a1f1dSLionel Sambuc // ARM-BE:#define __DBL_EPSILON__ 2.2204460492503131e-16
1204*0a6a1f1dSLionel Sambuc // ARM-BE:#define __DBL_HAS_DENORM__ 1
1205*0a6a1f1dSLionel Sambuc // ARM-BE:#define __DBL_HAS_INFINITY__ 1
1206*0a6a1f1dSLionel Sambuc // ARM-BE:#define __DBL_HAS_QUIET_NAN__ 1
1207*0a6a1f1dSLionel Sambuc // ARM-BE:#define __DBL_MANT_DIG__ 53
1208*0a6a1f1dSLionel Sambuc // ARM-BE:#define __DBL_MAX_10_EXP__ 308
1209*0a6a1f1dSLionel Sambuc // ARM-BE:#define __DBL_MAX_EXP__ 1024
1210*0a6a1f1dSLionel Sambuc // ARM-BE:#define __DBL_MAX__ 1.7976931348623157e+308
1211*0a6a1f1dSLionel Sambuc // ARM-BE:#define __DBL_MIN_10_EXP__ (-307)
1212*0a6a1f1dSLionel Sambuc // ARM-BE:#define __DBL_MIN_EXP__ (-1021)
1213*0a6a1f1dSLionel Sambuc // ARM-BE:#define __DBL_MIN__ 2.2250738585072014e-308
1214*0a6a1f1dSLionel Sambuc // ARM-BE:#define __DECIMAL_DIG__ 17
1215*0a6a1f1dSLionel Sambuc // ARM-BE:#define __FLT_DENORM_MIN__ 1.40129846e-45F
1216*0a6a1f1dSLionel Sambuc // ARM-BE:#define __FLT_DIG__ 6
1217*0a6a1f1dSLionel Sambuc // ARM-BE:#define __FLT_EPSILON__ 1.19209290e-7F
1218*0a6a1f1dSLionel Sambuc // ARM-BE:#define __FLT_EVAL_METHOD__ 0
1219*0a6a1f1dSLionel Sambuc // ARM-BE:#define __FLT_HAS_DENORM__ 1
1220*0a6a1f1dSLionel Sambuc // ARM-BE:#define __FLT_HAS_INFINITY__ 1
1221*0a6a1f1dSLionel Sambuc // ARM-BE:#define __FLT_HAS_QUIET_NAN__ 1
1222*0a6a1f1dSLionel Sambuc // ARM-BE:#define __FLT_MANT_DIG__ 24
1223*0a6a1f1dSLionel Sambuc // ARM-BE:#define __FLT_MAX_10_EXP__ 38
1224*0a6a1f1dSLionel Sambuc // ARM-BE:#define __FLT_MAX_EXP__ 128
1225*0a6a1f1dSLionel Sambuc // ARM-BE:#define __FLT_MAX__ 3.40282347e+38F
1226*0a6a1f1dSLionel Sambuc // ARM-BE:#define __FLT_MIN_10_EXP__ (-37)
1227*0a6a1f1dSLionel Sambuc // ARM-BE:#define __FLT_MIN_EXP__ (-125)
1228*0a6a1f1dSLionel Sambuc // ARM-BE:#define __FLT_MIN__ 1.17549435e-38F
1229*0a6a1f1dSLionel Sambuc // ARM-BE:#define __FLT_RADIX__ 2
1230*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT16_C_SUFFIX__ {{$}}
1231*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT16_FMTd__ "hd"
1232*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT16_FMTi__ "hi"
1233*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT16_MAX__ 32767
1234*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT16_TYPE__ short
1235*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT32_C_SUFFIX__ {{$}}
1236*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT32_FMTd__ "d"
1237*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT32_FMTi__ "i"
1238*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT32_MAX__ 2147483647
1239*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT32_TYPE__ int
1240*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT64_C_SUFFIX__ LL
1241*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT64_FMTd__ "lld"
1242*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT64_FMTi__ "lli"
1243*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT64_MAX__ 9223372036854775807LL
1244*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT64_TYPE__ long long int
1245*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT8_C_SUFFIX__ {{$}}
1246*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT8_FMTd__ "hhd"
1247*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT8_FMTi__ "hhi"
1248*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT8_MAX__ 127
1249*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT8_TYPE__ signed char
1250*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INTMAX_C_SUFFIX__ LL
1251*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INTMAX_FMTd__ "lld"
1252*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INTMAX_FMTi__ "lli"
1253*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INTMAX_MAX__ 9223372036854775807LL
1254*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INTMAX_TYPE__ long long int
1255*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INTMAX_WIDTH__ 64
1256*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INTPTR_FMTd__ "ld"
1257*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INTPTR_FMTi__ "li"
1258*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INTPTR_MAX__ 2147483647L
1259*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INTPTR_TYPE__ long int
1260*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INTPTR_WIDTH__ 32
1261*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT_FAST16_FMTd__ "hd"
1262*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT_FAST16_FMTi__ "hi"
1263*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT_FAST16_MAX__ 32767
1264*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT_FAST16_TYPE__ short
1265*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT_FAST32_FMTd__ "d"
1266*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT_FAST32_FMTi__ "i"
1267*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT_FAST32_MAX__ 2147483647
1268*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT_FAST32_TYPE__ int
1269*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT_FAST64_FMTd__ "lld"
1270*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT_FAST64_FMTi__ "lli"
1271*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT_FAST64_MAX__ 9223372036854775807LL
1272*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT_FAST64_TYPE__ long long int
1273*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT_FAST8_FMTd__ "hhd"
1274*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT_FAST8_FMTi__ "hhi"
1275*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT_FAST8_MAX__ 127
1276*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT_FAST8_TYPE__ signed char
1277*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT_LEAST16_FMTd__ "hd"
1278*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT_LEAST16_FMTi__ "hi"
1279*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT_LEAST16_MAX__ 32767
1280*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT_LEAST16_TYPE__ short
1281*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT_LEAST32_FMTd__ "d"
1282*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT_LEAST32_FMTi__ "i"
1283*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT_LEAST32_MAX__ 2147483647
1284*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT_LEAST32_TYPE__ int
1285*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT_LEAST64_FMTd__ "lld"
1286*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT_LEAST64_FMTi__ "lli"
1287*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT_LEAST64_MAX__ 9223372036854775807LL
1288*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT_LEAST64_TYPE__ long long int
1289*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT_LEAST8_FMTd__ "hhd"
1290*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT_LEAST8_FMTi__ "hhi"
1291*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT_LEAST8_MAX__ 127
1292*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT_LEAST8_TYPE__ signed char
1293*0a6a1f1dSLionel Sambuc // ARM-BE:#define __INT_MAX__ 2147483647
1294*0a6a1f1dSLionel Sambuc // ARM-BE:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
1295*0a6a1f1dSLionel Sambuc // ARM-BE:#define __LDBL_DIG__ 15
1296*0a6a1f1dSLionel Sambuc // ARM-BE:#define __LDBL_EPSILON__ 2.2204460492503131e-16L
1297*0a6a1f1dSLionel Sambuc // ARM-BE:#define __LDBL_HAS_DENORM__ 1
1298*0a6a1f1dSLionel Sambuc // ARM-BE:#define __LDBL_HAS_INFINITY__ 1
1299*0a6a1f1dSLionel Sambuc // ARM-BE:#define __LDBL_HAS_QUIET_NAN__ 1
1300*0a6a1f1dSLionel Sambuc // ARM-BE:#define __LDBL_MANT_DIG__ 53
1301*0a6a1f1dSLionel Sambuc // ARM-BE:#define __LDBL_MAX_10_EXP__ 308
1302*0a6a1f1dSLionel Sambuc // ARM-BE:#define __LDBL_MAX_EXP__ 1024
1303*0a6a1f1dSLionel Sambuc // ARM-BE:#define __LDBL_MAX__ 1.7976931348623157e+308L
1304*0a6a1f1dSLionel Sambuc // ARM-BE:#define __LDBL_MIN_10_EXP__ (-307)
1305*0a6a1f1dSLionel Sambuc // ARM-BE:#define __LDBL_MIN_EXP__ (-1021)
1306*0a6a1f1dSLionel Sambuc // ARM-BE:#define __LDBL_MIN__ 2.2250738585072014e-308L
1307*0a6a1f1dSLionel Sambuc // ARM-BE:#define __LONG_LONG_MAX__ 9223372036854775807LL
1308*0a6a1f1dSLionel Sambuc // ARM-BE:#define __LONG_MAX__ 2147483647L
1309*0a6a1f1dSLionel Sambuc // ARM-BE-NOT:#define __LP64__
1310*0a6a1f1dSLionel Sambuc // ARM-BE:#define __POINTER_WIDTH__ 32
1311*0a6a1f1dSLionel Sambuc // ARM-BE:#define __PTRDIFF_TYPE__ int
1312*0a6a1f1dSLionel Sambuc // ARM-BE:#define __PTRDIFF_WIDTH__ 32
1313*0a6a1f1dSLionel Sambuc // ARM-BE:#define __REGISTER_PREFIX__
1314*0a6a1f1dSLionel Sambuc // ARM-BE:#define __SCHAR_MAX__ 127
1315*0a6a1f1dSLionel Sambuc // ARM-BE:#define __SHRT_MAX__ 32767
1316*0a6a1f1dSLionel Sambuc // ARM-BE:#define __SIG_ATOMIC_MAX__ 2147483647
1317*0a6a1f1dSLionel Sambuc // ARM-BE:#define __SIG_ATOMIC_WIDTH__ 32
1318*0a6a1f1dSLionel Sambuc // ARM-BE:#define __SIZEOF_DOUBLE__ 8
1319*0a6a1f1dSLionel Sambuc // ARM-BE:#define __SIZEOF_FLOAT__ 4
1320*0a6a1f1dSLionel Sambuc // ARM-BE:#define __SIZEOF_INT__ 4
1321*0a6a1f1dSLionel Sambuc // ARM-BE:#define __SIZEOF_LONG_DOUBLE__ 8
1322*0a6a1f1dSLionel Sambuc // ARM-BE:#define __SIZEOF_LONG_LONG__ 8
1323*0a6a1f1dSLionel Sambuc // ARM-BE:#define __SIZEOF_LONG__ 4
1324*0a6a1f1dSLionel Sambuc // ARM-BE:#define __SIZEOF_POINTER__ 4
1325*0a6a1f1dSLionel Sambuc // ARM-BE:#define __SIZEOF_PTRDIFF_T__ 4
1326*0a6a1f1dSLionel Sambuc // ARM-BE:#define __SIZEOF_SHORT__ 2
1327*0a6a1f1dSLionel Sambuc // ARM-BE:#define __SIZEOF_SIZE_T__ 4
1328*0a6a1f1dSLionel Sambuc // ARM-BE:#define __SIZEOF_WCHAR_T__ 4
1329*0a6a1f1dSLionel Sambuc // ARM-BE:#define __SIZEOF_WINT_T__ 4
1330*0a6a1f1dSLionel Sambuc // ARM-BE:#define __SIZE_MAX__ 4294967295U
1331*0a6a1f1dSLionel Sambuc // ARM-BE:#define __SIZE_TYPE__ unsigned int
1332*0a6a1f1dSLionel Sambuc // ARM-BE:#define __SIZE_WIDTH__ 32
1333*0a6a1f1dSLionel Sambuc // ARM-BE:#define __THUMB_INTERWORK__ 1
1334*0a6a1f1dSLionel Sambuc // ARM-BE:#define __UINT16_C_SUFFIX__ {{$}}
1335*0a6a1f1dSLionel Sambuc // ARM-BE:#define __UINT16_MAX__ 65535
1336*0a6a1f1dSLionel Sambuc // ARM-BE:#define __UINT16_TYPE__ unsigned short
1337*0a6a1f1dSLionel Sambuc // ARM-BE:#define __UINT32_C_SUFFIX__ U
1338*0a6a1f1dSLionel Sambuc // ARM-BE:#define __UINT32_MAX__ 4294967295U
1339*0a6a1f1dSLionel Sambuc // ARM-BE:#define __UINT32_TYPE__ unsigned int
1340*0a6a1f1dSLionel Sambuc // ARM-BE:#define __UINT64_C_SUFFIX__ ULL
1341*0a6a1f1dSLionel Sambuc // ARM-BE:#define __UINT64_MAX__ 18446744073709551615ULL
1342*0a6a1f1dSLionel Sambuc // ARM-BE:#define __UINT64_TYPE__ long long unsigned int
1343*0a6a1f1dSLionel Sambuc // ARM-BE:#define __UINT8_C_SUFFIX__ {{$}}
1344*0a6a1f1dSLionel Sambuc // ARM-BE:#define __UINT8_MAX__ 255
1345*0a6a1f1dSLionel Sambuc // ARM-BE:#define __UINT8_TYPE__ unsigned char
1346*0a6a1f1dSLionel Sambuc // ARM-BE:#define __UINTMAX_C_SUFFIX__ ULL
1347*0a6a1f1dSLionel Sambuc // ARM-BE:#define __UINTMAX_MAX__ 18446744073709551615ULL
1348*0a6a1f1dSLionel Sambuc // ARM-BE:#define __UINTMAX_TYPE__ long long unsigned int
1349*0a6a1f1dSLionel Sambuc // ARM-BE:#define __UINTMAX_WIDTH__ 64
1350*0a6a1f1dSLionel Sambuc // ARM-BE:#define __UINTPTR_MAX__ 4294967295U
1351*0a6a1f1dSLionel Sambuc // ARM-BE:#define __UINTPTR_TYPE__ long unsigned int
1352*0a6a1f1dSLionel Sambuc // ARM-BE:#define __UINTPTR_WIDTH__ 32
1353*0a6a1f1dSLionel Sambuc // ARM-BE:#define __UINT_FAST16_MAX__ 65535
1354*0a6a1f1dSLionel Sambuc // ARM-BE:#define __UINT_FAST16_TYPE__ unsigned short
1355*0a6a1f1dSLionel Sambuc // ARM-BE:#define __UINT_FAST32_MAX__ 4294967295U
1356*0a6a1f1dSLionel Sambuc // ARM-BE:#define __UINT_FAST32_TYPE__ unsigned int
1357*0a6a1f1dSLionel Sambuc // ARM-BE:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
1358*0a6a1f1dSLionel Sambuc // ARM-BE:#define __UINT_FAST64_TYPE__ long long unsigned int
1359*0a6a1f1dSLionel Sambuc // ARM-BE:#define __UINT_FAST8_MAX__ 255
1360*0a6a1f1dSLionel Sambuc // ARM-BE:#define __UINT_FAST8_TYPE__ unsigned char
1361*0a6a1f1dSLionel Sambuc // ARM-BE:#define __UINT_LEAST16_MAX__ 65535
1362*0a6a1f1dSLionel Sambuc // ARM-BE:#define __UINT_LEAST16_TYPE__ unsigned short
1363*0a6a1f1dSLionel Sambuc // ARM-BE:#define __UINT_LEAST32_MAX__ 4294967295U
1364*0a6a1f1dSLionel Sambuc // ARM-BE:#define __UINT_LEAST32_TYPE__ unsigned int
1365*0a6a1f1dSLionel Sambuc // ARM-BE:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
1366*0a6a1f1dSLionel Sambuc // ARM-BE:#define __UINT_LEAST64_TYPE__ long long unsigned int
1367*0a6a1f1dSLionel Sambuc // ARM-BE:#define __UINT_LEAST8_MAX__ 255
1368*0a6a1f1dSLionel Sambuc // ARM-BE:#define __UINT_LEAST8_TYPE__ unsigned char
1369*0a6a1f1dSLionel Sambuc // ARM-BE:#define __USER_LABEL_PREFIX__ _
1370*0a6a1f1dSLionel Sambuc // ARM-BE:#define __WCHAR_MAX__ 4294967295U
1371*0a6a1f1dSLionel Sambuc // ARM-BE:#define __WCHAR_TYPE__ unsigned int
1372*0a6a1f1dSLionel Sambuc // ARM-BE:#define __WCHAR_WIDTH__ 32
1373*0a6a1f1dSLionel Sambuc // ARM-BE:#define __WINT_TYPE__ int
1374*0a6a1f1dSLionel Sambuc // ARM-BE:#define __WINT_WIDTH__ 32
1375*0a6a1f1dSLionel Sambuc // ARM-BE:#define __arm 1
1376*0a6a1f1dSLionel Sambuc // ARM-BE:#define __arm__ 1
1377*0a6a1f1dSLionel Sambuc 
1378f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=arm-none-linux-gnueabi -target-feature +soft-float -target-feature +soft-float-abi < /dev/null | FileCheck -check-prefix ARMEABISOFTFP %s
1379f4a2713aSLionel Sambuc //
1380*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP-NOT:#define _LP64
1381f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __APCS_32__ 1
1382*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP-NOT:#define __ARMEB__ 1
1383f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __ARMEL__ 1
1384f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __ARM_ARCH 6
1385f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __ARM_ARCH_6J__ 1
1386*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP-NOT:#define __ARM_BIG_ENDIAN 1
1387f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __ARM_EABI__ 1
1388f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __ARM_PCS 1
1389f4a2713aSLionel Sambuc // ARMEABISOFTFP-NOT:#define __ARM_PCS_VFP 1
1390f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
1391f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __CHAR16_TYPE__ unsigned short
1392f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __CHAR32_TYPE__ unsigned int
1393f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __CHAR_BIT__ 8
1394f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
1395f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __DBL_DIG__ 15
1396f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __DBL_EPSILON__ 2.2204460492503131e-16
1397f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __DBL_HAS_DENORM__ 1
1398f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __DBL_HAS_INFINITY__ 1
1399f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __DBL_HAS_QUIET_NAN__ 1
1400f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __DBL_MANT_DIG__ 53
1401f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __DBL_MAX_10_EXP__ 308
1402f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __DBL_MAX_EXP__ 1024
1403f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __DBL_MAX__ 1.7976931348623157e+308
1404f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __DBL_MIN_10_EXP__ (-307)
1405f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __DBL_MIN_EXP__ (-1021)
1406f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __DBL_MIN__ 2.2250738585072014e-308
1407f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __DECIMAL_DIG__ 17
1408f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __FLT_DENORM_MIN__ 1.40129846e-45F
1409f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __FLT_DIG__ 6
1410f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __FLT_EPSILON__ 1.19209290e-7F
1411f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __FLT_EVAL_METHOD__ 0
1412f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __FLT_HAS_DENORM__ 1
1413f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __FLT_HAS_INFINITY__ 1
1414f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __FLT_HAS_QUIET_NAN__ 1
1415f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __FLT_MANT_DIG__ 24
1416f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __FLT_MAX_10_EXP__ 38
1417f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __FLT_MAX_EXP__ 128
1418f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __FLT_MAX__ 3.40282347e+38F
1419f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __FLT_MIN_10_EXP__ (-37)
1420f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __FLT_MIN_EXP__ (-125)
1421f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __FLT_MIN__ 1.17549435e-38F
1422f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __FLT_RADIX__ 2
1423*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT16_C_SUFFIX__ {{$}}
1424*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT16_FMTd__ "hd"
1425*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT16_FMTi__ "hi"
1426*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT16_MAX__ 32767
1427f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __INT16_TYPE__ short
1428*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT32_C_SUFFIX__ {{$}}
1429*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT32_FMTd__ "d"
1430*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT32_FMTi__ "i"
1431*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT32_MAX__ 2147483647
1432f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __INT32_TYPE__ int
1433f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __INT64_C_SUFFIX__ LL
1434*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT64_FMTd__ "lld"
1435*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT64_FMTi__ "lli"
1436*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT64_MAX__ 9223372036854775807LL
1437f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __INT64_TYPE__ long long int
1438*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT8_C_SUFFIX__ {{$}}
1439*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT8_FMTd__ "hhd"
1440*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT8_FMTi__ "hhi"
1441*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT8_MAX__ 127
1442*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT8_TYPE__ signed char
1443*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INTMAX_C_SUFFIX__ LL
1444*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INTMAX_FMTd__ "lld"
1445*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INTMAX_FMTi__ "lli"
1446f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __INTMAX_MAX__ 9223372036854775807LL
1447f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __INTMAX_TYPE__ long long int
1448f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __INTMAX_WIDTH__ 64
1449*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INTPTR_FMTd__ "ld"
1450*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INTPTR_FMTi__ "li"
1451*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INTPTR_MAX__ 2147483647L
1452f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __INTPTR_TYPE__ long int
1453f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __INTPTR_WIDTH__ 32
1454*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT_FAST16_FMTd__ "hd"
1455*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT_FAST16_FMTi__ "hi"
1456*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT_FAST16_MAX__ 32767
1457*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT_FAST16_TYPE__ short
1458*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT_FAST32_FMTd__ "d"
1459*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT_FAST32_FMTi__ "i"
1460*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT_FAST32_MAX__ 2147483647
1461*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT_FAST32_TYPE__ int
1462*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT_FAST64_FMTd__ "lld"
1463*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT_FAST64_FMTi__ "lli"
1464*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT_FAST64_MAX__ 9223372036854775807LL
1465*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT_FAST64_TYPE__ long long int
1466*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT_FAST8_FMTd__ "hhd"
1467*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT_FAST8_FMTi__ "hhi"
1468*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT_FAST8_MAX__ 127
1469*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT_FAST8_TYPE__ signed char
1470*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT_LEAST16_FMTd__ "hd"
1471*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT_LEAST16_FMTi__ "hi"
1472*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT_LEAST16_MAX__ 32767
1473*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT_LEAST16_TYPE__ short
1474*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT_LEAST32_FMTd__ "d"
1475*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT_LEAST32_FMTi__ "i"
1476*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT_LEAST32_MAX__ 2147483647
1477*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT_LEAST32_TYPE__ int
1478*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT_LEAST64_FMTd__ "lld"
1479*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT_LEAST64_FMTi__ "lli"
1480*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT_LEAST64_MAX__ 9223372036854775807LL
1481*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT_LEAST64_TYPE__ long long int
1482*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT_LEAST8_FMTd__ "hhd"
1483*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT_LEAST8_FMTi__ "hhi"
1484*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT_LEAST8_MAX__ 127
1485*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __INT_LEAST8_TYPE__ signed char
1486f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __INT_MAX__ 2147483647
1487f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
1488f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __LDBL_DIG__ 15
1489f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __LDBL_EPSILON__ 2.2204460492503131e-16L
1490f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __LDBL_HAS_DENORM__ 1
1491f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __LDBL_HAS_INFINITY__ 1
1492f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __LDBL_HAS_QUIET_NAN__ 1
1493f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __LDBL_MANT_DIG__ 53
1494f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __LDBL_MAX_10_EXP__ 308
1495f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __LDBL_MAX_EXP__ 1024
1496f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __LDBL_MAX__ 1.7976931348623157e+308L
1497f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __LDBL_MIN_10_EXP__ (-307)
1498f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __LDBL_MIN_EXP__ (-1021)
1499f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __LDBL_MIN__ 2.2250738585072014e-308L
1500f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __LITTLE_ENDIAN__ 1
1501f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __LONG_LONG_MAX__ 9223372036854775807LL
1502f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __LONG_MAX__ 2147483647L
1503f4a2713aSLionel Sambuc // ARMEABISOFTFP-NOT:#define __LP64__
1504f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __POINTER_WIDTH__ 32
1505f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __PTRDIFF_TYPE__ int
1506f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __PTRDIFF_WIDTH__ 32
1507f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __REGISTER_PREFIX__
1508f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __SCHAR_MAX__ 127
1509f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __SHRT_MAX__ 32767
1510*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __SIG_ATOMIC_MAX__ 2147483647
1511f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __SIG_ATOMIC_WIDTH__ 32
1512f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __SIZEOF_DOUBLE__ 8
1513f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __SIZEOF_FLOAT__ 4
1514f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __SIZEOF_INT__ 4
1515f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __SIZEOF_LONG_DOUBLE__ 8
1516f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __SIZEOF_LONG_LONG__ 8
1517f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __SIZEOF_LONG__ 4
1518f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __SIZEOF_POINTER__ 4
1519f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __SIZEOF_PTRDIFF_T__ 4
1520f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __SIZEOF_SHORT__ 2
1521f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __SIZEOF_SIZE_T__ 4
1522f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __SIZEOF_WCHAR_T__ 4
1523f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __SIZEOF_WINT_T__ 4
1524f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __SIZE_MAX__ 4294967295U
1525f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __SIZE_TYPE__ unsigned int
1526f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __SIZE_WIDTH__ 32
1527f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __SOFTFP__ 1
1528f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __THUMB_INTERWORK__ 1
1529*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __UINT16_C_SUFFIX__ {{$}}
1530*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __UINT16_MAX__ 65535
1531*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __UINT16_TYPE__ unsigned short
1532*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __UINT32_C_SUFFIX__ U
1533*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __UINT32_MAX__ 4294967295U
1534*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __UINT32_TYPE__ unsigned int
1535*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __UINT64_C_SUFFIX__ ULL
1536*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __UINT64_MAX__ 18446744073709551615ULL
1537*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __UINT64_TYPE__ long long unsigned int
1538*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __UINT8_C_SUFFIX__ {{$}}
1539*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __UINT8_MAX__ 255
1540*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __UINT8_TYPE__ unsigned char
1541*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __UINTMAX_C_SUFFIX__ ULL
1542*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __UINTMAX_MAX__ 18446744073709551615ULL
1543f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __UINTMAX_TYPE__ long long unsigned int
1544*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __UINTMAX_WIDTH__ 64
1545*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __UINTPTR_MAX__ 4294967295U
1546*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __UINTPTR_TYPE__ long unsigned int
1547*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __UINTPTR_WIDTH__ 32
1548*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __UINT_FAST16_MAX__ 65535
1549*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __UINT_FAST16_TYPE__ unsigned short
1550*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __UINT_FAST32_MAX__ 4294967295U
1551*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __UINT_FAST32_TYPE__ unsigned int
1552*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
1553*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __UINT_FAST64_TYPE__ long long unsigned int
1554*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __UINT_FAST8_MAX__ 255
1555*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __UINT_FAST8_TYPE__ unsigned char
1556*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __UINT_LEAST16_MAX__ 65535
1557*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __UINT_LEAST16_TYPE__ unsigned short
1558*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __UINT_LEAST32_MAX__ 4294967295U
1559*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __UINT_LEAST32_TYPE__ unsigned int
1560*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
1561*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __UINT_LEAST64_TYPE__ long long unsigned int
1562*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __UINT_LEAST8_MAX__ 255
1563*0a6a1f1dSLionel Sambuc // ARMEABISOFTFP:#define __UINT_LEAST8_TYPE__ unsigned char
1564f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __USER_LABEL_PREFIX__
1565f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __WCHAR_MAX__ 4294967295U
1566f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __WCHAR_TYPE__ unsigned int
1567f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __WCHAR_WIDTH__ 32
1568f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __WINT_TYPE__ unsigned int
1569f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __WINT_WIDTH__ 32
1570f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __arm 1
1571f4a2713aSLionel Sambuc // ARMEABISOFTFP:#define __arm__ 1
1572f4a2713aSLionel Sambuc 
1573f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=arm-none-linux-gnueabi < /dev/null | FileCheck -check-prefix ARMEABIHARDFP %s
1574f4a2713aSLionel Sambuc //
1575*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP-NOT:#define _LP64
1576f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __APCS_32__ 1
1577*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP-NOT:#define __ARMEB__ 1
1578f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __ARMEL__ 1
1579f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __ARM_ARCH 6
1580f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __ARM_ARCH_6J__ 1
1581*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP-NOT:#define __ARM_BIG_ENDIAN 1
1582f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __ARM_EABI__ 1
1583f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __ARM_PCS 1
1584f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __ARM_PCS_VFP 1
1585f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
1586f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __CHAR16_TYPE__ unsigned short
1587f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __CHAR32_TYPE__ unsigned int
1588f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __CHAR_BIT__ 8
1589f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
1590f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __DBL_DIG__ 15
1591f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __DBL_EPSILON__ 2.2204460492503131e-16
1592f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __DBL_HAS_DENORM__ 1
1593f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __DBL_HAS_INFINITY__ 1
1594f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __DBL_HAS_QUIET_NAN__ 1
1595f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __DBL_MANT_DIG__ 53
1596f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __DBL_MAX_10_EXP__ 308
1597f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __DBL_MAX_EXP__ 1024
1598f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __DBL_MAX__ 1.7976931348623157e+308
1599f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __DBL_MIN_10_EXP__ (-307)
1600f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __DBL_MIN_EXP__ (-1021)
1601f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __DBL_MIN__ 2.2250738585072014e-308
1602f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __DECIMAL_DIG__ 17
1603f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __FLT_DENORM_MIN__ 1.40129846e-45F
1604f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __FLT_DIG__ 6
1605f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __FLT_EPSILON__ 1.19209290e-7F
1606f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __FLT_EVAL_METHOD__ 0
1607f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __FLT_HAS_DENORM__ 1
1608f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __FLT_HAS_INFINITY__ 1
1609f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __FLT_HAS_QUIET_NAN__ 1
1610f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __FLT_MANT_DIG__ 24
1611f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __FLT_MAX_10_EXP__ 38
1612f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __FLT_MAX_EXP__ 128
1613f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __FLT_MAX__ 3.40282347e+38F
1614f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __FLT_MIN_10_EXP__ (-37)
1615f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __FLT_MIN_EXP__ (-125)
1616f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __FLT_MIN__ 1.17549435e-38F
1617f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __FLT_RADIX__ 2
1618*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT16_C_SUFFIX__ {{$}}
1619*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT16_FMTd__ "hd"
1620*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT16_FMTi__ "hi"
1621*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT16_MAX__ 32767
1622f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __INT16_TYPE__ short
1623*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT32_C_SUFFIX__ {{$}}
1624*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT32_FMTd__ "d"
1625*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT32_FMTi__ "i"
1626*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT32_MAX__ 2147483647
1627f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __INT32_TYPE__ int
1628f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __INT64_C_SUFFIX__ LL
1629*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT64_FMTd__ "lld"
1630*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT64_FMTi__ "lli"
1631*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT64_MAX__ 9223372036854775807LL
1632f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __INT64_TYPE__ long long int
1633*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT8_C_SUFFIX__ {{$}}
1634*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT8_FMTd__ "hhd"
1635*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT8_FMTi__ "hhi"
1636*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT8_MAX__ 127
1637*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT8_TYPE__ signed char
1638*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INTMAX_C_SUFFIX__ LL
1639*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INTMAX_FMTd__ "lld"
1640*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INTMAX_FMTi__ "lli"
1641f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __INTMAX_MAX__ 9223372036854775807LL
1642f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __INTMAX_TYPE__ long long int
1643f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __INTMAX_WIDTH__ 64
1644*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INTPTR_FMTd__ "ld"
1645*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INTPTR_FMTi__ "li"
1646*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INTPTR_MAX__ 2147483647L
1647f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __INTPTR_TYPE__ long int
1648f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __INTPTR_WIDTH__ 32
1649*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT_FAST16_FMTd__ "hd"
1650*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT_FAST16_FMTi__ "hi"
1651*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT_FAST16_MAX__ 32767
1652*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT_FAST16_TYPE__ short
1653*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT_FAST32_FMTd__ "d"
1654*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT_FAST32_FMTi__ "i"
1655*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT_FAST32_MAX__ 2147483647
1656*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT_FAST32_TYPE__ int
1657*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT_FAST64_FMTd__ "lld"
1658*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT_FAST64_FMTi__ "lli"
1659*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT_FAST64_MAX__ 9223372036854775807LL
1660*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT_FAST64_TYPE__ long long int
1661*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT_FAST8_FMTd__ "hhd"
1662*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT_FAST8_FMTi__ "hhi"
1663*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT_FAST8_MAX__ 127
1664*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT_FAST8_TYPE__ signed char
1665*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT_LEAST16_FMTd__ "hd"
1666*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT_LEAST16_FMTi__ "hi"
1667*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT_LEAST16_MAX__ 32767
1668*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT_LEAST16_TYPE__ short
1669*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT_LEAST32_FMTd__ "d"
1670*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT_LEAST32_FMTi__ "i"
1671*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT_LEAST32_MAX__ 2147483647
1672*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT_LEAST32_TYPE__ int
1673*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT_LEAST64_FMTd__ "lld"
1674*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT_LEAST64_FMTi__ "lli"
1675*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT_LEAST64_MAX__ 9223372036854775807LL
1676*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT_LEAST64_TYPE__ long long int
1677*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT_LEAST8_FMTd__ "hhd"
1678*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT_LEAST8_FMTi__ "hhi"
1679*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT_LEAST8_MAX__ 127
1680*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __INT_LEAST8_TYPE__ signed char
1681f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __INT_MAX__ 2147483647
1682f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
1683f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __LDBL_DIG__ 15
1684f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __LDBL_EPSILON__ 2.2204460492503131e-16L
1685f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __LDBL_HAS_DENORM__ 1
1686f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __LDBL_HAS_INFINITY__ 1
1687f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __LDBL_HAS_QUIET_NAN__ 1
1688f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __LDBL_MANT_DIG__ 53
1689f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __LDBL_MAX_10_EXP__ 308
1690f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __LDBL_MAX_EXP__ 1024
1691f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __LDBL_MAX__ 1.7976931348623157e+308L
1692f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __LDBL_MIN_10_EXP__ (-307)
1693f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __LDBL_MIN_EXP__ (-1021)
1694f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __LDBL_MIN__ 2.2250738585072014e-308L
1695f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __LITTLE_ENDIAN__ 1
1696f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __LONG_LONG_MAX__ 9223372036854775807LL
1697f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __LONG_MAX__ 2147483647L
1698f4a2713aSLionel Sambuc // ARMEABIHARDFP-NOT:#define __LP64__
1699f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __POINTER_WIDTH__ 32
1700f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __PTRDIFF_TYPE__ int
1701f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __PTRDIFF_WIDTH__ 32
1702f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __REGISTER_PREFIX__
1703f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __SCHAR_MAX__ 127
1704f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __SHRT_MAX__ 32767
1705*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __SIG_ATOMIC_MAX__ 2147483647
1706f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __SIG_ATOMIC_WIDTH__ 32
1707f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __SIZEOF_DOUBLE__ 8
1708f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __SIZEOF_FLOAT__ 4
1709f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __SIZEOF_INT__ 4
1710f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __SIZEOF_LONG_DOUBLE__ 8
1711f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __SIZEOF_LONG_LONG__ 8
1712f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __SIZEOF_LONG__ 4
1713f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __SIZEOF_POINTER__ 4
1714f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __SIZEOF_PTRDIFF_T__ 4
1715f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __SIZEOF_SHORT__ 2
1716f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __SIZEOF_SIZE_T__ 4
1717f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __SIZEOF_WCHAR_T__ 4
1718f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __SIZEOF_WINT_T__ 4
1719f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __SIZE_MAX__ 4294967295U
1720f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __SIZE_TYPE__ unsigned int
1721f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __SIZE_WIDTH__ 32
1722f4a2713aSLionel Sambuc // ARMEABIHARDFP-NOT:#define __SOFTFP__ 1
1723f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __THUMB_INTERWORK__ 1
1724*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __UINT16_C_SUFFIX__ {{$}}
1725*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __UINT16_MAX__ 65535
1726*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __UINT16_TYPE__ unsigned short
1727*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __UINT32_C_SUFFIX__ U
1728*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __UINT32_MAX__ 4294967295U
1729*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __UINT32_TYPE__ unsigned int
1730*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __UINT64_C_SUFFIX__ ULL
1731*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __UINT64_MAX__ 18446744073709551615ULL
1732*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __UINT64_TYPE__ long long unsigned int
1733*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __UINT8_C_SUFFIX__ {{$}}
1734*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __UINT8_MAX__ 255
1735*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __UINT8_TYPE__ unsigned char
1736*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __UINTMAX_C_SUFFIX__ ULL
1737*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __UINTMAX_MAX__ 18446744073709551615ULL
1738f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __UINTMAX_TYPE__ long long unsigned int
1739*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __UINTMAX_WIDTH__ 64
1740*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __UINTPTR_MAX__ 4294967295U
1741*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __UINTPTR_TYPE__ long unsigned int
1742*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __UINTPTR_WIDTH__ 32
1743*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __UINT_FAST16_MAX__ 65535
1744*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __UINT_FAST16_TYPE__ unsigned short
1745*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __UINT_FAST32_MAX__ 4294967295U
1746*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __UINT_FAST32_TYPE__ unsigned int
1747*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
1748*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __UINT_FAST64_TYPE__ long long unsigned int
1749*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __UINT_FAST8_MAX__ 255
1750*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __UINT_FAST8_TYPE__ unsigned char
1751*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __UINT_LEAST16_MAX__ 65535
1752*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __UINT_LEAST16_TYPE__ unsigned short
1753*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __UINT_LEAST32_MAX__ 4294967295U
1754*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __UINT_LEAST32_TYPE__ unsigned int
1755*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
1756*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __UINT_LEAST64_TYPE__ long long unsigned int
1757*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __UINT_LEAST8_MAX__ 255
1758*0a6a1f1dSLionel Sambuc // ARMEABIHARDFP:#define __UINT_LEAST8_TYPE__ unsigned char
1759f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __USER_LABEL_PREFIX__
1760f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __WCHAR_MAX__ 4294967295U
1761f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __WCHAR_TYPE__ unsigned int
1762f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __WCHAR_WIDTH__ 32
1763f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __WINT_TYPE__ unsigned int
1764f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __WINT_WIDTH__ 32
1765f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __arm 1
1766f4a2713aSLionel Sambuc // ARMEABIHARDFP:#define __arm__ 1
1767f4a2713aSLionel Sambuc 
1768*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=arm-netbsd-eabi < /dev/null | FileCheck -check-prefix ARM-NETBSD %s
1769*0a6a1f1dSLionel Sambuc //
1770*0a6a1f1dSLionel Sambuc // ARM-NETBSD-NOT:#define _LP64
1771*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __APCS_32__ 1
1772*0a6a1f1dSLionel Sambuc // ARM-NETBSD-NOT:#define __ARMEB__ 1
1773*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __ARMEL__ 1
1774*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __ARM_ARCH_6J__ 1
1775*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __ARM_DWARF_EH__ 1
1776*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __ARM_EABI__ 1
1777*0a6a1f1dSLionel Sambuc // ARM-NETBSD-NOT:#define __ARM_BIG_ENDIAN 1
1778*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
1779*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __CHAR16_TYPE__ unsigned short
1780*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __CHAR32_TYPE__ unsigned int
1781*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __CHAR_BIT__ 8
1782*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
1783*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __DBL_DIG__ 15
1784*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __DBL_EPSILON__ 2.2204460492503131e-16
1785*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __DBL_HAS_DENORM__ 1
1786*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __DBL_HAS_INFINITY__ 1
1787*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __DBL_HAS_QUIET_NAN__ 1
1788*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __DBL_MANT_DIG__ 53
1789*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __DBL_MAX_10_EXP__ 308
1790*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __DBL_MAX_EXP__ 1024
1791*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __DBL_MAX__ 1.7976931348623157e+308
1792*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __DBL_MIN_10_EXP__ (-307)
1793*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __DBL_MIN_EXP__ (-1021)
1794*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __DBL_MIN__ 2.2250738585072014e-308
1795*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __DECIMAL_DIG__ 17
1796*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __FLT_DENORM_MIN__ 1.40129846e-45F
1797*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __FLT_DIG__ 6
1798*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __FLT_EPSILON__ 1.19209290e-7F
1799*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __FLT_EVAL_METHOD__ 0
1800*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __FLT_HAS_DENORM__ 1
1801*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __FLT_HAS_INFINITY__ 1
1802*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __FLT_HAS_QUIET_NAN__ 1
1803*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __FLT_MANT_DIG__ 24
1804*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __FLT_MAX_10_EXP__ 38
1805*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __FLT_MAX_EXP__ 128
1806*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __FLT_MAX__ 3.40282347e+38F
1807*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __FLT_MIN_10_EXP__ (-37)
1808*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __FLT_MIN_EXP__ (-125)
1809*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __FLT_MIN__ 1.17549435e-38F
1810*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __FLT_RADIX__ 2
1811*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT16_C_SUFFIX__ {{$}}
1812*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT16_FMTd__ "hd"
1813*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT16_FMTi__ "hi"
1814*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT16_MAX__ 32767
1815*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT16_TYPE__ short
1816*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT32_C_SUFFIX__ {{$}}
1817*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT32_FMTd__ "d"
1818*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT32_FMTi__ "i"
1819*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT32_MAX__ 2147483647
1820*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT32_TYPE__ int
1821*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT64_C_SUFFIX__ LL
1822*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT64_FMTd__ "lld"
1823*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT64_FMTi__ "lli"
1824*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT64_MAX__ 9223372036854775807LL
1825*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT64_TYPE__ long long int
1826*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT8_C_SUFFIX__ {{$}}
1827*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT8_FMTd__ "hhd"
1828*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT8_FMTi__ "hhi"
1829*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT8_MAX__ 127
1830*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT8_TYPE__ signed char
1831*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INTMAX_C_SUFFIX__ LL
1832*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INTMAX_FMTd__ "lld"
1833*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INTMAX_FMTi__ "lli"
1834*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INTMAX_MAX__ 9223372036854775807LL
1835*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INTMAX_TYPE__ long long int
1836*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INTMAX_WIDTH__ 64
1837*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INTPTR_FMTd__ "ld"
1838*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INTPTR_FMTi__ "li"
1839*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INTPTR_MAX__ 2147483647L
1840*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INTPTR_TYPE__ long int
1841*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INTPTR_WIDTH__ 32
1842*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT_FAST16_FMTd__ "hd"
1843*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT_FAST16_FMTi__ "hi"
1844*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT_FAST16_MAX__ 32767
1845*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT_FAST16_TYPE__ short
1846*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT_FAST32_FMTd__ "d"
1847*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT_FAST32_FMTi__ "i"
1848*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT_FAST32_MAX__ 2147483647
1849*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT_FAST32_TYPE__ int
1850*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT_FAST64_FMTd__ "lld"
1851*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT_FAST64_FMTi__ "lli"
1852*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT_FAST64_MAX__ 9223372036854775807LL
1853*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT_FAST64_TYPE__ long long int
1854*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT_FAST8_FMTd__ "hhd"
1855*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT_FAST8_FMTi__ "hhi"
1856*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT_FAST8_MAX__ 127
1857*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT_FAST8_TYPE__ signed char
1858*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT_LEAST16_FMTd__ "hd"
1859*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT_LEAST16_FMTi__ "hi"
1860*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT_LEAST16_MAX__ 32767
1861*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT_LEAST16_TYPE__ short
1862*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT_LEAST32_FMTd__ "d"
1863*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT_LEAST32_FMTi__ "i"
1864*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT_LEAST32_MAX__ 2147483647
1865*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT_LEAST32_TYPE__ int
1866*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT_LEAST64_FMTd__ "lld"
1867*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT_LEAST64_FMTi__ "lli"
1868*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT_LEAST64_MAX__ 9223372036854775807LL
1869*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT_LEAST64_TYPE__ long long int
1870*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT_LEAST8_FMTd__ "hhd"
1871*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT_LEAST8_FMTi__ "hhi"
1872*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT_LEAST8_MAX__ 127
1873*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT_LEAST8_TYPE__ signed char
1874*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __INT_MAX__ 2147483647
1875*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
1876*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __LDBL_DIG__ 15
1877*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __LDBL_EPSILON__ 2.2204460492503131e-16L
1878*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __LDBL_HAS_DENORM__ 1
1879*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __LDBL_HAS_INFINITY__ 1
1880*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __LDBL_HAS_QUIET_NAN__ 1
1881*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __LDBL_MANT_DIG__ 53
1882*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __LDBL_MAX_10_EXP__ 308
1883*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __LDBL_MAX_EXP__ 1024
1884*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __LDBL_MAX__ 1.7976931348623157e+308L
1885*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __LDBL_MIN_10_EXP__ (-307)
1886*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __LDBL_MIN_EXP__ (-1021)
1887*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __LDBL_MIN__ 2.2250738585072014e-308L
1888*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __LITTLE_ENDIAN__ 1
1889*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __LONG_LONG_MAX__ 9223372036854775807LL
1890*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __LONG_MAX__ 2147483647L
1891*0a6a1f1dSLionel Sambuc // ARM-NETBSD-NOT:#define __LP64__
1892*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __POINTER_WIDTH__ 32
1893*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __PTRDIFF_TYPE__ long int
1894*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __PTRDIFF_WIDTH__ 32
1895*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __REGISTER_PREFIX__
1896*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __SCHAR_MAX__ 127
1897*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __SHRT_MAX__ 32767
1898*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __SIG_ATOMIC_MAX__ 2147483647
1899*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __SIG_ATOMIC_WIDTH__ 32
1900*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __SIZEOF_DOUBLE__ 8
1901*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __SIZEOF_FLOAT__ 4
1902*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __SIZEOF_INT__ 4
1903*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __SIZEOF_LONG_DOUBLE__ 8
1904*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __SIZEOF_LONG_LONG__ 8
1905*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __SIZEOF_LONG__ 4
1906*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __SIZEOF_POINTER__ 4
1907*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __SIZEOF_PTRDIFF_T__ 4
1908*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __SIZEOF_SHORT__ 2
1909*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __SIZEOF_SIZE_T__ 4
1910*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __SIZEOF_WCHAR_T__ 4
1911*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __SIZEOF_WINT_T__ 4
1912*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __SIZE_MAX__ 4294967295U
1913*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __SIZE_TYPE__ long unsigned int
1914*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __SIZE_WIDTH__ 32
1915*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __THUMB_INTERWORK__ 1
1916*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __UINT16_C_SUFFIX__ {{$}}
1917*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __UINT16_MAX__ 65535
1918*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __UINT16_TYPE__ unsigned short
1919*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __UINT32_C_SUFFIX__ U
1920*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __UINT32_MAX__ 4294967295U
1921*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __UINT32_TYPE__ unsigned int
1922*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __UINT64_C_SUFFIX__ ULL
1923*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __UINT64_MAX__ 18446744073709551615ULL
1924*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __UINT64_TYPE__ long long unsigned int
1925*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __UINT8_C_SUFFIX__ {{$}}
1926*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __UINT8_MAX__ 255
1927*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __UINT8_TYPE__ unsigned char
1928*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __UINTMAX_C_SUFFIX__ UL
1929*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __UINTMAX_MAX__ 18446744073709551615ULL
1930*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __UINTMAX_TYPE__ long long unsigned int
1931*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __UINTMAX_WIDTH__ 64
1932*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __UINTPTR_MAX__ 4294967295U
1933*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __UINTPTR_TYPE__ long unsigned int
1934*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __UINTPTR_WIDTH__ 32
1935*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __UINT_FAST16_MAX__ 65535
1936*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __UINT_FAST16_TYPE__ unsigned short
1937*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __UINT_FAST32_MAX__ 4294967295U
1938*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __UINT_FAST32_TYPE__ unsigned int
1939*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
1940*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __UINT_FAST64_TYPE__ long long unsigned int
1941*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __UINT_FAST8_MAX__ 255
1942*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __UINT_FAST8_TYPE__ unsigned char
1943*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __UINT_LEAST16_MAX__ 65535
1944*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __UINT_LEAST16_TYPE__ unsigned short
1945*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __UINT_LEAST32_MAX__ 4294967295U
1946*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __UINT_LEAST32_TYPE__ unsigned int
1947*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
1948*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __UINT_LEAST64_TYPE__ long long unsigned int
1949*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __UINT_LEAST8_MAX__ 255
1950*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __UINT_LEAST8_TYPE__ unsigned char
1951*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __USER_LABEL_PREFIX__
1952*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __WCHAR_MAX__ 2147483647
1953*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __WCHAR_TYPE__ int
1954*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __WCHAR_WIDTH__ 32
1955*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __WINT_TYPE__ int
1956*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __WINT_WIDTH__ 32
1957*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __arm 1
1958*0a6a1f1dSLionel Sambuc // ARM-NETBSD:#define __arm__ 1
1959*0a6a1f1dSLionel Sambuc 
1960*0a6a1f1dSLionel Sambuc // RUN: %clang -target arm-apple-darwin-eabi -arch armv7s -x c -E -dM %s -o - | FileCheck --check-prefix=ARM-DARWIN-NO-EABI %s
1961*0a6a1f1dSLionel Sambuc // RUN: %clang -target arm-apple-darwin-eabi -arch armv6m -x c -E -dM %s -o - | FileCheck --check-prefix=ARM-DARWIN-EABI %s
1962*0a6a1f1dSLionel Sambuc // RUN: %clang -target arm-apple-darwin-eabi -arch armv7m -x c -E -dM %s -o - | FileCheck --check-prefix=ARM-DARWIN-EABI %s
1963*0a6a1f1dSLionel Sambuc // RUN: %clang -target arm-apple-darwin-eabi -arch armv7em -x c -E -dM %s -o - | FileCheck --check-prefix=ARM-DARWIN-EABI %s
1964f4a2713aSLionel Sambuc // RUN: %clang -target thumbv7-apple-darwin-eabi -arch armv7 -x c -E -dM %s -o - | FileCheck --check-prefix=ARM-DARWIN-NO-EABI %s
1965f4a2713aSLionel Sambuc // ARM-DARWIN-NO-EABI-NOT: #define __ARM_EABI__ 1
1966*0a6a1f1dSLionel Sambuc // ARM-DARWIN-EABI: #define __ARM_EABI__ 1
1967f4a2713aSLionel Sambuc 
1968f4a2713aSLionel Sambuc // Check that -mhwdiv works properly for targets which don't have the hwdiv feature enabled by default.
1969f4a2713aSLionel Sambuc 
1970f4a2713aSLionel Sambuc // RUN: %clang -target arm -mhwdiv=arm -x c -E -dM %s -o - | FileCheck --check-prefix=ARMHWDIV-ARM %s
1971f4a2713aSLionel Sambuc // ARMHWDIV-ARM:#define __ARM_ARCH_EXT_IDIV__ 1
1972f4a2713aSLionel Sambuc 
1973f4a2713aSLionel Sambuc // RUN: %clang -target arm -mthumb -mhwdiv=thumb -x c -E -dM %s -o - | FileCheck --check-prefix=THUMBHWDIV-THUMB %s
1974f4a2713aSLionel Sambuc // THUMBHWDIV-THUMB:#define __ARM_ARCH_EXT_IDIV__ 1
1975f4a2713aSLionel Sambuc 
1976f4a2713aSLionel Sambuc // RUN: %clang -target arm -x c -E -dM %s -o - | FileCheck --check-prefix=ARM-FALSE %s
1977f4a2713aSLionel Sambuc // ARM-FALSE-NOT:#define __ARM_ARCH_EXT_IDIV__
1978f4a2713aSLionel Sambuc 
1979f4a2713aSLionel Sambuc // RUN: %clang -target arm -mthumb -x c -E -dM %s -o - | FileCheck --check-prefix=THUMB-FALSE %s
1980f4a2713aSLionel Sambuc // THUMB-FALSE-NOT:#define __ARM_ARCH_EXT_IDIV__
1981f4a2713aSLionel Sambuc 
1982f4a2713aSLionel Sambuc // RUN: %clang -target arm -mhwdiv=thumb -x c -E -dM %s -o - | FileCheck --check-prefix=THUMBHWDIV-ARM-FALSE %s
1983f4a2713aSLionel Sambuc // THUMBHWDIV-ARM-FALSE-NOT:#define __ARM_ARCH_EXT_IDIV__
1984f4a2713aSLionel Sambuc 
1985f4a2713aSLionel Sambuc // RUN: %clang -target arm -mthumb -mhwdiv=arm -x c -E -dM %s -o - | FileCheck --check-prefix=ARMHWDIV-THUMB-FALSE %s
1986f4a2713aSLionel Sambuc // ARMHWDIV-THUMB-FALSE-NOT:#define __ARM_ARCH_EXT_IDIV__
1987f4a2713aSLionel Sambuc 
1988*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=armv8-none-none < /dev/null | FileCheck -check-prefix ARMv8 %s
1989*0a6a1f1dSLionel Sambuc // ARMv8: #define __THUMB_INTERWORK__ 1
1990*0a6a1f1dSLionel Sambuc // ARMv8-NOT: #define __thumb2__
1991*0a6a1f1dSLionel Sambuc 
1992*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=armebv8-none-none < /dev/null | FileCheck -check-prefix ARMebv8 %s
1993*0a6a1f1dSLionel Sambuc // ARMebv8: #define __THUMB_INTERWORK__ 1
1994*0a6a1f1dSLionel Sambuc // ARMebv8-NOT: #define __thumb2__
1995*0a6a1f1dSLionel Sambuc 
1996*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=thumbv8 < /dev/null | FileCheck -check-prefix Thumbv8 %s
1997*0a6a1f1dSLionel Sambuc // Thumbv8: #define __THUMB_INTERWORK__ 1
1998*0a6a1f1dSLionel Sambuc // Thumbv8: #define __thumb2__
1999*0a6a1f1dSLionel Sambuc 
2000*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=thumbebv8 < /dev/null | FileCheck -check-prefix Thumbebv8 %s
2001*0a6a1f1dSLionel Sambuc // Thumbebv8: #define __THUMB_INTERWORK__ 1
2002*0a6a1f1dSLionel Sambuc // Thumbebv8: #define __thumb2__
2003*0a6a1f1dSLionel Sambuc 
2004*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=thumbv5 < /dev/null | FileCheck -check-prefix Thumbv5 %s
2005*0a6a1f1dSLionel Sambuc // Thumbv5: #define __THUMB_INTERWORK__ 1
2006*0a6a1f1dSLionel Sambuc // Thumbv5-NOT: #define __thumb2__
2007*0a6a1f1dSLionel Sambuc 
2008*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=thumbv6t2 < /dev/null | FileCheck -check-prefix Thumbv6t2 %s
2009*0a6a1f1dSLionel Sambuc // Thumbv6t2: #define __THUMB_INTERWORK__ 1
2010*0a6a1f1dSLionel Sambuc // Thumbv6t2: #define __thumb2__
2011*0a6a1f1dSLionel Sambuc 
2012*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=thumbv7 < /dev/null | FileCheck -check-prefix Thumbv7 %s
2013*0a6a1f1dSLionel Sambuc // Thumbv7: #define __THUMB_INTERWORK__ 1
2014*0a6a1f1dSLionel Sambuc // Thumbv7: #define __thumb2__
2015*0a6a1f1dSLionel Sambuc 
2016*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=thumbebv7 < /dev/null | FileCheck -check-prefix Thumbebv7 %s
2017*0a6a1f1dSLionel Sambuc // Thumbebv7: #define __THUMB_INTERWORK__ 1
2018*0a6a1f1dSLionel Sambuc // Thumbebv7: #define __thumb2__
2019*0a6a1f1dSLionel Sambuc 
2020f4a2713aSLionel Sambuc //
2021f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=i386-none-none < /dev/null | FileCheck -check-prefix I386 %s
2022f4a2713aSLionel Sambuc //
2023f4a2713aSLionel Sambuc // I386-NOT:#define _LP64
2024f4a2713aSLionel Sambuc // I386:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
2025f4a2713aSLionel Sambuc // I386:#define __CHAR16_TYPE__ unsigned short
2026f4a2713aSLionel Sambuc // I386:#define __CHAR32_TYPE__ unsigned int
2027f4a2713aSLionel Sambuc // I386:#define __CHAR_BIT__ 8
2028f4a2713aSLionel Sambuc // I386:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
2029f4a2713aSLionel Sambuc // I386:#define __DBL_DIG__ 15
2030f4a2713aSLionel Sambuc // I386:#define __DBL_EPSILON__ 2.2204460492503131e-16
2031f4a2713aSLionel Sambuc // I386:#define __DBL_HAS_DENORM__ 1
2032f4a2713aSLionel Sambuc // I386:#define __DBL_HAS_INFINITY__ 1
2033f4a2713aSLionel Sambuc // I386:#define __DBL_HAS_QUIET_NAN__ 1
2034f4a2713aSLionel Sambuc // I386:#define __DBL_MANT_DIG__ 53
2035f4a2713aSLionel Sambuc // I386:#define __DBL_MAX_10_EXP__ 308
2036f4a2713aSLionel Sambuc // I386:#define __DBL_MAX_EXP__ 1024
2037f4a2713aSLionel Sambuc // I386:#define __DBL_MAX__ 1.7976931348623157e+308
2038f4a2713aSLionel Sambuc // I386:#define __DBL_MIN_10_EXP__ (-307)
2039f4a2713aSLionel Sambuc // I386:#define __DBL_MIN_EXP__ (-1021)
2040f4a2713aSLionel Sambuc // I386:#define __DBL_MIN__ 2.2250738585072014e-308
2041f4a2713aSLionel Sambuc // I386:#define __DECIMAL_DIG__ 21
2042f4a2713aSLionel Sambuc // I386:#define __FLT_DENORM_MIN__ 1.40129846e-45F
2043f4a2713aSLionel Sambuc // I386:#define __FLT_DIG__ 6
2044f4a2713aSLionel Sambuc // I386:#define __FLT_EPSILON__ 1.19209290e-7F
2045f4a2713aSLionel Sambuc // I386:#define __FLT_EVAL_METHOD__ 2
2046f4a2713aSLionel Sambuc // I386:#define __FLT_HAS_DENORM__ 1
2047f4a2713aSLionel Sambuc // I386:#define __FLT_HAS_INFINITY__ 1
2048f4a2713aSLionel Sambuc // I386:#define __FLT_HAS_QUIET_NAN__ 1
2049f4a2713aSLionel Sambuc // I386:#define __FLT_MANT_DIG__ 24
2050f4a2713aSLionel Sambuc // I386:#define __FLT_MAX_10_EXP__ 38
2051f4a2713aSLionel Sambuc // I386:#define __FLT_MAX_EXP__ 128
2052f4a2713aSLionel Sambuc // I386:#define __FLT_MAX__ 3.40282347e+38F
2053f4a2713aSLionel Sambuc // I386:#define __FLT_MIN_10_EXP__ (-37)
2054f4a2713aSLionel Sambuc // I386:#define __FLT_MIN_EXP__ (-125)
2055f4a2713aSLionel Sambuc // I386:#define __FLT_MIN__ 1.17549435e-38F
2056f4a2713aSLionel Sambuc // I386:#define __FLT_RADIX__ 2
2057*0a6a1f1dSLionel Sambuc // I386:#define __INT16_C_SUFFIX__ {{$}}
2058*0a6a1f1dSLionel Sambuc // I386:#define __INT16_FMTd__ "hd"
2059*0a6a1f1dSLionel Sambuc // I386:#define __INT16_FMTi__ "hi"
2060*0a6a1f1dSLionel Sambuc // I386:#define __INT16_MAX__ 32767
2061f4a2713aSLionel Sambuc // I386:#define __INT16_TYPE__ short
2062*0a6a1f1dSLionel Sambuc // I386:#define __INT32_C_SUFFIX__ {{$}}
2063*0a6a1f1dSLionel Sambuc // I386:#define __INT32_FMTd__ "d"
2064*0a6a1f1dSLionel Sambuc // I386:#define __INT32_FMTi__ "i"
2065*0a6a1f1dSLionel Sambuc // I386:#define __INT32_MAX__ 2147483647
2066f4a2713aSLionel Sambuc // I386:#define __INT32_TYPE__ int
2067f4a2713aSLionel Sambuc // I386:#define __INT64_C_SUFFIX__ LL
2068*0a6a1f1dSLionel Sambuc // I386:#define __INT64_FMTd__ "lld"
2069*0a6a1f1dSLionel Sambuc // I386:#define __INT64_FMTi__ "lli"
2070*0a6a1f1dSLionel Sambuc // I386:#define __INT64_MAX__ 9223372036854775807LL
2071f4a2713aSLionel Sambuc // I386:#define __INT64_TYPE__ long long int
2072*0a6a1f1dSLionel Sambuc // I386:#define __INT8_C_SUFFIX__ {{$}}
2073*0a6a1f1dSLionel Sambuc // I386:#define __INT8_FMTd__ "hhd"
2074*0a6a1f1dSLionel Sambuc // I386:#define __INT8_FMTi__ "hhi"
2075*0a6a1f1dSLionel Sambuc // I386:#define __INT8_MAX__ 127
2076*0a6a1f1dSLionel Sambuc // I386:#define __INT8_TYPE__ signed char
2077*0a6a1f1dSLionel Sambuc // I386:#define __INTMAX_C_SUFFIX__ LL
2078*0a6a1f1dSLionel Sambuc // I386:#define __INTMAX_FMTd__ "lld"
2079*0a6a1f1dSLionel Sambuc // I386:#define __INTMAX_FMTi__ "lli"
2080f4a2713aSLionel Sambuc // I386:#define __INTMAX_MAX__ 9223372036854775807LL
2081f4a2713aSLionel Sambuc // I386:#define __INTMAX_TYPE__ long long int
2082f4a2713aSLionel Sambuc // I386:#define __INTMAX_WIDTH__ 64
2083*0a6a1f1dSLionel Sambuc // I386:#define __INTPTR_FMTd__ "d"
2084*0a6a1f1dSLionel Sambuc // I386:#define __INTPTR_FMTi__ "i"
2085*0a6a1f1dSLionel Sambuc // I386:#define __INTPTR_MAX__ 2147483647
2086f4a2713aSLionel Sambuc // I386:#define __INTPTR_TYPE__ int
2087f4a2713aSLionel Sambuc // I386:#define __INTPTR_WIDTH__ 32
2088*0a6a1f1dSLionel Sambuc // I386:#define __INT_FAST16_FMTd__ "hd"
2089*0a6a1f1dSLionel Sambuc // I386:#define __INT_FAST16_FMTi__ "hi"
2090*0a6a1f1dSLionel Sambuc // I386:#define __INT_FAST16_MAX__ 32767
2091*0a6a1f1dSLionel Sambuc // I386:#define __INT_FAST16_TYPE__ short
2092*0a6a1f1dSLionel Sambuc // I386:#define __INT_FAST32_FMTd__ "d"
2093*0a6a1f1dSLionel Sambuc // I386:#define __INT_FAST32_FMTi__ "i"
2094*0a6a1f1dSLionel Sambuc // I386:#define __INT_FAST32_MAX__ 2147483647
2095*0a6a1f1dSLionel Sambuc // I386:#define __INT_FAST32_TYPE__ int
2096*0a6a1f1dSLionel Sambuc // I386:#define __INT_FAST64_FMTd__ "lld"
2097*0a6a1f1dSLionel Sambuc // I386:#define __INT_FAST64_FMTi__ "lli"
2098*0a6a1f1dSLionel Sambuc // I386:#define __INT_FAST64_MAX__ 9223372036854775807LL
2099*0a6a1f1dSLionel Sambuc // I386:#define __INT_FAST64_TYPE__ long long int
2100*0a6a1f1dSLionel Sambuc // I386:#define __INT_FAST8_FMTd__ "hhd"
2101*0a6a1f1dSLionel Sambuc // I386:#define __INT_FAST8_FMTi__ "hhi"
2102*0a6a1f1dSLionel Sambuc // I386:#define __INT_FAST8_MAX__ 127
2103*0a6a1f1dSLionel Sambuc // I386:#define __INT_FAST8_TYPE__ signed char
2104*0a6a1f1dSLionel Sambuc // I386:#define __INT_LEAST16_FMTd__ "hd"
2105*0a6a1f1dSLionel Sambuc // I386:#define __INT_LEAST16_FMTi__ "hi"
2106*0a6a1f1dSLionel Sambuc // I386:#define __INT_LEAST16_MAX__ 32767
2107*0a6a1f1dSLionel Sambuc // I386:#define __INT_LEAST16_TYPE__ short
2108*0a6a1f1dSLionel Sambuc // I386:#define __INT_LEAST32_FMTd__ "d"
2109*0a6a1f1dSLionel Sambuc // I386:#define __INT_LEAST32_FMTi__ "i"
2110*0a6a1f1dSLionel Sambuc // I386:#define __INT_LEAST32_MAX__ 2147483647
2111*0a6a1f1dSLionel Sambuc // I386:#define __INT_LEAST32_TYPE__ int
2112*0a6a1f1dSLionel Sambuc // I386:#define __INT_LEAST64_FMTd__ "lld"
2113*0a6a1f1dSLionel Sambuc // I386:#define __INT_LEAST64_FMTi__ "lli"
2114*0a6a1f1dSLionel Sambuc // I386:#define __INT_LEAST64_MAX__ 9223372036854775807LL
2115*0a6a1f1dSLionel Sambuc // I386:#define __INT_LEAST64_TYPE__ long long int
2116*0a6a1f1dSLionel Sambuc // I386:#define __INT_LEAST8_FMTd__ "hhd"
2117*0a6a1f1dSLionel Sambuc // I386:#define __INT_LEAST8_FMTi__ "hhi"
2118*0a6a1f1dSLionel Sambuc // I386:#define __INT_LEAST8_MAX__ 127
2119*0a6a1f1dSLionel Sambuc // I386:#define __INT_LEAST8_TYPE__ signed char
2120f4a2713aSLionel Sambuc // I386:#define __INT_MAX__ 2147483647
2121f4a2713aSLionel Sambuc // I386:#define __LDBL_DENORM_MIN__ 3.64519953188247460253e-4951L
2122f4a2713aSLionel Sambuc // I386:#define __LDBL_DIG__ 18
2123f4a2713aSLionel Sambuc // I386:#define __LDBL_EPSILON__ 1.08420217248550443401e-19L
2124f4a2713aSLionel Sambuc // I386:#define __LDBL_HAS_DENORM__ 1
2125f4a2713aSLionel Sambuc // I386:#define __LDBL_HAS_INFINITY__ 1
2126f4a2713aSLionel Sambuc // I386:#define __LDBL_HAS_QUIET_NAN__ 1
2127f4a2713aSLionel Sambuc // I386:#define __LDBL_MANT_DIG__ 64
2128f4a2713aSLionel Sambuc // I386:#define __LDBL_MAX_10_EXP__ 4932
2129f4a2713aSLionel Sambuc // I386:#define __LDBL_MAX_EXP__ 16384
2130f4a2713aSLionel Sambuc // I386:#define __LDBL_MAX__ 1.18973149535723176502e+4932L
2131f4a2713aSLionel Sambuc // I386:#define __LDBL_MIN_10_EXP__ (-4931)
2132f4a2713aSLionel Sambuc // I386:#define __LDBL_MIN_EXP__ (-16381)
2133f4a2713aSLionel Sambuc // I386:#define __LDBL_MIN__ 3.36210314311209350626e-4932L
2134f4a2713aSLionel Sambuc // I386:#define __LITTLE_ENDIAN__ 1
2135f4a2713aSLionel Sambuc // I386:#define __LONG_LONG_MAX__ 9223372036854775807LL
2136f4a2713aSLionel Sambuc // I386:#define __LONG_MAX__ 2147483647L
2137f4a2713aSLionel Sambuc // I386-NOT:#define __LP64__
2138f4a2713aSLionel Sambuc // I386:#define __NO_MATH_INLINES 1
2139f4a2713aSLionel Sambuc // I386:#define __POINTER_WIDTH__ 32
2140f4a2713aSLionel Sambuc // I386:#define __PTRDIFF_TYPE__ int
2141f4a2713aSLionel Sambuc // I386:#define __PTRDIFF_WIDTH__ 32
2142f4a2713aSLionel Sambuc // I386:#define __REGISTER_PREFIX__
2143f4a2713aSLionel Sambuc // I386:#define __SCHAR_MAX__ 127
2144f4a2713aSLionel Sambuc // I386:#define __SHRT_MAX__ 32767
2145*0a6a1f1dSLionel Sambuc // I386:#define __SIG_ATOMIC_MAX__ 2147483647
2146f4a2713aSLionel Sambuc // I386:#define __SIG_ATOMIC_WIDTH__ 32
2147f4a2713aSLionel Sambuc // I386:#define __SIZEOF_DOUBLE__ 8
2148f4a2713aSLionel Sambuc // I386:#define __SIZEOF_FLOAT__ 4
2149f4a2713aSLionel Sambuc // I386:#define __SIZEOF_INT__ 4
2150f4a2713aSLionel Sambuc // I386:#define __SIZEOF_LONG_DOUBLE__ 12
2151f4a2713aSLionel Sambuc // I386:#define __SIZEOF_LONG_LONG__ 8
2152f4a2713aSLionel Sambuc // I386:#define __SIZEOF_LONG__ 4
2153f4a2713aSLionel Sambuc // I386:#define __SIZEOF_POINTER__ 4
2154f4a2713aSLionel Sambuc // I386:#define __SIZEOF_PTRDIFF_T__ 4
2155f4a2713aSLionel Sambuc // I386:#define __SIZEOF_SHORT__ 2
2156f4a2713aSLionel Sambuc // I386:#define __SIZEOF_SIZE_T__ 4
2157f4a2713aSLionel Sambuc // I386:#define __SIZEOF_WCHAR_T__ 4
2158f4a2713aSLionel Sambuc // I386:#define __SIZEOF_WINT_T__ 4
2159f4a2713aSLionel Sambuc // I386:#define __SIZE_MAX__ 4294967295U
2160f4a2713aSLionel Sambuc // I386:#define __SIZE_TYPE__ unsigned int
2161f4a2713aSLionel Sambuc // I386:#define __SIZE_WIDTH__ 32
2162*0a6a1f1dSLionel Sambuc // I386:#define __UINT16_C_SUFFIX__ {{$}}
2163*0a6a1f1dSLionel Sambuc // I386:#define __UINT16_MAX__ 65535
2164*0a6a1f1dSLionel Sambuc // I386:#define __UINT16_TYPE__ unsigned short
2165*0a6a1f1dSLionel Sambuc // I386:#define __UINT32_C_SUFFIX__ U
2166*0a6a1f1dSLionel Sambuc // I386:#define __UINT32_MAX__ 4294967295U
2167*0a6a1f1dSLionel Sambuc // I386:#define __UINT32_TYPE__ unsigned int
2168*0a6a1f1dSLionel Sambuc // I386:#define __UINT64_C_SUFFIX__ ULL
2169*0a6a1f1dSLionel Sambuc // I386:#define __UINT64_MAX__ 18446744073709551615ULL
2170*0a6a1f1dSLionel Sambuc // I386:#define __UINT64_TYPE__ long long unsigned int
2171*0a6a1f1dSLionel Sambuc // I386:#define __UINT8_C_SUFFIX__ {{$}}
2172*0a6a1f1dSLionel Sambuc // I386:#define __UINT8_MAX__ 255
2173*0a6a1f1dSLionel Sambuc // I386:#define __UINT8_TYPE__ unsigned char
2174*0a6a1f1dSLionel Sambuc // I386:#define __UINTMAX_C_SUFFIX__ ULL
2175*0a6a1f1dSLionel Sambuc // I386:#define __UINTMAX_MAX__ 18446744073709551615ULL
2176f4a2713aSLionel Sambuc // I386:#define __UINTMAX_TYPE__ long long unsigned int
2177*0a6a1f1dSLionel Sambuc // I386:#define __UINTMAX_WIDTH__ 64
2178*0a6a1f1dSLionel Sambuc // I386:#define __UINTPTR_MAX__ 4294967295U
2179*0a6a1f1dSLionel Sambuc // I386:#define __UINTPTR_TYPE__ unsigned int
2180*0a6a1f1dSLionel Sambuc // I386:#define __UINTPTR_WIDTH__ 32
2181*0a6a1f1dSLionel Sambuc // I386:#define __UINT_FAST16_MAX__ 65535
2182*0a6a1f1dSLionel Sambuc // I386:#define __UINT_FAST16_TYPE__ unsigned short
2183*0a6a1f1dSLionel Sambuc // I386:#define __UINT_FAST32_MAX__ 4294967295U
2184*0a6a1f1dSLionel Sambuc // I386:#define __UINT_FAST32_TYPE__ unsigned int
2185*0a6a1f1dSLionel Sambuc // I386:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
2186*0a6a1f1dSLionel Sambuc // I386:#define __UINT_FAST64_TYPE__ long long unsigned int
2187*0a6a1f1dSLionel Sambuc // I386:#define __UINT_FAST8_MAX__ 255
2188*0a6a1f1dSLionel Sambuc // I386:#define __UINT_FAST8_TYPE__ unsigned char
2189*0a6a1f1dSLionel Sambuc // I386:#define __UINT_LEAST16_MAX__ 65535
2190*0a6a1f1dSLionel Sambuc // I386:#define __UINT_LEAST16_TYPE__ unsigned short
2191*0a6a1f1dSLionel Sambuc // I386:#define __UINT_LEAST32_MAX__ 4294967295U
2192*0a6a1f1dSLionel Sambuc // I386:#define __UINT_LEAST32_TYPE__ unsigned int
2193*0a6a1f1dSLionel Sambuc // I386:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
2194*0a6a1f1dSLionel Sambuc // I386:#define __UINT_LEAST64_TYPE__ long long unsigned int
2195*0a6a1f1dSLionel Sambuc // I386:#define __UINT_LEAST8_MAX__ 255
2196*0a6a1f1dSLionel Sambuc // I386:#define __UINT_LEAST8_TYPE__ unsigned char
2197f4a2713aSLionel Sambuc // I386:#define __USER_LABEL_PREFIX__ _
2198f4a2713aSLionel Sambuc // I386:#define __WCHAR_MAX__ 2147483647
2199f4a2713aSLionel Sambuc // I386:#define __WCHAR_TYPE__ int
2200f4a2713aSLionel Sambuc // I386:#define __WCHAR_WIDTH__ 32
2201f4a2713aSLionel Sambuc // I386:#define __WINT_TYPE__ int
2202f4a2713aSLionel Sambuc // I386:#define __WINT_WIDTH__ 32
2203f4a2713aSLionel Sambuc // I386:#define __i386 1
2204f4a2713aSLionel Sambuc // I386:#define __i386__ 1
2205f4a2713aSLionel Sambuc // I386:#define i386 1
2206f4a2713aSLionel Sambuc //
2207f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=i386-pc-linux-gnu -target-cpu pentium4 < /dev/null | FileCheck -check-prefix I386-LINUX %s
2208f4a2713aSLionel Sambuc //
2209f4a2713aSLionel Sambuc // I386-LINUX-NOT:#define _LP64
2210f4a2713aSLionel Sambuc // I386-LINUX:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
2211f4a2713aSLionel Sambuc // I386-LINUX:#define __CHAR16_TYPE__ unsigned short
2212f4a2713aSLionel Sambuc // I386-LINUX:#define __CHAR32_TYPE__ unsigned int
2213f4a2713aSLionel Sambuc // I386-LINUX:#define __CHAR_BIT__ 8
2214f4a2713aSLionel Sambuc // I386-LINUX:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
2215f4a2713aSLionel Sambuc // I386-LINUX:#define __DBL_DIG__ 15
2216f4a2713aSLionel Sambuc // I386-LINUX:#define __DBL_EPSILON__ 2.2204460492503131e-16
2217f4a2713aSLionel Sambuc // I386-LINUX:#define __DBL_HAS_DENORM__ 1
2218f4a2713aSLionel Sambuc // I386-LINUX:#define __DBL_HAS_INFINITY__ 1
2219f4a2713aSLionel Sambuc // I386-LINUX:#define __DBL_HAS_QUIET_NAN__ 1
2220f4a2713aSLionel Sambuc // I386-LINUX:#define __DBL_MANT_DIG__ 53
2221f4a2713aSLionel Sambuc // I386-LINUX:#define __DBL_MAX_10_EXP__ 308
2222f4a2713aSLionel Sambuc // I386-LINUX:#define __DBL_MAX_EXP__ 1024
2223f4a2713aSLionel Sambuc // I386-LINUX:#define __DBL_MAX__ 1.7976931348623157e+308
2224f4a2713aSLionel Sambuc // I386-LINUX:#define __DBL_MIN_10_EXP__ (-307)
2225f4a2713aSLionel Sambuc // I386-LINUX:#define __DBL_MIN_EXP__ (-1021)
2226f4a2713aSLionel Sambuc // I386-LINUX:#define __DBL_MIN__ 2.2250738585072014e-308
2227f4a2713aSLionel Sambuc // I386-LINUX:#define __DECIMAL_DIG__ 21
2228f4a2713aSLionel Sambuc // I386-LINUX:#define __FLT_DENORM_MIN__ 1.40129846e-45F
2229f4a2713aSLionel Sambuc // I386-LINUX:#define __FLT_DIG__ 6
2230f4a2713aSLionel Sambuc // I386-LINUX:#define __FLT_EPSILON__ 1.19209290e-7F
2231f4a2713aSLionel Sambuc // I386-LINUX:#define __FLT_EVAL_METHOD__ 0
2232f4a2713aSLionel Sambuc // I386-LINUX:#define __FLT_HAS_DENORM__ 1
2233f4a2713aSLionel Sambuc // I386-LINUX:#define __FLT_HAS_INFINITY__ 1
2234f4a2713aSLionel Sambuc // I386-LINUX:#define __FLT_HAS_QUIET_NAN__ 1
2235f4a2713aSLionel Sambuc // I386-LINUX:#define __FLT_MANT_DIG__ 24
2236f4a2713aSLionel Sambuc // I386-LINUX:#define __FLT_MAX_10_EXP__ 38
2237f4a2713aSLionel Sambuc // I386-LINUX:#define __FLT_MAX_EXP__ 128
2238f4a2713aSLionel Sambuc // I386-LINUX:#define __FLT_MAX__ 3.40282347e+38F
2239f4a2713aSLionel Sambuc // I386-LINUX:#define __FLT_MIN_10_EXP__ (-37)
2240f4a2713aSLionel Sambuc // I386-LINUX:#define __FLT_MIN_EXP__ (-125)
2241f4a2713aSLionel Sambuc // I386-LINUX:#define __FLT_MIN__ 1.17549435e-38F
2242f4a2713aSLionel Sambuc // I386-LINUX:#define __FLT_RADIX__ 2
2243*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT16_C_SUFFIX__ {{$}}
2244*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT16_FMTd__ "hd"
2245*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT16_FMTi__ "hi"
2246*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT16_MAX__ 32767
2247f4a2713aSLionel Sambuc // I386-LINUX:#define __INT16_TYPE__ short
2248*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT32_C_SUFFIX__ {{$}}
2249*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT32_FMTd__ "d"
2250*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT32_FMTi__ "i"
2251*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT32_MAX__ 2147483647
2252f4a2713aSLionel Sambuc // I386-LINUX:#define __INT32_TYPE__ int
2253f4a2713aSLionel Sambuc // I386-LINUX:#define __INT64_C_SUFFIX__ LL
2254*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT64_FMTd__ "lld"
2255*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT64_FMTi__ "lli"
2256*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT64_MAX__ 9223372036854775807LL
2257f4a2713aSLionel Sambuc // I386-LINUX:#define __INT64_TYPE__ long long int
2258*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT8_C_SUFFIX__ {{$}}
2259*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT8_FMTd__ "hhd"
2260*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT8_FMTi__ "hhi"
2261*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT8_MAX__ 127
2262*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT8_TYPE__ signed char
2263*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INTMAX_C_SUFFIX__ LL
2264*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INTMAX_FMTd__ "lld"
2265*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INTMAX_FMTi__ "lli"
2266f4a2713aSLionel Sambuc // I386-LINUX:#define __INTMAX_MAX__ 9223372036854775807LL
2267f4a2713aSLionel Sambuc // I386-LINUX:#define __INTMAX_TYPE__ long long int
2268f4a2713aSLionel Sambuc // I386-LINUX:#define __INTMAX_WIDTH__ 64
2269*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INTPTR_FMTd__ "d"
2270*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INTPTR_FMTi__ "i"
2271*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INTPTR_MAX__ 2147483647
2272f4a2713aSLionel Sambuc // I386-LINUX:#define __INTPTR_TYPE__ int
2273f4a2713aSLionel Sambuc // I386-LINUX:#define __INTPTR_WIDTH__ 32
2274*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT_FAST16_FMTd__ "hd"
2275*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT_FAST16_FMTi__ "hi"
2276*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT_FAST16_MAX__ 32767
2277*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT_FAST16_TYPE__ short
2278*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT_FAST32_FMTd__ "d"
2279*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT_FAST32_FMTi__ "i"
2280*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT_FAST32_MAX__ 2147483647
2281*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT_FAST32_TYPE__ int
2282*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT_FAST64_FMTd__ "lld"
2283*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT_FAST64_FMTi__ "lli"
2284*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT_FAST64_MAX__ 9223372036854775807LL
2285*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT_FAST64_TYPE__ long long int
2286*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT_FAST8_FMTd__ "hhd"
2287*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT_FAST8_FMTi__ "hhi"
2288*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT_FAST8_MAX__ 127
2289*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT_FAST8_TYPE__ signed char
2290*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT_LEAST16_FMTd__ "hd"
2291*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT_LEAST16_FMTi__ "hi"
2292*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT_LEAST16_MAX__ 32767
2293*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT_LEAST16_TYPE__ short
2294*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT_LEAST32_FMTd__ "d"
2295*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT_LEAST32_FMTi__ "i"
2296*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT_LEAST32_MAX__ 2147483647
2297*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT_LEAST32_TYPE__ int
2298*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT_LEAST64_FMTd__ "lld"
2299*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT_LEAST64_FMTi__ "lli"
2300*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT_LEAST64_MAX__ 9223372036854775807LL
2301*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT_LEAST64_TYPE__ long long int
2302*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT_LEAST8_FMTd__ "hhd"
2303*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT_LEAST8_FMTi__ "hhi"
2304*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT_LEAST8_MAX__ 127
2305*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __INT_LEAST8_TYPE__ signed char
2306f4a2713aSLionel Sambuc // I386-LINUX:#define __INT_MAX__ 2147483647
2307f4a2713aSLionel Sambuc // I386-LINUX:#define __LDBL_DENORM_MIN__ 3.64519953188247460253e-4951L
2308f4a2713aSLionel Sambuc // I386-LINUX:#define __LDBL_DIG__ 18
2309f4a2713aSLionel Sambuc // I386-LINUX:#define __LDBL_EPSILON__ 1.08420217248550443401e-19L
2310f4a2713aSLionel Sambuc // I386-LINUX:#define __LDBL_HAS_DENORM__ 1
2311f4a2713aSLionel Sambuc // I386-LINUX:#define __LDBL_HAS_INFINITY__ 1
2312f4a2713aSLionel Sambuc // I386-LINUX:#define __LDBL_HAS_QUIET_NAN__ 1
2313f4a2713aSLionel Sambuc // I386-LINUX:#define __LDBL_MANT_DIG__ 64
2314f4a2713aSLionel Sambuc // I386-LINUX:#define __LDBL_MAX_10_EXP__ 4932
2315f4a2713aSLionel Sambuc // I386-LINUX:#define __LDBL_MAX_EXP__ 16384
2316f4a2713aSLionel Sambuc // I386-LINUX:#define __LDBL_MAX__ 1.18973149535723176502e+4932L
2317f4a2713aSLionel Sambuc // I386-LINUX:#define __LDBL_MIN_10_EXP__ (-4931)
2318f4a2713aSLionel Sambuc // I386-LINUX:#define __LDBL_MIN_EXP__ (-16381)
2319f4a2713aSLionel Sambuc // I386-LINUX:#define __LDBL_MIN__ 3.36210314311209350626e-4932L
2320f4a2713aSLionel Sambuc // I386-LINUX:#define __LITTLE_ENDIAN__ 1
2321f4a2713aSLionel Sambuc // I386-LINUX:#define __LONG_LONG_MAX__ 9223372036854775807LL
2322f4a2713aSLionel Sambuc // I386-LINUX:#define __LONG_MAX__ 2147483647L
2323f4a2713aSLionel Sambuc // I386-LINUX-NOT:#define __LP64__
2324f4a2713aSLionel Sambuc // I386-LINUX:#define __NO_MATH_INLINES 1
2325f4a2713aSLionel Sambuc // I386-LINUX:#define __POINTER_WIDTH__ 32
2326f4a2713aSLionel Sambuc // I386-LINUX:#define __PTRDIFF_TYPE__ int
2327f4a2713aSLionel Sambuc // I386-LINUX:#define __PTRDIFF_WIDTH__ 32
2328f4a2713aSLionel Sambuc // I386-LINUX:#define __REGISTER_PREFIX__
2329f4a2713aSLionel Sambuc // I386-LINUX:#define __SCHAR_MAX__ 127
2330f4a2713aSLionel Sambuc // I386-LINUX:#define __SHRT_MAX__ 32767
2331*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __SIG_ATOMIC_MAX__ 2147483647
2332f4a2713aSLionel Sambuc // I386-LINUX:#define __SIG_ATOMIC_WIDTH__ 32
2333f4a2713aSLionel Sambuc // I386-LINUX:#define __SIZEOF_DOUBLE__ 8
2334f4a2713aSLionel Sambuc // I386-LINUX:#define __SIZEOF_FLOAT__ 4
2335f4a2713aSLionel Sambuc // I386-LINUX:#define __SIZEOF_INT__ 4
2336f4a2713aSLionel Sambuc // I386-LINUX:#define __SIZEOF_LONG_DOUBLE__ 12
2337f4a2713aSLionel Sambuc // I386-LINUX:#define __SIZEOF_LONG_LONG__ 8
2338f4a2713aSLionel Sambuc // I386-LINUX:#define __SIZEOF_LONG__ 4
2339f4a2713aSLionel Sambuc // I386-LINUX:#define __SIZEOF_POINTER__ 4
2340f4a2713aSLionel Sambuc // I386-LINUX:#define __SIZEOF_PTRDIFF_T__ 4
2341f4a2713aSLionel Sambuc // I386-LINUX:#define __SIZEOF_SHORT__ 2
2342f4a2713aSLionel Sambuc // I386-LINUX:#define __SIZEOF_SIZE_T__ 4
2343f4a2713aSLionel Sambuc // I386-LINUX:#define __SIZEOF_WCHAR_T__ 4
2344f4a2713aSLionel Sambuc // I386-LINUX:#define __SIZEOF_WINT_T__ 4
2345f4a2713aSLionel Sambuc // I386-LINUX:#define __SIZE_MAX__ 4294967295U
2346f4a2713aSLionel Sambuc // I386-LINUX:#define __SIZE_TYPE__ unsigned int
2347f4a2713aSLionel Sambuc // I386-LINUX:#define __SIZE_WIDTH__ 32
2348*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __UINT16_C_SUFFIX__ {{$}}
2349*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __UINT16_MAX__ 65535
2350*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __UINT16_TYPE__ unsigned short
2351*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __UINT32_C_SUFFIX__ U
2352*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __UINT32_MAX__ 4294967295U
2353*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __UINT32_TYPE__ unsigned int
2354*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __UINT64_C_SUFFIX__ ULL
2355*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __UINT64_MAX__ 18446744073709551615ULL
2356*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __UINT64_TYPE__ long long unsigned int
2357*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __UINT8_C_SUFFIX__ {{$}}
2358*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __UINT8_MAX__ 255
2359*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __UINT8_TYPE__ unsigned char
2360*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __UINTMAX_C_SUFFIX__ ULL
2361*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __UINTMAX_MAX__ 18446744073709551615ULL
2362f4a2713aSLionel Sambuc // I386-LINUX:#define __UINTMAX_TYPE__ long long unsigned int
2363*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __UINTMAX_WIDTH__ 64
2364*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __UINTPTR_MAX__ 4294967295U
2365*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __UINTPTR_TYPE__ unsigned int
2366*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __UINTPTR_WIDTH__ 32
2367*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __UINT_FAST16_MAX__ 65535
2368*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __UINT_FAST16_TYPE__ unsigned short
2369*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __UINT_FAST32_MAX__ 4294967295U
2370*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __UINT_FAST32_TYPE__ unsigned int
2371*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
2372*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __UINT_FAST64_TYPE__ long long unsigned int
2373*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __UINT_FAST8_MAX__ 255
2374*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __UINT_FAST8_TYPE__ unsigned char
2375*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __UINT_LEAST16_MAX__ 65535
2376*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __UINT_LEAST16_TYPE__ unsigned short
2377*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __UINT_LEAST32_MAX__ 4294967295U
2378*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __UINT_LEAST32_TYPE__ unsigned int
2379*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
2380*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __UINT_LEAST64_TYPE__ long long unsigned int
2381*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __UINT_LEAST8_MAX__ 255
2382*0a6a1f1dSLionel Sambuc // I386-LINUX:#define __UINT_LEAST8_TYPE__ unsigned char
2383f4a2713aSLionel Sambuc // I386-LINUX:#define __USER_LABEL_PREFIX__
2384f4a2713aSLionel Sambuc // I386-LINUX:#define __WCHAR_MAX__ 2147483647
2385f4a2713aSLionel Sambuc // I386-LINUX:#define __WCHAR_TYPE__ int
2386f4a2713aSLionel Sambuc // I386-LINUX:#define __WCHAR_WIDTH__ 32
2387f4a2713aSLionel Sambuc // I386-LINUX:#define __WINT_TYPE__ unsigned int
2388f4a2713aSLionel Sambuc // I386-LINUX:#define __WINT_WIDTH__ 32
2389f4a2713aSLionel Sambuc // I386-LINUX:#define __i386 1
2390f4a2713aSLionel Sambuc // I386-LINUX:#define __i386__ 1
2391f4a2713aSLionel Sambuc // I386-LINUX:#define i386 1
2392f4a2713aSLionel Sambuc //
2393f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=i386-netbsd < /dev/null | FileCheck -check-prefix I386-NETBSD %s
2394f4a2713aSLionel Sambuc //
2395f4a2713aSLionel Sambuc // I386-NETBSD-NOT:#define _LP64
2396f4a2713aSLionel Sambuc // I386-NETBSD:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
2397f4a2713aSLionel Sambuc // I386-NETBSD:#define __CHAR16_TYPE__ unsigned short
2398f4a2713aSLionel Sambuc // I386-NETBSD:#define __CHAR32_TYPE__ unsigned int
2399f4a2713aSLionel Sambuc // I386-NETBSD:#define __CHAR_BIT__ 8
2400f4a2713aSLionel Sambuc // I386-NETBSD:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
2401f4a2713aSLionel Sambuc // I386-NETBSD:#define __DBL_DIG__ 15
2402f4a2713aSLionel Sambuc // I386-NETBSD:#define __DBL_EPSILON__ 2.2204460492503131e-16
2403f4a2713aSLionel Sambuc // I386-NETBSD:#define __DBL_HAS_DENORM__ 1
2404f4a2713aSLionel Sambuc // I386-NETBSD:#define __DBL_HAS_INFINITY__ 1
2405f4a2713aSLionel Sambuc // I386-NETBSD:#define __DBL_HAS_QUIET_NAN__ 1
2406f4a2713aSLionel Sambuc // I386-NETBSD:#define __DBL_MANT_DIG__ 53
2407f4a2713aSLionel Sambuc // I386-NETBSD:#define __DBL_MAX_10_EXP__ 308
2408f4a2713aSLionel Sambuc // I386-NETBSD:#define __DBL_MAX_EXP__ 1024
2409f4a2713aSLionel Sambuc // I386-NETBSD:#define __DBL_MAX__ 1.7976931348623157e+308
2410f4a2713aSLionel Sambuc // I386-NETBSD:#define __DBL_MIN_10_EXP__ (-307)
2411f4a2713aSLionel Sambuc // I386-NETBSD:#define __DBL_MIN_EXP__ (-1021)
2412f4a2713aSLionel Sambuc // I386-NETBSD:#define __DBL_MIN__ 2.2250738585072014e-308
2413f4a2713aSLionel Sambuc // I386-NETBSD:#define __DECIMAL_DIG__ 21
2414f4a2713aSLionel Sambuc // I386-NETBSD:#define __FLT_DENORM_MIN__ 1.40129846e-45F
2415f4a2713aSLionel Sambuc // I386-NETBSD:#define __FLT_DIG__ 6
2416f4a2713aSLionel Sambuc // I386-NETBSD:#define __FLT_EPSILON__ 1.19209290e-7F
2417f4a2713aSLionel Sambuc // I386-NETBSD:#define __FLT_EVAL_METHOD__ 2
2418f4a2713aSLionel Sambuc // I386-NETBSD:#define __FLT_HAS_DENORM__ 1
2419f4a2713aSLionel Sambuc // I386-NETBSD:#define __FLT_HAS_INFINITY__ 1
2420f4a2713aSLionel Sambuc // I386-NETBSD:#define __FLT_HAS_QUIET_NAN__ 1
2421f4a2713aSLionel Sambuc // I386-NETBSD:#define __FLT_MANT_DIG__ 24
2422f4a2713aSLionel Sambuc // I386-NETBSD:#define __FLT_MAX_10_EXP__ 38
2423f4a2713aSLionel Sambuc // I386-NETBSD:#define __FLT_MAX_EXP__ 128
2424f4a2713aSLionel Sambuc // I386-NETBSD:#define __FLT_MAX__ 3.40282347e+38F
2425f4a2713aSLionel Sambuc // I386-NETBSD:#define __FLT_MIN_10_EXP__ (-37)
2426f4a2713aSLionel Sambuc // I386-NETBSD:#define __FLT_MIN_EXP__ (-125)
2427f4a2713aSLionel Sambuc // I386-NETBSD:#define __FLT_MIN__ 1.17549435e-38F
2428f4a2713aSLionel Sambuc // I386-NETBSD:#define __FLT_RADIX__ 2
2429*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT16_C_SUFFIX__ {{$}}
2430*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT16_FMTd__ "hd"
2431*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT16_FMTi__ "hi"
2432*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT16_MAX__ 32767
2433f4a2713aSLionel Sambuc // I386-NETBSD:#define __INT16_TYPE__ short
2434*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT32_C_SUFFIX__ {{$}}
2435*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT32_FMTd__ "d"
2436*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT32_FMTi__ "i"
2437*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT32_MAX__ 2147483647
2438f4a2713aSLionel Sambuc // I386-NETBSD:#define __INT32_TYPE__ int
2439f4a2713aSLionel Sambuc // I386-NETBSD:#define __INT64_C_SUFFIX__ LL
2440*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT64_FMTd__ "lld"
2441*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT64_FMTi__ "lli"
2442*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT64_MAX__ 9223372036854775807LL
2443f4a2713aSLionel Sambuc // I386-NETBSD:#define __INT64_TYPE__ long long int
2444*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT8_C_SUFFIX__ {{$}}
2445*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT8_FMTd__ "hhd"
2446*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT8_FMTi__ "hhi"
2447*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT8_MAX__ 127
2448*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT8_TYPE__ signed char
2449*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INTMAX_C_SUFFIX__ LL
2450*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INTMAX_FMTd__ "lld"
2451*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INTMAX_FMTi__ "lli"
2452f4a2713aSLionel Sambuc // I386-NETBSD:#define __INTMAX_MAX__ 9223372036854775807LL
2453f4a2713aSLionel Sambuc // I386-NETBSD:#define __INTMAX_TYPE__ long long int
2454f4a2713aSLionel Sambuc // I386-NETBSD:#define __INTMAX_WIDTH__ 64
2455*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INTPTR_FMTd__ "d"
2456*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INTPTR_FMTi__ "i"
2457*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INTPTR_MAX__ 2147483647
2458f4a2713aSLionel Sambuc // I386-NETBSD:#define __INTPTR_TYPE__ int
2459f4a2713aSLionel Sambuc // I386-NETBSD:#define __INTPTR_WIDTH__ 32
2460*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT_FAST16_FMTd__ "hd"
2461*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT_FAST16_FMTi__ "hi"
2462*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT_FAST16_MAX__ 32767
2463*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT_FAST16_TYPE__ short
2464*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT_FAST32_FMTd__ "d"
2465*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT_FAST32_FMTi__ "i"
2466*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT_FAST32_MAX__ 2147483647
2467*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT_FAST32_TYPE__ int
2468*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT_FAST64_FMTd__ "lld"
2469*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT_FAST64_FMTi__ "lli"
2470*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT_FAST64_MAX__ 9223372036854775807LL
2471*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT_FAST64_TYPE__ long long int
2472*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT_FAST8_FMTd__ "hhd"
2473*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT_FAST8_FMTi__ "hhi"
2474*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT_FAST8_MAX__ 127
2475*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT_FAST8_TYPE__ signed char
2476*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT_LEAST16_FMTd__ "hd"
2477*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT_LEAST16_FMTi__ "hi"
2478*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT_LEAST16_MAX__ 32767
2479*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT_LEAST16_TYPE__ short
2480*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT_LEAST32_FMTd__ "d"
2481*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT_LEAST32_FMTi__ "i"
2482*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT_LEAST32_MAX__ 2147483647
2483*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT_LEAST32_TYPE__ int
2484*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT_LEAST64_FMTd__ "lld"
2485*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT_LEAST64_FMTi__ "lli"
2486*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT_LEAST64_MAX__ 9223372036854775807LL
2487*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT_LEAST64_TYPE__ long long int
2488*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT_LEAST8_FMTd__ "hhd"
2489*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT_LEAST8_FMTi__ "hhi"
2490*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT_LEAST8_MAX__ 127
2491*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __INT_LEAST8_TYPE__ signed char
2492f4a2713aSLionel Sambuc // I386-NETBSD:#define __INT_MAX__ 2147483647
2493f4a2713aSLionel Sambuc // I386-NETBSD:#define __LDBL_DENORM_MIN__ 3.64519953188247460253e-4951L
2494f4a2713aSLionel Sambuc // I386-NETBSD:#define __LDBL_DIG__ 18
2495f4a2713aSLionel Sambuc // I386-NETBSD:#define __LDBL_EPSILON__ 1.08420217248550443401e-19L
2496f4a2713aSLionel Sambuc // I386-NETBSD:#define __LDBL_HAS_DENORM__ 1
2497f4a2713aSLionel Sambuc // I386-NETBSD:#define __LDBL_HAS_INFINITY__ 1
2498f4a2713aSLionel Sambuc // I386-NETBSD:#define __LDBL_HAS_QUIET_NAN__ 1
2499f4a2713aSLionel Sambuc // I386-NETBSD:#define __LDBL_MANT_DIG__ 64
2500f4a2713aSLionel Sambuc // I386-NETBSD:#define __LDBL_MAX_10_EXP__ 4932
2501f4a2713aSLionel Sambuc // I386-NETBSD:#define __LDBL_MAX_EXP__ 16384
2502f4a2713aSLionel Sambuc // I386-NETBSD:#define __LDBL_MAX__ 1.18973149535723176502e+4932L
2503f4a2713aSLionel Sambuc // I386-NETBSD:#define __LDBL_MIN_10_EXP__ (-4931)
2504f4a2713aSLionel Sambuc // I386-NETBSD:#define __LDBL_MIN_EXP__ (-16381)
2505f4a2713aSLionel Sambuc // I386-NETBSD:#define __LDBL_MIN__ 3.36210314311209350626e-4932L
2506f4a2713aSLionel Sambuc // I386-NETBSD:#define __LITTLE_ENDIAN__ 1
2507f4a2713aSLionel Sambuc // I386-NETBSD:#define __LONG_LONG_MAX__ 9223372036854775807LL
2508f4a2713aSLionel Sambuc // I386-NETBSD:#define __LONG_MAX__ 2147483647L
2509f4a2713aSLionel Sambuc // I386-NETBSD-NOT:#define __LP64__
2510f4a2713aSLionel Sambuc // I386-NETBSD:#define __NO_MATH_INLINES 1
2511f4a2713aSLionel Sambuc // I386-NETBSD:#define __POINTER_WIDTH__ 32
2512f4a2713aSLionel Sambuc // I386-NETBSD:#define __PTRDIFF_TYPE__ int
2513f4a2713aSLionel Sambuc // I386-NETBSD:#define __PTRDIFF_WIDTH__ 32
2514f4a2713aSLionel Sambuc // I386-NETBSD:#define __REGISTER_PREFIX__
2515f4a2713aSLionel Sambuc // I386-NETBSD:#define __SCHAR_MAX__ 127
2516f4a2713aSLionel Sambuc // I386-NETBSD:#define __SHRT_MAX__ 32767
2517*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __SIG_ATOMIC_MAX__ 2147483647
2518f4a2713aSLionel Sambuc // I386-NETBSD:#define __SIG_ATOMIC_WIDTH__ 32
2519f4a2713aSLionel Sambuc // I386-NETBSD:#define __SIZEOF_DOUBLE__ 8
2520f4a2713aSLionel Sambuc // I386-NETBSD:#define __SIZEOF_FLOAT__ 4
2521f4a2713aSLionel Sambuc // I386-NETBSD:#define __SIZEOF_INT__ 4
2522f4a2713aSLionel Sambuc // I386-NETBSD:#define __SIZEOF_LONG_DOUBLE__ 12
2523f4a2713aSLionel Sambuc // I386-NETBSD:#define __SIZEOF_LONG_LONG__ 8
2524f4a2713aSLionel Sambuc // I386-NETBSD:#define __SIZEOF_LONG__ 4
2525f4a2713aSLionel Sambuc // I386-NETBSD:#define __SIZEOF_POINTER__ 4
2526f4a2713aSLionel Sambuc // I386-NETBSD:#define __SIZEOF_PTRDIFF_T__ 4
2527f4a2713aSLionel Sambuc // I386-NETBSD:#define __SIZEOF_SHORT__ 2
2528f4a2713aSLionel Sambuc // I386-NETBSD:#define __SIZEOF_SIZE_T__ 4
2529f4a2713aSLionel Sambuc // I386-NETBSD:#define __SIZEOF_WCHAR_T__ 4
2530f4a2713aSLionel Sambuc // I386-NETBSD:#define __SIZEOF_WINT_T__ 4
2531f4a2713aSLionel Sambuc // I386-NETBSD:#define __SIZE_MAX__ 4294967295U
2532f4a2713aSLionel Sambuc // I386-NETBSD:#define __SIZE_TYPE__ unsigned int
2533f4a2713aSLionel Sambuc // I386-NETBSD:#define __SIZE_WIDTH__ 32
2534*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __UINT16_C_SUFFIX__ {{$}}
2535*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __UINT16_MAX__ 65535
2536*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __UINT16_TYPE__ unsigned short
2537*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __UINT32_C_SUFFIX__ U
2538*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __UINT32_MAX__ 4294967295U
2539*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __UINT32_TYPE__ unsigned int
2540*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __UINT64_C_SUFFIX__ ULL
2541*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __UINT64_MAX__ 18446744073709551615ULL
2542*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __UINT64_TYPE__ long long unsigned int
2543*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __UINT8_C_SUFFIX__ {{$}}
2544*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __UINT8_MAX__ 255
2545*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __UINT8_TYPE__ unsigned char
2546*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __UINTMAX_C_SUFFIX__ ULL
2547*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __UINTMAX_MAX__ 18446744073709551615ULL
2548f4a2713aSLionel Sambuc // I386-NETBSD:#define __UINTMAX_TYPE__ long long unsigned int
2549*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __UINTMAX_WIDTH__ 64
2550*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __UINTPTR_MAX__ 4294967295U
2551*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __UINTPTR_TYPE__ unsigned int
2552*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __UINTPTR_WIDTH__ 32
2553*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __UINT_FAST16_MAX__ 65535
2554*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __UINT_FAST16_TYPE__ unsigned short
2555*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __UINT_FAST32_MAX__ 4294967295U
2556*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __UINT_FAST32_TYPE__ unsigned int
2557*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
2558*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __UINT_FAST64_TYPE__ long long unsigned int
2559*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __UINT_FAST8_MAX__ 255
2560*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __UINT_FAST8_TYPE__ unsigned char
2561*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __UINT_LEAST16_MAX__ 65535
2562*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __UINT_LEAST16_TYPE__ unsigned short
2563*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __UINT_LEAST32_MAX__ 4294967295U
2564*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __UINT_LEAST32_TYPE__ unsigned int
2565*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
2566*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __UINT_LEAST64_TYPE__ long long unsigned int
2567*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __UINT_LEAST8_MAX__ 255
2568*0a6a1f1dSLionel Sambuc // I386-NETBSD:#define __UINT_LEAST8_TYPE__ unsigned char
2569f4a2713aSLionel Sambuc // I386-NETBSD:#define __USER_LABEL_PREFIX__
2570f4a2713aSLionel Sambuc // I386-NETBSD:#define __WCHAR_MAX__ 2147483647
2571f4a2713aSLionel Sambuc // I386-NETBSD:#define __WCHAR_TYPE__ int
2572f4a2713aSLionel Sambuc // I386-NETBSD:#define __WCHAR_WIDTH__ 32
2573f4a2713aSLionel Sambuc // I386-NETBSD:#define __WINT_TYPE__ int
2574f4a2713aSLionel Sambuc // I386-NETBSD:#define __WINT_WIDTH__ 32
2575f4a2713aSLionel Sambuc // I386-NETBSD:#define __i386 1
2576f4a2713aSLionel Sambuc // I386-NETBSD:#define __i386__ 1
2577f4a2713aSLionel Sambuc // I386-NETBSD:#define i386 1
2578f4a2713aSLionel Sambuc //
2579f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=i386-netbsd -target-feature +sse2 < /dev/null | FileCheck -check-prefix I386-NETBSD-SSE %s
2580f4a2713aSLionel Sambuc // I386-NETBSD-SSE:#define __FLT_EVAL_METHOD__ 0
2581f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=i386-netbsd6  < /dev/null | FileCheck -check-prefix I386-NETBSD6 %s
2582f4a2713aSLionel Sambuc // I386-NETBSD6:#define __FLT_EVAL_METHOD__ 1
2583f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=i386-netbsd6 -target-feature +sse2 < /dev/null | FileCheck -check-prefix I386-NETBSD6-SSE %s
2584f4a2713aSLionel Sambuc // I386-NETBSD6-SSE:#define __FLT_EVAL_METHOD__ 1
2585f4a2713aSLionel Sambuc 
2586f4a2713aSLionel Sambuc //
2587f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mips-none-none < /dev/null | FileCheck -check-prefix MIPS32BE %s
2588f4a2713aSLionel Sambuc //
2589f4a2713aSLionel Sambuc // MIPS32BE:#define MIPSEB 1
2590f4a2713aSLionel Sambuc // MIPS32BE:#define _ABIO32 1
2591f4a2713aSLionel Sambuc // MIPS32BE-NOT:#define _LP64
2592f4a2713aSLionel Sambuc // MIPS32BE:#define _MIPSEB 1
2593*0a6a1f1dSLionel Sambuc // MIPS32BE:#define _MIPS_ARCH "mips32r2"
2594*0a6a1f1dSLionel Sambuc // MIPS32BE:#define _MIPS_ARCH_MIPS32R2 1
2595f4a2713aSLionel Sambuc // MIPS32BE:#define _MIPS_FPSET 16
2596f4a2713aSLionel Sambuc // MIPS32BE:#define _MIPS_SIM _ABIO32
2597f4a2713aSLionel Sambuc // MIPS32BE:#define _MIPS_SZINT 32
2598f4a2713aSLionel Sambuc // MIPS32BE:#define _MIPS_SZLONG 32
2599f4a2713aSLionel Sambuc // MIPS32BE:#define _MIPS_SZPTR 32
2600*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __BIG_ENDIAN__ 1
2601f4a2713aSLionel Sambuc // MIPS32BE:#define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__
2602f4a2713aSLionel Sambuc // MIPS32BE:#define __CHAR16_TYPE__ unsigned short
2603f4a2713aSLionel Sambuc // MIPS32BE:#define __CHAR32_TYPE__ unsigned int
2604f4a2713aSLionel Sambuc // MIPS32BE:#define __CHAR_BIT__ 8
2605f4a2713aSLionel Sambuc // MIPS32BE:#define __CONSTANT_CFSTRINGS__ 1
2606f4a2713aSLionel Sambuc // MIPS32BE:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
2607f4a2713aSLionel Sambuc // MIPS32BE:#define __DBL_DIG__ 15
2608f4a2713aSLionel Sambuc // MIPS32BE:#define __DBL_EPSILON__ 2.2204460492503131e-16
2609f4a2713aSLionel Sambuc // MIPS32BE:#define __DBL_HAS_DENORM__ 1
2610f4a2713aSLionel Sambuc // MIPS32BE:#define __DBL_HAS_INFINITY__ 1
2611f4a2713aSLionel Sambuc // MIPS32BE:#define __DBL_HAS_QUIET_NAN__ 1
2612f4a2713aSLionel Sambuc // MIPS32BE:#define __DBL_MANT_DIG__ 53
2613f4a2713aSLionel Sambuc // MIPS32BE:#define __DBL_MAX_10_EXP__ 308
2614f4a2713aSLionel Sambuc // MIPS32BE:#define __DBL_MAX_EXP__ 1024
2615f4a2713aSLionel Sambuc // MIPS32BE:#define __DBL_MAX__ 1.7976931348623157e+308
2616f4a2713aSLionel Sambuc // MIPS32BE:#define __DBL_MIN_10_EXP__ (-307)
2617f4a2713aSLionel Sambuc // MIPS32BE:#define __DBL_MIN_EXP__ (-1021)
2618f4a2713aSLionel Sambuc // MIPS32BE:#define __DBL_MIN__ 2.2250738585072014e-308
2619f4a2713aSLionel Sambuc // MIPS32BE:#define __DECIMAL_DIG__ 17
2620f4a2713aSLionel Sambuc // MIPS32BE:#define __FLT_DENORM_MIN__ 1.40129846e-45F
2621f4a2713aSLionel Sambuc // MIPS32BE:#define __FLT_DIG__ 6
2622f4a2713aSLionel Sambuc // MIPS32BE:#define __FLT_EPSILON__ 1.19209290e-7F
2623f4a2713aSLionel Sambuc // MIPS32BE:#define __FLT_EVAL_METHOD__ 0
2624f4a2713aSLionel Sambuc // MIPS32BE:#define __FLT_HAS_DENORM__ 1
2625f4a2713aSLionel Sambuc // MIPS32BE:#define __FLT_HAS_INFINITY__ 1
2626f4a2713aSLionel Sambuc // MIPS32BE:#define __FLT_HAS_QUIET_NAN__ 1
2627f4a2713aSLionel Sambuc // MIPS32BE:#define __FLT_MANT_DIG__ 24
2628f4a2713aSLionel Sambuc // MIPS32BE:#define __FLT_MAX_10_EXP__ 38
2629f4a2713aSLionel Sambuc // MIPS32BE:#define __FLT_MAX_EXP__ 128
2630f4a2713aSLionel Sambuc // MIPS32BE:#define __FLT_MAX__ 3.40282347e+38F
2631f4a2713aSLionel Sambuc // MIPS32BE:#define __FLT_MIN_10_EXP__ (-37)
2632f4a2713aSLionel Sambuc // MIPS32BE:#define __FLT_MIN_EXP__ (-125)
2633f4a2713aSLionel Sambuc // MIPS32BE:#define __FLT_MIN__ 1.17549435e-38F
2634f4a2713aSLionel Sambuc // MIPS32BE:#define __FLT_RADIX__ 2
2635*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT16_C_SUFFIX__ {{$}}
2636*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT16_FMTd__ "hd"
2637*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT16_FMTi__ "hi"
2638*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT16_MAX__ 32767
2639f4a2713aSLionel Sambuc // MIPS32BE:#define __INT16_TYPE__ short
2640*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT32_C_SUFFIX__ {{$}}
2641*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT32_FMTd__ "d"
2642*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT32_FMTi__ "i"
2643*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT32_MAX__ 2147483647
2644f4a2713aSLionel Sambuc // MIPS32BE:#define __INT32_TYPE__ int
2645f4a2713aSLionel Sambuc // MIPS32BE:#define __INT64_C_SUFFIX__ LL
2646*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT64_FMTd__ "lld"
2647*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT64_FMTi__ "lli"
2648*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT64_MAX__ 9223372036854775807LL
2649f4a2713aSLionel Sambuc // MIPS32BE:#define __INT64_TYPE__ long long int
2650*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT8_C_SUFFIX__ {{$}}
2651*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT8_FMTd__ "hhd"
2652*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT8_FMTi__ "hhi"
2653*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT8_MAX__ 127
2654*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT8_TYPE__ signed char
2655*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INTMAX_C_SUFFIX__ LL
2656*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INTMAX_FMTd__ "lld"
2657*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INTMAX_FMTi__ "lli"
2658f4a2713aSLionel Sambuc // MIPS32BE:#define __INTMAX_MAX__ 9223372036854775807LL
2659f4a2713aSLionel Sambuc // MIPS32BE:#define __INTMAX_TYPE__ long long int
2660f4a2713aSLionel Sambuc // MIPS32BE:#define __INTMAX_WIDTH__ 64
2661*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INTPTR_FMTd__ "ld"
2662*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INTPTR_FMTi__ "li"
2663*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INTPTR_MAX__ 2147483647L
2664f4a2713aSLionel Sambuc // MIPS32BE:#define __INTPTR_TYPE__ long int
2665f4a2713aSLionel Sambuc // MIPS32BE:#define __INTPTR_WIDTH__ 32
2666*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT_FAST16_FMTd__ "hd"
2667*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT_FAST16_FMTi__ "hi"
2668*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT_FAST16_MAX__ 32767
2669*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT_FAST16_TYPE__ short
2670*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT_FAST32_FMTd__ "d"
2671*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT_FAST32_FMTi__ "i"
2672*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT_FAST32_MAX__ 2147483647
2673*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT_FAST32_TYPE__ int
2674*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT_FAST64_FMTd__ "lld"
2675*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT_FAST64_FMTi__ "lli"
2676*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT_FAST64_MAX__ 9223372036854775807LL
2677*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT_FAST64_TYPE__ long long int
2678*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT_FAST8_FMTd__ "hhd"
2679*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT_FAST8_FMTi__ "hhi"
2680*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT_FAST8_MAX__ 127
2681*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT_FAST8_TYPE__ signed char
2682*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT_LEAST16_FMTd__ "hd"
2683*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT_LEAST16_FMTi__ "hi"
2684*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT_LEAST16_MAX__ 32767
2685*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT_LEAST16_TYPE__ short
2686*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT_LEAST32_FMTd__ "d"
2687*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT_LEAST32_FMTi__ "i"
2688*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT_LEAST32_MAX__ 2147483647
2689*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT_LEAST32_TYPE__ int
2690*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT_LEAST64_FMTd__ "lld"
2691*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT_LEAST64_FMTi__ "lli"
2692*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT_LEAST64_MAX__ 9223372036854775807LL
2693*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT_LEAST64_TYPE__ long long int
2694*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT_LEAST8_FMTd__ "hhd"
2695*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT_LEAST8_FMTi__ "hhi"
2696*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT_LEAST8_MAX__ 127
2697*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __INT_LEAST8_TYPE__ signed char
2698f4a2713aSLionel Sambuc // MIPS32BE:#define __INT_MAX__ 2147483647
2699f4a2713aSLionel Sambuc // MIPS32BE:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
2700f4a2713aSLionel Sambuc // MIPS32BE:#define __LDBL_DIG__ 15
2701f4a2713aSLionel Sambuc // MIPS32BE:#define __LDBL_EPSILON__ 2.2204460492503131e-16L
2702f4a2713aSLionel Sambuc // MIPS32BE:#define __LDBL_HAS_DENORM__ 1
2703f4a2713aSLionel Sambuc // MIPS32BE:#define __LDBL_HAS_INFINITY__ 1
2704f4a2713aSLionel Sambuc // MIPS32BE:#define __LDBL_HAS_QUIET_NAN__ 1
2705f4a2713aSLionel Sambuc // MIPS32BE:#define __LDBL_MANT_DIG__ 53
2706f4a2713aSLionel Sambuc // MIPS32BE:#define __LDBL_MAX_10_EXP__ 308
2707f4a2713aSLionel Sambuc // MIPS32BE:#define __LDBL_MAX_EXP__ 1024
2708f4a2713aSLionel Sambuc // MIPS32BE:#define __LDBL_MAX__ 1.7976931348623157e+308L
2709f4a2713aSLionel Sambuc // MIPS32BE:#define __LDBL_MIN_10_EXP__ (-307)
2710f4a2713aSLionel Sambuc // MIPS32BE:#define __LDBL_MIN_EXP__ (-1021)
2711f4a2713aSLionel Sambuc // MIPS32BE:#define __LDBL_MIN__ 2.2250738585072014e-308L
2712f4a2713aSLionel Sambuc // MIPS32BE:#define __LONG_LONG_MAX__ 9223372036854775807LL
2713f4a2713aSLionel Sambuc // MIPS32BE:#define __LONG_MAX__ 2147483647L
2714f4a2713aSLionel Sambuc // MIPS32BE-NOT:#define __LP64__
2715f4a2713aSLionel Sambuc // MIPS32BE:#define __MIPSEB 1
2716f4a2713aSLionel Sambuc // MIPS32BE:#define __MIPSEB__ 1
2717f4a2713aSLionel Sambuc // MIPS32BE:#define __POINTER_WIDTH__ 32
2718f4a2713aSLionel Sambuc // MIPS32BE:#define __PRAGMA_REDEFINE_EXTNAME 1
2719f4a2713aSLionel Sambuc // MIPS32BE:#define __PTRDIFF_TYPE__ int
2720f4a2713aSLionel Sambuc // MIPS32BE:#define __PTRDIFF_WIDTH__ 32
2721f4a2713aSLionel Sambuc // MIPS32BE:#define __REGISTER_PREFIX__
2722f4a2713aSLionel Sambuc // MIPS32BE:#define __SCHAR_MAX__ 127
2723f4a2713aSLionel Sambuc // MIPS32BE:#define __SHRT_MAX__ 32767
2724*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __SIG_ATOMIC_MAX__ 2147483647
2725f4a2713aSLionel Sambuc // MIPS32BE:#define __SIG_ATOMIC_WIDTH__ 32
2726f4a2713aSLionel Sambuc // MIPS32BE:#define __SIZEOF_DOUBLE__ 8
2727f4a2713aSLionel Sambuc // MIPS32BE:#define __SIZEOF_FLOAT__ 4
2728f4a2713aSLionel Sambuc // MIPS32BE:#define __SIZEOF_INT__ 4
2729f4a2713aSLionel Sambuc // MIPS32BE:#define __SIZEOF_LONG_DOUBLE__ 8
2730f4a2713aSLionel Sambuc // MIPS32BE:#define __SIZEOF_LONG_LONG__ 8
2731f4a2713aSLionel Sambuc // MIPS32BE:#define __SIZEOF_LONG__ 4
2732f4a2713aSLionel Sambuc // MIPS32BE:#define __SIZEOF_POINTER__ 4
2733f4a2713aSLionel Sambuc // MIPS32BE:#define __SIZEOF_PTRDIFF_T__ 4
2734f4a2713aSLionel Sambuc // MIPS32BE:#define __SIZEOF_SHORT__ 2
2735f4a2713aSLionel Sambuc // MIPS32BE:#define __SIZEOF_SIZE_T__ 4
2736f4a2713aSLionel Sambuc // MIPS32BE:#define __SIZEOF_WCHAR_T__ 4
2737f4a2713aSLionel Sambuc // MIPS32BE:#define __SIZEOF_WINT_T__ 4
2738f4a2713aSLionel Sambuc // MIPS32BE:#define __SIZE_MAX__ 4294967295U
2739f4a2713aSLionel Sambuc // MIPS32BE:#define __SIZE_TYPE__ unsigned int
2740f4a2713aSLionel Sambuc // MIPS32BE:#define __SIZE_WIDTH__ 32
2741f4a2713aSLionel Sambuc // MIPS32BE:#define __STDC_HOSTED__ 0
2742*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __STDC_VERSION__ 201112L
2743f4a2713aSLionel Sambuc // MIPS32BE:#define __STDC__ 1
2744*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __UINT16_C_SUFFIX__ {{$}}
2745*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __UINT16_MAX__ 65535
2746*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __UINT16_TYPE__ unsigned short
2747*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __UINT32_C_SUFFIX__ U
2748*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __UINT32_MAX__ 4294967295U
2749*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __UINT32_TYPE__ unsigned int
2750*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __UINT64_C_SUFFIX__ ULL
2751*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __UINT64_MAX__ 18446744073709551615ULL
2752*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __UINT64_TYPE__ long long unsigned int
2753*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __UINT8_C_SUFFIX__ {{$}}
2754*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __UINT8_MAX__ 255
2755*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __UINT8_TYPE__ unsigned char
2756*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __UINTMAX_C_SUFFIX__ ULL
2757*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __UINTMAX_MAX__ 18446744073709551615ULL
2758f4a2713aSLionel Sambuc // MIPS32BE:#define __UINTMAX_TYPE__ long long unsigned int
2759*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __UINTMAX_WIDTH__ 64
2760*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __UINTPTR_MAX__ 4294967295U
2761*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __UINTPTR_TYPE__ long unsigned int
2762*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __UINTPTR_WIDTH__ 32
2763*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __UINT_FAST16_MAX__ 65535
2764*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __UINT_FAST16_TYPE__ unsigned short
2765*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __UINT_FAST32_MAX__ 4294967295U
2766*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __UINT_FAST32_TYPE__ unsigned int
2767*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
2768*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __UINT_FAST64_TYPE__ long long unsigned int
2769*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __UINT_FAST8_MAX__ 255
2770*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __UINT_FAST8_TYPE__ unsigned char
2771*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __UINT_LEAST16_MAX__ 65535
2772*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __UINT_LEAST16_TYPE__ unsigned short
2773*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __UINT_LEAST32_MAX__ 4294967295U
2774*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __UINT_LEAST32_TYPE__ unsigned int
2775*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
2776*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __UINT_LEAST64_TYPE__ long long unsigned int
2777*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __UINT_LEAST8_MAX__ 255
2778*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __UINT_LEAST8_TYPE__ unsigned char
2779f4a2713aSLionel Sambuc // MIPS32BE:#define __USER_LABEL_PREFIX__ _
2780f4a2713aSLionel Sambuc // MIPS32BE:#define __WCHAR_MAX__ 2147483647
2781f4a2713aSLionel Sambuc // MIPS32BE:#define __WCHAR_TYPE__ int
2782f4a2713aSLionel Sambuc // MIPS32BE:#define __WCHAR_WIDTH__ 32
2783f4a2713aSLionel Sambuc // MIPS32BE:#define __WINT_TYPE__ int
2784f4a2713aSLionel Sambuc // MIPS32BE:#define __WINT_WIDTH__ 32
2785f4a2713aSLionel Sambuc // MIPS32BE:#define __clang__ 1
2786f4a2713aSLionel Sambuc // MIPS32BE:#define __llvm__ 1
2787*0a6a1f1dSLionel Sambuc // MIPS32BE:#define __mips 32
2788f4a2713aSLionel Sambuc // MIPS32BE:#define __mips__ 1
2789f4a2713aSLionel Sambuc // MIPS32BE:#define __mips_fpr 32
2790f4a2713aSLionel Sambuc // MIPS32BE:#define __mips_hard_float 1
2791f4a2713aSLionel Sambuc // MIPS32BE:#define __mips_o32 1
2792f4a2713aSLionel Sambuc // MIPS32BE:#define _mips 1
2793f4a2713aSLionel Sambuc // MIPS32BE:#define mips 1
2794f4a2713aSLionel Sambuc //
2795f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mipsel-none-none < /dev/null | FileCheck -check-prefix MIPS32EL %s
2796f4a2713aSLionel Sambuc //
2797f4a2713aSLionel Sambuc // MIPS32EL:#define MIPSEL 1
2798f4a2713aSLionel Sambuc // MIPS32EL:#define _ABIO32 1
2799f4a2713aSLionel Sambuc // MIPS32EL-NOT:#define _LP64
2800f4a2713aSLionel Sambuc // MIPS32EL:#define _MIPSEL 1
2801*0a6a1f1dSLionel Sambuc // MIPS32EL:#define _MIPS_ARCH "mips32r2"
2802*0a6a1f1dSLionel Sambuc // MIPS32EL:#define _MIPS_ARCH_MIPS32R2 1
2803f4a2713aSLionel Sambuc // MIPS32EL:#define _MIPS_FPSET 16
2804f4a2713aSLionel Sambuc // MIPS32EL:#define _MIPS_SIM _ABIO32
2805f4a2713aSLionel Sambuc // MIPS32EL:#define _MIPS_SZINT 32
2806f4a2713aSLionel Sambuc // MIPS32EL:#define _MIPS_SZLONG 32
2807f4a2713aSLionel Sambuc // MIPS32EL:#define _MIPS_SZPTR 32
2808f4a2713aSLionel Sambuc // MIPS32EL:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
2809f4a2713aSLionel Sambuc // MIPS32EL:#define __CHAR16_TYPE__ unsigned short
2810f4a2713aSLionel Sambuc // MIPS32EL:#define __CHAR32_TYPE__ unsigned int
2811f4a2713aSLionel Sambuc // MIPS32EL:#define __CHAR_BIT__ 8
2812f4a2713aSLionel Sambuc // MIPS32EL:#define __CONSTANT_CFSTRINGS__ 1
2813f4a2713aSLionel Sambuc // MIPS32EL:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
2814f4a2713aSLionel Sambuc // MIPS32EL:#define __DBL_DIG__ 15
2815f4a2713aSLionel Sambuc // MIPS32EL:#define __DBL_EPSILON__ 2.2204460492503131e-16
2816f4a2713aSLionel Sambuc // MIPS32EL:#define __DBL_HAS_DENORM__ 1
2817f4a2713aSLionel Sambuc // MIPS32EL:#define __DBL_HAS_INFINITY__ 1
2818f4a2713aSLionel Sambuc // MIPS32EL:#define __DBL_HAS_QUIET_NAN__ 1
2819f4a2713aSLionel Sambuc // MIPS32EL:#define __DBL_MANT_DIG__ 53
2820f4a2713aSLionel Sambuc // MIPS32EL:#define __DBL_MAX_10_EXP__ 308
2821f4a2713aSLionel Sambuc // MIPS32EL:#define __DBL_MAX_EXP__ 1024
2822f4a2713aSLionel Sambuc // MIPS32EL:#define __DBL_MAX__ 1.7976931348623157e+308
2823f4a2713aSLionel Sambuc // MIPS32EL:#define __DBL_MIN_10_EXP__ (-307)
2824f4a2713aSLionel Sambuc // MIPS32EL:#define __DBL_MIN_EXP__ (-1021)
2825f4a2713aSLionel Sambuc // MIPS32EL:#define __DBL_MIN__ 2.2250738585072014e-308
2826f4a2713aSLionel Sambuc // MIPS32EL:#define __DECIMAL_DIG__ 17
2827f4a2713aSLionel Sambuc // MIPS32EL:#define __FLT_DENORM_MIN__ 1.40129846e-45F
2828f4a2713aSLionel Sambuc // MIPS32EL:#define __FLT_DIG__ 6
2829f4a2713aSLionel Sambuc // MIPS32EL:#define __FLT_EPSILON__ 1.19209290e-7F
2830f4a2713aSLionel Sambuc // MIPS32EL:#define __FLT_EVAL_METHOD__ 0
2831f4a2713aSLionel Sambuc // MIPS32EL:#define __FLT_HAS_DENORM__ 1
2832f4a2713aSLionel Sambuc // MIPS32EL:#define __FLT_HAS_INFINITY__ 1
2833f4a2713aSLionel Sambuc // MIPS32EL:#define __FLT_HAS_QUIET_NAN__ 1
2834f4a2713aSLionel Sambuc // MIPS32EL:#define __FLT_MANT_DIG__ 24
2835f4a2713aSLionel Sambuc // MIPS32EL:#define __FLT_MAX_10_EXP__ 38
2836f4a2713aSLionel Sambuc // MIPS32EL:#define __FLT_MAX_EXP__ 128
2837f4a2713aSLionel Sambuc // MIPS32EL:#define __FLT_MAX__ 3.40282347e+38F
2838f4a2713aSLionel Sambuc // MIPS32EL:#define __FLT_MIN_10_EXP__ (-37)
2839f4a2713aSLionel Sambuc // MIPS32EL:#define __FLT_MIN_EXP__ (-125)
2840f4a2713aSLionel Sambuc // MIPS32EL:#define __FLT_MIN__ 1.17549435e-38F
2841f4a2713aSLionel Sambuc // MIPS32EL:#define __FLT_RADIX__ 2
2842*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT16_C_SUFFIX__ {{$}}
2843*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT16_FMTd__ "hd"
2844*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT16_FMTi__ "hi"
2845*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT16_MAX__ 32767
2846f4a2713aSLionel Sambuc // MIPS32EL:#define __INT16_TYPE__ short
2847*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT32_C_SUFFIX__ {{$}}
2848*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT32_FMTd__ "d"
2849*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT32_FMTi__ "i"
2850*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT32_MAX__ 2147483647
2851f4a2713aSLionel Sambuc // MIPS32EL:#define __INT32_TYPE__ int
2852f4a2713aSLionel Sambuc // MIPS32EL:#define __INT64_C_SUFFIX__ LL
2853*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT64_FMTd__ "lld"
2854*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT64_FMTi__ "lli"
2855*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT64_MAX__ 9223372036854775807LL
2856f4a2713aSLionel Sambuc // MIPS32EL:#define __INT64_TYPE__ long long int
2857*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT8_C_SUFFIX__ {{$}}
2858*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT8_FMTd__ "hhd"
2859*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT8_FMTi__ "hhi"
2860*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT8_MAX__ 127
2861*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT8_TYPE__ signed char
2862*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INTMAX_C_SUFFIX__ LL
2863*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INTMAX_FMTd__ "lld"
2864*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INTMAX_FMTi__ "lli"
2865f4a2713aSLionel Sambuc // MIPS32EL:#define __INTMAX_MAX__ 9223372036854775807LL
2866f4a2713aSLionel Sambuc // MIPS32EL:#define __INTMAX_TYPE__ long long int
2867f4a2713aSLionel Sambuc // MIPS32EL:#define __INTMAX_WIDTH__ 64
2868*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INTPTR_FMTd__ "ld"
2869*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INTPTR_FMTi__ "li"
2870*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INTPTR_MAX__ 2147483647L
2871f4a2713aSLionel Sambuc // MIPS32EL:#define __INTPTR_TYPE__ long int
2872f4a2713aSLionel Sambuc // MIPS32EL:#define __INTPTR_WIDTH__ 32
2873*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT_FAST16_FMTd__ "hd"
2874*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT_FAST16_FMTi__ "hi"
2875*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT_FAST16_MAX__ 32767
2876*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT_FAST16_TYPE__ short
2877*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT_FAST32_FMTd__ "d"
2878*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT_FAST32_FMTi__ "i"
2879*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT_FAST32_MAX__ 2147483647
2880*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT_FAST32_TYPE__ int
2881*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT_FAST64_FMTd__ "lld"
2882*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT_FAST64_FMTi__ "lli"
2883*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT_FAST64_MAX__ 9223372036854775807LL
2884*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT_FAST64_TYPE__ long long int
2885*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT_FAST8_FMTd__ "hhd"
2886*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT_FAST8_FMTi__ "hhi"
2887*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT_FAST8_MAX__ 127
2888*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT_FAST8_TYPE__ signed char
2889*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT_LEAST16_FMTd__ "hd"
2890*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT_LEAST16_FMTi__ "hi"
2891*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT_LEAST16_MAX__ 32767
2892*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT_LEAST16_TYPE__ short
2893*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT_LEAST32_FMTd__ "d"
2894*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT_LEAST32_FMTi__ "i"
2895*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT_LEAST32_MAX__ 2147483647
2896*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT_LEAST32_TYPE__ int
2897*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT_LEAST64_FMTd__ "lld"
2898*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT_LEAST64_FMTi__ "lli"
2899*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT_LEAST64_MAX__ 9223372036854775807LL
2900*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT_LEAST64_TYPE__ long long int
2901*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT_LEAST8_FMTd__ "hhd"
2902*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT_LEAST8_FMTi__ "hhi"
2903*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT_LEAST8_MAX__ 127
2904*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __INT_LEAST8_TYPE__ signed char
2905f4a2713aSLionel Sambuc // MIPS32EL:#define __INT_MAX__ 2147483647
2906f4a2713aSLionel Sambuc // MIPS32EL:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
2907f4a2713aSLionel Sambuc // MIPS32EL:#define __LDBL_DIG__ 15
2908f4a2713aSLionel Sambuc // MIPS32EL:#define __LDBL_EPSILON__ 2.2204460492503131e-16L
2909f4a2713aSLionel Sambuc // MIPS32EL:#define __LDBL_HAS_DENORM__ 1
2910f4a2713aSLionel Sambuc // MIPS32EL:#define __LDBL_HAS_INFINITY__ 1
2911f4a2713aSLionel Sambuc // MIPS32EL:#define __LDBL_HAS_QUIET_NAN__ 1
2912f4a2713aSLionel Sambuc // MIPS32EL:#define __LDBL_MANT_DIG__ 53
2913f4a2713aSLionel Sambuc // MIPS32EL:#define __LDBL_MAX_10_EXP__ 308
2914f4a2713aSLionel Sambuc // MIPS32EL:#define __LDBL_MAX_EXP__ 1024
2915f4a2713aSLionel Sambuc // MIPS32EL:#define __LDBL_MAX__ 1.7976931348623157e+308L
2916f4a2713aSLionel Sambuc // MIPS32EL:#define __LDBL_MIN_10_EXP__ (-307)
2917f4a2713aSLionel Sambuc // MIPS32EL:#define __LDBL_MIN_EXP__ (-1021)
2918f4a2713aSLionel Sambuc // MIPS32EL:#define __LDBL_MIN__ 2.2250738585072014e-308L
2919*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __LITTLE_ENDIAN__ 1
2920f4a2713aSLionel Sambuc // MIPS32EL:#define __LONG_LONG_MAX__ 9223372036854775807LL
2921f4a2713aSLionel Sambuc // MIPS32EL:#define __LONG_MAX__ 2147483647L
2922f4a2713aSLionel Sambuc // MIPS32EL-NOT:#define __LP64__
2923f4a2713aSLionel Sambuc // MIPS32EL:#define __MIPSEL 1
2924f4a2713aSLionel Sambuc // MIPS32EL:#define __MIPSEL__ 1
2925f4a2713aSLionel Sambuc // MIPS32EL:#define __POINTER_WIDTH__ 32
2926f4a2713aSLionel Sambuc // MIPS32EL:#define __PRAGMA_REDEFINE_EXTNAME 1
2927f4a2713aSLionel Sambuc // MIPS32EL:#define __PTRDIFF_TYPE__ int
2928f4a2713aSLionel Sambuc // MIPS32EL:#define __PTRDIFF_WIDTH__ 32
2929f4a2713aSLionel Sambuc // MIPS32EL:#define __REGISTER_PREFIX__
2930f4a2713aSLionel Sambuc // MIPS32EL:#define __SCHAR_MAX__ 127
2931f4a2713aSLionel Sambuc // MIPS32EL:#define __SHRT_MAX__ 32767
2932*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __SIG_ATOMIC_MAX__ 2147483647
2933f4a2713aSLionel Sambuc // MIPS32EL:#define __SIG_ATOMIC_WIDTH__ 32
2934f4a2713aSLionel Sambuc // MIPS32EL:#define __SIZEOF_DOUBLE__ 8
2935f4a2713aSLionel Sambuc // MIPS32EL:#define __SIZEOF_FLOAT__ 4
2936f4a2713aSLionel Sambuc // MIPS32EL:#define __SIZEOF_INT__ 4
2937f4a2713aSLionel Sambuc // MIPS32EL:#define __SIZEOF_LONG_DOUBLE__ 8
2938f4a2713aSLionel Sambuc // MIPS32EL:#define __SIZEOF_LONG_LONG__ 8
2939f4a2713aSLionel Sambuc // MIPS32EL:#define __SIZEOF_LONG__ 4
2940f4a2713aSLionel Sambuc // MIPS32EL:#define __SIZEOF_POINTER__ 4
2941f4a2713aSLionel Sambuc // MIPS32EL:#define __SIZEOF_PTRDIFF_T__ 4
2942f4a2713aSLionel Sambuc // MIPS32EL:#define __SIZEOF_SHORT__ 2
2943f4a2713aSLionel Sambuc // MIPS32EL:#define __SIZEOF_SIZE_T__ 4
2944f4a2713aSLionel Sambuc // MIPS32EL:#define __SIZEOF_WCHAR_T__ 4
2945f4a2713aSLionel Sambuc // MIPS32EL:#define __SIZEOF_WINT_T__ 4
2946f4a2713aSLionel Sambuc // MIPS32EL:#define __SIZE_MAX__ 4294967295U
2947f4a2713aSLionel Sambuc // MIPS32EL:#define __SIZE_TYPE__ unsigned int
2948f4a2713aSLionel Sambuc // MIPS32EL:#define __SIZE_WIDTH__ 32
2949*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __UINT16_C_SUFFIX__ {{$}}
2950*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __UINT16_MAX__ 65535
2951*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __UINT16_TYPE__ unsigned short
2952*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __UINT32_C_SUFFIX__ U
2953*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __UINT32_MAX__ 4294967295U
2954*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __UINT32_TYPE__ unsigned int
2955*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __UINT64_C_SUFFIX__ ULL
2956*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __UINT64_MAX__ 18446744073709551615ULL
2957*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __UINT64_TYPE__ long long unsigned int
2958*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __UINT8_C_SUFFIX__ {{$}}
2959*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __UINT8_MAX__ 255
2960*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __UINT8_TYPE__ unsigned char
2961*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __UINTMAX_C_SUFFIX__ ULL
2962*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __UINTMAX_MAX__ 18446744073709551615ULL
2963f4a2713aSLionel Sambuc // MIPS32EL:#define __UINTMAX_TYPE__ long long unsigned int
2964*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __UINTMAX_WIDTH__ 64
2965*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __UINTPTR_MAX__ 4294967295U
2966*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __UINTPTR_TYPE__ long unsigned int
2967*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __UINTPTR_WIDTH__ 32
2968*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __UINT_FAST16_MAX__ 65535
2969*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __UINT_FAST16_TYPE__ unsigned short
2970*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __UINT_FAST32_MAX__ 4294967295U
2971*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __UINT_FAST32_TYPE__ unsigned int
2972*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
2973*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __UINT_FAST64_TYPE__ long long unsigned int
2974*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __UINT_FAST8_MAX__ 255
2975*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __UINT_FAST8_TYPE__ unsigned char
2976*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __UINT_LEAST16_MAX__ 65535
2977*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __UINT_LEAST16_TYPE__ unsigned short
2978*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __UINT_LEAST32_MAX__ 4294967295U
2979*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __UINT_LEAST32_TYPE__ unsigned int
2980*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
2981*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __UINT_LEAST64_TYPE__ long long unsigned int
2982*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __UINT_LEAST8_MAX__ 255
2983*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __UINT_LEAST8_TYPE__ unsigned char
2984f4a2713aSLionel Sambuc // MIPS32EL:#define __USER_LABEL_PREFIX__ _
2985f4a2713aSLionel Sambuc // MIPS32EL:#define __WCHAR_MAX__ 2147483647
2986f4a2713aSLionel Sambuc // MIPS32EL:#define __WCHAR_TYPE__ int
2987f4a2713aSLionel Sambuc // MIPS32EL:#define __WCHAR_WIDTH__ 32
2988f4a2713aSLionel Sambuc // MIPS32EL:#define __WINT_TYPE__ int
2989f4a2713aSLionel Sambuc // MIPS32EL:#define __WINT_WIDTH__ 32
2990f4a2713aSLionel Sambuc // MIPS32EL:#define __clang__ 1
2991f4a2713aSLionel Sambuc // MIPS32EL:#define __llvm__ 1
2992*0a6a1f1dSLionel Sambuc // MIPS32EL:#define __mips 32
2993f4a2713aSLionel Sambuc // MIPS32EL:#define __mips__ 1
2994f4a2713aSLionel Sambuc // MIPS32EL:#define __mips_fpr 32
2995f4a2713aSLionel Sambuc // MIPS32EL:#define __mips_hard_float 1
2996f4a2713aSLionel Sambuc // MIPS32EL:#define __mips_o32 1
2997f4a2713aSLionel Sambuc // MIPS32EL:#define _mips 1
2998f4a2713aSLionel Sambuc // MIPS32EL:#define mips 1
2999f4a2713aSLionel Sambuc //
3000*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding \
3001*0a6a1f1dSLionel Sambuc // RUN:            -triple=mips64-none-none -target-abi n32 < /dev/null \
3002*0a6a1f1dSLionel Sambuc // RUN:   | FileCheck -check-prefix MIPSN32BE %s
3003*0a6a1f1dSLionel Sambuc //
3004*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define MIPSEB 1
3005*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define _ABIN32 2
3006*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define _ILP32 1
3007*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define _MIPSEB 1
3008*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define _MIPS_ARCH "mips64r2"
3009*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define _MIPS_ARCH_MIPS64R2 1
3010*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define _MIPS_FPSET 32
3011*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define _MIPS_ISA _MIPS_ISA_MIPS64
3012*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define _MIPS_SIM _ABIN32
3013*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define _MIPS_SZINT 32
3014*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define _MIPS_SZLONG 32
3015*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define _MIPS_SZPTR 32
3016*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __ATOMIC_ACQUIRE 2
3017*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __ATOMIC_ACQ_REL 4
3018*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __ATOMIC_CONSUME 1
3019*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __ATOMIC_RELAXED 0
3020*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __ATOMIC_RELEASE 3
3021*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __ATOMIC_SEQ_CST 5
3022*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __BIG_ENDIAN__ 1
3023*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__
3024*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __CHAR16_TYPE__ unsigned short
3025*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __CHAR32_TYPE__ unsigned int
3026*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __CHAR_BIT__ 8
3027*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __CONSTANT_CFSTRINGS__ 1
3028*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __DBL_DENORM_MIN__ 4.9406564584124654e-324
3029*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __DBL_DIG__ 15
3030*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __DBL_EPSILON__ 2.2204460492503131e-16
3031*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __DBL_HAS_DENORM__ 1
3032*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __DBL_HAS_INFINITY__ 1
3033*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __DBL_HAS_QUIET_NAN__ 1
3034*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __DBL_MANT_DIG__ 53
3035*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __DBL_MAX_10_EXP__ 308
3036*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __DBL_MAX_EXP__ 1024
3037*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __DBL_MAX__ 1.7976931348623157e+308
3038*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __DBL_MIN_10_EXP__ (-307)
3039*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __DBL_MIN_EXP__ (-1021)
3040*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __DBL_MIN__ 2.2250738585072014e-308
3041*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __DECIMAL_DIG__ 36
3042*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __FINITE_MATH_ONLY__ 0
3043*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __FLT_DENORM_MIN__ 1.40129846e-45F
3044*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __FLT_DIG__ 6
3045*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __FLT_EPSILON__ 1.19209290e-7F
3046*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __FLT_EVAL_METHOD__ 0
3047*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __FLT_HAS_DENORM__ 1
3048*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __FLT_HAS_INFINITY__ 1
3049*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __FLT_HAS_QUIET_NAN__ 1
3050*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __FLT_MANT_DIG__ 24
3051*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __FLT_MAX_10_EXP__ 38
3052*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __FLT_MAX_EXP__ 128
3053*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __FLT_MAX__ 3.40282347e+38F
3054*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __FLT_MIN_10_EXP__ (-37)
3055*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __FLT_MIN_EXP__ (-125)
3056*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __FLT_MIN__ 1.17549435e-38F
3057*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __FLT_RADIX__ 2
3058*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __GCC_ATOMIC_BOOL_LOCK_FREE 2
3059*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2
3060*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2
3061*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __GCC_ATOMIC_CHAR_LOCK_FREE 2
3062*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __GCC_ATOMIC_INT_LOCK_FREE 2
3063*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __GCC_ATOMIC_LLONG_LOCK_FREE 2
3064*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __GCC_ATOMIC_LONG_LOCK_FREE 2
3065*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __GCC_ATOMIC_POINTER_LOCK_FREE 2
3066*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __GCC_ATOMIC_SHORT_LOCK_FREE 2
3067*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1
3068*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2
3069*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __GNUC_MINOR__ 2
3070*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __GNUC_PATCHLEVEL__ 1
3071*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __GNUC_STDC_INLINE__ 1
3072*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __GNUC__ 4
3073*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __GXX_ABI_VERSION 1002
3074*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __GXX_RTTI 1
3075*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __ILP32__ 1
3076*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT16_C_SUFFIX__
3077*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT16_FMTd__ "hd"
3078*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT16_FMTi__ "hi"
3079*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT16_MAX__ 32767
3080*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT16_TYPE__ short
3081*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT32_C_SUFFIX__
3082*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT32_FMTd__ "d"
3083*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT32_FMTi__ "i"
3084*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT32_MAX__ 2147483647
3085*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT32_TYPE__ int
3086*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT64_C_SUFFIX__ LL
3087*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT64_FMTd__ "lld"
3088*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT64_FMTi__ "lli"
3089*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT64_MAX__ 9223372036854775807LL
3090*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT64_TYPE__ long long int
3091*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT8_C_SUFFIX__
3092*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT8_FMTd__ "hhd"
3093*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT8_FMTi__ "hhi"
3094*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT8_MAX__ 127
3095*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT8_TYPE__ signed char
3096*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INTMAX_C_SUFFIX__ LL
3097*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INTMAX_FMTd__ "lld"
3098*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INTMAX_FMTi__ "lli"
3099*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INTMAX_MAX__ 9223372036854775807LL
3100*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INTMAX_TYPE__ long long int
3101*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INTMAX_WIDTH__ 64
3102*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INTPTR_FMTd__ "ld"
3103*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INTPTR_FMTi__ "li"
3104*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INTPTR_MAX__ 2147483647L
3105*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INTPTR_TYPE__ long int
3106*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INTPTR_WIDTH__ 32
3107*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT_FAST16_FMTd__ "hd"
3108*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT_FAST16_FMTi__ "hi"
3109*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT_FAST16_MAX__ 32767
3110*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT_FAST16_TYPE__ short
3111*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT_FAST32_FMTd__ "d"
3112*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT_FAST32_FMTi__ "i"
3113*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT_FAST32_MAX__ 2147483647
3114*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT_FAST32_TYPE__ int
3115*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT_FAST64_FMTd__ "lld"
3116*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT_FAST64_FMTi__ "lli"
3117*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT_FAST64_MAX__ 9223372036854775807LL
3118*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT_FAST64_TYPE__ long long int
3119*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT_FAST8_FMTd__ "hhd"
3120*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT_FAST8_FMTi__ "hhi"
3121*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT_FAST8_MAX__ 127
3122*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT_FAST8_TYPE__ signed char
3123*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT_LEAST16_FMTd__ "hd"
3124*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT_LEAST16_FMTi__ "hi"
3125*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT_LEAST16_MAX__ 32767
3126*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT_LEAST16_TYPE__ short
3127*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT_LEAST32_FMTd__ "d"
3128*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT_LEAST32_FMTi__ "i"
3129*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT_LEAST32_MAX__ 2147483647
3130*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT_LEAST32_TYPE__ int
3131*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT_LEAST64_FMTd__ "lld"
3132*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT_LEAST64_FMTi__ "lli"
3133*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT_LEAST64_MAX__ 9223372036854775807LL
3134*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT_LEAST64_TYPE__ long long int
3135*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT_LEAST8_FMTd__ "hhd"
3136*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT_LEAST8_FMTi__ "hhi"
3137*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT_LEAST8_MAX__ 127
3138*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT_LEAST8_TYPE__ signed char
3139*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __INT_MAX__ 2147483647
3140*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __LDBL_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966L
3141*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __LDBL_DIG__ 33
3142*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __LDBL_EPSILON__ 1.92592994438723585305597794258492732e-34L
3143*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __LDBL_HAS_DENORM__ 1
3144*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __LDBL_HAS_INFINITY__ 1
3145*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __LDBL_HAS_QUIET_NAN__ 1
3146*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __LDBL_MANT_DIG__ 113
3147*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __LDBL_MAX_10_EXP__ 4932
3148*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __LDBL_MAX_EXP__ 16384
3149*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __LDBL_MAX__ 1.18973149535723176508575932662800702e+4932L
3150*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __LDBL_MIN_10_EXP__ (-4931)
3151*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __LDBL_MIN_EXP__ (-16381)
3152*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L
3153*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __LONG_LONG_MAX__ 9223372036854775807LL
3154*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __LONG_MAX__ 2147483647L
3155*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __MIPSEB 1
3156*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __MIPSEB__ 1
3157*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __NO_INLINE__ 1
3158*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __ORDER_BIG_ENDIAN__ 4321
3159*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __ORDER_LITTLE_ENDIAN__ 1234
3160*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __ORDER_PDP_ENDIAN__ 3412
3161*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __POINTER_WIDTH__ 32
3162*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __PRAGMA_REDEFINE_EXTNAME 1
3163*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __PTRDIFF_FMTd__ "d"
3164*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __PTRDIFF_FMTi__ "i"
3165*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __PTRDIFF_MAX__ 2147483647
3166*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __PTRDIFF_TYPE__ int
3167*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __PTRDIFF_WIDTH__ 32
3168*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __REGISTER_PREFIX__
3169*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __SCHAR_MAX__ 127
3170*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __SHRT_MAX__ 32767
3171*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __SIG_ATOMIC_MAX__ 2147483647
3172*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __SIG_ATOMIC_WIDTH__ 32
3173*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __SIZEOF_DOUBLE__ 8
3174*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __SIZEOF_FLOAT__ 4
3175*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __SIZEOF_INT__ 4
3176*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __SIZEOF_LONG_DOUBLE__ 16
3177*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __SIZEOF_LONG_LONG__ 8
3178*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __SIZEOF_LONG__ 4
3179*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __SIZEOF_POINTER__ 4
3180*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __SIZEOF_PTRDIFF_T__ 4
3181*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __SIZEOF_SHORT__ 2
3182*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __SIZEOF_SIZE_T__ 4
3183*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __SIZEOF_WCHAR_T__ 4
3184*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __SIZEOF_WINT_T__ 4
3185*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __SIZE_FMTX__ "X"
3186*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __SIZE_FMTo__ "o"
3187*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __SIZE_FMTu__ "u"
3188*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __SIZE_FMTx__ "x"
3189*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __SIZE_MAX__ 4294967295U
3190*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __SIZE_TYPE__ unsigned int
3191*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __SIZE_WIDTH__ 32
3192*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __STDC_HOSTED__ 0
3193*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __STDC_UTF_16__ 1
3194*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __STDC_UTF_32__ 1
3195*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __STDC_VERSION__ 201112L
3196*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __STDC__ 1
3197*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT16_C_SUFFIX__
3198*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT16_FMTX__ "hX"
3199*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT16_FMTo__ "ho"
3200*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT16_FMTu__ "hu"
3201*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT16_FMTx__ "hx"
3202*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT16_MAX__ 65535
3203*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT16_TYPE__ unsigned short
3204*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT32_C_SUFFIX__ U
3205*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT32_FMTX__ "X"
3206*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT32_FMTo__ "o"
3207*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT32_FMTu__ "u"
3208*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT32_FMTx__ "x"
3209*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT32_MAX__ 4294967295U
3210*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT32_TYPE__ unsigned int
3211*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT64_C_SUFFIX__ ULL
3212*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT64_FMTX__ "llX"
3213*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT64_FMTo__ "llo"
3214*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT64_FMTu__ "llu"
3215*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT64_FMTx__ "llx"
3216*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT64_MAX__ 18446744073709551615ULL
3217*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT64_TYPE__ long long unsigned int
3218*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT8_C_SUFFIX__
3219*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT8_FMTX__ "hhX"
3220*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT8_FMTo__ "hho"
3221*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT8_FMTu__ "hhu"
3222*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT8_FMTx__ "hhx"
3223*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT8_MAX__ 255
3224*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT8_TYPE__ unsigned char
3225*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINTMAX_C_SUFFIX__ ULL
3226*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINTMAX_FMTX__ "llX"
3227*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINTMAX_FMTo__ "llo"
3228*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINTMAX_FMTu__ "llu"
3229*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINTMAX_FMTx__ "llx"
3230*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINTMAX_MAX__ 18446744073709551615ULL
3231*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINTMAX_TYPE__ long long unsigned int
3232*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINTMAX_WIDTH__ 64
3233*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINTPTR_FMTX__ "lX"
3234*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINTPTR_FMTo__ "lo"
3235*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINTPTR_FMTu__ "lu"
3236*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINTPTR_FMTx__ "lx"
3237*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINTPTR_MAX__ 4294967295UL
3238*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINTPTR_TYPE__ long unsigned int
3239*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINTPTR_WIDTH__ 32
3240*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_FAST16_FMTX__ "hX"
3241*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_FAST16_FMTo__ "ho"
3242*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_FAST16_FMTu__ "hu"
3243*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_FAST16_FMTx__ "hx"
3244*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_FAST16_MAX__ 65535
3245*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_FAST16_TYPE__ unsigned short
3246*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_FAST32_FMTX__ "X"
3247*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_FAST32_FMTo__ "o"
3248*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_FAST32_FMTu__ "u"
3249*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_FAST32_FMTx__ "x"
3250*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_FAST32_MAX__ 4294967295U
3251*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_FAST32_TYPE__ unsigned int
3252*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_FAST64_FMTX__ "llX"
3253*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_FAST64_FMTo__ "llo"
3254*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_FAST64_FMTu__ "llu"
3255*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_FAST64_FMTx__ "llx"
3256*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_FAST64_MAX__ 18446744073709551615ULL
3257*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_FAST64_TYPE__ long long unsigned int
3258*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_FAST8_FMTX__ "hhX"
3259*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_FAST8_FMTo__ "hho"
3260*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_FAST8_FMTu__ "hhu"
3261*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_FAST8_FMTx__ "hhx"
3262*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_FAST8_MAX__ 255
3263*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_FAST8_TYPE__ unsigned char
3264*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_LEAST16_FMTX__ "hX"
3265*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_LEAST16_FMTo__ "ho"
3266*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_LEAST16_FMTu__ "hu"
3267*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_LEAST16_FMTx__ "hx"
3268*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_LEAST16_MAX__ 65535
3269*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_LEAST16_TYPE__ unsigned short
3270*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_LEAST32_FMTX__ "X"
3271*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_LEAST32_FMTo__ "o"
3272*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_LEAST32_FMTu__ "u"
3273*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_LEAST32_FMTx__ "x"
3274*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_LEAST32_MAX__ 4294967295U
3275*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_LEAST32_TYPE__ unsigned int
3276*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_LEAST64_FMTX__ "llX"
3277*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_LEAST64_FMTo__ "llo"
3278*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_LEAST64_FMTu__ "llu"
3279*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_LEAST64_FMTx__ "llx"
3280*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_LEAST64_MAX__ 18446744073709551615ULL
3281*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_LEAST64_TYPE__ long long unsigned int
3282*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_LEAST8_FMTX__ "hhX"
3283*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_LEAST8_FMTo__ "hho"
3284*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_LEAST8_FMTu__ "hhu"
3285*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_LEAST8_FMTx__ "hhx"
3286*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_LEAST8_MAX__ 255
3287*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __UINT_LEAST8_TYPE__ unsigned char
3288*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __USER_LABEL_PREFIX__ _
3289*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __WCHAR_MAX__ 2147483647
3290*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __WCHAR_TYPE__ int
3291*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __WCHAR_WIDTH__ 32
3292*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __WINT_TYPE__ int
3293*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __WINT_WIDTH__ 32
3294*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __clang__ 1
3295*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __llvm__ 1
3296*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __mips 64
3297*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __mips64 1
3298*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __mips64__ 1
3299*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __mips__ 1
3300*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __mips_fpr 64
3301*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __mips_hard_float 1
3302*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __mips_isa_rev 2
3303*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define __mips_n32 1
3304*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define _mips 1
3305*0a6a1f1dSLionel Sambuc // MIPSN32BE: #define mips 1
3306*0a6a1f1dSLionel Sambuc //
3307*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding \
3308*0a6a1f1dSLionel Sambuc // RUN:            -triple=mips64el-none-none -target-abi n32 < /dev/null \
3309*0a6a1f1dSLionel Sambuc // RUN:   | FileCheck -check-prefix MIPSN32EL %s
3310*0a6a1f1dSLionel Sambuc //
3311*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define MIPSEL 1
3312*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define _ABIN32 2
3313*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define _ILP32 1
3314*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define _MIPSEL 1
3315*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define _MIPS_ARCH "mips64r2"
3316*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define _MIPS_ARCH_MIPS64R2 1
3317*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define _MIPS_FPSET 32
3318*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define _MIPS_ISA _MIPS_ISA_MIPS64
3319*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define _MIPS_SIM _ABIN32
3320*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define _MIPS_SZINT 32
3321*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define _MIPS_SZLONG 32
3322*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define _MIPS_SZPTR 32
3323*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __ATOMIC_ACQUIRE 2
3324*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __ATOMIC_ACQ_REL 4
3325*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __ATOMIC_CONSUME 1
3326*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __ATOMIC_RELAXED 0
3327*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __ATOMIC_RELEASE 3
3328*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __ATOMIC_SEQ_CST 5
3329*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
3330*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __CHAR16_TYPE__ unsigned short
3331*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __CHAR32_TYPE__ unsigned int
3332*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __CHAR_BIT__ 8
3333*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __CONSTANT_CFSTRINGS__ 1
3334*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __DBL_DENORM_MIN__ 4.9406564584124654e-324
3335*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __DBL_DIG__ 15
3336*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __DBL_EPSILON__ 2.2204460492503131e-16
3337*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __DBL_HAS_DENORM__ 1
3338*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __DBL_HAS_INFINITY__ 1
3339*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __DBL_HAS_QUIET_NAN__ 1
3340*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __DBL_MANT_DIG__ 53
3341*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __DBL_MAX_10_EXP__ 308
3342*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __DBL_MAX_EXP__ 1024
3343*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __DBL_MAX__ 1.7976931348623157e+308
3344*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __DBL_MIN_10_EXP__ (-307)
3345*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __DBL_MIN_EXP__ (-1021)
3346*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __DBL_MIN__ 2.2250738585072014e-308
3347*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __DECIMAL_DIG__ 36
3348*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __FINITE_MATH_ONLY__ 0
3349*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __FLT_DENORM_MIN__ 1.40129846e-45F
3350*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __FLT_DIG__ 6
3351*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __FLT_EPSILON__ 1.19209290e-7F
3352*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __FLT_EVAL_METHOD__ 0
3353*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __FLT_HAS_DENORM__ 1
3354*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __FLT_HAS_INFINITY__ 1
3355*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __FLT_HAS_QUIET_NAN__ 1
3356*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __FLT_MANT_DIG__ 24
3357*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __FLT_MAX_10_EXP__ 38
3358*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __FLT_MAX_EXP__ 128
3359*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __FLT_MAX__ 3.40282347e+38F
3360*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __FLT_MIN_10_EXP__ (-37)
3361*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __FLT_MIN_EXP__ (-125)
3362*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __FLT_MIN__ 1.17549435e-38F
3363*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __FLT_RADIX__ 2
3364*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __GCC_ATOMIC_BOOL_LOCK_FREE 2
3365*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2
3366*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2
3367*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __GCC_ATOMIC_CHAR_LOCK_FREE 2
3368*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __GCC_ATOMIC_INT_LOCK_FREE 2
3369*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __GCC_ATOMIC_LLONG_LOCK_FREE 2
3370*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __GCC_ATOMIC_LONG_LOCK_FREE 2
3371*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __GCC_ATOMIC_POINTER_LOCK_FREE 2
3372*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __GCC_ATOMIC_SHORT_LOCK_FREE 2
3373*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1
3374*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2
3375*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __GNUC_MINOR__ 2
3376*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __GNUC_PATCHLEVEL__ 1
3377*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __GNUC_STDC_INLINE__ 1
3378*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __GNUC__ 4
3379*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __GXX_ABI_VERSION 1002
3380*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __GXX_RTTI 1
3381*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __ILP32__ 1
3382*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT16_C_SUFFIX__
3383*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT16_FMTd__ "hd"
3384*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT16_FMTi__ "hi"
3385*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT16_MAX__ 32767
3386*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT16_TYPE__ short
3387*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT32_C_SUFFIX__
3388*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT32_FMTd__ "d"
3389*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT32_FMTi__ "i"
3390*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT32_MAX__ 2147483647
3391*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT32_TYPE__ int
3392*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT64_C_SUFFIX__ LL
3393*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT64_FMTd__ "lld"
3394*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT64_FMTi__ "lli"
3395*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT64_MAX__ 9223372036854775807LL
3396*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT64_TYPE__ long long int
3397*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT8_C_SUFFIX__
3398*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT8_FMTd__ "hhd"
3399*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT8_FMTi__ "hhi"
3400*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT8_MAX__ 127
3401*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT8_TYPE__ signed char
3402*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INTMAX_C_SUFFIX__ LL
3403*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INTMAX_FMTd__ "lld"
3404*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INTMAX_FMTi__ "lli"
3405*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INTMAX_MAX__ 9223372036854775807LL
3406*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INTMAX_TYPE__ long long int
3407*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INTMAX_WIDTH__ 64
3408*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INTPTR_FMTd__ "ld"
3409*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INTPTR_FMTi__ "li"
3410*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INTPTR_MAX__ 2147483647L
3411*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INTPTR_TYPE__ long int
3412*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INTPTR_WIDTH__ 32
3413*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT_FAST16_FMTd__ "hd"
3414*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT_FAST16_FMTi__ "hi"
3415*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT_FAST16_MAX__ 32767
3416*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT_FAST16_TYPE__ short
3417*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT_FAST32_FMTd__ "d"
3418*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT_FAST32_FMTi__ "i"
3419*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT_FAST32_MAX__ 2147483647
3420*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT_FAST32_TYPE__ int
3421*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT_FAST64_FMTd__ "lld"
3422*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT_FAST64_FMTi__ "lli"
3423*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT_FAST64_MAX__ 9223372036854775807LL
3424*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT_FAST64_TYPE__ long long int
3425*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT_FAST8_FMTd__ "hhd"
3426*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT_FAST8_FMTi__ "hhi"
3427*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT_FAST8_MAX__ 127
3428*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT_FAST8_TYPE__ signed char
3429*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT_LEAST16_FMTd__ "hd"
3430*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT_LEAST16_FMTi__ "hi"
3431*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT_LEAST16_MAX__ 32767
3432*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT_LEAST16_TYPE__ short
3433*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT_LEAST32_FMTd__ "d"
3434*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT_LEAST32_FMTi__ "i"
3435*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT_LEAST32_MAX__ 2147483647
3436*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT_LEAST32_TYPE__ int
3437*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT_LEAST64_FMTd__ "lld"
3438*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT_LEAST64_FMTi__ "lli"
3439*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT_LEAST64_MAX__ 9223372036854775807LL
3440*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT_LEAST64_TYPE__ long long int
3441*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT_LEAST8_FMTd__ "hhd"
3442*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT_LEAST8_FMTi__ "hhi"
3443*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT_LEAST8_MAX__ 127
3444*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT_LEAST8_TYPE__ signed char
3445*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __INT_MAX__ 2147483647
3446*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __LDBL_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966L
3447*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __LDBL_DIG__ 33
3448*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __LDBL_EPSILON__ 1.92592994438723585305597794258492732e-34L
3449*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __LDBL_HAS_DENORM__ 1
3450*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __LDBL_HAS_INFINITY__ 1
3451*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __LDBL_HAS_QUIET_NAN__ 1
3452*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __LDBL_MANT_DIG__ 113
3453*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __LDBL_MAX_10_EXP__ 4932
3454*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __LDBL_MAX_EXP__ 16384
3455*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __LDBL_MAX__ 1.18973149535723176508575932662800702e+4932L
3456*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __LDBL_MIN_10_EXP__ (-4931)
3457*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __LDBL_MIN_EXP__ (-16381)
3458*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L
3459*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __LITTLE_ENDIAN__ 1
3460*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __LONG_LONG_MAX__ 9223372036854775807LL
3461*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __LONG_MAX__ 2147483647L
3462*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __MIPSEL 1
3463*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __MIPSEL__ 1
3464*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __NO_INLINE__ 1
3465*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __ORDER_BIG_ENDIAN__ 4321
3466*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __ORDER_LITTLE_ENDIAN__ 1234
3467*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __ORDER_PDP_ENDIAN__ 3412
3468*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __POINTER_WIDTH__ 32
3469*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __PRAGMA_REDEFINE_EXTNAME 1
3470*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __PTRDIFF_FMTd__ "d"
3471*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __PTRDIFF_FMTi__ "i"
3472*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __PTRDIFF_MAX__ 2147483647
3473*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __PTRDIFF_TYPE__ int
3474*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __PTRDIFF_WIDTH__ 32
3475*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __REGISTER_PREFIX__
3476*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __SCHAR_MAX__ 127
3477*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __SHRT_MAX__ 32767
3478*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __SIG_ATOMIC_MAX__ 2147483647
3479*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __SIG_ATOMIC_WIDTH__ 32
3480*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __SIZEOF_DOUBLE__ 8
3481*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __SIZEOF_FLOAT__ 4
3482*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __SIZEOF_INT__ 4
3483*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __SIZEOF_LONG_DOUBLE__ 16
3484*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __SIZEOF_LONG_LONG__ 8
3485*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __SIZEOF_LONG__ 4
3486*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __SIZEOF_POINTER__ 4
3487*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __SIZEOF_PTRDIFF_T__ 4
3488*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __SIZEOF_SHORT__ 2
3489*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __SIZEOF_SIZE_T__ 4
3490*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __SIZEOF_WCHAR_T__ 4
3491*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __SIZEOF_WINT_T__ 4
3492*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __SIZE_FMTX__ "X"
3493*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __SIZE_FMTo__ "o"
3494*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __SIZE_FMTu__ "u"
3495*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __SIZE_FMTx__ "x"
3496*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __SIZE_MAX__ 4294967295U
3497*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __SIZE_TYPE__ unsigned int
3498*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __SIZE_WIDTH__ 32
3499*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __STDC_HOSTED__ 0
3500*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __STDC_UTF_16__ 1
3501*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __STDC_UTF_32__ 1
3502*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __STDC_VERSION__ 201112L
3503*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __STDC__ 1
3504*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT16_C_SUFFIX__
3505*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT16_FMTX__ "hX"
3506*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT16_FMTo__ "ho"
3507*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT16_FMTu__ "hu"
3508*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT16_FMTx__ "hx"
3509*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT16_MAX__ 65535
3510*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT16_TYPE__ unsigned short
3511*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT32_C_SUFFIX__ U
3512*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT32_FMTX__ "X"
3513*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT32_FMTo__ "o"
3514*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT32_FMTu__ "u"
3515*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT32_FMTx__ "x"
3516*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT32_MAX__ 4294967295U
3517*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT32_TYPE__ unsigned int
3518*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT64_C_SUFFIX__ ULL
3519*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT64_FMTX__ "llX"
3520*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT64_FMTo__ "llo"
3521*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT64_FMTu__ "llu"
3522*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT64_FMTx__ "llx"
3523*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT64_MAX__ 18446744073709551615ULL
3524*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT64_TYPE__ long long unsigned int
3525*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT8_C_SUFFIX__
3526*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT8_FMTX__ "hhX"
3527*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT8_FMTo__ "hho"
3528*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT8_FMTu__ "hhu"
3529*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT8_FMTx__ "hhx"
3530*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT8_MAX__ 255
3531*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT8_TYPE__ unsigned char
3532*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINTMAX_C_SUFFIX__ ULL
3533*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINTMAX_FMTX__ "llX"
3534*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINTMAX_FMTo__ "llo"
3535*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINTMAX_FMTu__ "llu"
3536*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINTMAX_FMTx__ "llx"
3537*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINTMAX_MAX__ 18446744073709551615ULL
3538*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINTMAX_TYPE__ long long unsigned int
3539*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINTMAX_WIDTH__ 64
3540*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINTPTR_FMTX__ "lX"
3541*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINTPTR_FMTo__ "lo"
3542*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINTPTR_FMTu__ "lu"
3543*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINTPTR_FMTx__ "lx"
3544*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINTPTR_MAX__ 4294967295UL
3545*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINTPTR_TYPE__ long unsigned int
3546*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINTPTR_WIDTH__ 32
3547*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_FAST16_FMTX__ "hX"
3548*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_FAST16_FMTo__ "ho"
3549*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_FAST16_FMTu__ "hu"
3550*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_FAST16_FMTx__ "hx"
3551*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_FAST16_MAX__ 65535
3552*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_FAST16_TYPE__ unsigned short
3553*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_FAST32_FMTX__ "X"
3554*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_FAST32_FMTo__ "o"
3555*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_FAST32_FMTu__ "u"
3556*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_FAST32_FMTx__ "x"
3557*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_FAST32_MAX__ 4294967295U
3558*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_FAST32_TYPE__ unsigned int
3559*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_FAST64_FMTX__ "llX"
3560*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_FAST64_FMTo__ "llo"
3561*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_FAST64_FMTu__ "llu"
3562*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_FAST64_FMTx__ "llx"
3563*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_FAST64_MAX__ 18446744073709551615ULL
3564*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_FAST64_TYPE__ long long unsigned int
3565*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_FAST8_FMTX__ "hhX"
3566*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_FAST8_FMTo__ "hho"
3567*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_FAST8_FMTu__ "hhu"
3568*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_FAST8_FMTx__ "hhx"
3569*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_FAST8_MAX__ 255
3570*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_FAST8_TYPE__ unsigned char
3571*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_LEAST16_FMTX__ "hX"
3572*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_LEAST16_FMTo__ "ho"
3573*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_LEAST16_FMTu__ "hu"
3574*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_LEAST16_FMTx__ "hx"
3575*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_LEAST16_MAX__ 65535
3576*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_LEAST16_TYPE__ unsigned short
3577*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_LEAST32_FMTX__ "X"
3578*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_LEAST32_FMTo__ "o"
3579*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_LEAST32_FMTu__ "u"
3580*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_LEAST32_FMTx__ "x"
3581*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_LEAST32_MAX__ 4294967295U
3582*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_LEAST32_TYPE__ unsigned int
3583*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_LEAST64_FMTX__ "llX"
3584*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_LEAST64_FMTo__ "llo"
3585*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_LEAST64_FMTu__ "llu"
3586*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_LEAST64_FMTx__ "llx"
3587*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_LEAST64_MAX__ 18446744073709551615ULL
3588*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_LEAST64_TYPE__ long long unsigned int
3589*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_LEAST8_FMTX__ "hhX"
3590*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_LEAST8_FMTo__ "hho"
3591*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_LEAST8_FMTu__ "hhu"
3592*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_LEAST8_FMTx__ "hhx"
3593*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_LEAST8_MAX__ 255
3594*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __UINT_LEAST8_TYPE__ unsigned char
3595*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __USER_LABEL_PREFIX__ _
3596*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __WCHAR_MAX__ 2147483647
3597*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __WCHAR_TYPE__ int
3598*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __WCHAR_WIDTH__ 32
3599*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __WINT_TYPE__ int
3600*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __WINT_WIDTH__ 32
3601*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __clang__ 1
3602*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __llvm__ 1
3603*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __mips 64
3604*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __mips64 1
3605*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __mips64__ 1
3606*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __mips__ 1
3607*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __mips_fpr 64
3608*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __mips_hard_float 1
3609*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __mips_isa_rev 2
3610*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define __mips_n32 1
3611*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define _mips 1
3612*0a6a1f1dSLionel Sambuc // MIPSN32EL: #define mips 1
3613*0a6a1f1dSLionel Sambuc //
3614f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mips64-none-none < /dev/null | FileCheck -check-prefix MIPS64BE %s
3615f4a2713aSLionel Sambuc //
3616f4a2713aSLionel Sambuc // MIPS64BE:#define MIPSEB 1
3617f4a2713aSLionel Sambuc // MIPS64BE:#define _ABI64 3
3618f4a2713aSLionel Sambuc // MIPS64BE:#define _LP64 1
3619f4a2713aSLionel Sambuc // MIPS64BE:#define _MIPSEB 1
3620*0a6a1f1dSLionel Sambuc // MIPS64BE:#define _MIPS_ARCH "mips64r2"
3621*0a6a1f1dSLionel Sambuc // MIPS64BE:#define _MIPS_ARCH_MIPS64R2 1
3622f4a2713aSLionel Sambuc // MIPS64BE:#define _MIPS_FPSET 32
3623f4a2713aSLionel Sambuc // MIPS64BE:#define _MIPS_SIM _ABI64
3624f4a2713aSLionel Sambuc // MIPS64BE:#define _MIPS_SZINT 32
3625f4a2713aSLionel Sambuc // MIPS64BE:#define _MIPS_SZLONG 64
3626f4a2713aSLionel Sambuc // MIPS64BE:#define _MIPS_SZPTR 64
3627*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __BIG_ENDIAN__ 1
3628f4a2713aSLionel Sambuc // MIPS64BE:#define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__
3629f4a2713aSLionel Sambuc // MIPS64BE:#define __CHAR16_TYPE__ unsigned short
3630f4a2713aSLionel Sambuc // MIPS64BE:#define __CHAR32_TYPE__ unsigned int
3631f4a2713aSLionel Sambuc // MIPS64BE:#define __CHAR_BIT__ 8
3632f4a2713aSLionel Sambuc // MIPS64BE:#define __CONSTANT_CFSTRINGS__ 1
3633f4a2713aSLionel Sambuc // MIPS64BE:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
3634f4a2713aSLionel Sambuc // MIPS64BE:#define __DBL_DIG__ 15
3635f4a2713aSLionel Sambuc // MIPS64BE:#define __DBL_EPSILON__ 2.2204460492503131e-16
3636f4a2713aSLionel Sambuc // MIPS64BE:#define __DBL_HAS_DENORM__ 1
3637f4a2713aSLionel Sambuc // MIPS64BE:#define __DBL_HAS_INFINITY__ 1
3638f4a2713aSLionel Sambuc // MIPS64BE:#define __DBL_HAS_QUIET_NAN__ 1
3639f4a2713aSLionel Sambuc // MIPS64BE:#define __DBL_MANT_DIG__ 53
3640f4a2713aSLionel Sambuc // MIPS64BE:#define __DBL_MAX_10_EXP__ 308
3641f4a2713aSLionel Sambuc // MIPS64BE:#define __DBL_MAX_EXP__ 1024
3642f4a2713aSLionel Sambuc // MIPS64BE:#define __DBL_MAX__ 1.7976931348623157e+308
3643f4a2713aSLionel Sambuc // MIPS64BE:#define __DBL_MIN_10_EXP__ (-307)
3644f4a2713aSLionel Sambuc // MIPS64BE:#define __DBL_MIN_EXP__ (-1021)
3645f4a2713aSLionel Sambuc // MIPS64BE:#define __DBL_MIN__ 2.2250738585072014e-308
3646f4a2713aSLionel Sambuc // MIPS64BE:#define __DECIMAL_DIG__ 36
3647f4a2713aSLionel Sambuc // MIPS64BE:#define __FLT_DENORM_MIN__ 1.40129846e-45F
3648f4a2713aSLionel Sambuc // MIPS64BE:#define __FLT_DIG__ 6
3649f4a2713aSLionel Sambuc // MIPS64BE:#define __FLT_EPSILON__ 1.19209290e-7F
3650f4a2713aSLionel Sambuc // MIPS64BE:#define __FLT_EVAL_METHOD__ 0
3651f4a2713aSLionel Sambuc // MIPS64BE:#define __FLT_HAS_DENORM__ 1
3652f4a2713aSLionel Sambuc // MIPS64BE:#define __FLT_HAS_INFINITY__ 1
3653f4a2713aSLionel Sambuc // MIPS64BE:#define __FLT_HAS_QUIET_NAN__ 1
3654f4a2713aSLionel Sambuc // MIPS64BE:#define __FLT_MANT_DIG__ 24
3655f4a2713aSLionel Sambuc // MIPS64BE:#define __FLT_MAX_10_EXP__ 38
3656f4a2713aSLionel Sambuc // MIPS64BE:#define __FLT_MAX_EXP__ 128
3657f4a2713aSLionel Sambuc // MIPS64BE:#define __FLT_MAX__ 3.40282347e+38F
3658f4a2713aSLionel Sambuc // MIPS64BE:#define __FLT_MIN_10_EXP__ (-37)
3659f4a2713aSLionel Sambuc // MIPS64BE:#define __FLT_MIN_EXP__ (-125)
3660f4a2713aSLionel Sambuc // MIPS64BE:#define __FLT_MIN__ 1.17549435e-38F
3661f4a2713aSLionel Sambuc // MIPS64BE:#define __FLT_RADIX__ 2
3662*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT16_C_SUFFIX__ {{$}}
3663*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT16_FMTd__ "hd"
3664*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT16_FMTi__ "hi"
3665*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT16_MAX__ 32767
3666f4a2713aSLionel Sambuc // MIPS64BE:#define __INT16_TYPE__ short
3667*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT32_C_SUFFIX__ {{$}}
3668*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT32_FMTd__ "d"
3669*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT32_FMTi__ "i"
3670*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT32_MAX__ 2147483647
3671f4a2713aSLionel Sambuc // MIPS64BE:#define __INT32_TYPE__ int
3672*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT64_C_SUFFIX__ L
3673*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT64_FMTd__ "ld"
3674*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT64_FMTi__ "li"
3675*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT64_MAX__ 9223372036854775807L
3676*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT64_TYPE__ long int
3677*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT8_C_SUFFIX__ {{$}}
3678*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT8_FMTd__ "hhd"
3679*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT8_FMTi__ "hhi"
3680*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT8_MAX__ 127
3681*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT8_TYPE__ signed char
3682*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INTMAX_C_SUFFIX__ L
3683*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INTMAX_FMTd__ "ld"
3684*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INTMAX_FMTi__ "li"
3685*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INTMAX_MAX__ 9223372036854775807L
3686*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INTMAX_TYPE__ long int
3687f4a2713aSLionel Sambuc // MIPS64BE:#define __INTMAX_WIDTH__ 64
3688*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INTPTR_FMTd__ "ld"
3689*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INTPTR_FMTi__ "li"
3690*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INTPTR_MAX__ 9223372036854775807L
3691f4a2713aSLionel Sambuc // MIPS64BE:#define __INTPTR_TYPE__ long int
3692f4a2713aSLionel Sambuc // MIPS64BE:#define __INTPTR_WIDTH__ 64
3693*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT_FAST16_FMTd__ "hd"
3694*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT_FAST16_FMTi__ "hi"
3695*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT_FAST16_MAX__ 32767
3696*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT_FAST16_TYPE__ short
3697*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT_FAST32_FMTd__ "d"
3698*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT_FAST32_FMTi__ "i"
3699*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT_FAST32_MAX__ 2147483647
3700*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT_FAST32_TYPE__ int
3701*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT_FAST64_FMTd__ "ld"
3702*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT_FAST64_FMTi__ "li"
3703*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT_FAST64_MAX__ 9223372036854775807L
3704*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT_FAST64_TYPE__ long int
3705*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT_FAST8_FMTd__ "hhd"
3706*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT_FAST8_FMTi__ "hhi"
3707*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT_FAST8_MAX__ 127
3708*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT_FAST8_TYPE__ signed char
3709*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT_LEAST16_FMTd__ "hd"
3710*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT_LEAST16_FMTi__ "hi"
3711*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT_LEAST16_MAX__ 32767
3712*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT_LEAST16_TYPE__ short
3713*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT_LEAST32_FMTd__ "d"
3714*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT_LEAST32_FMTi__ "i"
3715*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT_LEAST32_MAX__ 2147483647
3716*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT_LEAST32_TYPE__ int
3717*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT_LEAST64_FMTd__ "ld"
3718*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT_LEAST64_FMTi__ "li"
3719*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT_LEAST64_MAX__ 9223372036854775807L
3720*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT_LEAST64_TYPE__ long int
3721*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT_LEAST8_FMTd__ "hhd"
3722*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT_LEAST8_FMTi__ "hhi"
3723*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT_LEAST8_MAX__ 127
3724*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __INT_LEAST8_TYPE__ signed char
3725f4a2713aSLionel Sambuc // MIPS64BE:#define __INT_MAX__ 2147483647
3726f4a2713aSLionel Sambuc // MIPS64BE:#define __LDBL_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966L
3727f4a2713aSLionel Sambuc // MIPS64BE:#define __LDBL_DIG__ 33
3728f4a2713aSLionel Sambuc // MIPS64BE:#define __LDBL_EPSILON__ 1.92592994438723585305597794258492732e-34L
3729f4a2713aSLionel Sambuc // MIPS64BE:#define __LDBL_HAS_DENORM__ 1
3730f4a2713aSLionel Sambuc // MIPS64BE:#define __LDBL_HAS_INFINITY__ 1
3731f4a2713aSLionel Sambuc // MIPS64BE:#define __LDBL_HAS_QUIET_NAN__ 1
3732f4a2713aSLionel Sambuc // MIPS64BE:#define __LDBL_MANT_DIG__ 113
3733f4a2713aSLionel Sambuc // MIPS64BE:#define __LDBL_MAX_10_EXP__ 4932
3734f4a2713aSLionel Sambuc // MIPS64BE:#define __LDBL_MAX_EXP__ 16384
3735f4a2713aSLionel Sambuc // MIPS64BE:#define __LDBL_MAX__ 1.18973149535723176508575932662800702e+4932L
3736f4a2713aSLionel Sambuc // MIPS64BE:#define __LDBL_MIN_10_EXP__ (-4931)
3737f4a2713aSLionel Sambuc // MIPS64BE:#define __LDBL_MIN_EXP__ (-16381)
3738f4a2713aSLionel Sambuc // MIPS64BE:#define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L
3739f4a2713aSLionel Sambuc // MIPS64BE:#define __LONG_LONG_MAX__ 9223372036854775807LL
3740f4a2713aSLionel Sambuc // MIPS64BE:#define __LONG_MAX__ 9223372036854775807L
3741f4a2713aSLionel Sambuc // MIPS64BE:#define __LP64__ 1
3742f4a2713aSLionel Sambuc // MIPS64BE:#define __MIPSEB 1
3743f4a2713aSLionel Sambuc // MIPS64BE:#define __MIPSEB__ 1
3744f4a2713aSLionel Sambuc // MIPS64BE:#define __POINTER_WIDTH__ 64
3745f4a2713aSLionel Sambuc // MIPS64BE:#define __PRAGMA_REDEFINE_EXTNAME 1
3746f4a2713aSLionel Sambuc // MIPS64BE:#define __PTRDIFF_TYPE__ long int
3747f4a2713aSLionel Sambuc // MIPS64BE:#define __PTRDIFF_WIDTH__ 64
3748f4a2713aSLionel Sambuc // MIPS64BE:#define __REGISTER_PREFIX__
3749f4a2713aSLionel Sambuc // MIPS64BE:#define __SCHAR_MAX__ 127
3750f4a2713aSLionel Sambuc // MIPS64BE:#define __SHRT_MAX__ 32767
3751*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __SIG_ATOMIC_MAX__ 2147483647
3752f4a2713aSLionel Sambuc // MIPS64BE:#define __SIG_ATOMIC_WIDTH__ 32
3753f4a2713aSLionel Sambuc // MIPS64BE:#define __SIZEOF_DOUBLE__ 8
3754f4a2713aSLionel Sambuc // MIPS64BE:#define __SIZEOF_FLOAT__ 4
3755*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __SIZEOF_INT128__ 16
3756f4a2713aSLionel Sambuc // MIPS64BE:#define __SIZEOF_INT__ 4
3757f4a2713aSLionel Sambuc // MIPS64BE:#define __SIZEOF_LONG_DOUBLE__ 16
3758f4a2713aSLionel Sambuc // MIPS64BE:#define __SIZEOF_LONG_LONG__ 8
3759f4a2713aSLionel Sambuc // MIPS64BE:#define __SIZEOF_LONG__ 8
3760f4a2713aSLionel Sambuc // MIPS64BE:#define __SIZEOF_POINTER__ 8
3761f4a2713aSLionel Sambuc // MIPS64BE:#define __SIZEOF_PTRDIFF_T__ 8
3762f4a2713aSLionel Sambuc // MIPS64BE:#define __SIZEOF_SHORT__ 2
3763f4a2713aSLionel Sambuc // MIPS64BE:#define __SIZEOF_SIZE_T__ 8
3764f4a2713aSLionel Sambuc // MIPS64BE:#define __SIZEOF_WCHAR_T__ 4
3765f4a2713aSLionel Sambuc // MIPS64BE:#define __SIZEOF_WINT_T__ 4
3766f4a2713aSLionel Sambuc // MIPS64BE:#define __SIZE_MAX__ 18446744073709551615UL
3767f4a2713aSLionel Sambuc // MIPS64BE:#define __SIZE_TYPE__ long unsigned int
3768f4a2713aSLionel Sambuc // MIPS64BE:#define __SIZE_WIDTH__ 64
3769*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __UINT16_C_SUFFIX__ {{$}}
3770*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __UINT16_MAX__ 65535
3771*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __UINT16_TYPE__ unsigned short
3772*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __UINT32_C_SUFFIX__ U
3773*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __UINT32_MAX__ 4294967295U
3774*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __UINT32_TYPE__ unsigned int
3775*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __UINT64_C_SUFFIX__ UL
3776*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __UINT64_MAX__ 18446744073709551615UL
3777*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __UINT64_TYPE__ long unsigned int
3778*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __UINT8_C_SUFFIX__ {{$}}
3779*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __UINT8_MAX__ 255
3780*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __UINT8_TYPE__ unsigned char
3781*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __UINTMAX_C_SUFFIX__ UL
3782*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __UINTMAX_MAX__ 18446744073709551615UL
3783*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __UINTMAX_TYPE__ long unsigned int
3784*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __UINTMAX_WIDTH__ 64
3785*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __UINTPTR_MAX__ 18446744073709551615UL
3786*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __UINTPTR_TYPE__ long unsigned int
3787*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __UINTPTR_WIDTH__ 64
3788*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __UINT_FAST16_MAX__ 65535
3789*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __UINT_FAST16_TYPE__ unsigned short
3790*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __UINT_FAST32_MAX__ 4294967295U
3791*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __UINT_FAST32_TYPE__ unsigned int
3792*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __UINT_FAST64_MAX__ 18446744073709551615UL
3793*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __UINT_FAST64_TYPE__ long unsigned int
3794*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __UINT_FAST8_MAX__ 255
3795*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __UINT_FAST8_TYPE__ unsigned char
3796*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __UINT_LEAST16_MAX__ 65535
3797*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __UINT_LEAST16_TYPE__ unsigned short
3798*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __UINT_LEAST32_MAX__ 4294967295U
3799*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __UINT_LEAST32_TYPE__ unsigned int
3800*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __UINT_LEAST64_MAX__ 18446744073709551615UL
3801*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __UINT_LEAST64_TYPE__ long unsigned int
3802*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __UINT_LEAST8_MAX__ 255
3803*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __UINT_LEAST8_TYPE__ unsigned char
3804f4a2713aSLionel Sambuc // MIPS64BE:#define __USER_LABEL_PREFIX__ _
3805f4a2713aSLionel Sambuc // MIPS64BE:#define __WCHAR_MAX__ 2147483647
3806f4a2713aSLionel Sambuc // MIPS64BE:#define __WCHAR_TYPE__ int
3807f4a2713aSLionel Sambuc // MIPS64BE:#define __WCHAR_WIDTH__ 32
3808f4a2713aSLionel Sambuc // MIPS64BE:#define __WINT_TYPE__ int
3809f4a2713aSLionel Sambuc // MIPS64BE:#define __WINT_WIDTH__ 32
3810f4a2713aSLionel Sambuc // MIPS64BE:#define __clang__ 1
3811f4a2713aSLionel Sambuc // MIPS64BE:#define __llvm__ 1
3812*0a6a1f1dSLionel Sambuc // MIPS64BE:#define __mips 64
3813f4a2713aSLionel Sambuc // MIPS64BE:#define __mips64 1
3814f4a2713aSLionel Sambuc // MIPS64BE:#define __mips64__ 1
3815f4a2713aSLionel Sambuc // MIPS64BE:#define __mips__ 1
3816f4a2713aSLionel Sambuc // MIPS64BE:#define __mips_fpr 64
3817f4a2713aSLionel Sambuc // MIPS64BE:#define __mips_hard_float 1
3818f4a2713aSLionel Sambuc // MIPS64BE:#define __mips_n64 1
3819f4a2713aSLionel Sambuc // MIPS64BE:#define _mips 1
3820f4a2713aSLionel Sambuc // MIPS64BE:#define mips 1
3821f4a2713aSLionel Sambuc //
3822f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mips64el-none-none < /dev/null | FileCheck -check-prefix MIPS64EL %s
3823f4a2713aSLionel Sambuc //
3824f4a2713aSLionel Sambuc // MIPS64EL:#define MIPSEL 1
3825f4a2713aSLionel Sambuc // MIPS64EL:#define _ABI64 3
3826f4a2713aSLionel Sambuc // MIPS64EL:#define _LP64 1
3827f4a2713aSLionel Sambuc // MIPS64EL:#define _MIPSEL 1
3828*0a6a1f1dSLionel Sambuc // MIPS64EL:#define _MIPS_ARCH "mips64r2"
3829*0a6a1f1dSLionel Sambuc // MIPS64EL:#define _MIPS_ARCH_MIPS64R2 1
3830f4a2713aSLionel Sambuc // MIPS64EL:#define _MIPS_FPSET 32
3831f4a2713aSLionel Sambuc // MIPS64EL:#define _MIPS_SIM _ABI64
3832f4a2713aSLionel Sambuc // MIPS64EL:#define _MIPS_SZINT 32
3833f4a2713aSLionel Sambuc // MIPS64EL:#define _MIPS_SZLONG 64
3834f4a2713aSLionel Sambuc // MIPS64EL:#define _MIPS_SZPTR 64
3835f4a2713aSLionel Sambuc // MIPS64EL:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
3836f4a2713aSLionel Sambuc // MIPS64EL:#define __CHAR16_TYPE__ unsigned short
3837f4a2713aSLionel Sambuc // MIPS64EL:#define __CHAR32_TYPE__ unsigned int
3838f4a2713aSLionel Sambuc // MIPS64EL:#define __CHAR_BIT__ 8
3839f4a2713aSLionel Sambuc // MIPS64EL:#define __CONSTANT_CFSTRINGS__ 1
3840f4a2713aSLionel Sambuc // MIPS64EL:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
3841f4a2713aSLionel Sambuc // MIPS64EL:#define __DBL_DIG__ 15
3842f4a2713aSLionel Sambuc // MIPS64EL:#define __DBL_EPSILON__ 2.2204460492503131e-16
3843f4a2713aSLionel Sambuc // MIPS64EL:#define __DBL_HAS_DENORM__ 1
3844f4a2713aSLionel Sambuc // MIPS64EL:#define __DBL_HAS_INFINITY__ 1
3845f4a2713aSLionel Sambuc // MIPS64EL:#define __DBL_HAS_QUIET_NAN__ 1
3846f4a2713aSLionel Sambuc // MIPS64EL:#define __DBL_MANT_DIG__ 53
3847f4a2713aSLionel Sambuc // MIPS64EL:#define __DBL_MAX_10_EXP__ 308
3848f4a2713aSLionel Sambuc // MIPS64EL:#define __DBL_MAX_EXP__ 1024
3849f4a2713aSLionel Sambuc // MIPS64EL:#define __DBL_MAX__ 1.7976931348623157e+308
3850f4a2713aSLionel Sambuc // MIPS64EL:#define __DBL_MIN_10_EXP__ (-307)
3851f4a2713aSLionel Sambuc // MIPS64EL:#define __DBL_MIN_EXP__ (-1021)
3852f4a2713aSLionel Sambuc // MIPS64EL:#define __DBL_MIN__ 2.2250738585072014e-308
3853f4a2713aSLionel Sambuc // MIPS64EL:#define __DECIMAL_DIG__ 36
3854f4a2713aSLionel Sambuc // MIPS64EL:#define __FLT_DENORM_MIN__ 1.40129846e-45F
3855f4a2713aSLionel Sambuc // MIPS64EL:#define __FLT_DIG__ 6
3856f4a2713aSLionel Sambuc // MIPS64EL:#define __FLT_EPSILON__ 1.19209290e-7F
3857f4a2713aSLionel Sambuc // MIPS64EL:#define __FLT_EVAL_METHOD__ 0
3858f4a2713aSLionel Sambuc // MIPS64EL:#define __FLT_HAS_DENORM__ 1
3859f4a2713aSLionel Sambuc // MIPS64EL:#define __FLT_HAS_INFINITY__ 1
3860f4a2713aSLionel Sambuc // MIPS64EL:#define __FLT_HAS_QUIET_NAN__ 1
3861f4a2713aSLionel Sambuc // MIPS64EL:#define __FLT_MANT_DIG__ 24
3862f4a2713aSLionel Sambuc // MIPS64EL:#define __FLT_MAX_10_EXP__ 38
3863f4a2713aSLionel Sambuc // MIPS64EL:#define __FLT_MAX_EXP__ 128
3864f4a2713aSLionel Sambuc // MIPS64EL:#define __FLT_MAX__ 3.40282347e+38F
3865f4a2713aSLionel Sambuc // MIPS64EL:#define __FLT_MIN_10_EXP__ (-37)
3866f4a2713aSLionel Sambuc // MIPS64EL:#define __FLT_MIN_EXP__ (-125)
3867f4a2713aSLionel Sambuc // MIPS64EL:#define __FLT_MIN__ 1.17549435e-38F
3868f4a2713aSLionel Sambuc // MIPS64EL:#define __FLT_RADIX__ 2
3869*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT16_C_SUFFIX__ {{$}}
3870*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT16_FMTd__ "hd"
3871*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT16_FMTi__ "hi"
3872*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT16_MAX__ 32767
3873f4a2713aSLionel Sambuc // MIPS64EL:#define __INT16_TYPE__ short
3874*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT32_C_SUFFIX__ {{$}}
3875*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT32_FMTd__ "d"
3876*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT32_FMTi__ "i"
3877*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT32_MAX__ 2147483647
3878f4a2713aSLionel Sambuc // MIPS64EL:#define __INT32_TYPE__ int
3879*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT64_C_SUFFIX__ L
3880*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT64_FMTd__ "ld"
3881*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT64_FMTi__ "li"
3882*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT64_MAX__ 9223372036854775807L
3883*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT64_TYPE__ long int
3884*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT8_C_SUFFIX__ {{$}}
3885*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT8_FMTd__ "hhd"
3886*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT8_FMTi__ "hhi"
3887*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT8_MAX__ 127
3888*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT8_TYPE__ signed char
3889*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INTMAX_C_SUFFIX__ L
3890*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INTMAX_FMTd__ "ld"
3891*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INTMAX_FMTi__ "li"
3892*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INTMAX_MAX__ 9223372036854775807L
3893*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INTMAX_TYPE__ long int
3894f4a2713aSLionel Sambuc // MIPS64EL:#define __INTMAX_WIDTH__ 64
3895*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INTPTR_FMTd__ "ld"
3896*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INTPTR_FMTi__ "li"
3897*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INTPTR_MAX__ 9223372036854775807L
3898f4a2713aSLionel Sambuc // MIPS64EL:#define __INTPTR_TYPE__ long int
3899f4a2713aSLionel Sambuc // MIPS64EL:#define __INTPTR_WIDTH__ 64
3900*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT_FAST16_FMTd__ "hd"
3901*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT_FAST16_FMTi__ "hi"
3902*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT_FAST16_MAX__ 32767
3903*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT_FAST16_TYPE__ short
3904*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT_FAST32_FMTd__ "d"
3905*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT_FAST32_FMTi__ "i"
3906*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT_FAST32_MAX__ 2147483647
3907*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT_FAST32_TYPE__ int
3908*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT_FAST64_FMTd__ "ld"
3909*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT_FAST64_FMTi__ "li"
3910*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT_FAST64_MAX__ 9223372036854775807L
3911*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT_FAST64_TYPE__ long int
3912*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT_FAST8_FMTd__ "hhd"
3913*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT_FAST8_FMTi__ "hhi"
3914*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT_FAST8_MAX__ 127
3915*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT_FAST8_TYPE__ signed char
3916*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT_LEAST16_FMTd__ "hd"
3917*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT_LEAST16_FMTi__ "hi"
3918*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT_LEAST16_MAX__ 32767
3919*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT_LEAST16_TYPE__ short
3920*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT_LEAST32_FMTd__ "d"
3921*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT_LEAST32_FMTi__ "i"
3922*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT_LEAST32_MAX__ 2147483647
3923*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT_LEAST32_TYPE__ int
3924*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT_LEAST64_FMTd__ "ld"
3925*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT_LEAST64_FMTi__ "li"
3926*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT_LEAST64_MAX__ 9223372036854775807L
3927*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT_LEAST64_TYPE__ long int
3928*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT_LEAST8_FMTd__ "hhd"
3929*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT_LEAST8_FMTi__ "hhi"
3930*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT_LEAST8_MAX__ 127
3931*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __INT_LEAST8_TYPE__ signed char
3932f4a2713aSLionel Sambuc // MIPS64EL:#define __INT_MAX__ 2147483647
3933f4a2713aSLionel Sambuc // MIPS64EL:#define __LDBL_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966L
3934f4a2713aSLionel Sambuc // MIPS64EL:#define __LDBL_DIG__ 33
3935f4a2713aSLionel Sambuc // MIPS64EL:#define __LDBL_EPSILON__ 1.92592994438723585305597794258492732e-34L
3936f4a2713aSLionel Sambuc // MIPS64EL:#define __LDBL_HAS_DENORM__ 1
3937f4a2713aSLionel Sambuc // MIPS64EL:#define __LDBL_HAS_INFINITY__ 1
3938f4a2713aSLionel Sambuc // MIPS64EL:#define __LDBL_HAS_QUIET_NAN__ 1
3939f4a2713aSLionel Sambuc // MIPS64EL:#define __LDBL_MANT_DIG__ 113
3940f4a2713aSLionel Sambuc // MIPS64EL:#define __LDBL_MAX_10_EXP__ 4932
3941f4a2713aSLionel Sambuc // MIPS64EL:#define __LDBL_MAX_EXP__ 16384
3942f4a2713aSLionel Sambuc // MIPS64EL:#define __LDBL_MAX__ 1.18973149535723176508575932662800702e+4932L
3943f4a2713aSLionel Sambuc // MIPS64EL:#define __LDBL_MIN_10_EXP__ (-4931)
3944f4a2713aSLionel Sambuc // MIPS64EL:#define __LDBL_MIN_EXP__ (-16381)
3945f4a2713aSLionel Sambuc // MIPS64EL:#define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L
3946*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __LITTLE_ENDIAN__ 1
3947f4a2713aSLionel Sambuc // MIPS64EL:#define __LONG_LONG_MAX__ 9223372036854775807LL
3948f4a2713aSLionel Sambuc // MIPS64EL:#define __LONG_MAX__ 9223372036854775807L
3949f4a2713aSLionel Sambuc // MIPS64EL:#define __LP64__ 1
3950f4a2713aSLionel Sambuc // MIPS64EL:#define __MIPSEL 1
3951f4a2713aSLionel Sambuc // MIPS64EL:#define __MIPSEL__ 1
3952f4a2713aSLionel Sambuc // MIPS64EL:#define __POINTER_WIDTH__ 64
3953f4a2713aSLionel Sambuc // MIPS64EL:#define __PRAGMA_REDEFINE_EXTNAME 1
3954f4a2713aSLionel Sambuc // MIPS64EL:#define __PTRDIFF_TYPE__ long int
3955f4a2713aSLionel Sambuc // MIPS64EL:#define __PTRDIFF_WIDTH__ 64
3956f4a2713aSLionel Sambuc // MIPS64EL:#define __REGISTER_PREFIX__
3957f4a2713aSLionel Sambuc // MIPS64EL:#define __SCHAR_MAX__ 127
3958f4a2713aSLionel Sambuc // MIPS64EL:#define __SHRT_MAX__ 32767
3959*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __SIG_ATOMIC_MAX__ 2147483647
3960f4a2713aSLionel Sambuc // MIPS64EL:#define __SIG_ATOMIC_WIDTH__ 32
3961f4a2713aSLionel Sambuc // MIPS64EL:#define __SIZEOF_DOUBLE__ 8
3962f4a2713aSLionel Sambuc // MIPS64EL:#define __SIZEOF_FLOAT__ 4
3963*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __SIZEOF_INT128__ 16
3964f4a2713aSLionel Sambuc // MIPS64EL:#define __SIZEOF_INT__ 4
3965f4a2713aSLionel Sambuc // MIPS64EL:#define __SIZEOF_LONG_DOUBLE__ 16
3966f4a2713aSLionel Sambuc // MIPS64EL:#define __SIZEOF_LONG_LONG__ 8
3967f4a2713aSLionel Sambuc // MIPS64EL:#define __SIZEOF_LONG__ 8
3968f4a2713aSLionel Sambuc // MIPS64EL:#define __SIZEOF_POINTER__ 8
3969f4a2713aSLionel Sambuc // MIPS64EL:#define __SIZEOF_PTRDIFF_T__ 8
3970f4a2713aSLionel Sambuc // MIPS64EL:#define __SIZEOF_SHORT__ 2
3971f4a2713aSLionel Sambuc // MIPS64EL:#define __SIZEOF_SIZE_T__ 8
3972f4a2713aSLionel Sambuc // MIPS64EL:#define __SIZEOF_WCHAR_T__ 4
3973f4a2713aSLionel Sambuc // MIPS64EL:#define __SIZEOF_WINT_T__ 4
3974f4a2713aSLionel Sambuc // MIPS64EL:#define __SIZE_MAX__ 18446744073709551615UL
3975f4a2713aSLionel Sambuc // MIPS64EL:#define __SIZE_TYPE__ long unsigned int
3976f4a2713aSLionel Sambuc // MIPS64EL:#define __SIZE_WIDTH__ 64
3977*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __UINT16_C_SUFFIX__ {{$}}
3978*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __UINT16_MAX__ 65535
3979*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __UINT16_TYPE__ unsigned short
3980*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __UINT32_C_SUFFIX__ U
3981*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __UINT32_MAX__ 4294967295U
3982*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __UINT32_TYPE__ unsigned int
3983*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __UINT64_C_SUFFIX__ UL
3984*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __UINT64_MAX__ 18446744073709551615UL
3985*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __UINT64_TYPE__ long unsigned int
3986*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __UINT8_C_SUFFIX__ {{$}}
3987*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __UINT8_MAX__ 255
3988*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __UINT8_TYPE__ unsigned char
3989*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __UINTMAX_C_SUFFIX__ UL
3990*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __UINTMAX_MAX__ 18446744073709551615UL
3991*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __UINTMAX_TYPE__ long unsigned int
3992*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __UINTMAX_WIDTH__ 64
3993*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __UINTPTR_MAX__ 18446744073709551615UL
3994*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __UINTPTR_TYPE__ long unsigned int
3995*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __UINTPTR_WIDTH__ 64
3996*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __UINT_FAST16_MAX__ 65535
3997*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __UINT_FAST16_TYPE__ unsigned short
3998*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __UINT_FAST32_MAX__ 4294967295U
3999*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __UINT_FAST32_TYPE__ unsigned int
4000*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __UINT_FAST64_MAX__ 18446744073709551615UL
4001*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __UINT_FAST64_TYPE__ long unsigned int
4002*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __UINT_FAST8_MAX__ 255
4003*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __UINT_FAST8_TYPE__ unsigned char
4004*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __UINT_LEAST16_MAX__ 65535
4005*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __UINT_LEAST16_TYPE__ unsigned short
4006*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __UINT_LEAST32_MAX__ 4294967295U
4007*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __UINT_LEAST32_TYPE__ unsigned int
4008*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __UINT_LEAST64_MAX__ 18446744073709551615UL
4009*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __UINT_LEAST64_TYPE__ long unsigned int
4010*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __UINT_LEAST8_MAX__ 255
4011*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __UINT_LEAST8_TYPE__ unsigned char
4012f4a2713aSLionel Sambuc // MIPS64EL:#define __USER_LABEL_PREFIX__ _
4013f4a2713aSLionel Sambuc // MIPS64EL:#define __WCHAR_MAX__ 2147483647
4014f4a2713aSLionel Sambuc // MIPS64EL:#define __WCHAR_TYPE__ int
4015f4a2713aSLionel Sambuc // MIPS64EL:#define __WCHAR_WIDTH__ 32
4016f4a2713aSLionel Sambuc // MIPS64EL:#define __WINT_TYPE__ int
4017f4a2713aSLionel Sambuc // MIPS64EL:#define __WINT_WIDTH__ 32
4018f4a2713aSLionel Sambuc // MIPS64EL:#define __clang__ 1
4019f4a2713aSLionel Sambuc // MIPS64EL:#define __llvm__ 1
4020*0a6a1f1dSLionel Sambuc // MIPS64EL:#define __mips 64
4021f4a2713aSLionel Sambuc // MIPS64EL:#define __mips64 1
4022f4a2713aSLionel Sambuc // MIPS64EL:#define __mips64__ 1
4023f4a2713aSLionel Sambuc // MIPS64EL:#define __mips__ 1
4024f4a2713aSLionel Sambuc // MIPS64EL:#define __mips_fpr 64
4025f4a2713aSLionel Sambuc // MIPS64EL:#define __mips_hard_float 1
4026f4a2713aSLionel Sambuc // MIPS64EL:#define __mips_n64 1
4027f4a2713aSLionel Sambuc // MIPS64EL:#define _mips 1
4028f4a2713aSLionel Sambuc // MIPS64EL:#define mips 1
4029f4a2713aSLionel Sambuc //
4030*0a6a1f1dSLionel Sambuc // Check MIPS arch and isa macros
4031*0a6a1f1dSLionel Sambuc //
4032*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mips-none-none \
4033*0a6a1f1dSLionel Sambuc // RUN:            < /dev/null \
4034*0a6a1f1dSLionel Sambuc // RUN:   | FileCheck -check-prefix MIPS-ARCH-DEF32 %s
4035*0a6a1f1dSLionel Sambuc //
4036*0a6a1f1dSLionel Sambuc // MIPS-ARCH-DEF32:#define _MIPS_ARCH "mips32r2"
4037*0a6a1f1dSLionel Sambuc // MIPS-ARCH-DEF32:#define _MIPS_ARCH_MIPS32R2 1
4038*0a6a1f1dSLionel Sambuc // MIPS-ARCH-DEF32:#define _MIPS_ISA _MIPS_ISA_MIPS32
4039*0a6a1f1dSLionel Sambuc // MIPS-ARCH-DEF32:#define __mips_isa_rev 2
4040*0a6a1f1dSLionel Sambuc //
4041*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mips-none-nones \
4042*0a6a1f1dSLionel Sambuc // RUN:            -target-cpu mips32 < /dev/null \
4043*0a6a1f1dSLionel Sambuc // RUN:   | FileCheck -check-prefix MIPS-ARCH-32 %s
4044*0a6a1f1dSLionel Sambuc //
4045*0a6a1f1dSLionel Sambuc // MIPS-ARCH-32:#define _MIPS_ARCH "mips32"
4046*0a6a1f1dSLionel Sambuc // MIPS-ARCH-32:#define _MIPS_ARCH_MIPS32 1
4047*0a6a1f1dSLionel Sambuc // MIPS-ARCH-32:#define _MIPS_ISA _MIPS_ISA_MIPS32
4048*0a6a1f1dSLionel Sambuc // MIPS-ARCH-32:#define __mips_isa_rev 1
4049*0a6a1f1dSLionel Sambuc //
4050*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mips-none-none \
4051*0a6a1f1dSLionel Sambuc // RUN:            -target-cpu mips32r2 < /dev/null \
4052*0a6a1f1dSLionel Sambuc // RUN:   | FileCheck -check-prefix MIPS-ARCH-32R2 %s
4053*0a6a1f1dSLionel Sambuc //
4054*0a6a1f1dSLionel Sambuc // MIPS-ARCH-32R2:#define _MIPS_ARCH "mips32r2"
4055*0a6a1f1dSLionel Sambuc // MIPS-ARCH-32R2:#define _MIPS_ARCH_MIPS32R2 1
4056*0a6a1f1dSLionel Sambuc // MIPS-ARCH-32R2:#define _MIPS_ISA _MIPS_ISA_MIPS32
4057*0a6a1f1dSLionel Sambuc // MIPS-ARCH-32R2:#define __mips_isa_rev 2
4058*0a6a1f1dSLionel Sambuc //
4059*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mips-none-none \
4060*0a6a1f1dSLionel Sambuc // RUN:            -target-cpu mips32r6 < /dev/null \
4061*0a6a1f1dSLionel Sambuc // RUN:   | FileCheck -check-prefix MIPS-ARCH-32R6 %s
4062*0a6a1f1dSLionel Sambuc //
4063*0a6a1f1dSLionel Sambuc // MIPS-ARCH-32R6:#define _MIPS_ARCH "mips32r6"
4064*0a6a1f1dSLionel Sambuc // MIPS-ARCH-32R6:#define _MIPS_ARCH_MIPS32R6 1
4065*0a6a1f1dSLionel Sambuc // MIPS-ARCH-32R6:#define _MIPS_ISA _MIPS_ISA_MIPS32
4066*0a6a1f1dSLionel Sambuc // MIPS-ARCH-32R6:#define __mips_isa_rev 6
4067*0a6a1f1dSLionel Sambuc //
4068*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mips64-none-none \
4069*0a6a1f1dSLionel Sambuc // RUN:            < /dev/null \
4070*0a6a1f1dSLionel Sambuc // RUN:   | FileCheck -check-prefix MIPS-ARCH-DEF64 %s
4071*0a6a1f1dSLionel Sambuc //
4072*0a6a1f1dSLionel Sambuc // MIPS-ARCH-DEF64:#define _MIPS_ARCH "mips64r2"
4073*0a6a1f1dSLionel Sambuc // MIPS-ARCH-DEF64:#define _MIPS_ARCH_MIPS64R2 1
4074*0a6a1f1dSLionel Sambuc // MIPS-ARCH-DEF64:#define _MIPS_ISA _MIPS_ISA_MIPS64
4075*0a6a1f1dSLionel Sambuc // MIPS-ARCH-DEF64:#define __mips_isa_rev 2
4076*0a6a1f1dSLionel Sambuc //
4077*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mips64-none-none \
4078*0a6a1f1dSLionel Sambuc // RUN:            -target-cpu mips64 < /dev/null \
4079*0a6a1f1dSLionel Sambuc // RUN:   | FileCheck -check-prefix MIPS-ARCH-64 %s
4080*0a6a1f1dSLionel Sambuc //
4081*0a6a1f1dSLionel Sambuc // MIPS-ARCH-64:#define _MIPS_ARCH "mips64"
4082*0a6a1f1dSLionel Sambuc // MIPS-ARCH-64:#define _MIPS_ARCH_MIPS64 1
4083*0a6a1f1dSLionel Sambuc // MIPS-ARCH-64:#define _MIPS_ISA _MIPS_ISA_MIPS64
4084*0a6a1f1dSLionel Sambuc // MIPS-ARCH-64:#define __mips_isa_rev 1
4085*0a6a1f1dSLionel Sambuc //
4086*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mips64-none-none \
4087*0a6a1f1dSLionel Sambuc // RUN:            -target-cpu mips64r2 < /dev/null \
4088*0a6a1f1dSLionel Sambuc // RUN:   | FileCheck -check-prefix MIPS-ARCH-64R2 %s
4089*0a6a1f1dSLionel Sambuc //
4090*0a6a1f1dSLionel Sambuc // MIPS-ARCH-64R2:#define _MIPS_ARCH "mips64r2"
4091*0a6a1f1dSLionel Sambuc // MIPS-ARCH-64R2:#define _MIPS_ARCH_MIPS64R2 1
4092*0a6a1f1dSLionel Sambuc // MIPS-ARCH-64R2:#define _MIPS_ISA _MIPS_ISA_MIPS64
4093*0a6a1f1dSLionel Sambuc // MIPS-ARCH-64R2:#define __mips_isa_rev 2
4094*0a6a1f1dSLionel Sambuc //
4095*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mips64-none-none \
4096*0a6a1f1dSLionel Sambuc // RUN:            -target-cpu mips64r6 < /dev/null \
4097*0a6a1f1dSLionel Sambuc // RUN:   | FileCheck -check-prefix MIPS-ARCH-64R6 %s
4098*0a6a1f1dSLionel Sambuc //
4099*0a6a1f1dSLionel Sambuc // MIPS-ARCH-64R6:#define _MIPS_ARCH "mips64r6"
4100*0a6a1f1dSLionel Sambuc // MIPS-ARCH-64R6:#define _MIPS_ARCH_MIPS64R6 1
4101*0a6a1f1dSLionel Sambuc // MIPS-ARCH-64R6:#define _MIPS_ISA _MIPS_ISA_MIPS64
4102*0a6a1f1dSLionel Sambuc // MIPS-ARCH-64R6:#define __mips_isa_rev 6
4103*0a6a1f1dSLionel Sambuc //
4104f4a2713aSLionel Sambuc // Check MIPS float ABI macros
4105f4a2713aSLionel Sambuc //
4106f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding \
4107f4a2713aSLionel Sambuc // RUN:   -triple=mips-none-none < /dev/null \
4108f4a2713aSLionel Sambuc // RUN:   | FileCheck -check-prefix MIPS-FABI-HARD %s
4109f4a2713aSLionel Sambuc // MIPS-FABI-HARD:#define __mips_hard_float 1
4110f4a2713aSLionel Sambuc //
4111f4a2713aSLionel Sambuc // RUN: %clang_cc1 -target-feature +soft-float -E -dM -ffreestanding \
4112f4a2713aSLionel Sambuc // RUN:   -triple=mips-none-none < /dev/null \
4113f4a2713aSLionel Sambuc // RUN:   | FileCheck -check-prefix MIPS-FABI-SOFT %s
4114f4a2713aSLionel Sambuc // MIPS-FABI-SOFT:#define __mips_soft_float 1
4115f4a2713aSLionel Sambuc //
4116f4a2713aSLionel Sambuc // RUN: %clang_cc1 -target-feature +single-float -E -dM -ffreestanding \
4117f4a2713aSLionel Sambuc // RUN:   -triple=mips-none-none < /dev/null \
4118f4a2713aSLionel Sambuc // RUN:   | FileCheck -check-prefix MIPS-FABI-SINGLE %s
4119f4a2713aSLionel Sambuc // MIPS-FABI-SINGLE:#define __mips_hard_float 1
4120f4a2713aSLionel Sambuc // MIPS-FABI-SINGLE:#define __mips_single_float 1
4121f4a2713aSLionel Sambuc //
4122f4a2713aSLionel Sambuc // RUN: %clang_cc1 -target-feature +soft-float -target-feature +single-float \
4123f4a2713aSLionel Sambuc // RUN:   -E -dM -ffreestanding -triple=mips-none-none < /dev/null \
4124f4a2713aSLionel Sambuc // RUN:   | FileCheck -check-prefix MIPS-FABI-SINGLE-SOFT %s
4125f4a2713aSLionel Sambuc // MIPS-FABI-SINGLE-SOFT:#define __mips_single_float 1
4126f4a2713aSLionel Sambuc // MIPS-FABI-SINGLE-SOFT:#define __mips_soft_float 1
4127f4a2713aSLionel Sambuc //
4128f4a2713aSLionel Sambuc // Check MIPS features macros
4129f4a2713aSLionel Sambuc //
4130f4a2713aSLionel Sambuc // RUN: %clang_cc1 -target-feature +mips16 \
4131f4a2713aSLionel Sambuc // RUN:   -E -dM -triple=mips-none-none < /dev/null \
4132f4a2713aSLionel Sambuc // RUN:   | FileCheck -check-prefix MIPS16 %s
4133f4a2713aSLionel Sambuc // MIPS16:#define __mips16 1
4134f4a2713aSLionel Sambuc //
4135f4a2713aSLionel Sambuc // RUN: %clang_cc1 -target-feature -mips16 \
4136f4a2713aSLionel Sambuc // RUN:   -E -dM -triple=mips-none-none < /dev/null \
4137f4a2713aSLionel Sambuc // RUN:   | FileCheck -check-prefix NOMIPS16 %s
4138f4a2713aSLionel Sambuc // NOMIPS16-NOT:#define __mips16 1
4139f4a2713aSLionel Sambuc //
4140f4a2713aSLionel Sambuc // RUN: %clang_cc1 -target-feature +micromips \
4141f4a2713aSLionel Sambuc // RUN:   -E -dM -triple=mips-none-none < /dev/null \
4142f4a2713aSLionel Sambuc // RUN:   | FileCheck -check-prefix MICROMIPS %s
4143f4a2713aSLionel Sambuc // MICROMIPS:#define __mips_micromips 1
4144f4a2713aSLionel Sambuc //
4145f4a2713aSLionel Sambuc // RUN: %clang_cc1 -target-feature -micromips \
4146f4a2713aSLionel Sambuc // RUN:   -E -dM -triple=mips-none-none < /dev/null \
4147f4a2713aSLionel Sambuc // RUN:   | FileCheck -check-prefix NOMICROMIPS %s
4148f4a2713aSLionel Sambuc // NOMICROMIPS-NOT:#define __mips_micromips 1
4149f4a2713aSLionel Sambuc //
4150f4a2713aSLionel Sambuc // RUN: %clang_cc1 -target-feature +dsp \
4151f4a2713aSLionel Sambuc // RUN:   -E -dM -triple=mips-none-none < /dev/null \
4152f4a2713aSLionel Sambuc // RUN:   | FileCheck -check-prefix MIPS-DSP %s
4153f4a2713aSLionel Sambuc // MIPS-DSP:#define __mips_dsp 1
4154f4a2713aSLionel Sambuc // MIPS-DSP:#define __mips_dsp_rev 1
4155f4a2713aSLionel Sambuc // MIPS-DSP-NOT:#define __mips_dspr2 1
4156f4a2713aSLionel Sambuc //
4157f4a2713aSLionel Sambuc // RUN: %clang_cc1 -target-feature +dspr2 \
4158f4a2713aSLionel Sambuc // RUN:   -E -dM -triple=mips-none-none < /dev/null \
4159f4a2713aSLionel Sambuc // RUN:   | FileCheck -check-prefix MIPS-DSPR2 %s
4160f4a2713aSLionel Sambuc // MIPS-DSPR2:#define __mips_dsp 1
4161f4a2713aSLionel Sambuc // MIPS-DSPR2:#define __mips_dsp_rev 2
4162f4a2713aSLionel Sambuc // MIPS-DSPR2:#define __mips_dspr2 1
4163f4a2713aSLionel Sambuc //
4164f4a2713aSLionel Sambuc // RUN: %clang_cc1 -target-feature +msa \
4165f4a2713aSLionel Sambuc // RUN:   -E -dM -triple=mips-none-none < /dev/null \
4166f4a2713aSLionel Sambuc // RUN:   | FileCheck -check-prefix MIPS-MSA %s
4167f4a2713aSLionel Sambuc // MIPS-MSA:#define __mips_msa 1
4168f4a2713aSLionel Sambuc //
4169f4a2713aSLionel Sambuc // RUN: %clang_cc1 -target-feature +nan2008 \
4170f4a2713aSLionel Sambuc // RUN:   -E -dM -triple=mips-none-none < /dev/null \
4171f4a2713aSLionel Sambuc // RUN:   | FileCheck -check-prefix MIPS-NAN2008 %s
4172f4a2713aSLionel Sambuc // MIPS-NAN2008:#define __mips_nan2008 1
4173f4a2713aSLionel Sambuc //
4174f4a2713aSLionel Sambuc // RUN: %clang_cc1 -target-feature -fp64 \
4175f4a2713aSLionel Sambuc // RUN:   -E -dM -triple=mips-none-none < /dev/null \
4176f4a2713aSLionel Sambuc // RUN:   | FileCheck -check-prefix MIPS32-MFP32 %s
4177f4a2713aSLionel Sambuc // MIPS32-MFP32:#define _MIPS_FPSET 16
4178f4a2713aSLionel Sambuc // MIPS32-MFP32:#define __mips_fpr 32
4179f4a2713aSLionel Sambuc //
4180f4a2713aSLionel Sambuc // RUN: %clang_cc1 -target-feature +fp64 \
4181f4a2713aSLionel Sambuc // RUN:   -E -dM -triple=mips-none-none < /dev/null \
4182f4a2713aSLionel Sambuc // RUN:   | FileCheck -check-prefix MIPS32-MFP64 %s
4183f4a2713aSLionel Sambuc // MIPS32-MFP64:#define _MIPS_FPSET 32
4184f4a2713aSLionel Sambuc // MIPS32-MFP64:#define __mips_fpr 64
4185f4a2713aSLionel Sambuc //
4186f4a2713aSLionel Sambuc // RUN: %clang_cc1 -target-feature +single-float \
4187f4a2713aSLionel Sambuc // RUN:   -E -dM -triple=mips-none-none < /dev/null \
4188f4a2713aSLionel Sambuc // RUN:   | FileCheck -check-prefix MIPS32-MFP32SF %s
4189f4a2713aSLionel Sambuc // MIPS32-MFP32SF:#define _MIPS_FPSET 32
4190f4a2713aSLionel Sambuc // MIPS32-MFP32SF:#define __mips_fpr 32
4191f4a2713aSLionel Sambuc //
4192f4a2713aSLionel Sambuc // RUN: %clang_cc1 -target-feature +fp64 \
4193f4a2713aSLionel Sambuc // RUN:   -E -dM -triple=mips64-none-none < /dev/null \
4194f4a2713aSLionel Sambuc // RUN:   | FileCheck -check-prefix MIPS64-MFP64 %s
4195f4a2713aSLionel Sambuc // MIPS64-MFP64:#define _MIPS_FPSET 32
4196f4a2713aSLionel Sambuc // MIPS64-MFP64:#define __mips_fpr 64
4197f4a2713aSLionel Sambuc //
4198f4a2713aSLionel Sambuc // RUN: %clang_cc1 -target-feature -fp64 -target-feature +single-float \
4199f4a2713aSLionel Sambuc // RUN:   -E -dM -triple=mips64-none-none < /dev/null \
4200f4a2713aSLionel Sambuc // RUN:   | FileCheck -check-prefix MIPS64-NOMFP64 %s
4201f4a2713aSLionel Sambuc // MIPS64-NOMFP64:#define _MIPS_FPSET 32
4202f4a2713aSLionel Sambuc // MIPS64-NOMFP64:#define __mips_fpr 32
4203f4a2713aSLionel Sambuc //
4204*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -target-cpu mips32r6 \
4205*0a6a1f1dSLionel Sambuc // RUN:   -E -dM -triple=mips-none-none < /dev/null \
4206*0a6a1f1dSLionel Sambuc // RUN:   | FileCheck -check-prefix MIPS-XXR6 %s
4207*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -target-cpu mips64r6 \
4208*0a6a1f1dSLionel Sambuc // RUN:   -E -dM -triple=mips64-none-none < /dev/null \
4209*0a6a1f1dSLionel Sambuc // RUN:   | FileCheck -check-prefix MIPS-XXR6 %s
4210*0a6a1f1dSLionel Sambuc // MIPS-XXR6:#define _MIPS_FPSET 32
4211*0a6a1f1dSLionel Sambuc // MIPS-XXR6:#define __mips_fpr 64
4212*0a6a1f1dSLionel Sambuc // MIPS-XXR6:#define __mips_nan2008 1
4213*0a6a1f1dSLionel Sambuc //
4214f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=msp430-none-none < /dev/null | FileCheck -check-prefix MSP430 %s
4215f4a2713aSLionel Sambuc //
4216f4a2713aSLionel Sambuc // MSP430:#define MSP430 1
4217f4a2713aSLionel Sambuc // MSP430-NOT:#define _LP64
4218f4a2713aSLionel Sambuc // MSP430:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
4219f4a2713aSLionel Sambuc // MSP430:#define __CHAR16_TYPE__ unsigned short
4220f4a2713aSLionel Sambuc // MSP430:#define __CHAR32_TYPE__ unsigned int
4221f4a2713aSLionel Sambuc // MSP430:#define __CHAR_BIT__ 8
4222f4a2713aSLionel Sambuc // MSP430:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
4223f4a2713aSLionel Sambuc // MSP430:#define __DBL_DIG__ 15
4224f4a2713aSLionel Sambuc // MSP430:#define __DBL_EPSILON__ 2.2204460492503131e-16
4225f4a2713aSLionel Sambuc // MSP430:#define __DBL_HAS_DENORM__ 1
4226f4a2713aSLionel Sambuc // MSP430:#define __DBL_HAS_INFINITY__ 1
4227f4a2713aSLionel Sambuc // MSP430:#define __DBL_HAS_QUIET_NAN__ 1
4228f4a2713aSLionel Sambuc // MSP430:#define __DBL_MANT_DIG__ 53
4229f4a2713aSLionel Sambuc // MSP430:#define __DBL_MAX_10_EXP__ 308
4230f4a2713aSLionel Sambuc // MSP430:#define __DBL_MAX_EXP__ 1024
4231f4a2713aSLionel Sambuc // MSP430:#define __DBL_MAX__ 1.7976931348623157e+308
4232f4a2713aSLionel Sambuc // MSP430:#define __DBL_MIN_10_EXP__ (-307)
4233f4a2713aSLionel Sambuc // MSP430:#define __DBL_MIN_EXP__ (-1021)
4234f4a2713aSLionel Sambuc // MSP430:#define __DBL_MIN__ 2.2250738585072014e-308
4235f4a2713aSLionel Sambuc // MSP430:#define __DECIMAL_DIG__ 17
4236f4a2713aSLionel Sambuc // MSP430:#define __FLT_DENORM_MIN__ 1.40129846e-45F
4237f4a2713aSLionel Sambuc // MSP430:#define __FLT_DIG__ 6
4238f4a2713aSLionel Sambuc // MSP430:#define __FLT_EPSILON__ 1.19209290e-7F
4239f4a2713aSLionel Sambuc // MSP430:#define __FLT_EVAL_METHOD__ 0
4240f4a2713aSLionel Sambuc // MSP430:#define __FLT_HAS_DENORM__ 1
4241f4a2713aSLionel Sambuc // MSP430:#define __FLT_HAS_INFINITY__ 1
4242f4a2713aSLionel Sambuc // MSP430:#define __FLT_HAS_QUIET_NAN__ 1
4243f4a2713aSLionel Sambuc // MSP430:#define __FLT_MANT_DIG__ 24
4244f4a2713aSLionel Sambuc // MSP430:#define __FLT_MAX_10_EXP__ 38
4245f4a2713aSLionel Sambuc // MSP430:#define __FLT_MAX_EXP__ 128
4246f4a2713aSLionel Sambuc // MSP430:#define __FLT_MAX__ 3.40282347e+38F
4247f4a2713aSLionel Sambuc // MSP430:#define __FLT_MIN_10_EXP__ (-37)
4248f4a2713aSLionel Sambuc // MSP430:#define __FLT_MIN_EXP__ (-125)
4249f4a2713aSLionel Sambuc // MSP430:#define __FLT_MIN__ 1.17549435e-38F
4250f4a2713aSLionel Sambuc // MSP430:#define __FLT_RADIX__ 2
4251*0a6a1f1dSLionel Sambuc // MSP430:#define __INT16_C_SUFFIX__ {{$}}
4252*0a6a1f1dSLionel Sambuc // MSP430:#define __INT16_FMTd__ "hd"
4253*0a6a1f1dSLionel Sambuc // MSP430:#define __INT16_FMTi__ "hi"
4254*0a6a1f1dSLionel Sambuc // MSP430:#define __INT16_MAX__ 32767
4255f4a2713aSLionel Sambuc // MSP430:#define __INT16_TYPE__ short
4256f4a2713aSLionel Sambuc // MSP430:#define __INT32_C_SUFFIX__ L
4257*0a6a1f1dSLionel Sambuc // MSP430:#define __INT32_FMTd__ "ld"
4258*0a6a1f1dSLionel Sambuc // MSP430:#define __INT32_FMTi__ "li"
4259*0a6a1f1dSLionel Sambuc // MSP430:#define __INT32_MAX__ 2147483647L
4260f4a2713aSLionel Sambuc // MSP430:#define __INT32_TYPE__ long int
4261*0a6a1f1dSLionel Sambuc // MSP430:#define __INT64_C_SUFFIX__ LL
4262*0a6a1f1dSLionel Sambuc // MSP430:#define __INT64_FMTd__ "lld"
4263*0a6a1f1dSLionel Sambuc // MSP430:#define __INT64_FMTi__ "lli"
4264*0a6a1f1dSLionel Sambuc // MSP430:#define __INT64_MAX__ 9223372036854775807LL
4265*0a6a1f1dSLionel Sambuc // MSP430:#define __INT64_TYPE__ long long int
4266*0a6a1f1dSLionel Sambuc // MSP430:#define __INT8_C_SUFFIX__ {{$}}
4267*0a6a1f1dSLionel Sambuc // MSP430:#define __INT8_FMTd__ "hhd"
4268*0a6a1f1dSLionel Sambuc // MSP430:#define __INT8_FMTi__ "hhi"
4269*0a6a1f1dSLionel Sambuc // MSP430:#define __INT8_MAX__ 127
4270*0a6a1f1dSLionel Sambuc // MSP430:#define __INT8_TYPE__ signed char
4271*0a6a1f1dSLionel Sambuc // MSP430:#define __INTMAX_C_SUFFIX__ LL
4272*0a6a1f1dSLionel Sambuc // MSP430:#define __INTMAX_FMTd__ "lld"
4273*0a6a1f1dSLionel Sambuc // MSP430:#define __INTMAX_FMTi__ "lli"
4274f4a2713aSLionel Sambuc // MSP430:#define __INTMAX_MAX__ 9223372036854775807LL
4275f4a2713aSLionel Sambuc // MSP430:#define __INTMAX_TYPE__ long long int
4276f4a2713aSLionel Sambuc // MSP430:#define __INTMAX_WIDTH__ 64
4277*0a6a1f1dSLionel Sambuc // MSP430:#define __INTPTR_FMTd__ "d"
4278*0a6a1f1dSLionel Sambuc // MSP430:#define __INTPTR_FMTi__ "i"
4279*0a6a1f1dSLionel Sambuc // MSP430:#define __INTPTR_MAX__ 32767
4280f4a2713aSLionel Sambuc // MSP430:#define __INTPTR_TYPE__ int
4281f4a2713aSLionel Sambuc // MSP430:#define __INTPTR_WIDTH__ 16
4282*0a6a1f1dSLionel Sambuc // MSP430:#define __INT_FAST16_FMTd__ "hd"
4283*0a6a1f1dSLionel Sambuc // MSP430:#define __INT_FAST16_FMTi__ "hi"
4284*0a6a1f1dSLionel Sambuc // MSP430:#define __INT_FAST16_MAX__ 32767
4285*0a6a1f1dSLionel Sambuc // MSP430:#define __INT_FAST16_TYPE__ short
4286*0a6a1f1dSLionel Sambuc // MSP430:#define __INT_FAST32_FMTd__ "ld"
4287*0a6a1f1dSLionel Sambuc // MSP430:#define __INT_FAST32_FMTi__ "li"
4288*0a6a1f1dSLionel Sambuc // MSP430:#define __INT_FAST32_MAX__ 2147483647L
4289*0a6a1f1dSLionel Sambuc // MSP430:#define __INT_FAST32_TYPE__ long int
4290*0a6a1f1dSLionel Sambuc // MSP430:#define __INT_FAST64_FMTd__ "lld"
4291*0a6a1f1dSLionel Sambuc // MSP430:#define __INT_FAST64_FMTi__ "lli"
4292*0a6a1f1dSLionel Sambuc // MSP430:#define __INT_FAST64_MAX__ 9223372036854775807LL
4293*0a6a1f1dSLionel Sambuc // MSP430:#define __INT_FAST64_TYPE__ long long int
4294*0a6a1f1dSLionel Sambuc // MSP430:#define __INT_FAST8_FMTd__ "hhd"
4295*0a6a1f1dSLionel Sambuc // MSP430:#define __INT_FAST8_FMTi__ "hhi"
4296*0a6a1f1dSLionel Sambuc // MSP430:#define __INT_FAST8_MAX__ 127
4297*0a6a1f1dSLionel Sambuc // MSP430:#define __INT_FAST8_TYPE__ signed char
4298*0a6a1f1dSLionel Sambuc // MSP430:#define __INT_LEAST16_FMTd__ "hd"
4299*0a6a1f1dSLionel Sambuc // MSP430:#define __INT_LEAST16_FMTi__ "hi"
4300*0a6a1f1dSLionel Sambuc // MSP430:#define __INT_LEAST16_MAX__ 32767
4301*0a6a1f1dSLionel Sambuc // MSP430:#define __INT_LEAST16_TYPE__ short
4302*0a6a1f1dSLionel Sambuc // MSP430:#define __INT_LEAST32_FMTd__ "ld"
4303*0a6a1f1dSLionel Sambuc // MSP430:#define __INT_LEAST32_FMTi__ "li"
4304*0a6a1f1dSLionel Sambuc // MSP430:#define __INT_LEAST32_MAX__ 2147483647L
4305*0a6a1f1dSLionel Sambuc // MSP430:#define __INT_LEAST32_TYPE__ long int
4306*0a6a1f1dSLionel Sambuc // MSP430:#define __INT_LEAST64_FMTd__ "lld"
4307*0a6a1f1dSLionel Sambuc // MSP430:#define __INT_LEAST64_FMTi__ "lli"
4308*0a6a1f1dSLionel Sambuc // MSP430:#define __INT_LEAST64_MAX__ 9223372036854775807LL
4309*0a6a1f1dSLionel Sambuc // MSP430:#define __INT_LEAST64_TYPE__ long long int
4310*0a6a1f1dSLionel Sambuc // MSP430:#define __INT_LEAST8_FMTd__ "hhd"
4311*0a6a1f1dSLionel Sambuc // MSP430:#define __INT_LEAST8_FMTi__ "hhi"
4312*0a6a1f1dSLionel Sambuc // MSP430:#define __INT_LEAST8_MAX__ 127
4313*0a6a1f1dSLionel Sambuc // MSP430:#define __INT_LEAST8_TYPE__ signed char
4314f4a2713aSLionel Sambuc // MSP430:#define __INT_MAX__ 32767
4315f4a2713aSLionel Sambuc // MSP430:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
4316f4a2713aSLionel Sambuc // MSP430:#define __LDBL_DIG__ 15
4317f4a2713aSLionel Sambuc // MSP430:#define __LDBL_EPSILON__ 2.2204460492503131e-16L
4318f4a2713aSLionel Sambuc // MSP430:#define __LDBL_HAS_DENORM__ 1
4319f4a2713aSLionel Sambuc // MSP430:#define __LDBL_HAS_INFINITY__ 1
4320f4a2713aSLionel Sambuc // MSP430:#define __LDBL_HAS_QUIET_NAN__ 1
4321f4a2713aSLionel Sambuc // MSP430:#define __LDBL_MANT_DIG__ 53
4322f4a2713aSLionel Sambuc // MSP430:#define __LDBL_MAX_10_EXP__ 308
4323f4a2713aSLionel Sambuc // MSP430:#define __LDBL_MAX_EXP__ 1024
4324f4a2713aSLionel Sambuc // MSP430:#define __LDBL_MAX__ 1.7976931348623157e+308L
4325f4a2713aSLionel Sambuc // MSP430:#define __LDBL_MIN_10_EXP__ (-307)
4326f4a2713aSLionel Sambuc // MSP430:#define __LDBL_MIN_EXP__ (-1021)
4327f4a2713aSLionel Sambuc // MSP430:#define __LDBL_MIN__ 2.2250738585072014e-308L
4328*0a6a1f1dSLionel Sambuc // MSP430:#define __LITTLE_ENDIAN__ 1
4329f4a2713aSLionel Sambuc // MSP430:#define __LONG_LONG_MAX__ 9223372036854775807LL
4330f4a2713aSLionel Sambuc // MSP430:#define __LONG_MAX__ 2147483647L
4331f4a2713aSLionel Sambuc // MSP430-NOT:#define __LP64__
4332f4a2713aSLionel Sambuc // MSP430:#define __MSP430__ 1
4333f4a2713aSLionel Sambuc // MSP430:#define __POINTER_WIDTH__ 16
4334f4a2713aSLionel Sambuc // MSP430:#define __PTRDIFF_TYPE__ int
4335f4a2713aSLionel Sambuc // MSP430:#define __PTRDIFF_WIDTH__ 16
4336f4a2713aSLionel Sambuc // MSP430:#define __SCHAR_MAX__ 127
4337f4a2713aSLionel Sambuc // MSP430:#define __SHRT_MAX__ 32767
4338*0a6a1f1dSLionel Sambuc // MSP430:#define __SIG_ATOMIC_MAX__ 2147483647
4339f4a2713aSLionel Sambuc // MSP430:#define __SIG_ATOMIC_WIDTH__ 32
4340f4a2713aSLionel Sambuc // MSP430:#define __SIZEOF_DOUBLE__ 8
4341f4a2713aSLionel Sambuc // MSP430:#define __SIZEOF_FLOAT__ 4
4342f4a2713aSLionel Sambuc // MSP430:#define __SIZEOF_INT__ 2
4343f4a2713aSLionel Sambuc // MSP430:#define __SIZEOF_LONG_DOUBLE__ 8
4344f4a2713aSLionel Sambuc // MSP430:#define __SIZEOF_LONG_LONG__ 8
4345f4a2713aSLionel Sambuc // MSP430:#define __SIZEOF_LONG__ 4
4346f4a2713aSLionel Sambuc // MSP430:#define __SIZEOF_POINTER__ 2
4347f4a2713aSLionel Sambuc // MSP430:#define __SIZEOF_PTRDIFF_T__ 2
4348f4a2713aSLionel Sambuc // MSP430:#define __SIZEOF_SHORT__ 2
4349f4a2713aSLionel Sambuc // MSP430:#define __SIZEOF_SIZE_T__ 2
4350f4a2713aSLionel Sambuc // MSP430:#define __SIZEOF_WCHAR_T__ 2
4351f4a2713aSLionel Sambuc // MSP430:#define __SIZEOF_WINT_T__ 2
4352*0a6a1f1dSLionel Sambuc // MSP430:#define __SIZE_MAX__ 65535
4353f4a2713aSLionel Sambuc // MSP430:#define __SIZE_TYPE__ unsigned int
4354f4a2713aSLionel Sambuc // MSP430:#define __SIZE_WIDTH__ 16
4355*0a6a1f1dSLionel Sambuc // MSP430:#define __UINT16_C_SUFFIX__ U
4356*0a6a1f1dSLionel Sambuc // MSP430:#define __UINT16_MAX__ 65535
4357*0a6a1f1dSLionel Sambuc // MSP430:#define __UINT16_TYPE__ unsigned short
4358*0a6a1f1dSLionel Sambuc // MSP430:#define __UINT32_C_SUFFIX__ UL
4359*0a6a1f1dSLionel Sambuc // MSP430:#define __UINT32_MAX__ 4294967295UL
4360*0a6a1f1dSLionel Sambuc // MSP430:#define __UINT32_TYPE__ long unsigned int
4361*0a6a1f1dSLionel Sambuc // MSP430:#define __UINT64_C_SUFFIX__ ULL
4362*0a6a1f1dSLionel Sambuc // MSP430:#define __UINT64_MAX__ 18446744073709551615ULL
4363*0a6a1f1dSLionel Sambuc // MSP430:#define __UINT64_TYPE__ long long unsigned int
4364*0a6a1f1dSLionel Sambuc // MSP430:#define __UINT8_C_SUFFIX__ {{$}}
4365*0a6a1f1dSLionel Sambuc // MSP430:#define __UINT8_MAX__ 255
4366*0a6a1f1dSLionel Sambuc // MSP430:#define __UINT8_TYPE__ unsigned char
4367*0a6a1f1dSLionel Sambuc // MSP430:#define __UINTMAX_C_SUFFIX__ ULL
4368*0a6a1f1dSLionel Sambuc // MSP430:#define __UINTMAX_MAX__ 18446744073709551615ULL
4369f4a2713aSLionel Sambuc // MSP430:#define __UINTMAX_TYPE__ long long unsigned int
4370*0a6a1f1dSLionel Sambuc // MSP430:#define __UINTMAX_WIDTH__ 64
4371*0a6a1f1dSLionel Sambuc // MSP430:#define __UINTPTR_MAX__ 65535
4372*0a6a1f1dSLionel Sambuc // MSP430:#define __UINTPTR_TYPE__ unsigned int
4373*0a6a1f1dSLionel Sambuc // MSP430:#define __UINTPTR_WIDTH__ 16
4374*0a6a1f1dSLionel Sambuc // MSP430:#define __UINT_FAST16_MAX__ 65535
4375*0a6a1f1dSLionel Sambuc // MSP430:#define __UINT_FAST16_TYPE__ unsigned short
4376*0a6a1f1dSLionel Sambuc // MSP430:#define __UINT_FAST32_MAX__ 4294967295UL
4377*0a6a1f1dSLionel Sambuc // MSP430:#define __UINT_FAST32_TYPE__ long unsigned int
4378*0a6a1f1dSLionel Sambuc // MSP430:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
4379*0a6a1f1dSLionel Sambuc // MSP430:#define __UINT_FAST64_TYPE__ long long unsigned int
4380*0a6a1f1dSLionel Sambuc // MSP430:#define __UINT_FAST8_MAX__ 255
4381*0a6a1f1dSLionel Sambuc // MSP430:#define __UINT_FAST8_TYPE__ unsigned char
4382*0a6a1f1dSLionel Sambuc // MSP430:#define __UINT_LEAST16_MAX__ 65535
4383*0a6a1f1dSLionel Sambuc // MSP430:#define __UINT_LEAST16_TYPE__ unsigned short
4384*0a6a1f1dSLionel Sambuc // MSP430:#define __UINT_LEAST32_MAX__ 4294967295UL
4385*0a6a1f1dSLionel Sambuc // MSP430:#define __UINT_LEAST32_TYPE__ long unsigned int
4386*0a6a1f1dSLionel Sambuc // MSP430:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
4387*0a6a1f1dSLionel Sambuc // MSP430:#define __UINT_LEAST64_TYPE__ long long unsigned int
4388*0a6a1f1dSLionel Sambuc // MSP430:#define __UINT_LEAST8_MAX__ 255
4389*0a6a1f1dSLionel Sambuc // MSP430:#define __UINT_LEAST8_TYPE__ unsigned char
4390f4a2713aSLionel Sambuc // MSP430:#define __USER_LABEL_PREFIX__ _
4391f4a2713aSLionel Sambuc // MSP430:#define __WCHAR_MAX__ 32767
4392f4a2713aSLionel Sambuc // MSP430:#define __WCHAR_TYPE__ int
4393f4a2713aSLionel Sambuc // MSP430:#define __WCHAR_WIDTH__ 16
4394f4a2713aSLionel Sambuc // MSP430:#define __WINT_TYPE__ int
4395f4a2713aSLionel Sambuc // MSP430:#define __WINT_WIDTH__ 16
4396f4a2713aSLionel Sambuc // MSP430:#define __clang__ 1
4397f4a2713aSLionel Sambuc //
4398f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=nvptx-none-none < /dev/null | FileCheck -check-prefix NVPTX32 %s
4399f4a2713aSLionel Sambuc //
4400f4a2713aSLionel Sambuc // NVPTX32-NOT:#define _LP64
4401f4a2713aSLionel Sambuc // NVPTX32:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
4402f4a2713aSLionel Sambuc // NVPTX32:#define __CHAR16_TYPE__ unsigned short
4403f4a2713aSLionel Sambuc // NVPTX32:#define __CHAR32_TYPE__ unsigned int
4404f4a2713aSLionel Sambuc // NVPTX32:#define __CHAR_BIT__ 8
4405f4a2713aSLionel Sambuc // NVPTX32:#define __CONSTANT_CFSTRINGS__ 1
4406f4a2713aSLionel Sambuc // NVPTX32:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
4407f4a2713aSLionel Sambuc // NVPTX32:#define __DBL_DIG__ 15
4408f4a2713aSLionel Sambuc // NVPTX32:#define __DBL_EPSILON__ 2.2204460492503131e-16
4409f4a2713aSLionel Sambuc // NVPTX32:#define __DBL_HAS_DENORM__ 1
4410f4a2713aSLionel Sambuc // NVPTX32:#define __DBL_HAS_INFINITY__ 1
4411f4a2713aSLionel Sambuc // NVPTX32:#define __DBL_HAS_QUIET_NAN__ 1
4412f4a2713aSLionel Sambuc // NVPTX32:#define __DBL_MANT_DIG__ 53
4413f4a2713aSLionel Sambuc // NVPTX32:#define __DBL_MAX_10_EXP__ 308
4414f4a2713aSLionel Sambuc // NVPTX32:#define __DBL_MAX_EXP__ 1024
4415f4a2713aSLionel Sambuc // NVPTX32:#define __DBL_MAX__ 1.7976931348623157e+308
4416f4a2713aSLionel Sambuc // NVPTX32:#define __DBL_MIN_10_EXP__ (-307)
4417f4a2713aSLionel Sambuc // NVPTX32:#define __DBL_MIN_EXP__ (-1021)
4418f4a2713aSLionel Sambuc // NVPTX32:#define __DBL_MIN__ 2.2250738585072014e-308
4419f4a2713aSLionel Sambuc // NVPTX32:#define __DECIMAL_DIG__ 17
4420f4a2713aSLionel Sambuc // NVPTX32:#define __FINITE_MATH_ONLY__ 0
4421f4a2713aSLionel Sambuc // NVPTX32:#define __FLT_DENORM_MIN__ 1.40129846e-45F
4422f4a2713aSLionel Sambuc // NVPTX32:#define __FLT_DIG__ 6
4423f4a2713aSLionel Sambuc // NVPTX32:#define __FLT_EPSILON__ 1.19209290e-7F
4424f4a2713aSLionel Sambuc // NVPTX32:#define __FLT_EVAL_METHOD__ 0
4425f4a2713aSLionel Sambuc // NVPTX32:#define __FLT_HAS_DENORM__ 1
4426f4a2713aSLionel Sambuc // NVPTX32:#define __FLT_HAS_INFINITY__ 1
4427f4a2713aSLionel Sambuc // NVPTX32:#define __FLT_HAS_QUIET_NAN__ 1
4428f4a2713aSLionel Sambuc // NVPTX32:#define __FLT_MANT_DIG__ 24
4429f4a2713aSLionel Sambuc // NVPTX32:#define __FLT_MAX_10_EXP__ 38
4430f4a2713aSLionel Sambuc // NVPTX32:#define __FLT_MAX_EXP__ 128
4431f4a2713aSLionel Sambuc // NVPTX32:#define __FLT_MAX__ 3.40282347e+38F
4432f4a2713aSLionel Sambuc // NVPTX32:#define __FLT_MIN_10_EXP__ (-37)
4433f4a2713aSLionel Sambuc // NVPTX32:#define __FLT_MIN_EXP__ (-125)
4434f4a2713aSLionel Sambuc // NVPTX32:#define __FLT_MIN__ 1.17549435e-38F
4435f4a2713aSLionel Sambuc // NVPTX32:#define __FLT_RADIX__ 2
4436*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT16_C_SUFFIX__ {{$}}
4437*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT16_FMTd__ "hd"
4438*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT16_FMTi__ "hi"
4439*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT16_MAX__ 32767
4440f4a2713aSLionel Sambuc // NVPTX32:#define __INT16_TYPE__ short
4441*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT32_C_SUFFIX__ {{$}}
4442*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT32_FMTd__ "d"
4443*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT32_FMTi__ "i"
4444*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT32_MAX__ 2147483647
4445f4a2713aSLionel Sambuc // NVPTX32:#define __INT32_TYPE__ int
4446f4a2713aSLionel Sambuc // NVPTX32:#define __INT64_C_SUFFIX__ LL
4447*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT64_FMTd__ "lld"
4448*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT64_FMTi__ "lli"
4449*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT64_MAX__ 9223372036854775807L
4450f4a2713aSLionel Sambuc // NVPTX32:#define __INT64_TYPE__ long long int
4451*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT8_C_SUFFIX__ {{$}}
4452*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT8_FMTd__ "hhd"
4453*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT8_FMTi__ "hhi"
4454*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT8_MAX__ 127
4455*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT8_TYPE__ signed char
4456*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INTMAX_C_SUFFIX__ LL
4457*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INTMAX_FMTd__ "lld"
4458*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INTMAX_FMTi__ "lli"
4459f4a2713aSLionel Sambuc // NVPTX32:#define __INTMAX_MAX__ 9223372036854775807LL
4460f4a2713aSLionel Sambuc // NVPTX32:#define __INTMAX_TYPE__ long long int
4461f4a2713aSLionel Sambuc // NVPTX32:#define __INTMAX_WIDTH__ 64
4462*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INTPTR_FMTd__ "d"
4463*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INTPTR_FMTi__ "i"
4464*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INTPTR_MAX__ 2147483647
4465*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INTPTR_TYPE__ int
4466f4a2713aSLionel Sambuc // NVPTX32:#define __INTPTR_WIDTH__ 32
4467*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT_FAST16_FMTd__ "hd"
4468*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT_FAST16_FMTi__ "hi"
4469*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT_FAST16_MAX__ 32767
4470*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT_FAST16_TYPE__ short
4471*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT_FAST32_FMTd__ "d"
4472*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT_FAST32_FMTi__ "i"
4473*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT_FAST32_MAX__ 2147483647
4474*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT_FAST32_TYPE__ int
4475*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT_FAST64_FMTd__ "ld"
4476*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT_FAST64_FMTi__ "li"
4477*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT_FAST64_MAX__ 9223372036854775807L
4478*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT_FAST64_TYPE__ long int
4479*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT_FAST8_FMTd__ "hhd"
4480*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT_FAST8_FMTi__ "hhi"
4481*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT_FAST8_MAX__ 127
4482*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT_FAST8_TYPE__ signed char
4483*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT_LEAST16_FMTd__ "hd"
4484*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT_LEAST16_FMTi__ "hi"
4485*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT_LEAST16_MAX__ 32767
4486*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT_LEAST16_TYPE__ short
4487*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT_LEAST32_FMTd__ "d"
4488*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT_LEAST32_FMTi__ "i"
4489*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT_LEAST32_MAX__ 2147483647
4490*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT_LEAST32_TYPE__ int
4491*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT_LEAST64_FMTd__ "ld"
4492*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT_LEAST64_FMTi__ "li"
4493*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT_LEAST64_MAX__ 9223372036854775807L
4494*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT_LEAST64_TYPE__ long int
4495*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT_LEAST8_FMTd__ "hhd"
4496*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT_LEAST8_FMTi__ "hhi"
4497*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT_LEAST8_MAX__ 127
4498*0a6a1f1dSLionel Sambuc // NVPTX32:#define __INT_LEAST8_TYPE__ signed char
4499f4a2713aSLionel Sambuc // NVPTX32:#define __INT_MAX__ 2147483647
4500f4a2713aSLionel Sambuc // NVPTX32:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
4501f4a2713aSLionel Sambuc // NVPTX32:#define __LDBL_DIG__ 15
4502f4a2713aSLionel Sambuc // NVPTX32:#define __LDBL_EPSILON__ 2.2204460492503131e-16L
4503f4a2713aSLionel Sambuc // NVPTX32:#define __LDBL_HAS_DENORM__ 1
4504f4a2713aSLionel Sambuc // NVPTX32:#define __LDBL_HAS_INFINITY__ 1
4505f4a2713aSLionel Sambuc // NVPTX32:#define __LDBL_HAS_QUIET_NAN__ 1
4506f4a2713aSLionel Sambuc // NVPTX32:#define __LDBL_MANT_DIG__ 53
4507f4a2713aSLionel Sambuc // NVPTX32:#define __LDBL_MAX_10_EXP__ 308
4508f4a2713aSLionel Sambuc // NVPTX32:#define __LDBL_MAX_EXP__ 1024
4509f4a2713aSLionel Sambuc // NVPTX32:#define __LDBL_MAX__ 1.7976931348623157e+308L
4510f4a2713aSLionel Sambuc // NVPTX32:#define __LDBL_MIN_10_EXP__ (-307)
4511f4a2713aSLionel Sambuc // NVPTX32:#define __LDBL_MIN_EXP__ (-1021)
4512f4a2713aSLionel Sambuc // NVPTX32:#define __LDBL_MIN__ 2.2250738585072014e-308L
4513*0a6a1f1dSLionel Sambuc // NVPTX32:#define __LITTLE_ENDIAN__ 1
4514f4a2713aSLionel Sambuc // NVPTX32:#define __LONG_LONG_MAX__ 9223372036854775807LL
4515f4a2713aSLionel Sambuc // NVPTX32:#define __LONG_MAX__ 9223372036854775807L
4516f4a2713aSLionel Sambuc // NVPTX32-NOT:#define __LP64__
4517f4a2713aSLionel Sambuc // NVPTX32:#define __NVPTX__ 1
4518f4a2713aSLionel Sambuc // NVPTX32:#define __POINTER_WIDTH__ 32
4519f4a2713aSLionel Sambuc // NVPTX32:#define __PRAGMA_REDEFINE_EXTNAME 1
4520f4a2713aSLionel Sambuc // NVPTX32:#define __PTRDIFF_TYPE__ unsigned int
4521f4a2713aSLionel Sambuc // NVPTX32:#define __PTRDIFF_WIDTH__ 32
4522f4a2713aSLionel Sambuc // NVPTX32:#define __PTX__ 1
4523f4a2713aSLionel Sambuc // NVPTX32:#define __SCHAR_MAX__ 127
4524f4a2713aSLionel Sambuc // NVPTX32:#define __SHRT_MAX__ 32767
4525*0a6a1f1dSLionel Sambuc // NVPTX32:#define __SIG_ATOMIC_MAX__ 2147483647
4526f4a2713aSLionel Sambuc // NVPTX32:#define __SIG_ATOMIC_WIDTH__ 32
4527f4a2713aSLionel Sambuc // NVPTX32:#define __SIZEOF_DOUBLE__ 8
4528f4a2713aSLionel Sambuc // NVPTX32:#define __SIZEOF_FLOAT__ 4
4529f4a2713aSLionel Sambuc // NVPTX32:#define __SIZEOF_INT__ 4
4530f4a2713aSLionel Sambuc // NVPTX32:#define __SIZEOF_LONG_DOUBLE__ 8
4531f4a2713aSLionel Sambuc // NVPTX32:#define __SIZEOF_LONG_LONG__ 8
4532f4a2713aSLionel Sambuc // NVPTX32:#define __SIZEOF_LONG__ 8
4533f4a2713aSLionel Sambuc // NVPTX32:#define __SIZEOF_POINTER__ 4
4534f4a2713aSLionel Sambuc // NVPTX32:#define __SIZEOF_PTRDIFF_T__ 4
4535f4a2713aSLionel Sambuc // NVPTX32:#define __SIZEOF_SHORT__ 2
4536f4a2713aSLionel Sambuc // NVPTX32:#define __SIZEOF_SIZE_T__ 4
4537f4a2713aSLionel Sambuc // NVPTX32:#define __SIZEOF_WCHAR_T__ 4
4538f4a2713aSLionel Sambuc // NVPTX32:#define __SIZEOF_WINT_T__ 4
4539f4a2713aSLionel Sambuc // NVPTX32:#define __SIZE_MAX__ 4294967295U
4540f4a2713aSLionel Sambuc // NVPTX32:#define __SIZE_TYPE__ unsigned int
4541f4a2713aSLionel Sambuc // NVPTX32:#define __SIZE_WIDTH__ 32
4542*0a6a1f1dSLionel Sambuc // NVPTX32:#define __UINT16_C_SUFFIX__ {{$}}
4543*0a6a1f1dSLionel Sambuc // NVPTX32:#define __UINT16_MAX__ 65535
4544*0a6a1f1dSLionel Sambuc // NVPTX32:#define __UINT16_TYPE__ unsigned short
4545*0a6a1f1dSLionel Sambuc // NVPTX32:#define __UINT32_C_SUFFIX__ U
4546*0a6a1f1dSLionel Sambuc // NVPTX32:#define __UINT32_MAX__ 4294967295U
4547*0a6a1f1dSLionel Sambuc // NVPTX32:#define __UINT32_TYPE__ unsigned int
4548*0a6a1f1dSLionel Sambuc // NVPTX32:#define __UINT64_C_SUFFIX__ ULL
4549*0a6a1f1dSLionel Sambuc // NVPTX32:#define __UINT64_MAX__ 18446744073709551615ULL
4550*0a6a1f1dSLionel Sambuc // NVPTX32:#define __UINT64_TYPE__ long long unsigned int
4551*0a6a1f1dSLionel Sambuc // NVPTX32:#define __UINT8_C_SUFFIX__ {{$}}
4552*0a6a1f1dSLionel Sambuc // NVPTX32:#define __UINT8_MAX__ 255
4553*0a6a1f1dSLionel Sambuc // NVPTX32:#define __UINT8_TYPE__ unsigned char
4554*0a6a1f1dSLionel Sambuc // NVPTX32:#define __UINTMAX_C_SUFFIX__ ULL
4555*0a6a1f1dSLionel Sambuc // NVPTX32:#define __UINTMAX_MAX__ 18446744073709551615ULL
4556f4a2713aSLionel Sambuc // NVPTX32:#define __UINTMAX_TYPE__ long long unsigned int
4557*0a6a1f1dSLionel Sambuc // NVPTX32:#define __UINTMAX_WIDTH__ 64
4558*0a6a1f1dSLionel Sambuc // NVPTX32:#define __UINTPTR_MAX__ 4294967295U
4559*0a6a1f1dSLionel Sambuc // NVPTX32:#define __UINTPTR_TYPE__ unsigned int
4560*0a6a1f1dSLionel Sambuc // NVPTX32:#define __UINTPTR_WIDTH__ 32
4561*0a6a1f1dSLionel Sambuc // NVPTX32:#define __UINT_FAST16_MAX__ 65535
4562*0a6a1f1dSLionel Sambuc // NVPTX32:#define __UINT_FAST16_TYPE__ unsigned short
4563*0a6a1f1dSLionel Sambuc // NVPTX32:#define __UINT_FAST32_MAX__ 4294967295U
4564*0a6a1f1dSLionel Sambuc // NVPTX32:#define __UINT_FAST32_TYPE__ unsigned int
4565*0a6a1f1dSLionel Sambuc // NVPTX32:#define __UINT_FAST64_MAX__ 18446744073709551615UL
4566*0a6a1f1dSLionel Sambuc // NVPTX32:#define __UINT_FAST64_TYPE__ long unsigned int
4567*0a6a1f1dSLionel Sambuc // NVPTX32:#define __UINT_FAST8_MAX__ 255
4568*0a6a1f1dSLionel Sambuc // NVPTX32:#define __UINT_FAST8_TYPE__ unsigned char
4569*0a6a1f1dSLionel Sambuc // NVPTX32:#define __UINT_LEAST16_MAX__ 65535
4570*0a6a1f1dSLionel Sambuc // NVPTX32:#define __UINT_LEAST16_TYPE__ unsigned short
4571*0a6a1f1dSLionel Sambuc // NVPTX32:#define __UINT_LEAST32_MAX__ 4294967295U
4572*0a6a1f1dSLionel Sambuc // NVPTX32:#define __UINT_LEAST32_TYPE__ unsigned int
4573*0a6a1f1dSLionel Sambuc // NVPTX32:#define __UINT_LEAST64_MAX__ 18446744073709551615UL
4574*0a6a1f1dSLionel Sambuc // NVPTX32:#define __UINT_LEAST64_TYPE__ long unsigned int
4575*0a6a1f1dSLionel Sambuc // NVPTX32:#define __UINT_LEAST8_MAX__ 255
4576*0a6a1f1dSLionel Sambuc // NVPTX32:#define __UINT_LEAST8_TYPE__ unsigned char
4577f4a2713aSLionel Sambuc // NVPTX32:#define __USER_LABEL_PREFIX__ _
4578f4a2713aSLionel Sambuc // NVPTX32:#define __WCHAR_MAX__ 2147483647
4579f4a2713aSLionel Sambuc // NVPTX32:#define __WCHAR_TYPE__ int
4580f4a2713aSLionel Sambuc // NVPTX32:#define __WCHAR_WIDTH__ 32
4581f4a2713aSLionel Sambuc // NVPTX32:#define __WINT_TYPE__ int
4582f4a2713aSLionel Sambuc // NVPTX32:#define __WINT_WIDTH__ 32
4583f4a2713aSLionel Sambuc //
4584f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=nvptx64-none-none < /dev/null | FileCheck -check-prefix NVPTX64 %s
4585f4a2713aSLionel Sambuc //
4586f4a2713aSLionel Sambuc // NVPTX64:#define _LP64 1
4587f4a2713aSLionel Sambuc // NVPTX64:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
4588f4a2713aSLionel Sambuc // NVPTX64:#define __CHAR16_TYPE__ unsigned short
4589f4a2713aSLionel Sambuc // NVPTX64:#define __CHAR32_TYPE__ unsigned int
4590f4a2713aSLionel Sambuc // NVPTX64:#define __CHAR_BIT__ 8
4591f4a2713aSLionel Sambuc // NVPTX64:#define __CONSTANT_CFSTRINGS__ 1
4592f4a2713aSLionel Sambuc // NVPTX64:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
4593f4a2713aSLionel Sambuc // NVPTX64:#define __DBL_DIG__ 15
4594f4a2713aSLionel Sambuc // NVPTX64:#define __DBL_EPSILON__ 2.2204460492503131e-16
4595f4a2713aSLionel Sambuc // NVPTX64:#define __DBL_HAS_DENORM__ 1
4596f4a2713aSLionel Sambuc // NVPTX64:#define __DBL_HAS_INFINITY__ 1
4597f4a2713aSLionel Sambuc // NVPTX64:#define __DBL_HAS_QUIET_NAN__ 1
4598f4a2713aSLionel Sambuc // NVPTX64:#define __DBL_MANT_DIG__ 53
4599f4a2713aSLionel Sambuc // NVPTX64:#define __DBL_MAX_10_EXP__ 308
4600f4a2713aSLionel Sambuc // NVPTX64:#define __DBL_MAX_EXP__ 1024
4601f4a2713aSLionel Sambuc // NVPTX64:#define __DBL_MAX__ 1.7976931348623157e+308
4602f4a2713aSLionel Sambuc // NVPTX64:#define __DBL_MIN_10_EXP__ (-307)
4603f4a2713aSLionel Sambuc // NVPTX64:#define __DBL_MIN_EXP__ (-1021)
4604f4a2713aSLionel Sambuc // NVPTX64:#define __DBL_MIN__ 2.2250738585072014e-308
4605f4a2713aSLionel Sambuc // NVPTX64:#define __DECIMAL_DIG__ 17
4606f4a2713aSLionel Sambuc // NVPTX64:#define __FINITE_MATH_ONLY__ 0
4607f4a2713aSLionel Sambuc // NVPTX64:#define __FLT_DENORM_MIN__ 1.40129846e-45F
4608f4a2713aSLionel Sambuc // NVPTX64:#define __FLT_DIG__ 6
4609f4a2713aSLionel Sambuc // NVPTX64:#define __FLT_EPSILON__ 1.19209290e-7F
4610f4a2713aSLionel Sambuc // NVPTX64:#define __FLT_EVAL_METHOD__ 0
4611f4a2713aSLionel Sambuc // NVPTX64:#define __FLT_HAS_DENORM__ 1
4612f4a2713aSLionel Sambuc // NVPTX64:#define __FLT_HAS_INFINITY__ 1
4613f4a2713aSLionel Sambuc // NVPTX64:#define __FLT_HAS_QUIET_NAN__ 1
4614f4a2713aSLionel Sambuc // NVPTX64:#define __FLT_MANT_DIG__ 24
4615f4a2713aSLionel Sambuc // NVPTX64:#define __FLT_MAX_10_EXP__ 38
4616f4a2713aSLionel Sambuc // NVPTX64:#define __FLT_MAX_EXP__ 128
4617f4a2713aSLionel Sambuc // NVPTX64:#define __FLT_MAX__ 3.40282347e+38F
4618f4a2713aSLionel Sambuc // NVPTX64:#define __FLT_MIN_10_EXP__ (-37)
4619f4a2713aSLionel Sambuc // NVPTX64:#define __FLT_MIN_EXP__ (-125)
4620f4a2713aSLionel Sambuc // NVPTX64:#define __FLT_MIN__ 1.17549435e-38F
4621f4a2713aSLionel Sambuc // NVPTX64:#define __FLT_RADIX__ 2
4622*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT16_C_SUFFIX__ {{$}}
4623*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT16_FMTd__ "hd"
4624*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT16_FMTi__ "hi"
4625*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT16_MAX__ 32767
4626f4a2713aSLionel Sambuc // NVPTX64:#define __INT16_TYPE__ short
4627*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT32_C_SUFFIX__ {{$}}
4628*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT32_FMTd__ "d"
4629*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT32_FMTi__ "i"
4630*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT32_MAX__ 2147483647
4631f4a2713aSLionel Sambuc // NVPTX64:#define __INT32_TYPE__ int
4632f4a2713aSLionel Sambuc // NVPTX64:#define __INT64_C_SUFFIX__ LL
4633*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT64_FMTd__ "lld"
4634*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT64_FMTi__ "lli"
4635*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT64_MAX__ 9223372036854775807L
4636f4a2713aSLionel Sambuc // NVPTX64:#define __INT64_TYPE__ long long int
4637*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT8_C_SUFFIX__ {{$}}
4638*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT8_FMTd__ "hhd"
4639*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT8_FMTi__ "hhi"
4640*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT8_MAX__ 127
4641*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT8_TYPE__ signed char
4642*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INTMAX_C_SUFFIX__ LL
4643*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INTMAX_FMTd__ "lld"
4644*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INTMAX_FMTi__ "lli"
4645f4a2713aSLionel Sambuc // NVPTX64:#define __INTMAX_MAX__ 9223372036854775807LL
4646f4a2713aSLionel Sambuc // NVPTX64:#define __INTMAX_TYPE__ long long int
4647f4a2713aSLionel Sambuc // NVPTX64:#define __INTMAX_WIDTH__ 64
4648*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INTPTR_FMTd__ "lld"
4649*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INTPTR_FMTi__ "lli"
4650*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INTPTR_MAX__ 9223372036854775807LL
4651*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INTPTR_TYPE__ long long int
4652f4a2713aSLionel Sambuc // NVPTX64:#define __INTPTR_WIDTH__ 64
4653*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT_FAST16_FMTd__ "hd"
4654*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT_FAST16_FMTi__ "hi"
4655*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT_FAST16_MAX__ 32767
4656*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT_FAST16_TYPE__ short
4657*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT_FAST32_FMTd__ "d"
4658*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT_FAST32_FMTi__ "i"
4659*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT_FAST32_MAX__ 2147483647
4660*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT_FAST32_TYPE__ int
4661*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT_FAST64_FMTd__ "ld"
4662*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT_FAST64_FMTi__ "li"
4663*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT_FAST64_MAX__ 9223372036854775807L
4664*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT_FAST64_TYPE__ long int
4665*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT_FAST8_FMTd__ "hhd"
4666*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT_FAST8_FMTi__ "hhi"
4667*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT_FAST8_MAX__ 127
4668*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT_FAST8_TYPE__ signed char
4669*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT_LEAST16_FMTd__ "hd"
4670*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT_LEAST16_FMTi__ "hi"
4671*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT_LEAST16_MAX__ 32767
4672*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT_LEAST16_TYPE__ short
4673*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT_LEAST32_FMTd__ "d"
4674*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT_LEAST32_FMTi__ "i"
4675*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT_LEAST32_MAX__ 2147483647
4676*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT_LEAST32_TYPE__ int
4677*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT_LEAST64_FMTd__ "ld"
4678*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT_LEAST64_FMTi__ "li"
4679*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT_LEAST64_MAX__ 9223372036854775807L
4680*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT_LEAST64_TYPE__ long int
4681*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT_LEAST8_FMTd__ "hhd"
4682*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT_LEAST8_FMTi__ "hhi"
4683*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT_LEAST8_MAX__ 127
4684*0a6a1f1dSLionel Sambuc // NVPTX64:#define __INT_LEAST8_TYPE__ signed char
4685f4a2713aSLionel Sambuc // NVPTX64:#define __INT_MAX__ 2147483647
4686f4a2713aSLionel Sambuc // NVPTX64:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
4687f4a2713aSLionel Sambuc // NVPTX64:#define __LDBL_DIG__ 15
4688f4a2713aSLionel Sambuc // NVPTX64:#define __LDBL_EPSILON__ 2.2204460492503131e-16L
4689f4a2713aSLionel Sambuc // NVPTX64:#define __LDBL_HAS_DENORM__ 1
4690f4a2713aSLionel Sambuc // NVPTX64:#define __LDBL_HAS_INFINITY__ 1
4691f4a2713aSLionel Sambuc // NVPTX64:#define __LDBL_HAS_QUIET_NAN__ 1
4692f4a2713aSLionel Sambuc // NVPTX64:#define __LDBL_MANT_DIG__ 53
4693f4a2713aSLionel Sambuc // NVPTX64:#define __LDBL_MAX_10_EXP__ 308
4694f4a2713aSLionel Sambuc // NVPTX64:#define __LDBL_MAX_EXP__ 1024
4695f4a2713aSLionel Sambuc // NVPTX64:#define __LDBL_MAX__ 1.7976931348623157e+308L
4696f4a2713aSLionel Sambuc // NVPTX64:#define __LDBL_MIN_10_EXP__ (-307)
4697f4a2713aSLionel Sambuc // NVPTX64:#define __LDBL_MIN_EXP__ (-1021)
4698f4a2713aSLionel Sambuc // NVPTX64:#define __LDBL_MIN__ 2.2250738585072014e-308L
4699*0a6a1f1dSLionel Sambuc // NVPTX64:#define __LITTLE_ENDIAN__ 1
4700f4a2713aSLionel Sambuc // NVPTX64:#define __LONG_LONG_MAX__ 9223372036854775807LL
4701f4a2713aSLionel Sambuc // NVPTX64:#define __LONG_MAX__ 9223372036854775807L
4702f4a2713aSLionel Sambuc // NVPTX64:#define __LP64__ 1
4703f4a2713aSLionel Sambuc // NVPTX64:#define __NVPTX__ 1
4704f4a2713aSLionel Sambuc // NVPTX64:#define __POINTER_WIDTH__ 64
4705f4a2713aSLionel Sambuc // NVPTX64:#define __PRAGMA_REDEFINE_EXTNAME 1
4706f4a2713aSLionel Sambuc // NVPTX64:#define __PTRDIFF_TYPE__ long long unsigned int
4707f4a2713aSLionel Sambuc // NVPTX64:#define __PTRDIFF_WIDTH__ 64
4708f4a2713aSLionel Sambuc // NVPTX64:#define __PTX__ 1
4709f4a2713aSLionel Sambuc // NVPTX64:#define __SCHAR_MAX__ 127
4710f4a2713aSLionel Sambuc // NVPTX64:#define __SHRT_MAX__ 32767
4711*0a6a1f1dSLionel Sambuc // NVPTX64:#define __SIG_ATOMIC_MAX__ 2147483647
4712f4a2713aSLionel Sambuc // NVPTX64:#define __SIG_ATOMIC_WIDTH__ 32
4713f4a2713aSLionel Sambuc // NVPTX64:#define __SIZEOF_DOUBLE__ 8
4714f4a2713aSLionel Sambuc // NVPTX64:#define __SIZEOF_FLOAT__ 4
4715f4a2713aSLionel Sambuc // NVPTX64:#define __SIZEOF_INT__ 4
4716f4a2713aSLionel Sambuc // NVPTX64:#define __SIZEOF_LONG_DOUBLE__ 8
4717f4a2713aSLionel Sambuc // NVPTX64:#define __SIZEOF_LONG_LONG__ 8
4718f4a2713aSLionel Sambuc // NVPTX64:#define __SIZEOF_LONG__ 8
4719f4a2713aSLionel Sambuc // NVPTX64:#define __SIZEOF_POINTER__ 8
4720f4a2713aSLionel Sambuc // NVPTX64:#define __SIZEOF_PTRDIFF_T__ 8
4721f4a2713aSLionel Sambuc // NVPTX64:#define __SIZEOF_SHORT__ 2
4722f4a2713aSLionel Sambuc // NVPTX64:#define __SIZEOF_SIZE_T__ 8
4723f4a2713aSLionel Sambuc // NVPTX64:#define __SIZEOF_WCHAR_T__ 4
4724f4a2713aSLionel Sambuc // NVPTX64:#define __SIZEOF_WINT_T__ 4
4725f4a2713aSLionel Sambuc // NVPTX64:#define __SIZE_MAX__ 18446744073709551615UL
4726f4a2713aSLionel Sambuc // NVPTX64:#define __SIZE_TYPE__ long long unsigned int
4727f4a2713aSLionel Sambuc // NVPTX64:#define __SIZE_WIDTH__ 64
4728*0a6a1f1dSLionel Sambuc // NVPTX64:#define __UINT16_C_SUFFIX__ {{$}}
4729*0a6a1f1dSLionel Sambuc // NVPTX64:#define __UINT16_MAX__ 65535
4730*0a6a1f1dSLionel Sambuc // NVPTX64:#define __UINT16_TYPE__ unsigned short
4731*0a6a1f1dSLionel Sambuc // NVPTX64:#define __UINT32_C_SUFFIX__ U
4732*0a6a1f1dSLionel Sambuc // NVPTX64:#define __UINT32_MAX__ 4294967295U
4733*0a6a1f1dSLionel Sambuc // NVPTX64:#define __UINT32_TYPE__ unsigned int
4734*0a6a1f1dSLionel Sambuc // NVPTX64:#define __UINT64_C_SUFFIX__ ULL
4735*0a6a1f1dSLionel Sambuc // NVPTX64:#define __UINT64_MAX__ 18446744073709551615ULL
4736*0a6a1f1dSLionel Sambuc // NVPTX64:#define __UINT64_TYPE__ long long unsigned int
4737*0a6a1f1dSLionel Sambuc // NVPTX64:#define __UINT8_C_SUFFIX__ {{$}}
4738*0a6a1f1dSLionel Sambuc // NVPTX64:#define __UINT8_MAX__ 255
4739*0a6a1f1dSLionel Sambuc // NVPTX64:#define __UINT8_TYPE__ unsigned char
4740*0a6a1f1dSLionel Sambuc // NVPTX64:#define __UINTMAX_C_SUFFIX__ ULL
4741*0a6a1f1dSLionel Sambuc // NVPTX64:#define __UINTMAX_MAX__ 18446744073709551615ULL
4742f4a2713aSLionel Sambuc // NVPTX64:#define __UINTMAX_TYPE__ long long unsigned int
4743*0a6a1f1dSLionel Sambuc // NVPTX64:#define __UINTMAX_WIDTH__ 64
4744*0a6a1f1dSLionel Sambuc // NVPTX64:#define __UINTPTR_MAX__ 18446744073709551615ULL
4745*0a6a1f1dSLionel Sambuc // NVPTX64:#define __UINTPTR_TYPE__ long long unsigned int
4746*0a6a1f1dSLionel Sambuc // NVPTX64:#define __UINTPTR_WIDTH__ 64
4747*0a6a1f1dSLionel Sambuc // NVPTX64:#define __UINT_FAST16_MAX__ 65535
4748*0a6a1f1dSLionel Sambuc // NVPTX64:#define __UINT_FAST16_TYPE__ unsigned short
4749*0a6a1f1dSLionel Sambuc // NVPTX64:#define __UINT_FAST32_MAX__ 4294967295U
4750*0a6a1f1dSLionel Sambuc // NVPTX64:#define __UINT_FAST32_TYPE__ unsigned int
4751*0a6a1f1dSLionel Sambuc // NVPTX64:#define __UINT_FAST64_MAX__ 18446744073709551615UL
4752*0a6a1f1dSLionel Sambuc // NVPTX64:#define __UINT_FAST64_TYPE__ long unsigned int
4753*0a6a1f1dSLionel Sambuc // NVPTX64:#define __UINT_FAST8_MAX__ 255
4754*0a6a1f1dSLionel Sambuc // NVPTX64:#define __UINT_FAST8_TYPE__ unsigned char
4755*0a6a1f1dSLionel Sambuc // NVPTX64:#define __UINT_LEAST16_MAX__ 65535
4756*0a6a1f1dSLionel Sambuc // NVPTX64:#define __UINT_LEAST16_TYPE__ unsigned short
4757*0a6a1f1dSLionel Sambuc // NVPTX64:#define __UINT_LEAST32_MAX__ 4294967295U
4758*0a6a1f1dSLionel Sambuc // NVPTX64:#define __UINT_LEAST32_TYPE__ unsigned int
4759*0a6a1f1dSLionel Sambuc // NVPTX64:#define __UINT_LEAST64_MAX__ 18446744073709551615UL
4760*0a6a1f1dSLionel Sambuc // NVPTX64:#define __UINT_LEAST64_TYPE__ long unsigned int
4761*0a6a1f1dSLionel Sambuc // NVPTX64:#define __UINT_LEAST8_MAX__ 255
4762*0a6a1f1dSLionel Sambuc // NVPTX64:#define __UINT_LEAST8_TYPE__ unsigned char
4763f4a2713aSLionel Sambuc // NVPTX64:#define __USER_LABEL_PREFIX__ _
4764f4a2713aSLionel Sambuc // NVPTX64:#define __WCHAR_MAX__ 2147483647
4765f4a2713aSLionel Sambuc // NVPTX64:#define __WCHAR_TYPE__ int
4766f4a2713aSLionel Sambuc // NVPTX64:#define __WCHAR_WIDTH__ 32
4767f4a2713aSLionel Sambuc // NVPTX64:#define __WINT_TYPE__ int
4768f4a2713aSLionel Sambuc // NVPTX64:#define __WINT_WIDTH__ 32
4769f4a2713aSLionel Sambuc //
4770f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc-none-none -target-cpu 603e < /dev/null | FileCheck -check-prefix PPC603E %s
4771f4a2713aSLionel Sambuc //
4772f4a2713aSLionel Sambuc // PPC603E:#define _ARCH_603 1
4773f4a2713aSLionel Sambuc // PPC603E:#define _ARCH_603E 1
4774f4a2713aSLionel Sambuc // PPC603E:#define _ARCH_PPC 1
4775f4a2713aSLionel Sambuc // PPC603E:#define _ARCH_PPCGR 1
4776f4a2713aSLionel Sambuc // PPC603E:#define _BIG_ENDIAN 1
4777f4a2713aSLionel Sambuc // PPC603E-NOT:#define _LP64
4778f4a2713aSLionel Sambuc // PPC603E:#define __BIG_ENDIAN__ 1
4779f4a2713aSLionel Sambuc // PPC603E:#define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__
4780f4a2713aSLionel Sambuc // PPC603E:#define __CHAR16_TYPE__ unsigned short
4781f4a2713aSLionel Sambuc // PPC603E:#define __CHAR32_TYPE__ unsigned int
4782f4a2713aSLionel Sambuc // PPC603E:#define __CHAR_BIT__ 8
4783f4a2713aSLionel Sambuc // PPC603E:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
4784f4a2713aSLionel Sambuc // PPC603E:#define __DBL_DIG__ 15
4785f4a2713aSLionel Sambuc // PPC603E:#define __DBL_EPSILON__ 2.2204460492503131e-16
4786f4a2713aSLionel Sambuc // PPC603E:#define __DBL_HAS_DENORM__ 1
4787f4a2713aSLionel Sambuc // PPC603E:#define __DBL_HAS_INFINITY__ 1
4788f4a2713aSLionel Sambuc // PPC603E:#define __DBL_HAS_QUIET_NAN__ 1
4789f4a2713aSLionel Sambuc // PPC603E:#define __DBL_MANT_DIG__ 53
4790f4a2713aSLionel Sambuc // PPC603E:#define __DBL_MAX_10_EXP__ 308
4791f4a2713aSLionel Sambuc // PPC603E:#define __DBL_MAX_EXP__ 1024
4792f4a2713aSLionel Sambuc // PPC603E:#define __DBL_MAX__ 1.7976931348623157e+308
4793f4a2713aSLionel Sambuc // PPC603E:#define __DBL_MIN_10_EXP__ (-307)
4794f4a2713aSLionel Sambuc // PPC603E:#define __DBL_MIN_EXP__ (-1021)
4795f4a2713aSLionel Sambuc // PPC603E:#define __DBL_MIN__ 2.2250738585072014e-308
4796f4a2713aSLionel Sambuc // PPC603E:#define __DECIMAL_DIG__ 33
4797f4a2713aSLionel Sambuc // PPC603E:#define __FLT_DENORM_MIN__ 1.40129846e-45F
4798f4a2713aSLionel Sambuc // PPC603E:#define __FLT_DIG__ 6
4799f4a2713aSLionel Sambuc // PPC603E:#define __FLT_EPSILON__ 1.19209290e-7F
4800f4a2713aSLionel Sambuc // PPC603E:#define __FLT_EVAL_METHOD__ 0
4801f4a2713aSLionel Sambuc // PPC603E:#define __FLT_HAS_DENORM__ 1
4802f4a2713aSLionel Sambuc // PPC603E:#define __FLT_HAS_INFINITY__ 1
4803f4a2713aSLionel Sambuc // PPC603E:#define __FLT_HAS_QUIET_NAN__ 1
4804f4a2713aSLionel Sambuc // PPC603E:#define __FLT_MANT_DIG__ 24
4805f4a2713aSLionel Sambuc // PPC603E:#define __FLT_MAX_10_EXP__ 38
4806f4a2713aSLionel Sambuc // PPC603E:#define __FLT_MAX_EXP__ 128
4807f4a2713aSLionel Sambuc // PPC603E:#define __FLT_MAX__ 3.40282347e+38F
4808f4a2713aSLionel Sambuc // PPC603E:#define __FLT_MIN_10_EXP__ (-37)
4809f4a2713aSLionel Sambuc // PPC603E:#define __FLT_MIN_EXP__ (-125)
4810f4a2713aSLionel Sambuc // PPC603E:#define __FLT_MIN__ 1.17549435e-38F
4811f4a2713aSLionel Sambuc // PPC603E:#define __FLT_RADIX__ 2
4812*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT16_C_SUFFIX__ {{$}}
4813*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT16_FMTd__ "hd"
4814*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT16_FMTi__ "hi"
4815*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT16_MAX__ 32767
4816f4a2713aSLionel Sambuc // PPC603E:#define __INT16_TYPE__ short
4817*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT32_C_SUFFIX__ {{$}}
4818*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT32_FMTd__ "d"
4819*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT32_FMTi__ "i"
4820*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT32_MAX__ 2147483647
4821f4a2713aSLionel Sambuc // PPC603E:#define __INT32_TYPE__ int
4822f4a2713aSLionel Sambuc // PPC603E:#define __INT64_C_SUFFIX__ LL
4823*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT64_FMTd__ "lld"
4824*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT64_FMTi__ "lli"
4825*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT64_MAX__ 9223372036854775807LL
4826f4a2713aSLionel Sambuc // PPC603E:#define __INT64_TYPE__ long long int
4827*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT8_C_SUFFIX__ {{$}}
4828*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT8_FMTd__ "hhd"
4829*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT8_FMTi__ "hhi"
4830*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT8_MAX__ 127
4831*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT8_TYPE__ signed char
4832*0a6a1f1dSLionel Sambuc // PPC603E:#define __INTMAX_C_SUFFIX__ LL
4833*0a6a1f1dSLionel Sambuc // PPC603E:#define __INTMAX_FMTd__ "lld"
4834*0a6a1f1dSLionel Sambuc // PPC603E:#define __INTMAX_FMTi__ "lli"
4835f4a2713aSLionel Sambuc // PPC603E:#define __INTMAX_MAX__ 9223372036854775807LL
4836f4a2713aSLionel Sambuc // PPC603E:#define __INTMAX_TYPE__ long long int
4837f4a2713aSLionel Sambuc // PPC603E:#define __INTMAX_WIDTH__ 64
4838*0a6a1f1dSLionel Sambuc // PPC603E:#define __INTPTR_FMTd__ "ld"
4839*0a6a1f1dSLionel Sambuc // PPC603E:#define __INTPTR_FMTi__ "li"
4840*0a6a1f1dSLionel Sambuc // PPC603E:#define __INTPTR_MAX__ 2147483647L
4841f4a2713aSLionel Sambuc // PPC603E:#define __INTPTR_TYPE__ long int
4842f4a2713aSLionel Sambuc // PPC603E:#define __INTPTR_WIDTH__ 32
4843*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT_FAST16_FMTd__ "hd"
4844*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT_FAST16_FMTi__ "hi"
4845*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT_FAST16_MAX__ 32767
4846*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT_FAST16_TYPE__ short
4847*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT_FAST32_FMTd__ "d"
4848*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT_FAST32_FMTi__ "i"
4849*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT_FAST32_MAX__ 2147483647
4850*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT_FAST32_TYPE__ int
4851*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT_FAST64_FMTd__ "lld"
4852*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT_FAST64_FMTi__ "lli"
4853*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT_FAST64_MAX__ 9223372036854775807LL
4854*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT_FAST64_TYPE__ long long int
4855*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT_FAST8_FMTd__ "hhd"
4856*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT_FAST8_FMTi__ "hhi"
4857*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT_FAST8_MAX__ 127
4858*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT_FAST8_TYPE__ signed char
4859*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT_LEAST16_FMTd__ "hd"
4860*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT_LEAST16_FMTi__ "hi"
4861*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT_LEAST16_MAX__ 32767
4862*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT_LEAST16_TYPE__ short
4863*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT_LEAST32_FMTd__ "d"
4864*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT_LEAST32_FMTi__ "i"
4865*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT_LEAST32_MAX__ 2147483647
4866*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT_LEAST32_TYPE__ int
4867*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT_LEAST64_FMTd__ "lld"
4868*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT_LEAST64_FMTi__ "lli"
4869*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT_LEAST64_MAX__ 9223372036854775807LL
4870*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT_LEAST64_TYPE__ long long int
4871*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT_LEAST8_FMTd__ "hhd"
4872*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT_LEAST8_FMTi__ "hhi"
4873*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT_LEAST8_MAX__ 127
4874*0a6a1f1dSLionel Sambuc // PPC603E:#define __INT_LEAST8_TYPE__ signed char
4875f4a2713aSLionel Sambuc // PPC603E:#define __INT_MAX__ 2147483647
4876f4a2713aSLionel Sambuc // PPC603E:#define __LDBL_DENORM_MIN__ 4.94065645841246544176568792868221e-324L
4877f4a2713aSLionel Sambuc // PPC603E:#define __LDBL_DIG__ 31
4878f4a2713aSLionel Sambuc // PPC603E:#define __LDBL_EPSILON__ 4.94065645841246544176568792868221e-324L
4879f4a2713aSLionel Sambuc // PPC603E:#define __LDBL_HAS_DENORM__ 1
4880f4a2713aSLionel Sambuc // PPC603E:#define __LDBL_HAS_INFINITY__ 1
4881f4a2713aSLionel Sambuc // PPC603E:#define __LDBL_HAS_QUIET_NAN__ 1
4882f4a2713aSLionel Sambuc // PPC603E:#define __LDBL_MANT_DIG__ 106
4883f4a2713aSLionel Sambuc // PPC603E:#define __LDBL_MAX_10_EXP__ 308
4884f4a2713aSLionel Sambuc // PPC603E:#define __LDBL_MAX_EXP__ 1024
4885f4a2713aSLionel Sambuc // PPC603E:#define __LDBL_MAX__ 1.79769313486231580793728971405301e+308L
4886f4a2713aSLionel Sambuc // PPC603E:#define __LDBL_MIN_10_EXP__ (-291)
4887f4a2713aSLionel Sambuc // PPC603E:#define __LDBL_MIN_EXP__ (-968)
4888f4a2713aSLionel Sambuc // PPC603E:#define __LDBL_MIN__ 2.00416836000897277799610805135016e-292L
4889f4a2713aSLionel Sambuc // PPC603E:#define __LONG_DOUBLE_128__ 1
4890f4a2713aSLionel Sambuc // PPC603E:#define __LONG_LONG_MAX__ 9223372036854775807LL
4891f4a2713aSLionel Sambuc // PPC603E:#define __LONG_MAX__ 2147483647L
4892f4a2713aSLionel Sambuc // PPC603E-NOT:#define __LP64__
4893f4a2713aSLionel Sambuc // PPC603E:#define __NATURAL_ALIGNMENT__ 1
4894f4a2713aSLionel Sambuc // PPC603E:#define __POINTER_WIDTH__ 32
4895f4a2713aSLionel Sambuc // PPC603E:#define __POWERPC__ 1
4896f4a2713aSLionel Sambuc // PPC603E:#define __PPC__ 1
4897f4a2713aSLionel Sambuc // PPC603E:#define __PTRDIFF_TYPE__ long int
4898f4a2713aSLionel Sambuc // PPC603E:#define __PTRDIFF_WIDTH__ 32
4899f4a2713aSLionel Sambuc // PPC603E:#define __REGISTER_PREFIX__
4900f4a2713aSLionel Sambuc // PPC603E:#define __SCHAR_MAX__ 127
4901f4a2713aSLionel Sambuc // PPC603E:#define __SHRT_MAX__ 32767
4902*0a6a1f1dSLionel Sambuc // PPC603E:#define __SIG_ATOMIC_MAX__ 2147483647
4903f4a2713aSLionel Sambuc // PPC603E:#define __SIG_ATOMIC_WIDTH__ 32
4904f4a2713aSLionel Sambuc // PPC603E:#define __SIZEOF_DOUBLE__ 8
4905f4a2713aSLionel Sambuc // PPC603E:#define __SIZEOF_FLOAT__ 4
4906f4a2713aSLionel Sambuc // PPC603E:#define __SIZEOF_INT__ 4
4907f4a2713aSLionel Sambuc // PPC603E:#define __SIZEOF_LONG_DOUBLE__ 16
4908f4a2713aSLionel Sambuc // PPC603E:#define __SIZEOF_LONG_LONG__ 8
4909f4a2713aSLionel Sambuc // PPC603E:#define __SIZEOF_LONG__ 4
4910f4a2713aSLionel Sambuc // PPC603E:#define __SIZEOF_POINTER__ 4
4911f4a2713aSLionel Sambuc // PPC603E:#define __SIZEOF_PTRDIFF_T__ 4
4912f4a2713aSLionel Sambuc // PPC603E:#define __SIZEOF_SHORT__ 2
4913f4a2713aSLionel Sambuc // PPC603E:#define __SIZEOF_SIZE_T__ 4
4914f4a2713aSLionel Sambuc // PPC603E:#define __SIZEOF_WCHAR_T__ 4
4915f4a2713aSLionel Sambuc // PPC603E:#define __SIZEOF_WINT_T__ 4
4916f4a2713aSLionel Sambuc // PPC603E:#define __SIZE_MAX__ 4294967295U
4917f4a2713aSLionel Sambuc // PPC603E:#define __SIZE_TYPE__ long unsigned int
4918f4a2713aSLionel Sambuc // PPC603E:#define __SIZE_WIDTH__ 32
4919*0a6a1f1dSLionel Sambuc // PPC603E:#define __UINT16_C_SUFFIX__ {{$}}
4920*0a6a1f1dSLionel Sambuc // PPC603E:#define __UINT16_MAX__ 65535
4921*0a6a1f1dSLionel Sambuc // PPC603E:#define __UINT16_TYPE__ unsigned short
4922*0a6a1f1dSLionel Sambuc // PPC603E:#define __UINT32_C_SUFFIX__ U
4923*0a6a1f1dSLionel Sambuc // PPC603E:#define __UINT32_MAX__ 4294967295U
4924*0a6a1f1dSLionel Sambuc // PPC603E:#define __UINT32_TYPE__ unsigned int
4925*0a6a1f1dSLionel Sambuc // PPC603E:#define __UINT64_C_SUFFIX__ ULL
4926*0a6a1f1dSLionel Sambuc // PPC603E:#define __UINT64_MAX__ 18446744073709551615ULL
4927*0a6a1f1dSLionel Sambuc // PPC603E:#define __UINT64_TYPE__ long long unsigned int
4928*0a6a1f1dSLionel Sambuc // PPC603E:#define __UINT8_C_SUFFIX__ {{$}}
4929*0a6a1f1dSLionel Sambuc // PPC603E:#define __UINT8_MAX__ 255
4930*0a6a1f1dSLionel Sambuc // PPC603E:#define __UINT8_TYPE__ unsigned char
4931*0a6a1f1dSLionel Sambuc // PPC603E:#define __UINTMAX_C_SUFFIX__ ULL
4932*0a6a1f1dSLionel Sambuc // PPC603E:#define __UINTMAX_MAX__ 18446744073709551615ULL
4933f4a2713aSLionel Sambuc // PPC603E:#define __UINTMAX_TYPE__ long long unsigned int
4934*0a6a1f1dSLionel Sambuc // PPC603E:#define __UINTMAX_WIDTH__ 64
4935*0a6a1f1dSLionel Sambuc // PPC603E:#define __UINTPTR_MAX__ 4294967295U
4936*0a6a1f1dSLionel Sambuc // PPC603E:#define __UINTPTR_TYPE__ long unsigned int
4937*0a6a1f1dSLionel Sambuc // PPC603E:#define __UINTPTR_WIDTH__ 32
4938*0a6a1f1dSLionel Sambuc // PPC603E:#define __UINT_FAST16_MAX__ 65535
4939*0a6a1f1dSLionel Sambuc // PPC603E:#define __UINT_FAST16_TYPE__ unsigned short
4940*0a6a1f1dSLionel Sambuc // PPC603E:#define __UINT_FAST32_MAX__ 4294967295U
4941*0a6a1f1dSLionel Sambuc // PPC603E:#define __UINT_FAST32_TYPE__ unsigned int
4942*0a6a1f1dSLionel Sambuc // PPC603E:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
4943*0a6a1f1dSLionel Sambuc // PPC603E:#define __UINT_FAST64_TYPE__ long long unsigned int
4944*0a6a1f1dSLionel Sambuc // PPC603E:#define __UINT_FAST8_MAX__ 255
4945*0a6a1f1dSLionel Sambuc // PPC603E:#define __UINT_FAST8_TYPE__ unsigned char
4946*0a6a1f1dSLionel Sambuc // PPC603E:#define __UINT_LEAST16_MAX__ 65535
4947*0a6a1f1dSLionel Sambuc // PPC603E:#define __UINT_LEAST16_TYPE__ unsigned short
4948*0a6a1f1dSLionel Sambuc // PPC603E:#define __UINT_LEAST32_MAX__ 4294967295U
4949*0a6a1f1dSLionel Sambuc // PPC603E:#define __UINT_LEAST32_TYPE__ unsigned int
4950*0a6a1f1dSLionel Sambuc // PPC603E:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
4951*0a6a1f1dSLionel Sambuc // PPC603E:#define __UINT_LEAST64_TYPE__ long long unsigned int
4952*0a6a1f1dSLionel Sambuc // PPC603E:#define __UINT_LEAST8_MAX__ 255
4953*0a6a1f1dSLionel Sambuc // PPC603E:#define __UINT_LEAST8_TYPE__ unsigned char
4954f4a2713aSLionel Sambuc // PPC603E:#define __USER_LABEL_PREFIX__ _
4955f4a2713aSLionel Sambuc // PPC603E:#define __WCHAR_MAX__ 2147483647
4956f4a2713aSLionel Sambuc // PPC603E:#define __WCHAR_TYPE__ int
4957f4a2713aSLionel Sambuc // PPC603E:#define __WCHAR_WIDTH__ 32
4958f4a2713aSLionel Sambuc // PPC603E:#define __WINT_TYPE__ int
4959f4a2713aSLionel Sambuc // PPC603E:#define __WINT_WIDTH__ 32
4960f4a2713aSLionel Sambuc // PPC603E:#define __powerpc__ 1
4961f4a2713aSLionel Sambuc // PPC603E:#define __ppc__ 1
4962f4a2713aSLionel Sambuc //
4963f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-cpu pwr7 -fno-signed-char < /dev/null | FileCheck -check-prefix PPC64 %s
4964f4a2713aSLionel Sambuc //
4965f4a2713aSLionel Sambuc // PPC64:#define _ARCH_PPC 1
4966f4a2713aSLionel Sambuc // PPC64:#define _ARCH_PPC64 1
4967f4a2713aSLionel Sambuc // PPC64:#define _ARCH_PPCGR 1
4968f4a2713aSLionel Sambuc // PPC64:#define _ARCH_PPCSQ 1
4969f4a2713aSLionel Sambuc // PPC64:#define _ARCH_PWR4 1
4970f4a2713aSLionel Sambuc // PPC64:#define _ARCH_PWR5 1
4971f4a2713aSLionel Sambuc // PPC64:#define _ARCH_PWR6 1
4972f4a2713aSLionel Sambuc // PPC64:#define _ARCH_PWR7 1
4973f4a2713aSLionel Sambuc // PPC64:#define _BIG_ENDIAN 1
4974f4a2713aSLionel Sambuc // PPC64:#define _LP64 1
4975f4a2713aSLionel Sambuc // PPC64:#define __BIG_ENDIAN__ 1
4976f4a2713aSLionel Sambuc // PPC64:#define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__
4977f4a2713aSLionel Sambuc // PPC64:#define __CHAR16_TYPE__ unsigned short
4978f4a2713aSLionel Sambuc // PPC64:#define __CHAR32_TYPE__ unsigned int
4979f4a2713aSLionel Sambuc // PPC64:#define __CHAR_BIT__ 8
4980f4a2713aSLionel Sambuc // PPC64:#define __CHAR_UNSIGNED__ 1
4981f4a2713aSLionel Sambuc // PPC64:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
4982f4a2713aSLionel Sambuc // PPC64:#define __DBL_DIG__ 15
4983f4a2713aSLionel Sambuc // PPC64:#define __DBL_EPSILON__ 2.2204460492503131e-16
4984f4a2713aSLionel Sambuc // PPC64:#define __DBL_HAS_DENORM__ 1
4985f4a2713aSLionel Sambuc // PPC64:#define __DBL_HAS_INFINITY__ 1
4986f4a2713aSLionel Sambuc // PPC64:#define __DBL_HAS_QUIET_NAN__ 1
4987f4a2713aSLionel Sambuc // PPC64:#define __DBL_MANT_DIG__ 53
4988f4a2713aSLionel Sambuc // PPC64:#define __DBL_MAX_10_EXP__ 308
4989f4a2713aSLionel Sambuc // PPC64:#define __DBL_MAX_EXP__ 1024
4990f4a2713aSLionel Sambuc // PPC64:#define __DBL_MAX__ 1.7976931348623157e+308
4991f4a2713aSLionel Sambuc // PPC64:#define __DBL_MIN_10_EXP__ (-307)
4992f4a2713aSLionel Sambuc // PPC64:#define __DBL_MIN_EXP__ (-1021)
4993f4a2713aSLionel Sambuc // PPC64:#define __DBL_MIN__ 2.2250738585072014e-308
4994f4a2713aSLionel Sambuc // PPC64:#define __DECIMAL_DIG__ 33
4995f4a2713aSLionel Sambuc // PPC64:#define __FLT_DENORM_MIN__ 1.40129846e-45F
4996f4a2713aSLionel Sambuc // PPC64:#define __FLT_DIG__ 6
4997f4a2713aSLionel Sambuc // PPC64:#define __FLT_EPSILON__ 1.19209290e-7F
4998f4a2713aSLionel Sambuc // PPC64:#define __FLT_EVAL_METHOD__ 0
4999f4a2713aSLionel Sambuc // PPC64:#define __FLT_HAS_DENORM__ 1
5000f4a2713aSLionel Sambuc // PPC64:#define __FLT_HAS_INFINITY__ 1
5001f4a2713aSLionel Sambuc // PPC64:#define __FLT_HAS_QUIET_NAN__ 1
5002f4a2713aSLionel Sambuc // PPC64:#define __FLT_MANT_DIG__ 24
5003f4a2713aSLionel Sambuc // PPC64:#define __FLT_MAX_10_EXP__ 38
5004f4a2713aSLionel Sambuc // PPC64:#define __FLT_MAX_EXP__ 128
5005f4a2713aSLionel Sambuc // PPC64:#define __FLT_MAX__ 3.40282347e+38F
5006f4a2713aSLionel Sambuc // PPC64:#define __FLT_MIN_10_EXP__ (-37)
5007f4a2713aSLionel Sambuc // PPC64:#define __FLT_MIN_EXP__ (-125)
5008f4a2713aSLionel Sambuc // PPC64:#define __FLT_MIN__ 1.17549435e-38F
5009f4a2713aSLionel Sambuc // PPC64:#define __FLT_RADIX__ 2
5010*0a6a1f1dSLionel Sambuc // PPC64:#define __INT16_C_SUFFIX__ {{$}}
5011*0a6a1f1dSLionel Sambuc // PPC64:#define __INT16_FMTd__ "hd"
5012*0a6a1f1dSLionel Sambuc // PPC64:#define __INT16_FMTi__ "hi"
5013*0a6a1f1dSLionel Sambuc // PPC64:#define __INT16_MAX__ 32767
5014f4a2713aSLionel Sambuc // PPC64:#define __INT16_TYPE__ short
5015*0a6a1f1dSLionel Sambuc // PPC64:#define __INT32_C_SUFFIX__ {{$}}
5016*0a6a1f1dSLionel Sambuc // PPC64:#define __INT32_FMTd__ "d"
5017*0a6a1f1dSLionel Sambuc // PPC64:#define __INT32_FMTi__ "i"
5018*0a6a1f1dSLionel Sambuc // PPC64:#define __INT32_MAX__ 2147483647
5019f4a2713aSLionel Sambuc // PPC64:#define __INT32_TYPE__ int
5020f4a2713aSLionel Sambuc // PPC64:#define __INT64_C_SUFFIX__ L
5021*0a6a1f1dSLionel Sambuc // PPC64:#define __INT64_FMTd__ "ld"
5022*0a6a1f1dSLionel Sambuc // PPC64:#define __INT64_FMTi__ "li"
5023*0a6a1f1dSLionel Sambuc // PPC64:#define __INT64_MAX__ 9223372036854775807L
5024f4a2713aSLionel Sambuc // PPC64:#define __INT64_TYPE__ long int
5025*0a6a1f1dSLionel Sambuc // PPC64:#define __INT8_C_SUFFIX__ {{$}}
5026*0a6a1f1dSLionel Sambuc // PPC64:#define __INT8_FMTd__ "hhd"
5027*0a6a1f1dSLionel Sambuc // PPC64:#define __INT8_FMTi__ "hhi"
5028*0a6a1f1dSLionel Sambuc // PPC64:#define __INT8_MAX__ 127
5029*0a6a1f1dSLionel Sambuc // PPC64:#define __INT8_TYPE__ signed char
5030*0a6a1f1dSLionel Sambuc // PPC64:#define __INTMAX_C_SUFFIX__ L
5031*0a6a1f1dSLionel Sambuc // PPC64:#define __INTMAX_FMTd__ "ld"
5032*0a6a1f1dSLionel Sambuc // PPC64:#define __INTMAX_FMTi__ "li"
5033f4a2713aSLionel Sambuc // PPC64:#define __INTMAX_MAX__ 9223372036854775807L
5034f4a2713aSLionel Sambuc // PPC64:#define __INTMAX_TYPE__ long int
5035f4a2713aSLionel Sambuc // PPC64:#define __INTMAX_WIDTH__ 64
5036*0a6a1f1dSLionel Sambuc // PPC64:#define __INTPTR_FMTd__ "ld"
5037*0a6a1f1dSLionel Sambuc // PPC64:#define __INTPTR_FMTi__ "li"
5038*0a6a1f1dSLionel Sambuc // PPC64:#define __INTPTR_MAX__ 9223372036854775807L
5039f4a2713aSLionel Sambuc // PPC64:#define __INTPTR_TYPE__ long int
5040f4a2713aSLionel Sambuc // PPC64:#define __INTPTR_WIDTH__ 64
5041*0a6a1f1dSLionel Sambuc // PPC64:#define __INT_FAST16_FMTd__ "hd"
5042*0a6a1f1dSLionel Sambuc // PPC64:#define __INT_FAST16_FMTi__ "hi"
5043*0a6a1f1dSLionel Sambuc // PPC64:#define __INT_FAST16_MAX__ 32767
5044*0a6a1f1dSLionel Sambuc // PPC64:#define __INT_FAST16_TYPE__ short
5045*0a6a1f1dSLionel Sambuc // PPC64:#define __INT_FAST32_FMTd__ "d"
5046*0a6a1f1dSLionel Sambuc // PPC64:#define __INT_FAST32_FMTi__ "i"
5047*0a6a1f1dSLionel Sambuc // PPC64:#define __INT_FAST32_MAX__ 2147483647
5048*0a6a1f1dSLionel Sambuc // PPC64:#define __INT_FAST32_TYPE__ int
5049*0a6a1f1dSLionel Sambuc // PPC64:#define __INT_FAST64_FMTd__ "ld"
5050*0a6a1f1dSLionel Sambuc // PPC64:#define __INT_FAST64_FMTi__ "li"
5051*0a6a1f1dSLionel Sambuc // PPC64:#define __INT_FAST64_MAX__ 9223372036854775807L
5052*0a6a1f1dSLionel Sambuc // PPC64:#define __INT_FAST64_TYPE__ long int
5053*0a6a1f1dSLionel Sambuc // PPC64:#define __INT_FAST8_FMTd__ "hhd"
5054*0a6a1f1dSLionel Sambuc // PPC64:#define __INT_FAST8_FMTi__ "hhi"
5055*0a6a1f1dSLionel Sambuc // PPC64:#define __INT_FAST8_MAX__ 127
5056*0a6a1f1dSLionel Sambuc // PPC64:#define __INT_FAST8_TYPE__ signed char
5057*0a6a1f1dSLionel Sambuc // PPC64:#define __INT_LEAST16_FMTd__ "hd"
5058*0a6a1f1dSLionel Sambuc // PPC64:#define __INT_LEAST16_FMTi__ "hi"
5059*0a6a1f1dSLionel Sambuc // PPC64:#define __INT_LEAST16_MAX__ 32767
5060*0a6a1f1dSLionel Sambuc // PPC64:#define __INT_LEAST16_TYPE__ short
5061*0a6a1f1dSLionel Sambuc // PPC64:#define __INT_LEAST32_FMTd__ "d"
5062*0a6a1f1dSLionel Sambuc // PPC64:#define __INT_LEAST32_FMTi__ "i"
5063*0a6a1f1dSLionel Sambuc // PPC64:#define __INT_LEAST32_MAX__ 2147483647
5064*0a6a1f1dSLionel Sambuc // PPC64:#define __INT_LEAST32_TYPE__ int
5065*0a6a1f1dSLionel Sambuc // PPC64:#define __INT_LEAST64_FMTd__ "ld"
5066*0a6a1f1dSLionel Sambuc // PPC64:#define __INT_LEAST64_FMTi__ "li"
5067*0a6a1f1dSLionel Sambuc // PPC64:#define __INT_LEAST64_MAX__ 9223372036854775807L
5068*0a6a1f1dSLionel Sambuc // PPC64:#define __INT_LEAST64_TYPE__ long int
5069*0a6a1f1dSLionel Sambuc // PPC64:#define __INT_LEAST8_FMTd__ "hhd"
5070*0a6a1f1dSLionel Sambuc // PPC64:#define __INT_LEAST8_FMTi__ "hhi"
5071*0a6a1f1dSLionel Sambuc // PPC64:#define __INT_LEAST8_MAX__ 127
5072*0a6a1f1dSLionel Sambuc // PPC64:#define __INT_LEAST8_TYPE__ signed char
5073f4a2713aSLionel Sambuc // PPC64:#define __INT_MAX__ 2147483647
5074f4a2713aSLionel Sambuc // PPC64:#define __LDBL_DENORM_MIN__ 4.94065645841246544176568792868221e-324L
5075f4a2713aSLionel Sambuc // PPC64:#define __LDBL_DIG__ 31
5076f4a2713aSLionel Sambuc // PPC64:#define __LDBL_EPSILON__ 4.94065645841246544176568792868221e-324L
5077f4a2713aSLionel Sambuc // PPC64:#define __LDBL_HAS_DENORM__ 1
5078f4a2713aSLionel Sambuc // PPC64:#define __LDBL_HAS_INFINITY__ 1
5079f4a2713aSLionel Sambuc // PPC64:#define __LDBL_HAS_QUIET_NAN__ 1
5080f4a2713aSLionel Sambuc // PPC64:#define __LDBL_MANT_DIG__ 106
5081f4a2713aSLionel Sambuc // PPC64:#define __LDBL_MAX_10_EXP__ 308
5082f4a2713aSLionel Sambuc // PPC64:#define __LDBL_MAX_EXP__ 1024
5083f4a2713aSLionel Sambuc // PPC64:#define __LDBL_MAX__ 1.79769313486231580793728971405301e+308L
5084f4a2713aSLionel Sambuc // PPC64:#define __LDBL_MIN_10_EXP__ (-291)
5085f4a2713aSLionel Sambuc // PPC64:#define __LDBL_MIN_EXP__ (-968)
5086f4a2713aSLionel Sambuc // PPC64:#define __LDBL_MIN__ 2.00416836000897277799610805135016e-292L
5087f4a2713aSLionel Sambuc // PPC64:#define __LONG_DOUBLE_128__ 1
5088f4a2713aSLionel Sambuc // PPC64:#define __LONG_LONG_MAX__ 9223372036854775807LL
5089f4a2713aSLionel Sambuc // PPC64:#define __LONG_MAX__ 9223372036854775807L
5090f4a2713aSLionel Sambuc // PPC64:#define __LP64__ 1
5091f4a2713aSLionel Sambuc // PPC64:#define __NATURAL_ALIGNMENT__ 1
5092f4a2713aSLionel Sambuc // PPC64:#define __POINTER_WIDTH__ 64
5093f4a2713aSLionel Sambuc // PPC64:#define __POWERPC__ 1
5094f4a2713aSLionel Sambuc // PPC64:#define __PPC64__ 1
5095f4a2713aSLionel Sambuc // PPC64:#define __PPC__ 1
5096f4a2713aSLionel Sambuc // PPC64:#define __PTRDIFF_TYPE__ long int
5097f4a2713aSLionel Sambuc // PPC64:#define __PTRDIFF_WIDTH__ 64
5098f4a2713aSLionel Sambuc // PPC64:#define __REGISTER_PREFIX__
5099f4a2713aSLionel Sambuc // PPC64:#define __SCHAR_MAX__ 127
5100f4a2713aSLionel Sambuc // PPC64:#define __SHRT_MAX__ 32767
5101*0a6a1f1dSLionel Sambuc // PPC64:#define __SIG_ATOMIC_MAX__ 2147483647
5102f4a2713aSLionel Sambuc // PPC64:#define __SIG_ATOMIC_WIDTH__ 32
5103f4a2713aSLionel Sambuc // PPC64:#define __SIZEOF_DOUBLE__ 8
5104f4a2713aSLionel Sambuc // PPC64:#define __SIZEOF_FLOAT__ 4
5105f4a2713aSLionel Sambuc // PPC64:#define __SIZEOF_INT__ 4
5106f4a2713aSLionel Sambuc // PPC64:#define __SIZEOF_LONG_DOUBLE__ 16
5107f4a2713aSLionel Sambuc // PPC64:#define __SIZEOF_LONG_LONG__ 8
5108f4a2713aSLionel Sambuc // PPC64:#define __SIZEOF_LONG__ 8
5109f4a2713aSLionel Sambuc // PPC64:#define __SIZEOF_POINTER__ 8
5110f4a2713aSLionel Sambuc // PPC64:#define __SIZEOF_PTRDIFF_T__ 8
5111f4a2713aSLionel Sambuc // PPC64:#define __SIZEOF_SHORT__ 2
5112f4a2713aSLionel Sambuc // PPC64:#define __SIZEOF_SIZE_T__ 8
5113f4a2713aSLionel Sambuc // PPC64:#define __SIZEOF_WCHAR_T__ 4
5114f4a2713aSLionel Sambuc // PPC64:#define __SIZEOF_WINT_T__ 4
5115f4a2713aSLionel Sambuc // PPC64:#define __SIZE_MAX__ 18446744073709551615UL
5116f4a2713aSLionel Sambuc // PPC64:#define __SIZE_TYPE__ long unsigned int
5117f4a2713aSLionel Sambuc // PPC64:#define __SIZE_WIDTH__ 64
5118*0a6a1f1dSLionel Sambuc // PPC64:#define __UINT16_C_SUFFIX__ {{$}}
5119*0a6a1f1dSLionel Sambuc // PPC64:#define __UINT16_MAX__ 65535
5120*0a6a1f1dSLionel Sambuc // PPC64:#define __UINT16_TYPE__ unsigned short
5121*0a6a1f1dSLionel Sambuc // PPC64:#define __UINT32_C_SUFFIX__ U
5122*0a6a1f1dSLionel Sambuc // PPC64:#define __UINT32_MAX__ 4294967295U
5123*0a6a1f1dSLionel Sambuc // PPC64:#define __UINT32_TYPE__ unsigned int
5124*0a6a1f1dSLionel Sambuc // PPC64:#define __UINT64_C_SUFFIX__ UL
5125*0a6a1f1dSLionel Sambuc // PPC64:#define __UINT64_MAX__ 18446744073709551615UL
5126*0a6a1f1dSLionel Sambuc // PPC64:#define __UINT64_TYPE__ long unsigned int
5127*0a6a1f1dSLionel Sambuc // PPC64:#define __UINT8_C_SUFFIX__ {{$}}
5128*0a6a1f1dSLionel Sambuc // PPC64:#define __UINT8_MAX__ 255
5129*0a6a1f1dSLionel Sambuc // PPC64:#define __UINT8_TYPE__ unsigned char
5130*0a6a1f1dSLionel Sambuc // PPC64:#define __UINTMAX_C_SUFFIX__ UL
5131*0a6a1f1dSLionel Sambuc // PPC64:#define __UINTMAX_MAX__ 18446744073709551615UL
5132f4a2713aSLionel Sambuc // PPC64:#define __UINTMAX_TYPE__ long unsigned int
5133*0a6a1f1dSLionel Sambuc // PPC64:#define __UINTMAX_WIDTH__ 64
5134*0a6a1f1dSLionel Sambuc // PPC64:#define __UINTPTR_MAX__ 18446744073709551615UL
5135*0a6a1f1dSLionel Sambuc // PPC64:#define __UINTPTR_TYPE__ long unsigned int
5136*0a6a1f1dSLionel Sambuc // PPC64:#define __UINTPTR_WIDTH__ 64
5137*0a6a1f1dSLionel Sambuc // PPC64:#define __UINT_FAST16_MAX__ 65535
5138*0a6a1f1dSLionel Sambuc // PPC64:#define __UINT_FAST16_TYPE__ unsigned short
5139*0a6a1f1dSLionel Sambuc // PPC64:#define __UINT_FAST32_MAX__ 4294967295U
5140*0a6a1f1dSLionel Sambuc // PPC64:#define __UINT_FAST32_TYPE__ unsigned int
5141*0a6a1f1dSLionel Sambuc // PPC64:#define __UINT_FAST64_MAX__ 18446744073709551615UL
5142*0a6a1f1dSLionel Sambuc // PPC64:#define __UINT_FAST64_TYPE__ long unsigned int
5143*0a6a1f1dSLionel Sambuc // PPC64:#define __UINT_FAST8_MAX__ 255
5144*0a6a1f1dSLionel Sambuc // PPC64:#define __UINT_FAST8_TYPE__ unsigned char
5145*0a6a1f1dSLionel Sambuc // PPC64:#define __UINT_LEAST16_MAX__ 65535
5146*0a6a1f1dSLionel Sambuc // PPC64:#define __UINT_LEAST16_TYPE__ unsigned short
5147*0a6a1f1dSLionel Sambuc // PPC64:#define __UINT_LEAST32_MAX__ 4294967295U
5148*0a6a1f1dSLionel Sambuc // PPC64:#define __UINT_LEAST32_TYPE__ unsigned int
5149*0a6a1f1dSLionel Sambuc // PPC64:#define __UINT_LEAST64_MAX__ 18446744073709551615UL
5150*0a6a1f1dSLionel Sambuc // PPC64:#define __UINT_LEAST64_TYPE__ long unsigned int
5151*0a6a1f1dSLionel Sambuc // PPC64:#define __UINT_LEAST8_MAX__ 255
5152*0a6a1f1dSLionel Sambuc // PPC64:#define __UINT_LEAST8_TYPE__ unsigned char
5153f4a2713aSLionel Sambuc // PPC64:#define __USER_LABEL_PREFIX__ _
5154f4a2713aSLionel Sambuc // PPC64:#define __WCHAR_MAX__ 2147483647
5155f4a2713aSLionel Sambuc // PPC64:#define __WCHAR_TYPE__ int
5156f4a2713aSLionel Sambuc // PPC64:#define __WCHAR_WIDTH__ 32
5157f4a2713aSLionel Sambuc // PPC64:#define __WINT_TYPE__ int
5158f4a2713aSLionel Sambuc // PPC64:#define __WINT_WIDTH__ 32
5159f4a2713aSLionel Sambuc // PPC64:#define __ppc64__ 1
5160f4a2713aSLionel Sambuc // PPC64:#define __ppc__ 1
5161f4a2713aSLionel Sambuc //
5162f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64le-none-none -target-cpu pwr7 -fno-signed-char < /dev/null | FileCheck -check-prefix PPC64LE %s
5163f4a2713aSLionel Sambuc //
5164f4a2713aSLionel Sambuc // PPC64LE:#define _ARCH_PPC 1
5165f4a2713aSLionel Sambuc // PPC64LE:#define _ARCH_PPC64 1
5166f4a2713aSLionel Sambuc // PPC64LE:#define _ARCH_PPCGR 1
5167f4a2713aSLionel Sambuc // PPC64LE:#define _ARCH_PPCSQ 1
5168f4a2713aSLionel Sambuc // PPC64LE:#define _ARCH_PWR4 1
5169f4a2713aSLionel Sambuc // PPC64LE:#define _ARCH_PWR5 1
5170f4a2713aSLionel Sambuc // PPC64LE:#define _ARCH_PWR5X 1
5171f4a2713aSLionel Sambuc // PPC64LE:#define _ARCH_PWR6 1
5172f4a2713aSLionel Sambuc // PPC64LE:#define _ARCH_PWR6X 1
5173f4a2713aSLionel Sambuc // PPC64LE:#define _ARCH_PWR7 1
5174*0a6a1f1dSLionel Sambuc // PPC64LE:#define _CALL_ELF 2
5175f4a2713aSLionel Sambuc // PPC64LE:#define _LITTLE_ENDIAN 1
5176f4a2713aSLionel Sambuc // PPC64LE:#define _LP64 1
5177f4a2713aSLionel Sambuc // PPC64LE:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
5178f4a2713aSLionel Sambuc // PPC64LE:#define __CHAR16_TYPE__ unsigned short
5179f4a2713aSLionel Sambuc // PPC64LE:#define __CHAR32_TYPE__ unsigned int
5180f4a2713aSLionel Sambuc // PPC64LE:#define __CHAR_BIT__ 8
5181f4a2713aSLionel Sambuc // PPC64LE:#define __CHAR_UNSIGNED__ 1
5182f4a2713aSLionel Sambuc // PPC64LE:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
5183f4a2713aSLionel Sambuc // PPC64LE:#define __DBL_DIG__ 15
5184f4a2713aSLionel Sambuc // PPC64LE:#define __DBL_EPSILON__ 2.2204460492503131e-16
5185f4a2713aSLionel Sambuc // PPC64LE:#define __DBL_HAS_DENORM__ 1
5186f4a2713aSLionel Sambuc // PPC64LE:#define __DBL_HAS_INFINITY__ 1
5187f4a2713aSLionel Sambuc // PPC64LE:#define __DBL_HAS_QUIET_NAN__ 1
5188f4a2713aSLionel Sambuc // PPC64LE:#define __DBL_MANT_DIG__ 53
5189f4a2713aSLionel Sambuc // PPC64LE:#define __DBL_MAX_10_EXP__ 308
5190f4a2713aSLionel Sambuc // PPC64LE:#define __DBL_MAX_EXP__ 1024
5191f4a2713aSLionel Sambuc // PPC64LE:#define __DBL_MAX__ 1.7976931348623157e+308
5192f4a2713aSLionel Sambuc // PPC64LE:#define __DBL_MIN_10_EXP__ (-307)
5193f4a2713aSLionel Sambuc // PPC64LE:#define __DBL_MIN_EXP__ (-1021)
5194f4a2713aSLionel Sambuc // PPC64LE:#define __DBL_MIN__ 2.2250738585072014e-308
5195f4a2713aSLionel Sambuc // PPC64LE:#define __DECIMAL_DIG__ 33
5196f4a2713aSLionel Sambuc // PPC64LE:#define __FLT_DENORM_MIN__ 1.40129846e-45F
5197f4a2713aSLionel Sambuc // PPC64LE:#define __FLT_DIG__ 6
5198f4a2713aSLionel Sambuc // PPC64LE:#define __FLT_EPSILON__ 1.19209290e-7F
5199f4a2713aSLionel Sambuc // PPC64LE:#define __FLT_EVAL_METHOD__ 0
5200f4a2713aSLionel Sambuc // PPC64LE:#define __FLT_HAS_DENORM__ 1
5201f4a2713aSLionel Sambuc // PPC64LE:#define __FLT_HAS_INFINITY__ 1
5202f4a2713aSLionel Sambuc // PPC64LE:#define __FLT_HAS_QUIET_NAN__ 1
5203f4a2713aSLionel Sambuc // PPC64LE:#define __FLT_MANT_DIG__ 24
5204f4a2713aSLionel Sambuc // PPC64LE:#define __FLT_MAX_10_EXP__ 38
5205f4a2713aSLionel Sambuc // PPC64LE:#define __FLT_MAX_EXP__ 128
5206f4a2713aSLionel Sambuc // PPC64LE:#define __FLT_MAX__ 3.40282347e+38F
5207f4a2713aSLionel Sambuc // PPC64LE:#define __FLT_MIN_10_EXP__ (-37)
5208f4a2713aSLionel Sambuc // PPC64LE:#define __FLT_MIN_EXP__ (-125)
5209f4a2713aSLionel Sambuc // PPC64LE:#define __FLT_MIN__ 1.17549435e-38F
5210f4a2713aSLionel Sambuc // PPC64LE:#define __FLT_RADIX__ 2
5211*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT16_C_SUFFIX__ {{$}}
5212*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT16_FMTd__ "hd"
5213*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT16_FMTi__ "hi"
5214*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT16_MAX__ 32767
5215f4a2713aSLionel Sambuc // PPC64LE:#define __INT16_TYPE__ short
5216*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT32_C_SUFFIX__ {{$}}
5217*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT32_FMTd__ "d"
5218*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT32_FMTi__ "i"
5219*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT32_MAX__ 2147483647
5220f4a2713aSLionel Sambuc // PPC64LE:#define __INT32_TYPE__ int
5221f4a2713aSLionel Sambuc // PPC64LE:#define __INT64_C_SUFFIX__ L
5222*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT64_FMTd__ "ld"
5223*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT64_FMTi__ "li"
5224*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT64_MAX__ 9223372036854775807L
5225f4a2713aSLionel Sambuc // PPC64LE:#define __INT64_TYPE__ long int
5226*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT8_C_SUFFIX__ {{$}}
5227*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT8_FMTd__ "hhd"
5228*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT8_FMTi__ "hhi"
5229*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT8_MAX__ 127
5230*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT8_TYPE__ signed char
5231*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INTMAX_C_SUFFIX__ L
5232*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INTMAX_FMTd__ "ld"
5233*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INTMAX_FMTi__ "li"
5234f4a2713aSLionel Sambuc // PPC64LE:#define __INTMAX_MAX__ 9223372036854775807L
5235f4a2713aSLionel Sambuc // PPC64LE:#define __INTMAX_TYPE__ long int
5236f4a2713aSLionel Sambuc // PPC64LE:#define __INTMAX_WIDTH__ 64
5237*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INTPTR_FMTd__ "ld"
5238*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INTPTR_FMTi__ "li"
5239*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INTPTR_MAX__ 9223372036854775807L
5240f4a2713aSLionel Sambuc // PPC64LE:#define __INTPTR_TYPE__ long int
5241f4a2713aSLionel Sambuc // PPC64LE:#define __INTPTR_WIDTH__ 64
5242*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT_FAST16_FMTd__ "hd"
5243*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT_FAST16_FMTi__ "hi"
5244*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT_FAST16_MAX__ 32767
5245*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT_FAST16_TYPE__ short
5246*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT_FAST32_FMTd__ "d"
5247*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT_FAST32_FMTi__ "i"
5248*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT_FAST32_MAX__ 2147483647
5249*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT_FAST32_TYPE__ int
5250*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT_FAST64_FMTd__ "ld"
5251*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT_FAST64_FMTi__ "li"
5252*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT_FAST64_MAX__ 9223372036854775807L
5253*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT_FAST64_TYPE__ long int
5254*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT_FAST8_FMTd__ "hhd"
5255*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT_FAST8_FMTi__ "hhi"
5256*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT_FAST8_MAX__ 127
5257*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT_FAST8_TYPE__ signed char
5258*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT_LEAST16_FMTd__ "hd"
5259*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT_LEAST16_FMTi__ "hi"
5260*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT_LEAST16_MAX__ 32767
5261*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT_LEAST16_TYPE__ short
5262*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT_LEAST32_FMTd__ "d"
5263*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT_LEAST32_FMTi__ "i"
5264*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT_LEAST32_MAX__ 2147483647
5265*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT_LEAST32_TYPE__ int
5266*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT_LEAST64_FMTd__ "ld"
5267*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT_LEAST64_FMTi__ "li"
5268*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT_LEAST64_MAX__ 9223372036854775807L
5269*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT_LEAST64_TYPE__ long int
5270*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT_LEAST8_FMTd__ "hhd"
5271*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT_LEAST8_FMTi__ "hhi"
5272*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT_LEAST8_MAX__ 127
5273*0a6a1f1dSLionel Sambuc // PPC64LE:#define __INT_LEAST8_TYPE__ signed char
5274f4a2713aSLionel Sambuc // PPC64LE:#define __INT_MAX__ 2147483647
5275f4a2713aSLionel Sambuc // PPC64LE:#define __LDBL_DENORM_MIN__ 4.94065645841246544176568792868221e-324L
5276f4a2713aSLionel Sambuc // PPC64LE:#define __LDBL_DIG__ 31
5277f4a2713aSLionel Sambuc // PPC64LE:#define __LDBL_EPSILON__ 4.94065645841246544176568792868221e-324L
5278f4a2713aSLionel Sambuc // PPC64LE:#define __LDBL_HAS_DENORM__ 1
5279f4a2713aSLionel Sambuc // PPC64LE:#define __LDBL_HAS_INFINITY__ 1
5280f4a2713aSLionel Sambuc // PPC64LE:#define __LDBL_HAS_QUIET_NAN__ 1
5281f4a2713aSLionel Sambuc // PPC64LE:#define __LDBL_MANT_DIG__ 106
5282f4a2713aSLionel Sambuc // PPC64LE:#define __LDBL_MAX_10_EXP__ 308
5283f4a2713aSLionel Sambuc // PPC64LE:#define __LDBL_MAX_EXP__ 1024
5284f4a2713aSLionel Sambuc // PPC64LE:#define __LDBL_MAX__ 1.79769313486231580793728971405301e+308L
5285f4a2713aSLionel Sambuc // PPC64LE:#define __LDBL_MIN_10_EXP__ (-291)
5286f4a2713aSLionel Sambuc // PPC64LE:#define __LDBL_MIN_EXP__ (-968)
5287f4a2713aSLionel Sambuc // PPC64LE:#define __LDBL_MIN__ 2.00416836000897277799610805135016e-292L
5288f4a2713aSLionel Sambuc // PPC64LE:#define __LITTLE_ENDIAN__ 1
5289f4a2713aSLionel Sambuc // PPC64LE:#define __LONG_DOUBLE_128__ 1
5290f4a2713aSLionel Sambuc // PPC64LE:#define __LONG_LONG_MAX__ 9223372036854775807LL
5291f4a2713aSLionel Sambuc // PPC64LE:#define __LONG_MAX__ 9223372036854775807L
5292f4a2713aSLionel Sambuc // PPC64LE:#define __LP64__ 1
5293f4a2713aSLionel Sambuc // PPC64LE:#define __NATURAL_ALIGNMENT__ 1
5294f4a2713aSLionel Sambuc // PPC64LE:#define __POINTER_WIDTH__ 64
5295f4a2713aSLionel Sambuc // PPC64LE:#define __POWERPC__ 1
5296f4a2713aSLionel Sambuc // PPC64LE:#define __PPC64__ 1
5297f4a2713aSLionel Sambuc // PPC64LE:#define __PPC__ 1
5298f4a2713aSLionel Sambuc // PPC64LE:#define __PTRDIFF_TYPE__ long int
5299f4a2713aSLionel Sambuc // PPC64LE:#define __PTRDIFF_WIDTH__ 64
5300f4a2713aSLionel Sambuc // PPC64LE:#define __REGISTER_PREFIX__
5301f4a2713aSLionel Sambuc // PPC64LE:#define __SCHAR_MAX__ 127
5302f4a2713aSLionel Sambuc // PPC64LE:#define __SHRT_MAX__ 32767
5303*0a6a1f1dSLionel Sambuc // PPC64LE:#define __SIG_ATOMIC_MAX__ 2147483647
5304f4a2713aSLionel Sambuc // PPC64LE:#define __SIG_ATOMIC_WIDTH__ 32
5305f4a2713aSLionel Sambuc // PPC64LE:#define __SIZEOF_DOUBLE__ 8
5306f4a2713aSLionel Sambuc // PPC64LE:#define __SIZEOF_FLOAT__ 4
5307f4a2713aSLionel Sambuc // PPC64LE:#define __SIZEOF_INT__ 4
5308f4a2713aSLionel Sambuc // PPC64LE:#define __SIZEOF_LONG_DOUBLE__ 16
5309f4a2713aSLionel Sambuc // PPC64LE:#define __SIZEOF_LONG_LONG__ 8
5310f4a2713aSLionel Sambuc // PPC64LE:#define __SIZEOF_LONG__ 8
5311f4a2713aSLionel Sambuc // PPC64LE:#define __SIZEOF_POINTER__ 8
5312f4a2713aSLionel Sambuc // PPC64LE:#define __SIZEOF_PTRDIFF_T__ 8
5313f4a2713aSLionel Sambuc // PPC64LE:#define __SIZEOF_SHORT__ 2
5314f4a2713aSLionel Sambuc // PPC64LE:#define __SIZEOF_SIZE_T__ 8
5315f4a2713aSLionel Sambuc // PPC64LE:#define __SIZEOF_WCHAR_T__ 4
5316f4a2713aSLionel Sambuc // PPC64LE:#define __SIZEOF_WINT_T__ 4
5317f4a2713aSLionel Sambuc // PPC64LE:#define __SIZE_MAX__ 18446744073709551615UL
5318f4a2713aSLionel Sambuc // PPC64LE:#define __SIZE_TYPE__ long unsigned int
5319f4a2713aSLionel Sambuc // PPC64LE:#define __SIZE_WIDTH__ 64
5320*0a6a1f1dSLionel Sambuc // PPC64LE:#define __UINT16_C_SUFFIX__ {{$}}
5321*0a6a1f1dSLionel Sambuc // PPC64LE:#define __UINT16_MAX__ 65535
5322*0a6a1f1dSLionel Sambuc // PPC64LE:#define __UINT16_TYPE__ unsigned short
5323*0a6a1f1dSLionel Sambuc // PPC64LE:#define __UINT32_C_SUFFIX__ U
5324*0a6a1f1dSLionel Sambuc // PPC64LE:#define __UINT32_MAX__ 4294967295U
5325*0a6a1f1dSLionel Sambuc // PPC64LE:#define __UINT32_TYPE__ unsigned int
5326*0a6a1f1dSLionel Sambuc // PPC64LE:#define __UINT64_C_SUFFIX__ UL
5327*0a6a1f1dSLionel Sambuc // PPC64LE:#define __UINT64_MAX__ 18446744073709551615UL
5328*0a6a1f1dSLionel Sambuc // PPC64LE:#define __UINT64_TYPE__ long unsigned int
5329*0a6a1f1dSLionel Sambuc // PPC64LE:#define __UINT8_C_SUFFIX__ {{$}}
5330*0a6a1f1dSLionel Sambuc // PPC64LE:#define __UINT8_MAX__ 255
5331*0a6a1f1dSLionel Sambuc // PPC64LE:#define __UINT8_TYPE__ unsigned char
5332*0a6a1f1dSLionel Sambuc // PPC64LE:#define __UINTMAX_C_SUFFIX__ UL
5333*0a6a1f1dSLionel Sambuc // PPC64LE:#define __UINTMAX_MAX__ 18446744073709551615UL
5334f4a2713aSLionel Sambuc // PPC64LE:#define __UINTMAX_TYPE__ long unsigned int
5335*0a6a1f1dSLionel Sambuc // PPC64LE:#define __UINTMAX_WIDTH__ 64
5336*0a6a1f1dSLionel Sambuc // PPC64LE:#define __UINTPTR_MAX__ 18446744073709551615UL
5337*0a6a1f1dSLionel Sambuc // PPC64LE:#define __UINTPTR_TYPE__ long unsigned int
5338*0a6a1f1dSLionel Sambuc // PPC64LE:#define __UINTPTR_WIDTH__ 64
5339*0a6a1f1dSLionel Sambuc // PPC64LE:#define __UINT_FAST16_MAX__ 65535
5340*0a6a1f1dSLionel Sambuc // PPC64LE:#define __UINT_FAST16_TYPE__ unsigned short
5341*0a6a1f1dSLionel Sambuc // PPC64LE:#define __UINT_FAST32_MAX__ 4294967295U
5342*0a6a1f1dSLionel Sambuc // PPC64LE:#define __UINT_FAST32_TYPE__ unsigned int
5343*0a6a1f1dSLionel Sambuc // PPC64LE:#define __UINT_FAST64_MAX__ 18446744073709551615UL
5344*0a6a1f1dSLionel Sambuc // PPC64LE:#define __UINT_FAST64_TYPE__ long unsigned int
5345*0a6a1f1dSLionel Sambuc // PPC64LE:#define __UINT_FAST8_MAX__ 255
5346*0a6a1f1dSLionel Sambuc // PPC64LE:#define __UINT_FAST8_TYPE__ unsigned char
5347*0a6a1f1dSLionel Sambuc // PPC64LE:#define __UINT_LEAST16_MAX__ 65535
5348*0a6a1f1dSLionel Sambuc // PPC64LE:#define __UINT_LEAST16_TYPE__ unsigned short
5349*0a6a1f1dSLionel Sambuc // PPC64LE:#define __UINT_LEAST32_MAX__ 4294967295U
5350*0a6a1f1dSLionel Sambuc // PPC64LE:#define __UINT_LEAST32_TYPE__ unsigned int
5351*0a6a1f1dSLionel Sambuc // PPC64LE:#define __UINT_LEAST64_MAX__ 18446744073709551615UL
5352*0a6a1f1dSLionel Sambuc // PPC64LE:#define __UINT_LEAST64_TYPE__ long unsigned int
5353*0a6a1f1dSLionel Sambuc // PPC64LE:#define __UINT_LEAST8_MAX__ 255
5354*0a6a1f1dSLionel Sambuc // PPC64LE:#define __UINT_LEAST8_TYPE__ unsigned char
5355f4a2713aSLionel Sambuc // PPC64LE:#define __USER_LABEL_PREFIX__ _
5356f4a2713aSLionel Sambuc // PPC64LE:#define __WCHAR_MAX__ 2147483647
5357f4a2713aSLionel Sambuc // PPC64LE:#define __WCHAR_TYPE__ int
5358f4a2713aSLionel Sambuc // PPC64LE:#define __WCHAR_WIDTH__ 32
5359f4a2713aSLionel Sambuc // PPC64LE:#define __WINT_TYPE__ int
5360f4a2713aSLionel Sambuc // PPC64LE:#define __WINT_WIDTH__ 32
5361f4a2713aSLionel Sambuc // PPC64LE:#define __ppc64__ 1
5362f4a2713aSLionel Sambuc // PPC64LE:#define __ppc__ 1
5363f4a2713aSLionel Sambuc //
5364f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-cpu a2q -fno-signed-char < /dev/null | FileCheck -check-prefix PPCA2Q %s
5365f4a2713aSLionel Sambuc //
5366f4a2713aSLionel Sambuc // PPCA2Q:#define _ARCH_A2 1
5367f4a2713aSLionel Sambuc // PPCA2Q:#define _ARCH_A2Q 1
5368f4a2713aSLionel Sambuc // PPCA2Q:#define _ARCH_PPC 1
5369f4a2713aSLionel Sambuc // PPCA2Q:#define _ARCH_PPC64 1
5370f4a2713aSLionel Sambuc // PPCA2Q:#define _ARCH_QP 1
5371f4a2713aSLionel Sambuc //
5372f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-bgq-linux -fno-signed-char < /dev/null | FileCheck -check-prefix PPCBGQ %s
5373f4a2713aSLionel Sambuc //
5374f4a2713aSLionel Sambuc // PPCBGQ:#define __THW_BLUEGENE__ 1
5375f4a2713aSLionel Sambuc // PPCBGQ:#define __TOS_BGQ__ 1
5376f4a2713aSLionel Sambuc // PPCBGQ:#define __bg__ 1
5377f4a2713aSLionel Sambuc // PPCBGQ:#define __bgq__ 1
5378f4a2713aSLionel Sambuc //
5379f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-cpu 630 -fno-signed-char < /dev/null | FileCheck -check-prefix PPC630 %s
5380f4a2713aSLionel Sambuc //
5381f4a2713aSLionel Sambuc // PPC630:#define _ARCH_630 1
5382f4a2713aSLionel Sambuc // PPC630:#define _ARCH_PPC 1
5383f4a2713aSLionel Sambuc // PPC630:#define _ARCH_PPC64 1
5384f4a2713aSLionel Sambuc // PPC630:#define _ARCH_PPCGR 1
5385f4a2713aSLionel Sambuc //
5386f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-cpu pwr3 -fno-signed-char < /dev/null | FileCheck -check-prefix PPCPWR3 %s
5387f4a2713aSLionel Sambuc //
5388f4a2713aSLionel Sambuc // PPCPWR3:#define _ARCH_PPC 1
5389f4a2713aSLionel Sambuc // PPCPWR3:#define _ARCH_PPC64 1
5390f4a2713aSLionel Sambuc // PPCPWR3:#define _ARCH_PPCGR 1
5391f4a2713aSLionel Sambuc //
5392f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-cpu power3 -fno-signed-char < /dev/null | FileCheck -check-prefix PPCPOWER3 %s
5393f4a2713aSLionel Sambuc //
5394f4a2713aSLionel Sambuc // PPCPOWER3:#define _ARCH_PPC 1
5395f4a2713aSLionel Sambuc // PPCPOWER3:#define _ARCH_PPC64 1
5396f4a2713aSLionel Sambuc // PPCPOWER3:#define _ARCH_PPCGR 1
5397f4a2713aSLionel Sambuc //
5398f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-cpu pwr4 -fno-signed-char < /dev/null | FileCheck -check-prefix PPCPWR4 %s
5399f4a2713aSLionel Sambuc //
5400f4a2713aSLionel Sambuc // PPCPWR4:#define _ARCH_PPC 1
5401f4a2713aSLionel Sambuc // PPCPWR4:#define _ARCH_PPC64 1
5402f4a2713aSLionel Sambuc // PPCPWR4:#define _ARCH_PPCGR 1
5403f4a2713aSLionel Sambuc // PPCPWR4:#define _ARCH_PPCSQ 1
5404f4a2713aSLionel Sambuc // PPCPWR4:#define _ARCH_PWR4 1
5405f4a2713aSLionel Sambuc //
5406f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-cpu power4 -fno-signed-char < /dev/null | FileCheck -check-prefix PPCPOWER4 %s
5407f4a2713aSLionel Sambuc //
5408f4a2713aSLionel Sambuc // PPCPOWER4:#define _ARCH_PPC 1
5409f4a2713aSLionel Sambuc // PPCPOWER4:#define _ARCH_PPC64 1
5410f4a2713aSLionel Sambuc // PPCPOWER4:#define _ARCH_PPCGR 1
5411f4a2713aSLionel Sambuc // PPCPOWER4:#define _ARCH_PPCSQ 1
5412f4a2713aSLionel Sambuc // PPCPOWER4:#define _ARCH_PWR4 1
5413f4a2713aSLionel Sambuc //
5414f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-cpu pwr5 -fno-signed-char < /dev/null | FileCheck -check-prefix PPCPWR5 %s
5415f4a2713aSLionel Sambuc //
5416f4a2713aSLionel Sambuc // PPCPWR5:#define _ARCH_PPC 1
5417f4a2713aSLionel Sambuc // PPCPWR5:#define _ARCH_PPC64 1
5418f4a2713aSLionel Sambuc // PPCPWR5:#define _ARCH_PPCGR 1
5419f4a2713aSLionel Sambuc // PPCPWR5:#define _ARCH_PPCSQ 1
5420f4a2713aSLionel Sambuc // PPCPWR5:#define _ARCH_PWR4 1
5421f4a2713aSLionel Sambuc // PPCPWR5:#define _ARCH_PWR5 1
5422f4a2713aSLionel Sambuc //
5423f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-cpu power5 -fno-signed-char < /dev/null | FileCheck -check-prefix PPCPOWER5 %s
5424f4a2713aSLionel Sambuc //
5425f4a2713aSLionel Sambuc // PPCPOWER5:#define _ARCH_PPC 1
5426f4a2713aSLionel Sambuc // PPCPOWER5:#define _ARCH_PPC64 1
5427f4a2713aSLionel Sambuc // PPCPOWER5:#define _ARCH_PPCGR 1
5428f4a2713aSLionel Sambuc // PPCPOWER5:#define _ARCH_PPCSQ 1
5429f4a2713aSLionel Sambuc // PPCPOWER5:#define _ARCH_PWR4 1
5430f4a2713aSLionel Sambuc // PPCPOWER5:#define _ARCH_PWR5 1
5431f4a2713aSLionel Sambuc //
5432f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-cpu pwr5x -fno-signed-char < /dev/null | FileCheck -check-prefix PPCPWR5X %s
5433f4a2713aSLionel Sambuc //
5434f4a2713aSLionel Sambuc // PPCPWR5X:#define _ARCH_PPC 1
5435f4a2713aSLionel Sambuc // PPCPWR5X:#define _ARCH_PPC64 1
5436f4a2713aSLionel Sambuc // PPCPWR5X:#define _ARCH_PPCGR 1
5437f4a2713aSLionel Sambuc // PPCPWR5X:#define _ARCH_PPCSQ 1
5438f4a2713aSLionel Sambuc // PPCPWR5X:#define _ARCH_PWR4 1
5439f4a2713aSLionel Sambuc // PPCPWR5X:#define _ARCH_PWR5 1
5440f4a2713aSLionel Sambuc // PPCPWR5X:#define _ARCH_PWR5X 1
5441f4a2713aSLionel Sambuc //
5442f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-cpu power5x -fno-signed-char < /dev/null | FileCheck -check-prefix PPCPOWER5X %s
5443f4a2713aSLionel Sambuc //
5444f4a2713aSLionel Sambuc // PPCPOWER5X:#define _ARCH_PPC 1
5445f4a2713aSLionel Sambuc // PPCPOWER5X:#define _ARCH_PPC64 1
5446f4a2713aSLionel Sambuc // PPCPOWER5X:#define _ARCH_PPCGR 1
5447f4a2713aSLionel Sambuc // PPCPOWER5X:#define _ARCH_PPCSQ 1
5448f4a2713aSLionel Sambuc // PPCPOWER5X:#define _ARCH_PWR4 1
5449f4a2713aSLionel Sambuc // PPCPOWER5X:#define _ARCH_PWR5 1
5450f4a2713aSLionel Sambuc // PPCPOWER5X:#define _ARCH_PWR5X 1
5451f4a2713aSLionel Sambuc //
5452f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-cpu pwr6 -fno-signed-char < /dev/null | FileCheck -check-prefix PPCPWR6 %s
5453f4a2713aSLionel Sambuc //
5454f4a2713aSLionel Sambuc // PPCPWR6:#define _ARCH_PPC 1
5455f4a2713aSLionel Sambuc // PPCPWR6:#define _ARCH_PPC64 1
5456f4a2713aSLionel Sambuc // PPCPWR6:#define _ARCH_PPCGR 1
5457f4a2713aSLionel Sambuc // PPCPWR6:#define _ARCH_PPCSQ 1
5458f4a2713aSLionel Sambuc // PPCPWR6:#define _ARCH_PWR4 1
5459f4a2713aSLionel Sambuc // PPCPWR6:#define _ARCH_PWR5 1
5460f4a2713aSLionel Sambuc // PPCPWR6:#define _ARCH_PWR5X 1
5461f4a2713aSLionel Sambuc // PPCPWR6:#define _ARCH_PWR6 1
5462f4a2713aSLionel Sambuc //
5463f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-cpu power6 -fno-signed-char < /dev/null | FileCheck -check-prefix PPCPOWER6 %s
5464f4a2713aSLionel Sambuc //
5465f4a2713aSLionel Sambuc // PPCPOWER6:#define _ARCH_PPC 1
5466f4a2713aSLionel Sambuc // PPCPOWER6:#define _ARCH_PPC64 1
5467f4a2713aSLionel Sambuc // PPCPOWER6:#define _ARCH_PPCGR 1
5468f4a2713aSLionel Sambuc // PPCPOWER6:#define _ARCH_PPCSQ 1
5469f4a2713aSLionel Sambuc // PPCPOWER6:#define _ARCH_PWR4 1
5470f4a2713aSLionel Sambuc // PPCPOWER6:#define _ARCH_PWR5 1
5471f4a2713aSLionel Sambuc // PPCPOWER6:#define _ARCH_PWR5X 1
5472f4a2713aSLionel Sambuc // PPCPOWER6:#define _ARCH_PWR6 1
5473f4a2713aSLionel Sambuc //
5474f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-cpu pwr6x -fno-signed-char < /dev/null | FileCheck -check-prefix PPCPWR6X %s
5475f4a2713aSLionel Sambuc //
5476f4a2713aSLionel Sambuc // PPCPWR6X:#define _ARCH_PPC 1
5477f4a2713aSLionel Sambuc // PPCPWR6X:#define _ARCH_PPC64 1
5478f4a2713aSLionel Sambuc // PPCPWR6X:#define _ARCH_PPCGR 1
5479f4a2713aSLionel Sambuc // PPCPWR6X:#define _ARCH_PPCSQ 1
5480f4a2713aSLionel Sambuc // PPCPWR6X:#define _ARCH_PWR4 1
5481f4a2713aSLionel Sambuc // PPCPWR6X:#define _ARCH_PWR5 1
5482f4a2713aSLionel Sambuc // PPCPWR6X:#define _ARCH_PWR5X 1
5483f4a2713aSLionel Sambuc // PPCPWR6X:#define _ARCH_PWR6 1
5484f4a2713aSLionel Sambuc // PPCPWR6X:#define _ARCH_PWR6X 1
5485f4a2713aSLionel Sambuc //
5486f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-cpu power6x -fno-signed-char < /dev/null | FileCheck -check-prefix PPCPOWER6X %s
5487f4a2713aSLionel Sambuc //
5488f4a2713aSLionel Sambuc // PPCPOWER6X:#define _ARCH_PPC 1
5489f4a2713aSLionel Sambuc // PPCPOWER6X:#define _ARCH_PPC64 1
5490f4a2713aSLionel Sambuc // PPCPOWER6X:#define _ARCH_PPCGR 1
5491f4a2713aSLionel Sambuc // PPCPOWER6X:#define _ARCH_PPCSQ 1
5492f4a2713aSLionel Sambuc // PPCPOWER6X:#define _ARCH_PWR4 1
5493f4a2713aSLionel Sambuc // PPCPOWER6X:#define _ARCH_PWR5 1
5494f4a2713aSLionel Sambuc // PPCPOWER6X:#define _ARCH_PWR5X 1
5495f4a2713aSLionel Sambuc // PPCPOWER6X:#define _ARCH_PWR6 1
5496f4a2713aSLionel Sambuc // PPCPOWER6X:#define _ARCH_PWR6X 1
5497f4a2713aSLionel Sambuc //
5498f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-cpu pwr7 -fno-signed-char < /dev/null | FileCheck -check-prefix PPCPWR7 %s
5499f4a2713aSLionel Sambuc //
5500f4a2713aSLionel Sambuc // PPCPWR7:#define _ARCH_PPC 1
5501f4a2713aSLionel Sambuc // PPCPWR7:#define _ARCH_PPC64 1
5502f4a2713aSLionel Sambuc // PPCPWR7:#define _ARCH_PPCGR 1
5503f4a2713aSLionel Sambuc // PPCPWR7:#define _ARCH_PPCSQ 1
5504f4a2713aSLionel Sambuc // PPCPWR7:#define _ARCH_PWR4 1
5505f4a2713aSLionel Sambuc // PPCPWR7:#define _ARCH_PWR5 1
5506f4a2713aSLionel Sambuc // PPCPWR7:#define _ARCH_PWR5X 1
5507f4a2713aSLionel Sambuc // PPCPWR7:#define _ARCH_PWR6 1
5508f4a2713aSLionel Sambuc // PPCPWR7:#define _ARCH_PWR6X 1
5509f4a2713aSLionel Sambuc // PPCPWR7:#define _ARCH_PWR7 1
5510f4a2713aSLionel Sambuc //
5511f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-cpu power7 -fno-signed-char < /dev/null | FileCheck -check-prefix PPCPOWER7 %s
5512f4a2713aSLionel Sambuc //
5513f4a2713aSLionel Sambuc // PPCPOWER7:#define _ARCH_PPC 1
5514f4a2713aSLionel Sambuc // PPCPOWER7:#define _ARCH_PPC64 1
5515f4a2713aSLionel Sambuc // PPCPOWER7:#define _ARCH_PPCGR 1
5516f4a2713aSLionel Sambuc // PPCPOWER7:#define _ARCH_PPCSQ 1
5517f4a2713aSLionel Sambuc // PPCPOWER7:#define _ARCH_PWR4 1
5518f4a2713aSLionel Sambuc // PPCPOWER7:#define _ARCH_PWR5 1
5519f4a2713aSLionel Sambuc // PPCPOWER7:#define _ARCH_PWR5X 1
5520f4a2713aSLionel Sambuc // PPCPOWER7:#define _ARCH_PWR6 1
5521f4a2713aSLionel Sambuc // PPCPOWER7:#define _ARCH_PWR6X 1
5522f4a2713aSLionel Sambuc // PPCPOWER7:#define _ARCH_PWR7 1
5523f4a2713aSLionel Sambuc //
5524*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-cpu pwr8 -fno-signed-char < /dev/null | FileCheck -check-prefix PPCPWR8 %s
5525*0a6a1f1dSLionel Sambuc //
5526*0a6a1f1dSLionel Sambuc // PPCPWR8:#define _ARCH_PPC 1
5527*0a6a1f1dSLionel Sambuc // PPCPWR8:#define _ARCH_PPC64 1
5528*0a6a1f1dSLionel Sambuc // PPCPWR8:#define _ARCH_PPCGR 1
5529*0a6a1f1dSLionel Sambuc // PPCPWR8:#define _ARCH_PPCSQ 1
5530*0a6a1f1dSLionel Sambuc // PPCPWR8:#define _ARCH_PWR4 1
5531*0a6a1f1dSLionel Sambuc // PPCPWR8:#define _ARCH_PWR5 1
5532*0a6a1f1dSLionel Sambuc // PPCPWR8:#define _ARCH_PWR5X 1
5533*0a6a1f1dSLionel Sambuc // PPCPWR8:#define _ARCH_PWR6 1
5534*0a6a1f1dSLionel Sambuc // PPCPWR8:#define _ARCH_PWR6X 1
5535*0a6a1f1dSLionel Sambuc // PPCPWR8:#define _ARCH_PWR7 1
5536*0a6a1f1dSLionel Sambuc // PPCPWR8:#define _ARCH_PWR8 1
5537*0a6a1f1dSLionel Sambuc //
5538*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-cpu power8 -fno-signed-char < /dev/null | FileCheck -check-prefix PPCPOWER8 %s
5539*0a6a1f1dSLionel Sambuc //
5540*0a6a1f1dSLionel Sambuc // PPCPOWER8:#define _ARCH_PPC 1
5541*0a6a1f1dSLionel Sambuc // PPCPOWER8:#define _ARCH_PPC64 1
5542*0a6a1f1dSLionel Sambuc // PPCPOWER8:#define _ARCH_PPCGR 1
5543*0a6a1f1dSLionel Sambuc // PPCPOWER8:#define _ARCH_PPCSQ 1
5544*0a6a1f1dSLionel Sambuc // PPCPOWER8:#define _ARCH_PWR4 1
5545*0a6a1f1dSLionel Sambuc // PPCPOWER8:#define _ARCH_PWR5 1
5546*0a6a1f1dSLionel Sambuc // PPCPOWER8:#define _ARCH_PWR5X 1
5547*0a6a1f1dSLionel Sambuc // PPCPOWER8:#define _ARCH_PWR6 1
5548*0a6a1f1dSLionel Sambuc // PPCPOWER8:#define _ARCH_PWR6X 1
5549*0a6a1f1dSLionel Sambuc // PPCPOWER8:#define _ARCH_PWR7 1
5550*0a6a1f1dSLionel Sambuc // PPCPOWER8:#define _ARCH_PWR8 1
5551*0a6a1f1dSLionel Sambuc //
5552f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-unknown-linux-gnu -fno-signed-char < /dev/null | FileCheck -check-prefix PPC64-LINUX %s
5553f4a2713aSLionel Sambuc //
5554f4a2713aSLionel Sambuc // PPC64-LINUX:#define _ARCH_PPC 1
5555f4a2713aSLionel Sambuc // PPC64-LINUX:#define _ARCH_PPC64 1
5556f4a2713aSLionel Sambuc // PPC64-LINUX:#define _BIG_ENDIAN 1
5557f4a2713aSLionel Sambuc // PPC64-LINUX:#define _LP64 1
5558f4a2713aSLionel Sambuc // PPC64-LINUX:#define __BIG_ENDIAN__ 1
5559f4a2713aSLionel Sambuc // PPC64-LINUX:#define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__
5560f4a2713aSLionel Sambuc // PPC64-LINUX:#define __CHAR16_TYPE__ unsigned short
5561f4a2713aSLionel Sambuc // PPC64-LINUX:#define __CHAR32_TYPE__ unsigned int
5562f4a2713aSLionel Sambuc // PPC64-LINUX:#define __CHAR_BIT__ 8
5563f4a2713aSLionel Sambuc // PPC64-LINUX:#define __CHAR_UNSIGNED__ 1
5564f4a2713aSLionel Sambuc // PPC64-LINUX:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
5565f4a2713aSLionel Sambuc // PPC64-LINUX:#define __DBL_DIG__ 15
5566f4a2713aSLionel Sambuc // PPC64-LINUX:#define __DBL_EPSILON__ 2.2204460492503131e-16
5567f4a2713aSLionel Sambuc // PPC64-LINUX:#define __DBL_HAS_DENORM__ 1
5568f4a2713aSLionel Sambuc // PPC64-LINUX:#define __DBL_HAS_INFINITY__ 1
5569f4a2713aSLionel Sambuc // PPC64-LINUX:#define __DBL_HAS_QUIET_NAN__ 1
5570f4a2713aSLionel Sambuc // PPC64-LINUX:#define __DBL_MANT_DIG__ 53
5571f4a2713aSLionel Sambuc // PPC64-LINUX:#define __DBL_MAX_10_EXP__ 308
5572f4a2713aSLionel Sambuc // PPC64-LINUX:#define __DBL_MAX_EXP__ 1024
5573f4a2713aSLionel Sambuc // PPC64-LINUX:#define __DBL_MAX__ 1.7976931348623157e+308
5574f4a2713aSLionel Sambuc // PPC64-LINUX:#define __DBL_MIN_10_EXP__ (-307)
5575f4a2713aSLionel Sambuc // PPC64-LINUX:#define __DBL_MIN_EXP__ (-1021)
5576f4a2713aSLionel Sambuc // PPC64-LINUX:#define __DBL_MIN__ 2.2250738585072014e-308
5577f4a2713aSLionel Sambuc // PPC64-LINUX:#define __DECIMAL_DIG__ 33
5578f4a2713aSLionel Sambuc // PPC64-LINUX:#define __FLT_DENORM_MIN__ 1.40129846e-45F
5579f4a2713aSLionel Sambuc // PPC64-LINUX:#define __FLT_DIG__ 6
5580f4a2713aSLionel Sambuc // PPC64-LINUX:#define __FLT_EPSILON__ 1.19209290e-7F
5581f4a2713aSLionel Sambuc // PPC64-LINUX:#define __FLT_EVAL_METHOD__ 0
5582f4a2713aSLionel Sambuc // PPC64-LINUX:#define __FLT_HAS_DENORM__ 1
5583f4a2713aSLionel Sambuc // PPC64-LINUX:#define __FLT_HAS_INFINITY__ 1
5584f4a2713aSLionel Sambuc // PPC64-LINUX:#define __FLT_HAS_QUIET_NAN__ 1
5585f4a2713aSLionel Sambuc // PPC64-LINUX:#define __FLT_MANT_DIG__ 24
5586f4a2713aSLionel Sambuc // PPC64-LINUX:#define __FLT_MAX_10_EXP__ 38
5587f4a2713aSLionel Sambuc // PPC64-LINUX:#define __FLT_MAX_EXP__ 128
5588f4a2713aSLionel Sambuc // PPC64-LINUX:#define __FLT_MAX__ 3.40282347e+38F
5589f4a2713aSLionel Sambuc // PPC64-LINUX:#define __FLT_MIN_10_EXP__ (-37)
5590f4a2713aSLionel Sambuc // PPC64-LINUX:#define __FLT_MIN_EXP__ (-125)
5591f4a2713aSLionel Sambuc // PPC64-LINUX:#define __FLT_MIN__ 1.17549435e-38F
5592f4a2713aSLionel Sambuc // PPC64-LINUX:#define __FLT_RADIX__ 2
5593*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT16_C_SUFFIX__ {{$}}
5594*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT16_FMTd__ "hd"
5595*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT16_FMTi__ "hi"
5596*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT16_MAX__ 32767
5597f4a2713aSLionel Sambuc // PPC64-LINUX:#define __INT16_TYPE__ short
5598*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT32_C_SUFFIX__ {{$}}
5599*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT32_FMTd__ "d"
5600*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT32_FMTi__ "i"
5601*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT32_MAX__ 2147483647
5602f4a2713aSLionel Sambuc // PPC64-LINUX:#define __INT32_TYPE__ int
5603f4a2713aSLionel Sambuc // PPC64-LINUX:#define __INT64_C_SUFFIX__ L
5604*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT64_FMTd__ "ld"
5605*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT64_FMTi__ "li"
5606*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT64_MAX__ 9223372036854775807L
5607f4a2713aSLionel Sambuc // PPC64-LINUX:#define __INT64_TYPE__ long int
5608*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT8_C_SUFFIX__ {{$}}
5609*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT8_FMTd__ "hhd"
5610*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT8_FMTi__ "hhi"
5611*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT8_MAX__ 127
5612*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT8_TYPE__ signed char
5613*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INTMAX_C_SUFFIX__ L
5614*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INTMAX_FMTd__ "ld"
5615*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INTMAX_FMTi__ "li"
5616f4a2713aSLionel Sambuc // PPC64-LINUX:#define __INTMAX_MAX__ 9223372036854775807L
5617f4a2713aSLionel Sambuc // PPC64-LINUX:#define __INTMAX_TYPE__ long int
5618f4a2713aSLionel Sambuc // PPC64-LINUX:#define __INTMAX_WIDTH__ 64
5619*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INTPTR_FMTd__ "ld"
5620*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INTPTR_FMTi__ "li"
5621*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INTPTR_MAX__ 9223372036854775807L
5622f4a2713aSLionel Sambuc // PPC64-LINUX:#define __INTPTR_TYPE__ long int
5623f4a2713aSLionel Sambuc // PPC64-LINUX:#define __INTPTR_WIDTH__ 64
5624*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT_FAST16_FMTd__ "hd"
5625*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT_FAST16_FMTi__ "hi"
5626*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT_FAST16_MAX__ 32767
5627*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT_FAST16_TYPE__ short
5628*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT_FAST32_FMTd__ "d"
5629*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT_FAST32_FMTi__ "i"
5630*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT_FAST32_MAX__ 2147483647
5631*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT_FAST32_TYPE__ int
5632*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT_FAST64_FMTd__ "ld"
5633*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT_FAST64_FMTi__ "li"
5634*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT_FAST64_MAX__ 9223372036854775807L
5635*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT_FAST64_TYPE__ long int
5636*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT_FAST8_FMTd__ "hhd"
5637*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT_FAST8_FMTi__ "hhi"
5638*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT_FAST8_MAX__ 127
5639*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT_FAST8_TYPE__ signed char
5640*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT_LEAST16_FMTd__ "hd"
5641*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT_LEAST16_FMTi__ "hi"
5642*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT_LEAST16_MAX__ 32767
5643*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT_LEAST16_TYPE__ short
5644*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT_LEAST32_FMTd__ "d"
5645*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT_LEAST32_FMTi__ "i"
5646*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT_LEAST32_MAX__ 2147483647
5647*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT_LEAST32_TYPE__ int
5648*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT_LEAST64_FMTd__ "ld"
5649*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT_LEAST64_FMTi__ "li"
5650*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT_LEAST64_MAX__ 9223372036854775807L
5651*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT_LEAST64_TYPE__ long int
5652*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT_LEAST8_FMTd__ "hhd"
5653*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT_LEAST8_FMTi__ "hhi"
5654*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT_LEAST8_MAX__ 127
5655*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __INT_LEAST8_TYPE__ signed char
5656f4a2713aSLionel Sambuc // PPC64-LINUX:#define __INT_MAX__ 2147483647
5657f4a2713aSLionel Sambuc // PPC64-LINUX:#define __LDBL_DENORM_MIN__ 4.94065645841246544176568792868221e-324L
5658f4a2713aSLionel Sambuc // PPC64-LINUX:#define __LDBL_DIG__ 31
5659f4a2713aSLionel Sambuc // PPC64-LINUX:#define __LDBL_EPSILON__ 4.94065645841246544176568792868221e-324L
5660f4a2713aSLionel Sambuc // PPC64-LINUX:#define __LDBL_HAS_DENORM__ 1
5661f4a2713aSLionel Sambuc // PPC64-LINUX:#define __LDBL_HAS_INFINITY__ 1
5662f4a2713aSLionel Sambuc // PPC64-LINUX:#define __LDBL_HAS_QUIET_NAN__ 1
5663f4a2713aSLionel Sambuc // PPC64-LINUX:#define __LDBL_MANT_DIG__ 106
5664f4a2713aSLionel Sambuc // PPC64-LINUX:#define __LDBL_MAX_10_EXP__ 308
5665f4a2713aSLionel Sambuc // PPC64-LINUX:#define __LDBL_MAX_EXP__ 1024
5666f4a2713aSLionel Sambuc // PPC64-LINUX:#define __LDBL_MAX__ 1.79769313486231580793728971405301e+308L
5667f4a2713aSLionel Sambuc // PPC64-LINUX:#define __LDBL_MIN_10_EXP__ (-291)
5668f4a2713aSLionel Sambuc // PPC64-LINUX:#define __LDBL_MIN_EXP__ (-968)
5669f4a2713aSLionel Sambuc // PPC64-LINUX:#define __LDBL_MIN__ 2.00416836000897277799610805135016e-292L
5670f4a2713aSLionel Sambuc // PPC64-LINUX:#define __LONG_DOUBLE_128__ 1
5671f4a2713aSLionel Sambuc // PPC64-LINUX:#define __LONG_LONG_MAX__ 9223372036854775807LL
5672f4a2713aSLionel Sambuc // PPC64-LINUX:#define __LONG_MAX__ 9223372036854775807L
5673f4a2713aSLionel Sambuc // PPC64-LINUX:#define __LP64__ 1
5674f4a2713aSLionel Sambuc // PPC64-LINUX:#define __NATURAL_ALIGNMENT__ 1
5675f4a2713aSLionel Sambuc // PPC64-LINUX:#define __POINTER_WIDTH__ 64
5676f4a2713aSLionel Sambuc // PPC64-LINUX:#define __POWERPC__ 1
5677f4a2713aSLionel Sambuc // PPC64-LINUX:#define __PPC64__ 1
5678f4a2713aSLionel Sambuc // PPC64-LINUX:#define __PPC__ 1
5679f4a2713aSLionel Sambuc // PPC64-LINUX:#define __PTRDIFF_TYPE__ long int
5680f4a2713aSLionel Sambuc // PPC64-LINUX:#define __PTRDIFF_WIDTH__ 64
5681f4a2713aSLionel Sambuc // PPC64-LINUX:#define __REGISTER_PREFIX__
5682f4a2713aSLionel Sambuc // PPC64-LINUX:#define __SCHAR_MAX__ 127
5683f4a2713aSLionel Sambuc // PPC64-LINUX:#define __SHRT_MAX__ 32767
5684*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __SIG_ATOMIC_MAX__ 2147483647
5685f4a2713aSLionel Sambuc // PPC64-LINUX:#define __SIG_ATOMIC_WIDTH__ 32
5686f4a2713aSLionel Sambuc // PPC64-LINUX:#define __SIZEOF_DOUBLE__ 8
5687f4a2713aSLionel Sambuc // PPC64-LINUX:#define __SIZEOF_FLOAT__ 4
5688f4a2713aSLionel Sambuc // PPC64-LINUX:#define __SIZEOF_INT__ 4
5689f4a2713aSLionel Sambuc // PPC64-LINUX:#define __SIZEOF_LONG_DOUBLE__ 16
5690f4a2713aSLionel Sambuc // PPC64-LINUX:#define __SIZEOF_LONG_LONG__ 8
5691f4a2713aSLionel Sambuc // PPC64-LINUX:#define __SIZEOF_LONG__ 8
5692f4a2713aSLionel Sambuc // PPC64-LINUX:#define __SIZEOF_POINTER__ 8
5693f4a2713aSLionel Sambuc // PPC64-LINUX:#define __SIZEOF_PTRDIFF_T__ 8
5694f4a2713aSLionel Sambuc // PPC64-LINUX:#define __SIZEOF_SHORT__ 2
5695f4a2713aSLionel Sambuc // PPC64-LINUX:#define __SIZEOF_SIZE_T__ 8
5696f4a2713aSLionel Sambuc // PPC64-LINUX:#define __SIZEOF_WCHAR_T__ 4
5697f4a2713aSLionel Sambuc // PPC64-LINUX:#define __SIZEOF_WINT_T__ 4
5698f4a2713aSLionel Sambuc // PPC64-LINUX:#define __SIZE_MAX__ 18446744073709551615UL
5699f4a2713aSLionel Sambuc // PPC64-LINUX:#define __SIZE_TYPE__ long unsigned int
5700f4a2713aSLionel Sambuc // PPC64-LINUX:#define __SIZE_WIDTH__ 64
5701*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __UINT16_C_SUFFIX__ {{$}}
5702*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __UINT16_MAX__ 65535
5703*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __UINT16_TYPE__ unsigned short
5704*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __UINT32_C_SUFFIX__ U
5705*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __UINT32_MAX__ 4294967295U
5706*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __UINT32_TYPE__ unsigned int
5707*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __UINT64_C_SUFFIX__ UL
5708*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __UINT64_MAX__ 18446744073709551615UL
5709*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __UINT64_TYPE__ long unsigned int
5710*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __UINT8_C_SUFFIX__ {{$}}
5711*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __UINT8_MAX__ 255
5712*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __UINT8_TYPE__ unsigned char
5713*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __UINTMAX_C_SUFFIX__ UL
5714*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __UINTMAX_MAX__ 18446744073709551615UL
5715f4a2713aSLionel Sambuc // PPC64-LINUX:#define __UINTMAX_TYPE__ long unsigned int
5716*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __UINTMAX_WIDTH__ 64
5717*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __UINTPTR_MAX__ 18446744073709551615UL
5718*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __UINTPTR_TYPE__ long unsigned int
5719*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __UINTPTR_WIDTH__ 64
5720*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __UINT_FAST16_MAX__ 65535
5721*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __UINT_FAST16_TYPE__ unsigned short
5722*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __UINT_FAST32_MAX__ 4294967295U
5723*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __UINT_FAST32_TYPE__ unsigned int
5724*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __UINT_FAST64_MAX__ 18446744073709551615UL
5725*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __UINT_FAST64_TYPE__ long unsigned int
5726*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __UINT_FAST8_MAX__ 255
5727*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __UINT_FAST8_TYPE__ unsigned char
5728*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __UINT_LEAST16_MAX__ 65535
5729*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __UINT_LEAST16_TYPE__ unsigned short
5730*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __UINT_LEAST32_MAX__ 4294967295U
5731*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __UINT_LEAST32_TYPE__ unsigned int
5732*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __UINT_LEAST64_MAX__ 18446744073709551615UL
5733*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __UINT_LEAST64_TYPE__ long unsigned int
5734*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __UINT_LEAST8_MAX__ 255
5735*0a6a1f1dSLionel Sambuc // PPC64-LINUX:#define __UINT_LEAST8_TYPE__ unsigned char
5736f4a2713aSLionel Sambuc // PPC64-LINUX:#define __USER_LABEL_PREFIX__
5737f4a2713aSLionel Sambuc // PPC64-LINUX:#define __WCHAR_MAX__ 2147483647
5738f4a2713aSLionel Sambuc // PPC64-LINUX:#define __WCHAR_TYPE__ int
5739f4a2713aSLionel Sambuc // PPC64-LINUX:#define __WCHAR_WIDTH__ 32
5740f4a2713aSLionel Sambuc // PPC64-LINUX:#define __WINT_TYPE__ unsigned int
5741f4a2713aSLionel Sambuc // PPC64-LINUX:#define __WINT_UNSIGNED__ 1
5742f4a2713aSLionel Sambuc // PPC64-LINUX:#define __WINT_WIDTH__ 32
5743f4a2713aSLionel Sambuc // PPC64-LINUX:#define __powerpc64__ 1
5744f4a2713aSLionel Sambuc // PPC64-LINUX:#define __powerpc__ 1
5745f4a2713aSLionel Sambuc // PPC64-LINUX:#define __ppc64__ 1
5746f4a2713aSLionel Sambuc // PPC64-LINUX:#define __ppc__ 1
5747*0a6a1f1dSLionel Sambuc 
5748*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-unknown-linux-gnu < /dev/null | FileCheck -check-prefix PPC64-ELFv1 %s
5749*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-unknown-linux-gnu -target-abi elfv1 < /dev/null | FileCheck -check-prefix PPC64-ELFv1 %s
5750*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-unknown-linux-gnu -target-abi elfv2 < /dev/null | FileCheck -check-prefix PPC64-ELFv2 %s
5751*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64le-unknown-linux-gnu < /dev/null | FileCheck -check-prefix PPC64-ELFv2 %s
5752*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64le-unknown-linux-gnu -target-abi elfv1 < /dev/null | FileCheck -check-prefix PPC64-ELFv1 %s
5753*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64le-unknown-linux-gnu -target-abi elfv2 < /dev/null | FileCheck -check-prefix PPC64-ELFv2 %s
5754*0a6a1f1dSLionel Sambuc // PPC64-ELFv1:#define _CALL_ELF 1
5755*0a6a1f1dSLionel Sambuc // PPC64-ELFv2:#define _CALL_ELF 2
5756f4a2713aSLionel Sambuc //
5757f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc-none-none -fno-signed-char < /dev/null | FileCheck -check-prefix PPC %s
5758f4a2713aSLionel Sambuc //
5759f4a2713aSLionel Sambuc // PPC:#define _ARCH_PPC 1
5760f4a2713aSLionel Sambuc // PPC:#define _BIG_ENDIAN 1
5761f4a2713aSLionel Sambuc // PPC-NOT:#define _LP64
5762f4a2713aSLionel Sambuc // PPC:#define __BIG_ENDIAN__ 1
5763f4a2713aSLionel Sambuc // PPC:#define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__
5764f4a2713aSLionel Sambuc // PPC:#define __CHAR16_TYPE__ unsigned short
5765f4a2713aSLionel Sambuc // PPC:#define __CHAR32_TYPE__ unsigned int
5766f4a2713aSLionel Sambuc // PPC:#define __CHAR_BIT__ 8
5767f4a2713aSLionel Sambuc // PPC:#define __CHAR_UNSIGNED__ 1
5768f4a2713aSLionel Sambuc // PPC:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
5769f4a2713aSLionel Sambuc // PPC:#define __DBL_DIG__ 15
5770f4a2713aSLionel Sambuc // PPC:#define __DBL_EPSILON__ 2.2204460492503131e-16
5771f4a2713aSLionel Sambuc // PPC:#define __DBL_HAS_DENORM__ 1
5772f4a2713aSLionel Sambuc // PPC:#define __DBL_HAS_INFINITY__ 1
5773f4a2713aSLionel Sambuc // PPC:#define __DBL_HAS_QUIET_NAN__ 1
5774f4a2713aSLionel Sambuc // PPC:#define __DBL_MANT_DIG__ 53
5775f4a2713aSLionel Sambuc // PPC:#define __DBL_MAX_10_EXP__ 308
5776f4a2713aSLionel Sambuc // PPC:#define __DBL_MAX_EXP__ 1024
5777f4a2713aSLionel Sambuc // PPC:#define __DBL_MAX__ 1.7976931348623157e+308
5778f4a2713aSLionel Sambuc // PPC:#define __DBL_MIN_10_EXP__ (-307)
5779f4a2713aSLionel Sambuc // PPC:#define __DBL_MIN_EXP__ (-1021)
5780f4a2713aSLionel Sambuc // PPC:#define __DBL_MIN__ 2.2250738585072014e-308
5781f4a2713aSLionel Sambuc // PPC:#define __DECIMAL_DIG__ 33
5782f4a2713aSLionel Sambuc // PPC:#define __FLT_DENORM_MIN__ 1.40129846e-45F
5783f4a2713aSLionel Sambuc // PPC:#define __FLT_DIG__ 6
5784f4a2713aSLionel Sambuc // PPC:#define __FLT_EPSILON__ 1.19209290e-7F
5785f4a2713aSLionel Sambuc // PPC:#define __FLT_EVAL_METHOD__ 0
5786f4a2713aSLionel Sambuc // PPC:#define __FLT_HAS_DENORM__ 1
5787f4a2713aSLionel Sambuc // PPC:#define __FLT_HAS_INFINITY__ 1
5788f4a2713aSLionel Sambuc // PPC:#define __FLT_HAS_QUIET_NAN__ 1
5789f4a2713aSLionel Sambuc // PPC:#define __FLT_MANT_DIG__ 24
5790f4a2713aSLionel Sambuc // PPC:#define __FLT_MAX_10_EXP__ 38
5791f4a2713aSLionel Sambuc // PPC:#define __FLT_MAX_EXP__ 128
5792f4a2713aSLionel Sambuc // PPC:#define __FLT_MAX__ 3.40282347e+38F
5793f4a2713aSLionel Sambuc // PPC:#define __FLT_MIN_10_EXP__ (-37)
5794f4a2713aSLionel Sambuc // PPC:#define __FLT_MIN_EXP__ (-125)
5795f4a2713aSLionel Sambuc // PPC:#define __FLT_MIN__ 1.17549435e-38F
5796f4a2713aSLionel Sambuc // PPC:#define __FLT_RADIX__ 2
5797*0a6a1f1dSLionel Sambuc // PPC:#define __INT16_C_SUFFIX__ {{$}}
5798*0a6a1f1dSLionel Sambuc // PPC:#define __INT16_FMTd__ "hd"
5799*0a6a1f1dSLionel Sambuc // PPC:#define __INT16_FMTi__ "hi"
5800*0a6a1f1dSLionel Sambuc // PPC:#define __INT16_MAX__ 32767
5801f4a2713aSLionel Sambuc // PPC:#define __INT16_TYPE__ short
5802*0a6a1f1dSLionel Sambuc // PPC:#define __INT32_C_SUFFIX__ {{$}}
5803*0a6a1f1dSLionel Sambuc // PPC:#define __INT32_FMTd__ "d"
5804*0a6a1f1dSLionel Sambuc // PPC:#define __INT32_FMTi__ "i"
5805*0a6a1f1dSLionel Sambuc // PPC:#define __INT32_MAX__ 2147483647
5806f4a2713aSLionel Sambuc // PPC:#define __INT32_TYPE__ int
5807f4a2713aSLionel Sambuc // PPC:#define __INT64_C_SUFFIX__ LL
5808*0a6a1f1dSLionel Sambuc // PPC:#define __INT64_FMTd__ "lld"
5809*0a6a1f1dSLionel Sambuc // PPC:#define __INT64_FMTi__ "lli"
5810*0a6a1f1dSLionel Sambuc // PPC:#define __INT64_MAX__ 9223372036854775807LL
5811f4a2713aSLionel Sambuc // PPC:#define __INT64_TYPE__ long long int
5812*0a6a1f1dSLionel Sambuc // PPC:#define __INT8_C_SUFFIX__ {{$}}
5813*0a6a1f1dSLionel Sambuc // PPC:#define __INT8_FMTd__ "hhd"
5814*0a6a1f1dSLionel Sambuc // PPC:#define __INT8_FMTi__ "hhi"
5815*0a6a1f1dSLionel Sambuc // PPC:#define __INT8_MAX__ 127
5816*0a6a1f1dSLionel Sambuc // PPC:#define __INT8_TYPE__ signed char
5817*0a6a1f1dSLionel Sambuc // PPC:#define __INTMAX_C_SUFFIX__ LL
5818*0a6a1f1dSLionel Sambuc // PPC:#define __INTMAX_FMTd__ "lld"
5819*0a6a1f1dSLionel Sambuc // PPC:#define __INTMAX_FMTi__ "lli"
5820f4a2713aSLionel Sambuc // PPC:#define __INTMAX_MAX__ 9223372036854775807LL
5821f4a2713aSLionel Sambuc // PPC:#define __INTMAX_TYPE__ long long int
5822f4a2713aSLionel Sambuc // PPC:#define __INTMAX_WIDTH__ 64
5823*0a6a1f1dSLionel Sambuc // PPC:#define __INTPTR_FMTd__ "ld"
5824*0a6a1f1dSLionel Sambuc // PPC:#define __INTPTR_FMTi__ "li"
5825*0a6a1f1dSLionel Sambuc // PPC:#define __INTPTR_MAX__ 2147483647L
5826f4a2713aSLionel Sambuc // PPC:#define __INTPTR_TYPE__ long int
5827f4a2713aSLionel Sambuc // PPC:#define __INTPTR_WIDTH__ 32
5828*0a6a1f1dSLionel Sambuc // PPC:#define __INT_FAST16_FMTd__ "hd"
5829*0a6a1f1dSLionel Sambuc // PPC:#define __INT_FAST16_FMTi__ "hi"
5830*0a6a1f1dSLionel Sambuc // PPC:#define __INT_FAST16_MAX__ 32767
5831*0a6a1f1dSLionel Sambuc // PPC:#define __INT_FAST16_TYPE__ short
5832*0a6a1f1dSLionel Sambuc // PPC:#define __INT_FAST32_FMTd__ "d"
5833*0a6a1f1dSLionel Sambuc // PPC:#define __INT_FAST32_FMTi__ "i"
5834*0a6a1f1dSLionel Sambuc // PPC:#define __INT_FAST32_MAX__ 2147483647
5835*0a6a1f1dSLionel Sambuc // PPC:#define __INT_FAST32_TYPE__ int
5836*0a6a1f1dSLionel Sambuc // PPC:#define __INT_FAST64_FMTd__ "lld"
5837*0a6a1f1dSLionel Sambuc // PPC:#define __INT_FAST64_FMTi__ "lli"
5838*0a6a1f1dSLionel Sambuc // PPC:#define __INT_FAST64_MAX__ 9223372036854775807LL
5839*0a6a1f1dSLionel Sambuc // PPC:#define __INT_FAST64_TYPE__ long long int
5840*0a6a1f1dSLionel Sambuc // PPC:#define __INT_FAST8_FMTd__ "hhd"
5841*0a6a1f1dSLionel Sambuc // PPC:#define __INT_FAST8_FMTi__ "hhi"
5842*0a6a1f1dSLionel Sambuc // PPC:#define __INT_FAST8_MAX__ 127
5843*0a6a1f1dSLionel Sambuc // PPC:#define __INT_FAST8_TYPE__ signed char
5844*0a6a1f1dSLionel Sambuc // PPC:#define __INT_LEAST16_FMTd__ "hd"
5845*0a6a1f1dSLionel Sambuc // PPC:#define __INT_LEAST16_FMTi__ "hi"
5846*0a6a1f1dSLionel Sambuc // PPC:#define __INT_LEAST16_MAX__ 32767
5847*0a6a1f1dSLionel Sambuc // PPC:#define __INT_LEAST16_TYPE__ short
5848*0a6a1f1dSLionel Sambuc // PPC:#define __INT_LEAST32_FMTd__ "d"
5849*0a6a1f1dSLionel Sambuc // PPC:#define __INT_LEAST32_FMTi__ "i"
5850*0a6a1f1dSLionel Sambuc // PPC:#define __INT_LEAST32_MAX__ 2147483647
5851*0a6a1f1dSLionel Sambuc // PPC:#define __INT_LEAST32_TYPE__ int
5852*0a6a1f1dSLionel Sambuc // PPC:#define __INT_LEAST64_FMTd__ "lld"
5853*0a6a1f1dSLionel Sambuc // PPC:#define __INT_LEAST64_FMTi__ "lli"
5854*0a6a1f1dSLionel Sambuc // PPC:#define __INT_LEAST64_MAX__ 9223372036854775807LL
5855*0a6a1f1dSLionel Sambuc // PPC:#define __INT_LEAST64_TYPE__ long long int
5856*0a6a1f1dSLionel Sambuc // PPC:#define __INT_LEAST8_FMTd__ "hhd"
5857*0a6a1f1dSLionel Sambuc // PPC:#define __INT_LEAST8_FMTi__ "hhi"
5858*0a6a1f1dSLionel Sambuc // PPC:#define __INT_LEAST8_MAX__ 127
5859*0a6a1f1dSLionel Sambuc // PPC:#define __INT_LEAST8_TYPE__ signed char
5860f4a2713aSLionel Sambuc // PPC:#define __INT_MAX__ 2147483647
5861f4a2713aSLionel Sambuc // PPC:#define __LDBL_DENORM_MIN__ 4.94065645841246544176568792868221e-324L
5862f4a2713aSLionel Sambuc // PPC:#define __LDBL_DIG__ 31
5863f4a2713aSLionel Sambuc // PPC:#define __LDBL_EPSILON__ 4.94065645841246544176568792868221e-324L
5864f4a2713aSLionel Sambuc // PPC:#define __LDBL_HAS_DENORM__ 1
5865f4a2713aSLionel Sambuc // PPC:#define __LDBL_HAS_INFINITY__ 1
5866f4a2713aSLionel Sambuc // PPC:#define __LDBL_HAS_QUIET_NAN__ 1
5867f4a2713aSLionel Sambuc // PPC:#define __LDBL_MANT_DIG__ 106
5868f4a2713aSLionel Sambuc // PPC:#define __LDBL_MAX_10_EXP__ 308
5869f4a2713aSLionel Sambuc // PPC:#define __LDBL_MAX_EXP__ 1024
5870f4a2713aSLionel Sambuc // PPC:#define __LDBL_MAX__ 1.79769313486231580793728971405301e+308L
5871f4a2713aSLionel Sambuc // PPC:#define __LDBL_MIN_10_EXP__ (-291)
5872f4a2713aSLionel Sambuc // PPC:#define __LDBL_MIN_EXP__ (-968)
5873f4a2713aSLionel Sambuc // PPC:#define __LDBL_MIN__ 2.00416836000897277799610805135016e-292L
5874f4a2713aSLionel Sambuc // PPC:#define __LONG_DOUBLE_128__ 1
5875f4a2713aSLionel Sambuc // PPC:#define __LONG_LONG_MAX__ 9223372036854775807LL
5876f4a2713aSLionel Sambuc // PPC:#define __LONG_MAX__ 2147483647L
5877f4a2713aSLionel Sambuc // PPC-NOT:#define __LP64__
5878f4a2713aSLionel Sambuc // PPC:#define __NATURAL_ALIGNMENT__ 1
5879f4a2713aSLionel Sambuc // PPC:#define __POINTER_WIDTH__ 32
5880f4a2713aSLionel Sambuc // PPC:#define __POWERPC__ 1
5881f4a2713aSLionel Sambuc // PPC:#define __PPC__ 1
5882f4a2713aSLionel Sambuc // PPC:#define __PTRDIFF_TYPE__ long int
5883f4a2713aSLionel Sambuc // PPC:#define __PTRDIFF_WIDTH__ 32
5884f4a2713aSLionel Sambuc // PPC:#define __REGISTER_PREFIX__
5885f4a2713aSLionel Sambuc // PPC:#define __SCHAR_MAX__ 127
5886f4a2713aSLionel Sambuc // PPC:#define __SHRT_MAX__ 32767
5887*0a6a1f1dSLionel Sambuc // PPC:#define __SIG_ATOMIC_MAX__ 2147483647
5888f4a2713aSLionel Sambuc // PPC:#define __SIG_ATOMIC_WIDTH__ 32
5889f4a2713aSLionel Sambuc // PPC:#define __SIZEOF_DOUBLE__ 8
5890f4a2713aSLionel Sambuc // PPC:#define __SIZEOF_FLOAT__ 4
5891f4a2713aSLionel Sambuc // PPC:#define __SIZEOF_INT__ 4
5892f4a2713aSLionel Sambuc // PPC:#define __SIZEOF_LONG_DOUBLE__ 16
5893f4a2713aSLionel Sambuc // PPC:#define __SIZEOF_LONG_LONG__ 8
5894f4a2713aSLionel Sambuc // PPC:#define __SIZEOF_LONG__ 4
5895f4a2713aSLionel Sambuc // PPC:#define __SIZEOF_POINTER__ 4
5896f4a2713aSLionel Sambuc // PPC:#define __SIZEOF_PTRDIFF_T__ 4
5897f4a2713aSLionel Sambuc // PPC:#define __SIZEOF_SHORT__ 2
5898f4a2713aSLionel Sambuc // PPC:#define __SIZEOF_SIZE_T__ 4
5899f4a2713aSLionel Sambuc // PPC:#define __SIZEOF_WCHAR_T__ 4
5900f4a2713aSLionel Sambuc // PPC:#define __SIZEOF_WINT_T__ 4
5901f4a2713aSLionel Sambuc // PPC:#define __SIZE_MAX__ 4294967295U
5902f4a2713aSLionel Sambuc // PPC:#define __SIZE_TYPE__ long unsigned int
5903f4a2713aSLionel Sambuc // PPC:#define __SIZE_WIDTH__ 32
5904*0a6a1f1dSLionel Sambuc // PPC:#define __UINT16_C_SUFFIX__ {{$}}
5905*0a6a1f1dSLionel Sambuc // PPC:#define __UINT16_MAX__ 65535
5906*0a6a1f1dSLionel Sambuc // PPC:#define __UINT16_TYPE__ unsigned short
5907*0a6a1f1dSLionel Sambuc // PPC:#define __UINT32_C_SUFFIX__ U
5908*0a6a1f1dSLionel Sambuc // PPC:#define __UINT32_MAX__ 4294967295U
5909*0a6a1f1dSLionel Sambuc // PPC:#define __UINT32_TYPE__ unsigned int
5910*0a6a1f1dSLionel Sambuc // PPC:#define __UINT64_C_SUFFIX__ ULL
5911*0a6a1f1dSLionel Sambuc // PPC:#define __UINT64_MAX__ 18446744073709551615ULL
5912*0a6a1f1dSLionel Sambuc // PPC:#define __UINT64_TYPE__ long long unsigned int
5913*0a6a1f1dSLionel Sambuc // PPC:#define __UINT8_C_SUFFIX__ {{$}}
5914*0a6a1f1dSLionel Sambuc // PPC:#define __UINT8_MAX__ 255
5915*0a6a1f1dSLionel Sambuc // PPC:#define __UINT8_TYPE__ unsigned char
5916*0a6a1f1dSLionel Sambuc // PPC:#define __UINTMAX_C_SUFFIX__ ULL
5917*0a6a1f1dSLionel Sambuc // PPC:#define __UINTMAX_MAX__ 18446744073709551615ULL
5918f4a2713aSLionel Sambuc // PPC:#define __UINTMAX_TYPE__ long long unsigned int
5919*0a6a1f1dSLionel Sambuc // PPC:#define __UINTMAX_WIDTH__ 64
5920*0a6a1f1dSLionel Sambuc // PPC:#define __UINTPTR_MAX__ 4294967295U
5921*0a6a1f1dSLionel Sambuc // PPC:#define __UINTPTR_TYPE__ long unsigned int
5922*0a6a1f1dSLionel Sambuc // PPC:#define __UINTPTR_WIDTH__ 32
5923*0a6a1f1dSLionel Sambuc // PPC:#define __UINT_FAST16_MAX__ 65535
5924*0a6a1f1dSLionel Sambuc // PPC:#define __UINT_FAST16_TYPE__ unsigned short
5925*0a6a1f1dSLionel Sambuc // PPC:#define __UINT_FAST32_MAX__ 4294967295U
5926*0a6a1f1dSLionel Sambuc // PPC:#define __UINT_FAST32_TYPE__ unsigned int
5927*0a6a1f1dSLionel Sambuc // PPC:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
5928*0a6a1f1dSLionel Sambuc // PPC:#define __UINT_FAST64_TYPE__ long long unsigned int
5929*0a6a1f1dSLionel Sambuc // PPC:#define __UINT_FAST8_MAX__ 255
5930*0a6a1f1dSLionel Sambuc // PPC:#define __UINT_FAST8_TYPE__ unsigned char
5931*0a6a1f1dSLionel Sambuc // PPC:#define __UINT_LEAST16_MAX__ 65535
5932*0a6a1f1dSLionel Sambuc // PPC:#define __UINT_LEAST16_TYPE__ unsigned short
5933*0a6a1f1dSLionel Sambuc // PPC:#define __UINT_LEAST32_MAX__ 4294967295U
5934*0a6a1f1dSLionel Sambuc // PPC:#define __UINT_LEAST32_TYPE__ unsigned int
5935*0a6a1f1dSLionel Sambuc // PPC:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
5936*0a6a1f1dSLionel Sambuc // PPC:#define __UINT_LEAST64_TYPE__ long long unsigned int
5937*0a6a1f1dSLionel Sambuc // PPC:#define __UINT_LEAST8_MAX__ 255
5938*0a6a1f1dSLionel Sambuc // PPC:#define __UINT_LEAST8_TYPE__ unsigned char
5939f4a2713aSLionel Sambuc // PPC:#define __USER_LABEL_PREFIX__ _
5940f4a2713aSLionel Sambuc // PPC:#define __WCHAR_MAX__ 2147483647
5941f4a2713aSLionel Sambuc // PPC:#define __WCHAR_TYPE__ int
5942f4a2713aSLionel Sambuc // PPC:#define __WCHAR_WIDTH__ 32
5943f4a2713aSLionel Sambuc // PPC:#define __WINT_TYPE__ int
5944f4a2713aSLionel Sambuc // PPC:#define __WINT_WIDTH__ 32
5945f4a2713aSLionel Sambuc // PPC:#define __ppc__ 1
5946f4a2713aSLionel Sambuc //
5947f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc-unknown-linux-gnu -fno-signed-char < /dev/null | FileCheck -check-prefix PPC-LINUX %s
5948f4a2713aSLionel Sambuc //
5949f4a2713aSLionel Sambuc // PPC-LINUX:#define _ARCH_PPC 1
5950f4a2713aSLionel Sambuc // PPC-LINUX:#define _BIG_ENDIAN 1
5951f4a2713aSLionel Sambuc // PPC-LINUX-NOT:#define _LP64
5952f4a2713aSLionel Sambuc // PPC-LINUX:#define __BIG_ENDIAN__ 1
5953f4a2713aSLionel Sambuc // PPC-LINUX:#define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__
5954f4a2713aSLionel Sambuc // PPC-LINUX:#define __CHAR16_TYPE__ unsigned short
5955f4a2713aSLionel Sambuc // PPC-LINUX:#define __CHAR32_TYPE__ unsigned int
5956f4a2713aSLionel Sambuc // PPC-LINUX:#define __CHAR_BIT__ 8
5957f4a2713aSLionel Sambuc // PPC-LINUX:#define __CHAR_UNSIGNED__ 1
5958f4a2713aSLionel Sambuc // PPC-LINUX:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
5959f4a2713aSLionel Sambuc // PPC-LINUX:#define __DBL_DIG__ 15
5960f4a2713aSLionel Sambuc // PPC-LINUX:#define __DBL_EPSILON__ 2.2204460492503131e-16
5961f4a2713aSLionel Sambuc // PPC-LINUX:#define __DBL_HAS_DENORM__ 1
5962f4a2713aSLionel Sambuc // PPC-LINUX:#define __DBL_HAS_INFINITY__ 1
5963f4a2713aSLionel Sambuc // PPC-LINUX:#define __DBL_HAS_QUIET_NAN__ 1
5964f4a2713aSLionel Sambuc // PPC-LINUX:#define __DBL_MANT_DIG__ 53
5965f4a2713aSLionel Sambuc // PPC-LINUX:#define __DBL_MAX_10_EXP__ 308
5966f4a2713aSLionel Sambuc // PPC-LINUX:#define __DBL_MAX_EXP__ 1024
5967f4a2713aSLionel Sambuc // PPC-LINUX:#define __DBL_MAX__ 1.7976931348623157e+308
5968f4a2713aSLionel Sambuc // PPC-LINUX:#define __DBL_MIN_10_EXP__ (-307)
5969f4a2713aSLionel Sambuc // PPC-LINUX:#define __DBL_MIN_EXP__ (-1021)
5970f4a2713aSLionel Sambuc // PPC-LINUX:#define __DBL_MIN__ 2.2250738585072014e-308
5971f4a2713aSLionel Sambuc // PPC-LINUX:#define __DECIMAL_DIG__ 33
5972f4a2713aSLionel Sambuc // PPC-LINUX:#define __FLT_DENORM_MIN__ 1.40129846e-45F
5973f4a2713aSLionel Sambuc // PPC-LINUX:#define __FLT_DIG__ 6
5974f4a2713aSLionel Sambuc // PPC-LINUX:#define __FLT_EPSILON__ 1.19209290e-7F
5975f4a2713aSLionel Sambuc // PPC-LINUX:#define __FLT_EVAL_METHOD__ 0
5976f4a2713aSLionel Sambuc // PPC-LINUX:#define __FLT_HAS_DENORM__ 1
5977f4a2713aSLionel Sambuc // PPC-LINUX:#define __FLT_HAS_INFINITY__ 1
5978f4a2713aSLionel Sambuc // PPC-LINUX:#define __FLT_HAS_QUIET_NAN__ 1
5979f4a2713aSLionel Sambuc // PPC-LINUX:#define __FLT_MANT_DIG__ 24
5980f4a2713aSLionel Sambuc // PPC-LINUX:#define __FLT_MAX_10_EXP__ 38
5981f4a2713aSLionel Sambuc // PPC-LINUX:#define __FLT_MAX_EXP__ 128
5982f4a2713aSLionel Sambuc // PPC-LINUX:#define __FLT_MAX__ 3.40282347e+38F
5983f4a2713aSLionel Sambuc // PPC-LINUX:#define __FLT_MIN_10_EXP__ (-37)
5984f4a2713aSLionel Sambuc // PPC-LINUX:#define __FLT_MIN_EXP__ (-125)
5985f4a2713aSLionel Sambuc // PPC-LINUX:#define __FLT_MIN__ 1.17549435e-38F
5986f4a2713aSLionel Sambuc // PPC-LINUX:#define __FLT_RADIX__ 2
5987*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT16_C_SUFFIX__ {{$}}
5988*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT16_FMTd__ "hd"
5989*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT16_FMTi__ "hi"
5990*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT16_MAX__ 32767
5991f4a2713aSLionel Sambuc // PPC-LINUX:#define __INT16_TYPE__ short
5992*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT32_C_SUFFIX__ {{$}}
5993*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT32_FMTd__ "d"
5994*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT32_FMTi__ "i"
5995*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT32_MAX__ 2147483647
5996f4a2713aSLionel Sambuc // PPC-LINUX:#define __INT32_TYPE__ int
5997f4a2713aSLionel Sambuc // PPC-LINUX:#define __INT64_C_SUFFIX__ LL
5998*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT64_FMTd__ "lld"
5999*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT64_FMTi__ "lli"
6000*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT64_MAX__ 9223372036854775807LL
6001f4a2713aSLionel Sambuc // PPC-LINUX:#define __INT64_TYPE__ long long int
6002*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT8_C_SUFFIX__ {{$}}
6003*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT8_FMTd__ "hhd"
6004*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT8_FMTi__ "hhi"
6005*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT8_MAX__ 127
6006*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT8_TYPE__ signed char
6007*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INTMAX_C_SUFFIX__ LL
6008*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INTMAX_FMTd__ "lld"
6009*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INTMAX_FMTi__ "lli"
6010f4a2713aSLionel Sambuc // PPC-LINUX:#define __INTMAX_MAX__ 9223372036854775807LL
6011f4a2713aSLionel Sambuc // PPC-LINUX:#define __INTMAX_TYPE__ long long int
6012f4a2713aSLionel Sambuc // PPC-LINUX:#define __INTMAX_WIDTH__ 64
6013*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INTPTR_FMTd__ "d"
6014*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INTPTR_FMTi__ "i"
6015*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INTPTR_MAX__ 2147483647
6016f4a2713aSLionel Sambuc // PPC-LINUX:#define __INTPTR_TYPE__ int
6017f4a2713aSLionel Sambuc // PPC-LINUX:#define __INTPTR_WIDTH__ 32
6018*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT_FAST16_FMTd__ "hd"
6019*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT_FAST16_FMTi__ "hi"
6020*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT_FAST16_MAX__ 32767
6021*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT_FAST16_TYPE__ short
6022*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT_FAST32_FMTd__ "d"
6023*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT_FAST32_FMTi__ "i"
6024*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT_FAST32_MAX__ 2147483647
6025*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT_FAST32_TYPE__ int
6026*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT_FAST64_FMTd__ "lld"
6027*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT_FAST64_FMTi__ "lli"
6028*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT_FAST64_MAX__ 9223372036854775807LL
6029*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT_FAST64_TYPE__ long long int
6030*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT_FAST8_FMTd__ "hhd"
6031*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT_FAST8_FMTi__ "hhi"
6032*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT_FAST8_MAX__ 127
6033*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT_FAST8_TYPE__ signed char
6034*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT_LEAST16_FMTd__ "hd"
6035*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT_LEAST16_FMTi__ "hi"
6036*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT_LEAST16_MAX__ 32767
6037*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT_LEAST16_TYPE__ short
6038*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT_LEAST32_FMTd__ "d"
6039*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT_LEAST32_FMTi__ "i"
6040*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT_LEAST32_MAX__ 2147483647
6041*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT_LEAST32_TYPE__ int
6042*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT_LEAST64_FMTd__ "lld"
6043*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT_LEAST64_FMTi__ "lli"
6044*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT_LEAST64_MAX__ 9223372036854775807LL
6045*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT_LEAST64_TYPE__ long long int
6046*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT_LEAST8_FMTd__ "hhd"
6047*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT_LEAST8_FMTi__ "hhi"
6048*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT_LEAST8_MAX__ 127
6049*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __INT_LEAST8_TYPE__ signed char
6050f4a2713aSLionel Sambuc // PPC-LINUX:#define __INT_MAX__ 2147483647
6051f4a2713aSLionel Sambuc // PPC-LINUX:#define __LDBL_DENORM_MIN__ 4.94065645841246544176568792868221e-324L
6052f4a2713aSLionel Sambuc // PPC-LINUX:#define __LDBL_DIG__ 31
6053f4a2713aSLionel Sambuc // PPC-LINUX:#define __LDBL_EPSILON__ 4.94065645841246544176568792868221e-324L
6054f4a2713aSLionel Sambuc // PPC-LINUX:#define __LDBL_HAS_DENORM__ 1
6055f4a2713aSLionel Sambuc // PPC-LINUX:#define __LDBL_HAS_INFINITY__ 1
6056f4a2713aSLionel Sambuc // PPC-LINUX:#define __LDBL_HAS_QUIET_NAN__ 1
6057f4a2713aSLionel Sambuc // PPC-LINUX:#define __LDBL_MANT_DIG__ 106
6058f4a2713aSLionel Sambuc // PPC-LINUX:#define __LDBL_MAX_10_EXP__ 308
6059f4a2713aSLionel Sambuc // PPC-LINUX:#define __LDBL_MAX_EXP__ 1024
6060f4a2713aSLionel Sambuc // PPC-LINUX:#define __LDBL_MAX__ 1.79769313486231580793728971405301e+308L
6061f4a2713aSLionel Sambuc // PPC-LINUX:#define __LDBL_MIN_10_EXP__ (-291)
6062f4a2713aSLionel Sambuc // PPC-LINUX:#define __LDBL_MIN_EXP__ (-968)
6063f4a2713aSLionel Sambuc // PPC-LINUX:#define __LDBL_MIN__ 2.00416836000897277799610805135016e-292L
6064f4a2713aSLionel Sambuc // PPC-LINUX:#define __LONG_DOUBLE_128__ 1
6065f4a2713aSLionel Sambuc // PPC-LINUX:#define __LONG_LONG_MAX__ 9223372036854775807LL
6066f4a2713aSLionel Sambuc // PPC-LINUX:#define __LONG_MAX__ 2147483647L
6067f4a2713aSLionel Sambuc // PPC-LINUX-NOT:#define __LP64__
6068f4a2713aSLionel Sambuc // PPC-LINUX:#define __NATURAL_ALIGNMENT__ 1
6069f4a2713aSLionel Sambuc // PPC-LINUX:#define __POINTER_WIDTH__ 32
6070f4a2713aSLionel Sambuc // PPC-LINUX:#define __POWERPC__ 1
6071f4a2713aSLionel Sambuc // PPC-LINUX:#define __PPC__ 1
6072f4a2713aSLionel Sambuc // PPC-LINUX:#define __PTRDIFF_TYPE__ int
6073f4a2713aSLionel Sambuc // PPC-LINUX:#define __PTRDIFF_WIDTH__ 32
6074f4a2713aSLionel Sambuc // PPC-LINUX:#define __REGISTER_PREFIX__
6075f4a2713aSLionel Sambuc // PPC-LINUX:#define __SCHAR_MAX__ 127
6076f4a2713aSLionel Sambuc // PPC-LINUX:#define __SHRT_MAX__ 32767
6077*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __SIG_ATOMIC_MAX__ 2147483647
6078f4a2713aSLionel Sambuc // PPC-LINUX:#define __SIG_ATOMIC_WIDTH__ 32
6079f4a2713aSLionel Sambuc // PPC-LINUX:#define __SIZEOF_DOUBLE__ 8
6080f4a2713aSLionel Sambuc // PPC-LINUX:#define __SIZEOF_FLOAT__ 4
6081f4a2713aSLionel Sambuc // PPC-LINUX:#define __SIZEOF_INT__ 4
6082f4a2713aSLionel Sambuc // PPC-LINUX:#define __SIZEOF_LONG_DOUBLE__ 16
6083f4a2713aSLionel Sambuc // PPC-LINUX:#define __SIZEOF_LONG_LONG__ 8
6084f4a2713aSLionel Sambuc // PPC-LINUX:#define __SIZEOF_LONG__ 4
6085f4a2713aSLionel Sambuc // PPC-LINUX:#define __SIZEOF_POINTER__ 4
6086f4a2713aSLionel Sambuc // PPC-LINUX:#define __SIZEOF_PTRDIFF_T__ 4
6087f4a2713aSLionel Sambuc // PPC-LINUX:#define __SIZEOF_SHORT__ 2
6088f4a2713aSLionel Sambuc // PPC-LINUX:#define __SIZEOF_SIZE_T__ 4
6089f4a2713aSLionel Sambuc // PPC-LINUX:#define __SIZEOF_WCHAR_T__ 4
6090f4a2713aSLionel Sambuc // PPC-LINUX:#define __SIZEOF_WINT_T__ 4
6091f4a2713aSLionel Sambuc // PPC-LINUX:#define __SIZE_MAX__ 4294967295U
6092f4a2713aSLionel Sambuc // PPC-LINUX:#define __SIZE_TYPE__ unsigned int
6093f4a2713aSLionel Sambuc // PPC-LINUX:#define __SIZE_WIDTH__ 32
6094*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __UINT16_C_SUFFIX__ {{$}}
6095*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __UINT16_MAX__ 65535
6096*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __UINT16_TYPE__ unsigned short
6097*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __UINT32_C_SUFFIX__ U
6098*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __UINT32_MAX__ 4294967295U
6099*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __UINT32_TYPE__ unsigned int
6100*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __UINT64_C_SUFFIX__ ULL
6101*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __UINT64_MAX__ 18446744073709551615ULL
6102*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __UINT64_TYPE__ long long unsigned int
6103*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __UINT8_C_SUFFIX__ {{$}}
6104*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __UINT8_MAX__ 255
6105*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __UINT8_TYPE__ unsigned char
6106*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __UINTMAX_C_SUFFIX__ ULL
6107*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __UINTMAX_MAX__ 18446744073709551615ULL
6108f4a2713aSLionel Sambuc // PPC-LINUX:#define __UINTMAX_TYPE__ long long unsigned int
6109*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __UINTMAX_WIDTH__ 64
6110*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __UINTPTR_MAX__ 4294967295U
6111*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __UINTPTR_TYPE__ unsigned int
6112*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __UINTPTR_WIDTH__ 32
6113*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __UINT_FAST16_MAX__ 65535
6114*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __UINT_FAST16_TYPE__ unsigned short
6115*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __UINT_FAST32_MAX__ 4294967295U
6116*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __UINT_FAST32_TYPE__ unsigned int
6117*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
6118*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __UINT_FAST64_TYPE__ long long unsigned int
6119*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __UINT_FAST8_MAX__ 255
6120*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __UINT_FAST8_TYPE__ unsigned char
6121*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __UINT_LEAST16_MAX__ 65535
6122*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __UINT_LEAST16_TYPE__ unsigned short
6123*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __UINT_LEAST32_MAX__ 4294967295U
6124*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __UINT_LEAST32_TYPE__ unsigned int
6125*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
6126*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __UINT_LEAST64_TYPE__ long long unsigned int
6127*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __UINT_LEAST8_MAX__ 255
6128*0a6a1f1dSLionel Sambuc // PPC-LINUX:#define __UINT_LEAST8_TYPE__ unsigned char
6129f4a2713aSLionel Sambuc // PPC-LINUX:#define __USER_LABEL_PREFIX__
6130f4a2713aSLionel Sambuc // PPC-LINUX:#define __WCHAR_MAX__ 2147483647
6131f4a2713aSLionel Sambuc // PPC-LINUX:#define __WCHAR_TYPE__ int
6132f4a2713aSLionel Sambuc // PPC-LINUX:#define __WCHAR_WIDTH__ 32
6133f4a2713aSLionel Sambuc // PPC-LINUX:#define __WINT_TYPE__ unsigned int
6134f4a2713aSLionel Sambuc // PPC-LINUX:#define __WINT_UNSIGNED__ 1
6135f4a2713aSLionel Sambuc // PPC-LINUX:#define __WINT_WIDTH__ 32
6136f4a2713aSLionel Sambuc // PPC-LINUX:#define __powerpc__ 1
6137f4a2713aSLionel Sambuc // PPC-LINUX:#define __ppc__ 1
6138f4a2713aSLionel Sambuc //
6139f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc-apple-darwin8 < /dev/null | FileCheck -check-prefix PPC-DARWIN %s
6140f4a2713aSLionel Sambuc //
6141f4a2713aSLionel Sambuc // PPC-DARWIN:#define _ARCH_PPC 1
6142f4a2713aSLionel Sambuc // PPC-DARWIN:#define _BIG_ENDIAN 1
6143f4a2713aSLionel Sambuc // PPC-DARWIN:#define __BIG_ENDIAN__ 1
6144f4a2713aSLionel Sambuc // PPC-DARWIN:#define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__
6145f4a2713aSLionel Sambuc // PPC-DARWIN:#define __CHAR16_TYPE__ unsigned short
6146f4a2713aSLionel Sambuc // PPC-DARWIN:#define __CHAR32_TYPE__ unsigned int
6147f4a2713aSLionel Sambuc // PPC-DARWIN:#define __CHAR_BIT__ 8
6148f4a2713aSLionel Sambuc // PPC-DARWIN:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
6149f4a2713aSLionel Sambuc // PPC-DARWIN:#define __DBL_DIG__ 15
6150f4a2713aSLionel Sambuc // PPC-DARWIN:#define __DBL_EPSILON__ 2.2204460492503131e-16
6151f4a2713aSLionel Sambuc // PPC-DARWIN:#define __DBL_HAS_DENORM__ 1
6152f4a2713aSLionel Sambuc // PPC-DARWIN:#define __DBL_HAS_INFINITY__ 1
6153f4a2713aSLionel Sambuc // PPC-DARWIN:#define __DBL_HAS_QUIET_NAN__ 1
6154f4a2713aSLionel Sambuc // PPC-DARWIN:#define __DBL_MANT_DIG__ 53
6155f4a2713aSLionel Sambuc // PPC-DARWIN:#define __DBL_MAX_10_EXP__ 308
6156f4a2713aSLionel Sambuc // PPC-DARWIN:#define __DBL_MAX_EXP__ 1024
6157f4a2713aSLionel Sambuc // PPC-DARWIN:#define __DBL_MAX__ 1.7976931348623157e+308
6158f4a2713aSLionel Sambuc // PPC-DARWIN:#define __DBL_MIN_10_EXP__ (-307)
6159f4a2713aSLionel Sambuc // PPC-DARWIN:#define __DBL_MIN_EXP__ (-1021)
6160f4a2713aSLionel Sambuc // PPC-DARWIN:#define __DBL_MIN__ 2.2250738585072014e-308
6161f4a2713aSLionel Sambuc // PPC-DARWIN:#define __DECIMAL_DIG__ 33
6162f4a2713aSLionel Sambuc // PPC-DARWIN:#define __FLT_DENORM_MIN__ 1.40129846e-45F
6163f4a2713aSLionel Sambuc // PPC-DARWIN:#define __FLT_DIG__ 6
6164f4a2713aSLionel Sambuc // PPC-DARWIN:#define __FLT_EPSILON__ 1.19209290e-7F
6165f4a2713aSLionel Sambuc // PPC-DARWIN:#define __FLT_EVAL_METHOD__ 0
6166f4a2713aSLionel Sambuc // PPC-DARWIN:#define __FLT_HAS_DENORM__ 1
6167f4a2713aSLionel Sambuc // PPC-DARWIN:#define __FLT_HAS_INFINITY__ 1
6168f4a2713aSLionel Sambuc // PPC-DARWIN:#define __FLT_HAS_QUIET_NAN__ 1
6169f4a2713aSLionel Sambuc // PPC-DARWIN:#define __FLT_MANT_DIG__ 24
6170f4a2713aSLionel Sambuc // PPC-DARWIN:#define __FLT_MAX_10_EXP__ 38
6171f4a2713aSLionel Sambuc // PPC-DARWIN:#define __FLT_MAX_EXP__ 128
6172f4a2713aSLionel Sambuc // PPC-DARWIN:#define __FLT_MAX__ 3.40282347e+38F
6173f4a2713aSLionel Sambuc // PPC-DARWIN:#define __FLT_MIN_10_EXP__ (-37)
6174f4a2713aSLionel Sambuc // PPC-DARWIN:#define __FLT_MIN_EXP__ (-125)
6175f4a2713aSLionel Sambuc // PPC-DARWIN:#define __FLT_MIN__ 1.17549435e-38F
6176f4a2713aSLionel Sambuc // PPC-DARWIN:#define __FLT_RADIX__ 2
6177*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT16_C_SUFFIX__ {{$}}
6178*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT16_FMTd__ "hd"
6179*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT16_FMTi__ "hi"
6180*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT16_MAX__ 32767
6181f4a2713aSLionel Sambuc // PPC-DARWIN:#define __INT16_TYPE__ short
6182*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT32_C_SUFFIX__ {{$}}
6183*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT32_FMTd__ "d"
6184*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT32_FMTi__ "i"
6185*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT32_MAX__ 2147483647
6186f4a2713aSLionel Sambuc // PPC-DARWIN:#define __INT32_TYPE__ int
6187f4a2713aSLionel Sambuc // PPC-DARWIN:#define __INT64_C_SUFFIX__ LL
6188*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT64_FMTd__ "lld"
6189*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT64_FMTi__ "lli"
6190*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT64_MAX__ 9223372036854775807LL
6191f4a2713aSLionel Sambuc // PPC-DARWIN:#define __INT64_TYPE__ long long int
6192*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT8_C_SUFFIX__ {{$}}
6193*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT8_FMTd__ "hhd"
6194*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT8_FMTi__ "hhi"
6195*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT8_MAX__ 127
6196*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT8_TYPE__ signed char
6197*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INTMAX_C_SUFFIX__ LL
6198*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INTMAX_FMTd__ "lld"
6199*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INTMAX_FMTi__ "lli"
6200f4a2713aSLionel Sambuc // PPC-DARWIN:#define __INTMAX_MAX__ 9223372036854775807LL
6201f4a2713aSLionel Sambuc // PPC-DARWIN:#define __INTMAX_TYPE__ long long int
6202f4a2713aSLionel Sambuc // PPC-DARWIN:#define __INTMAX_WIDTH__ 64
6203*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INTPTR_FMTd__ "ld"
6204*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INTPTR_FMTi__ "li"
6205*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INTPTR_MAX__ 2147483647L
6206f4a2713aSLionel Sambuc // PPC-DARWIN:#define __INTPTR_TYPE__ long int
6207f4a2713aSLionel Sambuc // PPC-DARWIN:#define __INTPTR_WIDTH__ 32
6208*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT_FAST16_FMTd__ "hd"
6209*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT_FAST16_FMTi__ "hi"
6210*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT_FAST16_MAX__ 32767
6211*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT_FAST16_TYPE__ short
6212*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT_FAST32_FMTd__ "d"
6213*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT_FAST32_FMTi__ "i"
6214*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT_FAST32_MAX__ 2147483647
6215*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT_FAST32_TYPE__ int
6216*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT_FAST64_FMTd__ "lld"
6217*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT_FAST64_FMTi__ "lli"
6218*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT_FAST64_MAX__ 9223372036854775807LL
6219*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT_FAST64_TYPE__ long long int
6220*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT_FAST8_FMTd__ "hhd"
6221*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT_FAST8_FMTi__ "hhi"
6222*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT_FAST8_MAX__ 127
6223*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT_FAST8_TYPE__ signed char
6224*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT_LEAST16_FMTd__ "hd"
6225*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT_LEAST16_FMTi__ "hi"
6226*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT_LEAST16_MAX__ 32767
6227*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT_LEAST16_TYPE__ short
6228*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT_LEAST32_FMTd__ "d"
6229*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT_LEAST32_FMTi__ "i"
6230*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT_LEAST32_MAX__ 2147483647
6231*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT_LEAST32_TYPE__ int
6232*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT_LEAST64_FMTd__ "lld"
6233*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT_LEAST64_FMTi__ "lli"
6234*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT_LEAST64_MAX__ 9223372036854775807LL
6235*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT_LEAST64_TYPE__ long long int
6236*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT_LEAST8_FMTd__ "hhd"
6237*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT_LEAST8_FMTi__ "hhi"
6238*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT_LEAST8_MAX__ 127
6239*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __INT_LEAST8_TYPE__ signed char
6240f4a2713aSLionel Sambuc // PPC-DARWIN:#define __INT_MAX__ 2147483647
6241f4a2713aSLionel Sambuc // PPC-DARWIN:#define __LDBL_DENORM_MIN__ 4.94065645841246544176568792868221e-324L
6242f4a2713aSLionel Sambuc // PPC-DARWIN:#define __LDBL_DIG__ 31
6243f4a2713aSLionel Sambuc // PPC-DARWIN:#define __LDBL_EPSILON__ 4.94065645841246544176568792868221e-324L
6244f4a2713aSLionel Sambuc // PPC-DARWIN:#define __LDBL_HAS_DENORM__ 1
6245f4a2713aSLionel Sambuc // PPC-DARWIN:#define __LDBL_HAS_INFINITY__ 1
6246f4a2713aSLionel Sambuc // PPC-DARWIN:#define __LDBL_HAS_QUIET_NAN__ 1
6247f4a2713aSLionel Sambuc // PPC-DARWIN:#define __LDBL_MANT_DIG__ 106
6248f4a2713aSLionel Sambuc // PPC-DARWIN:#define __LDBL_MAX_10_EXP__ 308
6249f4a2713aSLionel Sambuc // PPC-DARWIN:#define __LDBL_MAX_EXP__ 1024
6250f4a2713aSLionel Sambuc // PPC-DARWIN:#define __LDBL_MAX__ 1.79769313486231580793728971405301e+308L
6251f4a2713aSLionel Sambuc // PPC-DARWIN:#define __LDBL_MIN_10_EXP__ (-291)
6252f4a2713aSLionel Sambuc // PPC-DARWIN:#define __LDBL_MIN_EXP__ (-968)
6253f4a2713aSLionel Sambuc // PPC-DARWIN:#define __LDBL_MIN__ 2.00416836000897277799610805135016e-292L
6254f4a2713aSLionel Sambuc // PPC-DARWIN:#define __LONG_DOUBLE_128__ 1
6255f4a2713aSLionel Sambuc // PPC-DARWIN:#define __LONG_LONG_MAX__ 9223372036854775807LL
6256f4a2713aSLionel Sambuc // PPC-DARWIN:#define __LONG_MAX__ 2147483647L
6257f4a2713aSLionel Sambuc // PPC-DARWIN:#define __MACH__ 1
6258f4a2713aSLionel Sambuc // PPC-DARWIN:#define __NATURAL_ALIGNMENT__ 1
6259f4a2713aSLionel Sambuc // PPC-DARWIN:#define __ORDER_BIG_ENDIAN__ 4321
6260f4a2713aSLionel Sambuc // PPC-DARWIN:#define __ORDER_LITTLE_ENDIAN__ 1234
6261f4a2713aSLionel Sambuc // PPC-DARWIN:#define __ORDER_PDP_ENDIAN__ 3412
6262f4a2713aSLionel Sambuc // PPC-DARWIN:#define __POINTER_WIDTH__ 32
6263f4a2713aSLionel Sambuc // PPC-DARWIN:#define __POWERPC__ 1
6264f4a2713aSLionel Sambuc // PPC-DARWIN:#define __PPC__ 1
6265f4a2713aSLionel Sambuc // PPC-DARWIN:#define __PTRDIFF_TYPE__ int
6266f4a2713aSLionel Sambuc // PPC-DARWIN:#define __PTRDIFF_WIDTH__ 32
6267f4a2713aSLionel Sambuc // PPC-DARWIN:#define __REGISTER_PREFIX__
6268f4a2713aSLionel Sambuc // PPC-DARWIN:#define __SCHAR_MAX__ 127
6269f4a2713aSLionel Sambuc // PPC-DARWIN:#define __SHRT_MAX__ 32767
6270*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __SIG_ATOMIC_MAX__ 2147483647
6271f4a2713aSLionel Sambuc // PPC-DARWIN:#define __SIG_ATOMIC_WIDTH__ 32
6272f4a2713aSLionel Sambuc // PPC-DARWIN:#define __SIZEOF_DOUBLE__ 8
6273f4a2713aSLionel Sambuc // PPC-DARWIN:#define __SIZEOF_FLOAT__ 4
6274f4a2713aSLionel Sambuc // PPC-DARWIN:#define __SIZEOF_INT__ 4
6275f4a2713aSLionel Sambuc // PPC-DARWIN:#define __SIZEOF_LONG_DOUBLE__ 16
6276f4a2713aSLionel Sambuc // PPC-DARWIN:#define __SIZEOF_LONG_LONG__ 8
6277f4a2713aSLionel Sambuc // PPC-DARWIN:#define __SIZEOF_LONG__ 4
6278f4a2713aSLionel Sambuc // PPC-DARWIN:#define __SIZEOF_POINTER__ 4
6279f4a2713aSLionel Sambuc // PPC-DARWIN:#define __SIZEOF_PTRDIFF_T__ 4
6280f4a2713aSLionel Sambuc // PPC-DARWIN:#define __SIZEOF_SHORT__ 2
6281f4a2713aSLionel Sambuc // PPC-DARWIN:#define __SIZEOF_SIZE_T__ 4
6282f4a2713aSLionel Sambuc // PPC-DARWIN:#define __SIZEOF_WCHAR_T__ 4
6283f4a2713aSLionel Sambuc // PPC-DARWIN:#define __SIZEOF_WINT_T__ 4
6284f4a2713aSLionel Sambuc // PPC-DARWIN:#define __SIZE_MAX__ 4294967295UL
6285f4a2713aSLionel Sambuc // PPC-DARWIN:#define __SIZE_TYPE__ long unsigned int
6286f4a2713aSLionel Sambuc // PPC-DARWIN:#define __SIZE_WIDTH__ 32
6287f4a2713aSLionel Sambuc // PPC-DARWIN:#define __STDC_HOSTED__ 0
6288*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __STDC_VERSION__ 201112L
6289f4a2713aSLionel Sambuc // PPC-DARWIN:#define __STDC__ 1
6290*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __UINT16_C_SUFFIX__ {{$}}
6291*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __UINT16_MAX__ 65535
6292*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __UINT16_TYPE__ unsigned short
6293*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __UINT32_C_SUFFIX__ U
6294*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __UINT32_MAX__ 4294967295U
6295*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __UINT32_TYPE__ unsigned int
6296*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __UINT64_C_SUFFIX__ ULL
6297*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __UINT64_MAX__ 18446744073709551615ULL
6298*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __UINT64_TYPE__ long long unsigned int
6299*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __UINT8_C_SUFFIX__ {{$}}
6300*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __UINT8_MAX__ 255
6301*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __UINT8_TYPE__ unsigned char
6302*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __UINTMAX_C_SUFFIX__ ULL
6303*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __UINTMAX_MAX__ 18446744073709551615ULL
6304f4a2713aSLionel Sambuc // PPC-DARWIN:#define __UINTMAX_TYPE__ long long unsigned int
6305*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __UINTMAX_WIDTH__ 64
6306*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __UINTPTR_MAX__ 4294967295U
6307*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __UINTPTR_TYPE__ long unsigned int
6308*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __UINTPTR_WIDTH__ 32
6309*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __UINT_FAST16_MAX__ 65535
6310*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __UINT_FAST16_TYPE__ unsigned short
6311*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __UINT_FAST32_MAX__ 4294967295U
6312*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __UINT_FAST32_TYPE__ unsigned int
6313*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
6314*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __UINT_FAST64_TYPE__ long long unsigned int
6315*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __UINT_FAST8_MAX__ 255
6316*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __UINT_FAST8_TYPE__ unsigned char
6317*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __UINT_LEAST16_MAX__ 65535
6318*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __UINT_LEAST16_TYPE__ unsigned short
6319*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __UINT_LEAST32_MAX__ 4294967295U
6320*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __UINT_LEAST32_TYPE__ unsigned int
6321*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
6322*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __UINT_LEAST64_TYPE__ long long unsigned int
6323*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __UINT_LEAST8_MAX__ 255
6324*0a6a1f1dSLionel Sambuc // PPC-DARWIN:#define __UINT_LEAST8_TYPE__ unsigned char
6325f4a2713aSLionel Sambuc // PPC-DARWIN:#define __USER_LABEL_PREFIX__ _
6326f4a2713aSLionel Sambuc // PPC-DARWIN:#define __WCHAR_MAX__ 2147483647
6327f4a2713aSLionel Sambuc // PPC-DARWIN:#define __WCHAR_TYPE__ int
6328f4a2713aSLionel Sambuc // PPC-DARWIN:#define __WCHAR_WIDTH__ 32
6329f4a2713aSLionel Sambuc // PPC-DARWIN:#define __WINT_TYPE__ int
6330f4a2713aSLionel Sambuc // PPC-DARWIN:#define __WINT_WIDTH__ 32
6331f4a2713aSLionel Sambuc // PPC-DARWIN:#define __powerpc__ 1
6332f4a2713aSLionel Sambuc // PPC-DARWIN:#define __ppc__ 1
6333f4a2713aSLionel Sambuc //
6334f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=s390x-none-none -fno-signed-char < /dev/null | FileCheck -check-prefix S390X %s
6335f4a2713aSLionel Sambuc //
6336f4a2713aSLionel Sambuc // S390X:#define __CHAR16_TYPE__ unsigned short
6337f4a2713aSLionel Sambuc // S390X:#define __CHAR32_TYPE__ unsigned int
6338f4a2713aSLionel Sambuc // S390X:#define __CHAR_BIT__ 8
6339f4a2713aSLionel Sambuc // S390X:#define __CHAR_UNSIGNED__ 1
6340f4a2713aSLionel Sambuc // S390X:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
6341f4a2713aSLionel Sambuc // S390X:#define __DBL_DIG__ 15
6342f4a2713aSLionel Sambuc // S390X:#define __DBL_EPSILON__ 2.2204460492503131e-16
6343f4a2713aSLionel Sambuc // S390X:#define __DBL_HAS_DENORM__ 1
6344f4a2713aSLionel Sambuc // S390X:#define __DBL_HAS_INFINITY__ 1
6345f4a2713aSLionel Sambuc // S390X:#define __DBL_HAS_QUIET_NAN__ 1
6346f4a2713aSLionel Sambuc // S390X:#define __DBL_MANT_DIG__ 53
6347f4a2713aSLionel Sambuc // S390X:#define __DBL_MAX_10_EXP__ 308
6348f4a2713aSLionel Sambuc // S390X:#define __DBL_MAX_EXP__ 1024
6349f4a2713aSLionel Sambuc // S390X:#define __DBL_MAX__ 1.7976931348623157e+308
6350f4a2713aSLionel Sambuc // S390X:#define __DBL_MIN_10_EXP__ (-307)
6351f4a2713aSLionel Sambuc // S390X:#define __DBL_MIN_EXP__ (-1021)
6352f4a2713aSLionel Sambuc // S390X:#define __DBL_MIN__ 2.2250738585072014e-308
6353f4a2713aSLionel Sambuc // S390X:#define __DECIMAL_DIG__ 36
6354f4a2713aSLionel Sambuc // S390X:#define __FLT_DENORM_MIN__ 1.40129846e-45F
6355f4a2713aSLionel Sambuc // S390X:#define __FLT_DIG__ 6
6356f4a2713aSLionel Sambuc // S390X:#define __FLT_EPSILON__ 1.19209290e-7F
6357f4a2713aSLionel Sambuc // S390X:#define __FLT_EVAL_METHOD__ 0
6358f4a2713aSLionel Sambuc // S390X:#define __FLT_HAS_DENORM__ 1
6359f4a2713aSLionel Sambuc // S390X:#define __FLT_HAS_INFINITY__ 1
6360f4a2713aSLionel Sambuc // S390X:#define __FLT_HAS_QUIET_NAN__ 1
6361f4a2713aSLionel Sambuc // S390X:#define __FLT_MANT_DIG__ 24
6362f4a2713aSLionel Sambuc // S390X:#define __FLT_MAX_10_EXP__ 38
6363f4a2713aSLionel Sambuc // S390X:#define __FLT_MAX_EXP__ 128
6364f4a2713aSLionel Sambuc // S390X:#define __FLT_MAX__ 3.40282347e+38F
6365f4a2713aSLionel Sambuc // S390X:#define __FLT_MIN_10_EXP__ (-37)
6366f4a2713aSLionel Sambuc // S390X:#define __FLT_MIN_EXP__ (-125)
6367f4a2713aSLionel Sambuc // S390X:#define __FLT_MIN__ 1.17549435e-38F
6368f4a2713aSLionel Sambuc // S390X:#define __FLT_RADIX__ 2
6369*0a6a1f1dSLionel Sambuc // S390X:#define __INT16_C_SUFFIX__ {{$}}
6370*0a6a1f1dSLionel Sambuc // S390X:#define __INT16_FMTd__ "hd"
6371*0a6a1f1dSLionel Sambuc // S390X:#define __INT16_FMTi__ "hi"
6372*0a6a1f1dSLionel Sambuc // S390X:#define __INT16_MAX__ 32767
6373f4a2713aSLionel Sambuc // S390X:#define __INT16_TYPE__ short
6374*0a6a1f1dSLionel Sambuc // S390X:#define __INT32_C_SUFFIX__ {{$}}
6375*0a6a1f1dSLionel Sambuc // S390X:#define __INT32_FMTd__ "d"
6376*0a6a1f1dSLionel Sambuc // S390X:#define __INT32_FMTi__ "i"
6377*0a6a1f1dSLionel Sambuc // S390X:#define __INT32_MAX__ 2147483647
6378f4a2713aSLionel Sambuc // S390X:#define __INT32_TYPE__ int
6379*0a6a1f1dSLionel Sambuc // S390X:#define __INT64_C_SUFFIX__ LL
6380*0a6a1f1dSLionel Sambuc // S390X:#define __INT64_FMTd__ "lld"
6381*0a6a1f1dSLionel Sambuc // S390X:#define __INT64_FMTi__ "lli"
6382*0a6a1f1dSLionel Sambuc // S390X:#define __INT64_MAX__ 9223372036854775807LL
6383f4a2713aSLionel Sambuc // S390X:#define __INT64_TYPE__ long long int
6384*0a6a1f1dSLionel Sambuc // S390X:#define __INT8_C_SUFFIX__ {{$}}
6385*0a6a1f1dSLionel Sambuc // S390X:#define __INT8_FMTd__ "hhd"
6386*0a6a1f1dSLionel Sambuc // S390X:#define __INT8_FMTi__ "hhi"
6387*0a6a1f1dSLionel Sambuc // S390X:#define __INT8_MAX__ 127
6388*0a6a1f1dSLionel Sambuc // S390X:#define __INT8_TYPE__ signed char
6389*0a6a1f1dSLionel Sambuc // S390X:#define __INTMAX_C_SUFFIX__ LL
6390*0a6a1f1dSLionel Sambuc // S390X:#define __INTMAX_FMTd__ "lld"
6391*0a6a1f1dSLionel Sambuc // S390X:#define __INTMAX_FMTi__ "lli"
6392f4a2713aSLionel Sambuc // S390X:#define __INTMAX_MAX__ 9223372036854775807LL
6393f4a2713aSLionel Sambuc // S390X:#define __INTMAX_TYPE__ long long int
6394f4a2713aSLionel Sambuc // S390X:#define __INTMAX_WIDTH__ 64
6395*0a6a1f1dSLionel Sambuc // S390X:#define __INTPTR_FMTd__ "ld"
6396*0a6a1f1dSLionel Sambuc // S390X:#define __INTPTR_FMTi__ "li"
6397*0a6a1f1dSLionel Sambuc // S390X:#define __INTPTR_MAX__ 9223372036854775807L
6398f4a2713aSLionel Sambuc // S390X:#define __INTPTR_TYPE__ long int
6399f4a2713aSLionel Sambuc // S390X:#define __INTPTR_WIDTH__ 64
6400*0a6a1f1dSLionel Sambuc // S390X:#define __INT_FAST16_FMTd__ "hd"
6401*0a6a1f1dSLionel Sambuc // S390X:#define __INT_FAST16_FMTi__ "hi"
6402*0a6a1f1dSLionel Sambuc // S390X:#define __INT_FAST16_MAX__ 32767
6403*0a6a1f1dSLionel Sambuc // S390X:#define __INT_FAST16_TYPE__ short
6404*0a6a1f1dSLionel Sambuc // S390X:#define __INT_FAST32_FMTd__ "d"
6405*0a6a1f1dSLionel Sambuc // S390X:#define __INT_FAST32_FMTi__ "i"
6406*0a6a1f1dSLionel Sambuc // S390X:#define __INT_FAST32_MAX__ 2147483647
6407*0a6a1f1dSLionel Sambuc // S390X:#define __INT_FAST32_TYPE__ int
6408*0a6a1f1dSLionel Sambuc // S390X:#define __INT_FAST64_FMTd__ "ld"
6409*0a6a1f1dSLionel Sambuc // S390X:#define __INT_FAST64_FMTi__ "li"
6410*0a6a1f1dSLionel Sambuc // S390X:#define __INT_FAST64_MAX__ 9223372036854775807L
6411*0a6a1f1dSLionel Sambuc // S390X:#define __INT_FAST64_TYPE__ long int
6412*0a6a1f1dSLionel Sambuc // S390X:#define __INT_FAST8_FMTd__ "hhd"
6413*0a6a1f1dSLionel Sambuc // S390X:#define __INT_FAST8_FMTi__ "hhi"
6414*0a6a1f1dSLionel Sambuc // S390X:#define __INT_FAST8_MAX__ 127
6415*0a6a1f1dSLionel Sambuc // S390X:#define __INT_FAST8_TYPE__ signed char
6416*0a6a1f1dSLionel Sambuc // S390X:#define __INT_LEAST16_FMTd__ "hd"
6417*0a6a1f1dSLionel Sambuc // S390X:#define __INT_LEAST16_FMTi__ "hi"
6418*0a6a1f1dSLionel Sambuc // S390X:#define __INT_LEAST16_MAX__ 32767
6419*0a6a1f1dSLionel Sambuc // S390X:#define __INT_LEAST16_TYPE__ short
6420*0a6a1f1dSLionel Sambuc // S390X:#define __INT_LEAST32_FMTd__ "d"
6421*0a6a1f1dSLionel Sambuc // S390X:#define __INT_LEAST32_FMTi__ "i"
6422*0a6a1f1dSLionel Sambuc // S390X:#define __INT_LEAST32_MAX__ 2147483647
6423*0a6a1f1dSLionel Sambuc // S390X:#define __INT_LEAST32_TYPE__ int
6424*0a6a1f1dSLionel Sambuc // S390X:#define __INT_LEAST64_FMTd__ "ld"
6425*0a6a1f1dSLionel Sambuc // S390X:#define __INT_LEAST64_FMTi__ "li"
6426*0a6a1f1dSLionel Sambuc // S390X:#define __INT_LEAST64_MAX__ 9223372036854775807L
6427*0a6a1f1dSLionel Sambuc // S390X:#define __INT_LEAST64_TYPE__ long int
6428*0a6a1f1dSLionel Sambuc // S390X:#define __INT_LEAST8_FMTd__ "hhd"
6429*0a6a1f1dSLionel Sambuc // S390X:#define __INT_LEAST8_FMTi__ "hhi"
6430*0a6a1f1dSLionel Sambuc // S390X:#define __INT_LEAST8_MAX__ 127
6431*0a6a1f1dSLionel Sambuc // S390X:#define __INT_LEAST8_TYPE__ signed char
6432f4a2713aSLionel Sambuc // S390X:#define __INT_MAX__ 2147483647
6433f4a2713aSLionel Sambuc // S390X:#define __LDBL_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966L
6434f4a2713aSLionel Sambuc // S390X:#define __LDBL_DIG__ 33
6435f4a2713aSLionel Sambuc // S390X:#define __LDBL_EPSILON__ 1.92592994438723585305597794258492732e-34L
6436f4a2713aSLionel Sambuc // S390X:#define __LDBL_HAS_DENORM__ 1
6437f4a2713aSLionel Sambuc // S390X:#define __LDBL_HAS_INFINITY__ 1
6438f4a2713aSLionel Sambuc // S390X:#define __LDBL_HAS_QUIET_NAN__ 1
6439f4a2713aSLionel Sambuc // S390X:#define __LDBL_MANT_DIG__ 113
6440f4a2713aSLionel Sambuc // S390X:#define __LDBL_MAX_10_EXP__ 4932
6441f4a2713aSLionel Sambuc // S390X:#define __LDBL_MAX_EXP__ 16384
6442f4a2713aSLionel Sambuc // S390X:#define __LDBL_MAX__ 1.18973149535723176508575932662800702e+4932L
6443f4a2713aSLionel Sambuc // S390X:#define __LDBL_MIN_10_EXP__ (-4931)
6444f4a2713aSLionel Sambuc // S390X:#define __LDBL_MIN_EXP__ (-16381)
6445f4a2713aSLionel Sambuc // S390X:#define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L
6446f4a2713aSLionel Sambuc // S390X:#define __LONG_LONG_MAX__ 9223372036854775807LL
6447f4a2713aSLionel Sambuc // S390X:#define __LONG_MAX__ 9223372036854775807L
6448f4a2713aSLionel Sambuc // S390X:#define __NO_INLINE__ 1
6449f4a2713aSLionel Sambuc // S390X:#define __POINTER_WIDTH__ 64
6450f4a2713aSLionel Sambuc // S390X:#define __PTRDIFF_TYPE__ long int
6451f4a2713aSLionel Sambuc // S390X:#define __PTRDIFF_WIDTH__ 64
6452f4a2713aSLionel Sambuc // S390X:#define __SCHAR_MAX__ 127
6453f4a2713aSLionel Sambuc // S390X:#define __SHRT_MAX__ 32767
6454*0a6a1f1dSLionel Sambuc // S390X:#define __SIG_ATOMIC_MAX__ 2147483647
6455f4a2713aSLionel Sambuc // S390X:#define __SIG_ATOMIC_WIDTH__ 32
6456f4a2713aSLionel Sambuc // S390X:#define __SIZEOF_DOUBLE__ 8
6457f4a2713aSLionel Sambuc // S390X:#define __SIZEOF_FLOAT__ 4
6458f4a2713aSLionel Sambuc // S390X:#define __SIZEOF_INT__ 4
6459f4a2713aSLionel Sambuc // S390X:#define __SIZEOF_LONG_DOUBLE__ 16
6460f4a2713aSLionel Sambuc // S390X:#define __SIZEOF_LONG_LONG__ 8
6461f4a2713aSLionel Sambuc // S390X:#define __SIZEOF_LONG__ 8
6462f4a2713aSLionel Sambuc // S390X:#define __SIZEOF_POINTER__ 8
6463f4a2713aSLionel Sambuc // S390X:#define __SIZEOF_PTRDIFF_T__ 8
6464f4a2713aSLionel Sambuc // S390X:#define __SIZEOF_SHORT__ 2
6465f4a2713aSLionel Sambuc // S390X:#define __SIZEOF_SIZE_T__ 8
6466f4a2713aSLionel Sambuc // S390X:#define __SIZEOF_WCHAR_T__ 4
6467f4a2713aSLionel Sambuc // S390X:#define __SIZEOF_WINT_T__ 4
6468f4a2713aSLionel Sambuc // S390X:#define __SIZE_TYPE__ long unsigned int
6469f4a2713aSLionel Sambuc // S390X:#define __SIZE_WIDTH__ 64
6470*0a6a1f1dSLionel Sambuc // S390X:#define __UINT16_C_SUFFIX__ {{$}}
6471*0a6a1f1dSLionel Sambuc // S390X:#define __UINT16_MAX__ 65535
6472*0a6a1f1dSLionel Sambuc // S390X:#define __UINT16_TYPE__ unsigned short
6473*0a6a1f1dSLionel Sambuc // S390X:#define __UINT32_C_SUFFIX__ U
6474*0a6a1f1dSLionel Sambuc // S390X:#define __UINT32_MAX__ 4294967295U
6475*0a6a1f1dSLionel Sambuc // S390X:#define __UINT32_TYPE__ unsigned int
6476*0a6a1f1dSLionel Sambuc // S390X:#define __UINT64_C_SUFFIX__ ULL
6477*0a6a1f1dSLionel Sambuc // S390X:#define __UINT64_MAX__ 18446744073709551615ULL
6478*0a6a1f1dSLionel Sambuc // S390X:#define __UINT64_TYPE__ long long unsigned int
6479*0a6a1f1dSLionel Sambuc // S390X:#define __UINT8_C_SUFFIX__ {{$}}
6480*0a6a1f1dSLionel Sambuc // S390X:#define __UINT8_MAX__ 255
6481*0a6a1f1dSLionel Sambuc // S390X:#define __UINT8_TYPE__ unsigned char
6482*0a6a1f1dSLionel Sambuc // S390X:#define __UINTMAX_C_SUFFIX__ ULL
6483*0a6a1f1dSLionel Sambuc // S390X:#define __UINTMAX_MAX__ 18446744073709551615ULL
6484f4a2713aSLionel Sambuc // S390X:#define __UINTMAX_TYPE__ long long unsigned int
6485*0a6a1f1dSLionel Sambuc // S390X:#define __UINTMAX_WIDTH__ 64
6486*0a6a1f1dSLionel Sambuc // S390X:#define __UINTPTR_MAX__ 18446744073709551615UL
6487*0a6a1f1dSLionel Sambuc // S390X:#define __UINTPTR_TYPE__ long unsigned int
6488*0a6a1f1dSLionel Sambuc // S390X:#define __UINTPTR_WIDTH__ 64
6489*0a6a1f1dSLionel Sambuc // S390X:#define __UINT_FAST16_MAX__ 65535
6490*0a6a1f1dSLionel Sambuc // S390X:#define __UINT_FAST16_TYPE__ unsigned short
6491*0a6a1f1dSLionel Sambuc // S390X:#define __UINT_FAST32_MAX__ 4294967295U
6492*0a6a1f1dSLionel Sambuc // S390X:#define __UINT_FAST32_TYPE__ unsigned int
6493*0a6a1f1dSLionel Sambuc // S390X:#define __UINT_FAST64_MAX__ 18446744073709551615UL
6494*0a6a1f1dSLionel Sambuc // S390X:#define __UINT_FAST64_TYPE__ long unsigned int
6495*0a6a1f1dSLionel Sambuc // S390X:#define __UINT_FAST8_MAX__ 255
6496*0a6a1f1dSLionel Sambuc // S390X:#define __UINT_FAST8_TYPE__ unsigned char
6497*0a6a1f1dSLionel Sambuc // S390X:#define __UINT_LEAST16_MAX__ 65535
6498*0a6a1f1dSLionel Sambuc // S390X:#define __UINT_LEAST16_TYPE__ unsigned short
6499*0a6a1f1dSLionel Sambuc // S390X:#define __UINT_LEAST32_MAX__ 4294967295U
6500*0a6a1f1dSLionel Sambuc // S390X:#define __UINT_LEAST32_TYPE__ unsigned int
6501*0a6a1f1dSLionel Sambuc // S390X:#define __UINT_LEAST64_MAX__ 18446744073709551615UL
6502*0a6a1f1dSLionel Sambuc // S390X:#define __UINT_LEAST64_TYPE__ long unsigned int
6503*0a6a1f1dSLionel Sambuc // S390X:#define __UINT_LEAST8_MAX__ 255
6504*0a6a1f1dSLionel Sambuc // S390X:#define __UINT_LEAST8_TYPE__ unsigned char
6505f4a2713aSLionel Sambuc // S390X:#define __USER_LABEL_PREFIX__ _
6506f4a2713aSLionel Sambuc // S390X:#define __WCHAR_MAX__ 2147483647
6507f4a2713aSLionel Sambuc // S390X:#define __WCHAR_TYPE__ int
6508f4a2713aSLionel Sambuc // S390X:#define __WCHAR_WIDTH__ 32
6509f4a2713aSLionel Sambuc // S390X:#define __WINT_TYPE__ int
6510f4a2713aSLionel Sambuc // S390X:#define __WINT_WIDTH__ 32
6511f4a2713aSLionel Sambuc // S390X:#define __s390__ 1
6512f4a2713aSLionel Sambuc // S390X:#define __s390x__ 1
6513f4a2713aSLionel Sambuc //
6514f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=sparc-none-none < /dev/null | FileCheck -check-prefix SPARC %s
6515f4a2713aSLionel Sambuc //
6516f4a2713aSLionel Sambuc // SPARC-NOT:#define _LP64
6517*0a6a1f1dSLionel Sambuc // SPARC:#define __BIG_ENDIAN__ 1
6518f4a2713aSLionel Sambuc // SPARC:#define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__
6519f4a2713aSLionel Sambuc // SPARC:#define __CHAR16_TYPE__ unsigned short
6520f4a2713aSLionel Sambuc // SPARC:#define __CHAR32_TYPE__ unsigned int
6521f4a2713aSLionel Sambuc // SPARC:#define __CHAR_BIT__ 8
6522f4a2713aSLionel Sambuc // SPARC:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
6523f4a2713aSLionel Sambuc // SPARC:#define __DBL_DIG__ 15
6524f4a2713aSLionel Sambuc // SPARC:#define __DBL_EPSILON__ 2.2204460492503131e-16
6525f4a2713aSLionel Sambuc // SPARC:#define __DBL_HAS_DENORM__ 1
6526f4a2713aSLionel Sambuc // SPARC:#define __DBL_HAS_INFINITY__ 1
6527f4a2713aSLionel Sambuc // SPARC:#define __DBL_HAS_QUIET_NAN__ 1
6528f4a2713aSLionel Sambuc // SPARC:#define __DBL_MANT_DIG__ 53
6529f4a2713aSLionel Sambuc // SPARC:#define __DBL_MAX_10_EXP__ 308
6530f4a2713aSLionel Sambuc // SPARC:#define __DBL_MAX_EXP__ 1024
6531f4a2713aSLionel Sambuc // SPARC:#define __DBL_MAX__ 1.7976931348623157e+308
6532f4a2713aSLionel Sambuc // SPARC:#define __DBL_MIN_10_EXP__ (-307)
6533f4a2713aSLionel Sambuc // SPARC:#define __DBL_MIN_EXP__ (-1021)
6534f4a2713aSLionel Sambuc // SPARC:#define __DBL_MIN__ 2.2250738585072014e-308
6535f4a2713aSLionel Sambuc // SPARC:#define __DECIMAL_DIG__ 17
6536f4a2713aSLionel Sambuc // SPARC:#define __FLT_DENORM_MIN__ 1.40129846e-45F
6537f4a2713aSLionel Sambuc // SPARC:#define __FLT_DIG__ 6
6538f4a2713aSLionel Sambuc // SPARC:#define __FLT_EPSILON__ 1.19209290e-7F
6539f4a2713aSLionel Sambuc // SPARC:#define __FLT_EVAL_METHOD__ 0
6540f4a2713aSLionel Sambuc // SPARC:#define __FLT_HAS_DENORM__ 1
6541f4a2713aSLionel Sambuc // SPARC:#define __FLT_HAS_INFINITY__ 1
6542f4a2713aSLionel Sambuc // SPARC:#define __FLT_HAS_QUIET_NAN__ 1
6543f4a2713aSLionel Sambuc // SPARC:#define __FLT_MANT_DIG__ 24
6544f4a2713aSLionel Sambuc // SPARC:#define __FLT_MAX_10_EXP__ 38
6545f4a2713aSLionel Sambuc // SPARC:#define __FLT_MAX_EXP__ 128
6546f4a2713aSLionel Sambuc // SPARC:#define __FLT_MAX__ 3.40282347e+38F
6547f4a2713aSLionel Sambuc // SPARC:#define __FLT_MIN_10_EXP__ (-37)
6548f4a2713aSLionel Sambuc // SPARC:#define __FLT_MIN_EXP__ (-125)
6549f4a2713aSLionel Sambuc // SPARC:#define __FLT_MIN__ 1.17549435e-38F
6550f4a2713aSLionel Sambuc // SPARC:#define __FLT_RADIX__ 2
6551*0a6a1f1dSLionel Sambuc // SPARC:#define __INT16_C_SUFFIX__ {{$}}
6552*0a6a1f1dSLionel Sambuc // SPARC:#define __INT16_FMTd__ "hd"
6553*0a6a1f1dSLionel Sambuc // SPARC:#define __INT16_FMTi__ "hi"
6554*0a6a1f1dSLionel Sambuc // SPARC:#define __INT16_MAX__ 32767
6555f4a2713aSLionel Sambuc // SPARC:#define __INT16_TYPE__ short
6556*0a6a1f1dSLionel Sambuc // SPARC:#define __INT32_C_SUFFIX__ {{$}}
6557*0a6a1f1dSLionel Sambuc // SPARC:#define __INT32_FMTd__ "d"
6558*0a6a1f1dSLionel Sambuc // SPARC:#define __INT32_FMTi__ "i"
6559*0a6a1f1dSLionel Sambuc // SPARC:#define __INT32_MAX__ 2147483647
6560f4a2713aSLionel Sambuc // SPARC:#define __INT32_TYPE__ int
6561f4a2713aSLionel Sambuc // SPARC:#define __INT64_C_SUFFIX__ LL
6562*0a6a1f1dSLionel Sambuc // SPARC:#define __INT64_FMTd__ "lld"
6563*0a6a1f1dSLionel Sambuc // SPARC:#define __INT64_FMTi__ "lli"
6564*0a6a1f1dSLionel Sambuc // SPARC:#define __INT64_MAX__ 9223372036854775807LL
6565f4a2713aSLionel Sambuc // SPARC:#define __INT64_TYPE__ long long int
6566*0a6a1f1dSLionel Sambuc // SPARC:#define __INT8_C_SUFFIX__ {{$}}
6567*0a6a1f1dSLionel Sambuc // SPARC:#define __INT8_FMTd__ "hhd"
6568*0a6a1f1dSLionel Sambuc // SPARC:#define __INT8_FMTi__ "hhi"
6569*0a6a1f1dSLionel Sambuc // SPARC:#define __INT8_MAX__ 127
6570*0a6a1f1dSLionel Sambuc // SPARC:#define __INT8_TYPE__ signed char
6571*0a6a1f1dSLionel Sambuc // SPARC:#define __INTMAX_C_SUFFIX__ LL
6572*0a6a1f1dSLionel Sambuc // SPARC:#define __INTMAX_FMTd__ "lld"
6573*0a6a1f1dSLionel Sambuc // SPARC:#define __INTMAX_FMTi__ "lli"
6574f4a2713aSLionel Sambuc // SPARC:#define __INTMAX_MAX__ 9223372036854775807LL
6575f4a2713aSLionel Sambuc // SPARC:#define __INTMAX_TYPE__ long long int
6576f4a2713aSLionel Sambuc // SPARC:#define __INTMAX_WIDTH__ 64
6577*0a6a1f1dSLionel Sambuc // SPARC:#define __INTPTR_FMTd__ "ld"
6578*0a6a1f1dSLionel Sambuc // SPARC:#define __INTPTR_FMTi__ "li"
6579*0a6a1f1dSLionel Sambuc // SPARC:#define __INTPTR_MAX__ 2147483647L
6580f4a2713aSLionel Sambuc // SPARC:#define __INTPTR_TYPE__ long int
6581f4a2713aSLionel Sambuc // SPARC:#define __INTPTR_WIDTH__ 32
6582*0a6a1f1dSLionel Sambuc // SPARC:#define __INT_FAST16_FMTd__ "hd"
6583*0a6a1f1dSLionel Sambuc // SPARC:#define __INT_FAST16_FMTi__ "hi"
6584*0a6a1f1dSLionel Sambuc // SPARC:#define __INT_FAST16_MAX__ 32767
6585*0a6a1f1dSLionel Sambuc // SPARC:#define __INT_FAST16_TYPE__ short
6586*0a6a1f1dSLionel Sambuc // SPARC:#define __INT_FAST32_FMTd__ "d"
6587*0a6a1f1dSLionel Sambuc // SPARC:#define __INT_FAST32_FMTi__ "i"
6588*0a6a1f1dSLionel Sambuc // SPARC:#define __INT_FAST32_MAX__ 2147483647
6589*0a6a1f1dSLionel Sambuc // SPARC:#define __INT_FAST32_TYPE__ int
6590*0a6a1f1dSLionel Sambuc // SPARC:#define __INT_FAST64_FMTd__ "lld"
6591*0a6a1f1dSLionel Sambuc // SPARC:#define __INT_FAST64_FMTi__ "lli"
6592*0a6a1f1dSLionel Sambuc // SPARC:#define __INT_FAST64_MAX__ 9223372036854775807LL
6593*0a6a1f1dSLionel Sambuc // SPARC:#define __INT_FAST64_TYPE__ long long int
6594*0a6a1f1dSLionel Sambuc // SPARC:#define __INT_FAST8_FMTd__ "hhd"
6595*0a6a1f1dSLionel Sambuc // SPARC:#define __INT_FAST8_FMTi__ "hhi"
6596*0a6a1f1dSLionel Sambuc // SPARC:#define __INT_FAST8_MAX__ 127
6597*0a6a1f1dSLionel Sambuc // SPARC:#define __INT_FAST8_TYPE__ signed char
6598*0a6a1f1dSLionel Sambuc // SPARC:#define __INT_LEAST16_FMTd__ "hd"
6599*0a6a1f1dSLionel Sambuc // SPARC:#define __INT_LEAST16_FMTi__ "hi"
6600*0a6a1f1dSLionel Sambuc // SPARC:#define __INT_LEAST16_MAX__ 32767
6601*0a6a1f1dSLionel Sambuc // SPARC:#define __INT_LEAST16_TYPE__ short
6602*0a6a1f1dSLionel Sambuc // SPARC:#define __INT_LEAST32_FMTd__ "d"
6603*0a6a1f1dSLionel Sambuc // SPARC:#define __INT_LEAST32_FMTi__ "i"
6604*0a6a1f1dSLionel Sambuc // SPARC:#define __INT_LEAST32_MAX__ 2147483647
6605*0a6a1f1dSLionel Sambuc // SPARC:#define __INT_LEAST32_TYPE__ int
6606*0a6a1f1dSLionel Sambuc // SPARC:#define __INT_LEAST64_FMTd__ "lld"
6607*0a6a1f1dSLionel Sambuc // SPARC:#define __INT_LEAST64_FMTi__ "lli"
6608*0a6a1f1dSLionel Sambuc // SPARC:#define __INT_LEAST64_MAX__ 9223372036854775807LL
6609*0a6a1f1dSLionel Sambuc // SPARC:#define __INT_LEAST64_TYPE__ long long int
6610*0a6a1f1dSLionel Sambuc // SPARC:#define __INT_LEAST8_FMTd__ "hhd"
6611*0a6a1f1dSLionel Sambuc // SPARC:#define __INT_LEAST8_FMTi__ "hhi"
6612*0a6a1f1dSLionel Sambuc // SPARC:#define __INT_LEAST8_MAX__ 127
6613*0a6a1f1dSLionel Sambuc // SPARC:#define __INT_LEAST8_TYPE__ signed char
6614f4a2713aSLionel Sambuc // SPARC:#define __INT_MAX__ 2147483647
6615f4a2713aSLionel Sambuc // SPARC:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
6616f4a2713aSLionel Sambuc // SPARC:#define __LDBL_DIG__ 15
6617f4a2713aSLionel Sambuc // SPARC:#define __LDBL_EPSILON__ 2.2204460492503131e-16L
6618f4a2713aSLionel Sambuc // SPARC:#define __LDBL_HAS_DENORM__ 1
6619f4a2713aSLionel Sambuc // SPARC:#define __LDBL_HAS_INFINITY__ 1
6620f4a2713aSLionel Sambuc // SPARC:#define __LDBL_HAS_QUIET_NAN__ 1
6621f4a2713aSLionel Sambuc // SPARC:#define __LDBL_MANT_DIG__ 53
6622f4a2713aSLionel Sambuc // SPARC:#define __LDBL_MAX_10_EXP__ 308
6623f4a2713aSLionel Sambuc // SPARC:#define __LDBL_MAX_EXP__ 1024
6624f4a2713aSLionel Sambuc // SPARC:#define __LDBL_MAX__ 1.7976931348623157e+308L
6625f4a2713aSLionel Sambuc // SPARC:#define __LDBL_MIN_10_EXP__ (-307)
6626f4a2713aSLionel Sambuc // SPARC:#define __LDBL_MIN_EXP__ (-1021)
6627f4a2713aSLionel Sambuc // SPARC:#define __LDBL_MIN__ 2.2250738585072014e-308L
6628f4a2713aSLionel Sambuc // SPARC:#define __LONG_LONG_MAX__ 9223372036854775807LL
6629f4a2713aSLionel Sambuc // SPARC:#define __LONG_MAX__ 2147483647L
6630f4a2713aSLionel Sambuc // SPARC-NOT:#define __LP64__
6631f4a2713aSLionel Sambuc // SPARC:#define __POINTER_WIDTH__ 32
6632f4a2713aSLionel Sambuc // SPARC:#define __PTRDIFF_TYPE__ long int
6633f4a2713aSLionel Sambuc // SPARC:#define __PTRDIFF_WIDTH__ 32
6634f4a2713aSLionel Sambuc // SPARC:#define __REGISTER_PREFIX__
6635f4a2713aSLionel Sambuc // SPARC:#define __SCHAR_MAX__ 127
6636f4a2713aSLionel Sambuc // SPARC:#define __SHRT_MAX__ 32767
6637*0a6a1f1dSLionel Sambuc // SPARC:#define __SIG_ATOMIC_MAX__ 2147483647
6638f4a2713aSLionel Sambuc // SPARC:#define __SIG_ATOMIC_WIDTH__ 32
6639f4a2713aSLionel Sambuc // SPARC:#define __SIZEOF_DOUBLE__ 8
6640f4a2713aSLionel Sambuc // SPARC:#define __SIZEOF_FLOAT__ 4
6641f4a2713aSLionel Sambuc // SPARC:#define __SIZEOF_INT__ 4
6642f4a2713aSLionel Sambuc // SPARC:#define __SIZEOF_LONG_DOUBLE__ 8
6643f4a2713aSLionel Sambuc // SPARC:#define __SIZEOF_LONG_LONG__ 8
6644f4a2713aSLionel Sambuc // SPARC:#define __SIZEOF_LONG__ 4
6645f4a2713aSLionel Sambuc // SPARC:#define __SIZEOF_POINTER__ 4
6646f4a2713aSLionel Sambuc // SPARC:#define __SIZEOF_PTRDIFF_T__ 4
6647f4a2713aSLionel Sambuc // SPARC:#define __SIZEOF_SHORT__ 2
6648f4a2713aSLionel Sambuc // SPARC:#define __SIZEOF_SIZE_T__ 4
6649f4a2713aSLionel Sambuc // SPARC:#define __SIZEOF_WCHAR_T__ 4
6650f4a2713aSLionel Sambuc // SPARC:#define __SIZEOF_WINT_T__ 4
6651f4a2713aSLionel Sambuc // SPARC:#define __SIZE_MAX__ 4294967295U
6652f4a2713aSLionel Sambuc // SPARC:#define __SIZE_TYPE__ long unsigned int
6653f4a2713aSLionel Sambuc // SPARC:#define __SIZE_WIDTH__ 32
6654*0a6a1f1dSLionel Sambuc // SPARC:#define __UINT16_C_SUFFIX__ {{$}}
6655*0a6a1f1dSLionel Sambuc // SPARC:#define __UINT16_MAX__ 65535
6656*0a6a1f1dSLionel Sambuc // SPARC:#define __UINT16_TYPE__ unsigned short
6657*0a6a1f1dSLionel Sambuc // SPARC:#define __UINT32_C_SUFFIX__ U
6658*0a6a1f1dSLionel Sambuc // SPARC:#define __UINT32_MAX__ 4294967295U
6659*0a6a1f1dSLionel Sambuc // SPARC:#define __UINT32_TYPE__ unsigned int
6660*0a6a1f1dSLionel Sambuc // SPARC:#define __UINT64_C_SUFFIX__ ULL
6661*0a6a1f1dSLionel Sambuc // SPARC:#define __UINT64_MAX__ 18446744073709551615ULL
6662*0a6a1f1dSLionel Sambuc // SPARC:#define __UINT64_TYPE__ long long unsigned int
6663*0a6a1f1dSLionel Sambuc // SPARC:#define __UINT8_C_SUFFIX__ {{$}}
6664*0a6a1f1dSLionel Sambuc // SPARC:#define __UINT8_MAX__ 255
6665*0a6a1f1dSLionel Sambuc // SPARC:#define __UINT8_TYPE__ unsigned char
6666*0a6a1f1dSLionel Sambuc // SPARC:#define __UINTMAX_C_SUFFIX__ ULL
6667*0a6a1f1dSLionel Sambuc // SPARC:#define __UINTMAX_MAX__ 18446744073709551615ULL
6668f4a2713aSLionel Sambuc // SPARC:#define __UINTMAX_TYPE__ long long unsigned int
6669*0a6a1f1dSLionel Sambuc // SPARC:#define __UINTMAX_WIDTH__ 64
6670*0a6a1f1dSLionel Sambuc // SPARC:#define __UINTPTR_MAX__ 4294967295U
6671*0a6a1f1dSLionel Sambuc // SPARC:#define __UINTPTR_TYPE__ long unsigned int
6672*0a6a1f1dSLionel Sambuc // SPARC:#define __UINTPTR_WIDTH__ 32
6673*0a6a1f1dSLionel Sambuc // SPARC:#define __UINT_FAST16_MAX__ 65535
6674*0a6a1f1dSLionel Sambuc // SPARC:#define __UINT_FAST16_TYPE__ unsigned short
6675*0a6a1f1dSLionel Sambuc // SPARC:#define __UINT_FAST32_MAX__ 4294967295U
6676*0a6a1f1dSLionel Sambuc // SPARC:#define __UINT_FAST32_TYPE__ unsigned int
6677*0a6a1f1dSLionel Sambuc // SPARC:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
6678*0a6a1f1dSLionel Sambuc // SPARC:#define __UINT_FAST64_TYPE__ long long unsigned int
6679*0a6a1f1dSLionel Sambuc // SPARC:#define __UINT_FAST8_MAX__ 255
6680*0a6a1f1dSLionel Sambuc // SPARC:#define __UINT_FAST8_TYPE__ unsigned char
6681*0a6a1f1dSLionel Sambuc // SPARC:#define __UINT_LEAST16_MAX__ 65535
6682*0a6a1f1dSLionel Sambuc // SPARC:#define __UINT_LEAST16_TYPE__ unsigned short
6683*0a6a1f1dSLionel Sambuc // SPARC:#define __UINT_LEAST32_MAX__ 4294967295U
6684*0a6a1f1dSLionel Sambuc // SPARC:#define __UINT_LEAST32_TYPE__ unsigned int
6685*0a6a1f1dSLionel Sambuc // SPARC:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
6686*0a6a1f1dSLionel Sambuc // SPARC:#define __UINT_LEAST64_TYPE__ long long unsigned int
6687*0a6a1f1dSLionel Sambuc // SPARC:#define __UINT_LEAST8_MAX__ 255
6688*0a6a1f1dSLionel Sambuc // SPARC:#define __UINT_LEAST8_TYPE__ unsigned char
6689f4a2713aSLionel Sambuc // SPARC:#define __USER_LABEL_PREFIX__ _
6690f4a2713aSLionel Sambuc // SPARC:#define __VERSION__ "4.2.1 Compatible
6691f4a2713aSLionel Sambuc // SPARC:#define __WCHAR_MAX__ 2147483647
6692f4a2713aSLionel Sambuc // SPARC:#define __WCHAR_TYPE__ int
6693f4a2713aSLionel Sambuc // SPARC:#define __WCHAR_WIDTH__ 32
6694f4a2713aSLionel Sambuc // SPARC:#define __WINT_TYPE__ int
6695f4a2713aSLionel Sambuc // SPARC:#define __WINT_WIDTH__ 32
6696f4a2713aSLionel Sambuc // SPARC:#define __sparc 1
6697f4a2713aSLionel Sambuc // SPARC:#define __sparc__ 1
6698f4a2713aSLionel Sambuc // SPARC:#define __sparcv8 1
6699f4a2713aSLionel Sambuc // SPARC:#define sparc 1
6700f4a2713aSLionel Sambuc //
6701f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=tce-none-none < /dev/null | FileCheck -check-prefix TCE %s
6702f4a2713aSLionel Sambuc //
6703f4a2713aSLionel Sambuc // TCE-NOT:#define _LP64
6704*0a6a1f1dSLionel Sambuc // TCE:#define __BIG_ENDIAN__ 1
6705f4a2713aSLionel Sambuc // TCE:#define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__
6706f4a2713aSLionel Sambuc // TCE:#define __CHAR16_TYPE__ unsigned short
6707f4a2713aSLionel Sambuc // TCE:#define __CHAR32_TYPE__ unsigned int
6708f4a2713aSLionel Sambuc // TCE:#define __CHAR_BIT__ 8
6709f4a2713aSLionel Sambuc // TCE:#define __DBL_DENORM_MIN__ 1.40129846e-45
6710f4a2713aSLionel Sambuc // TCE:#define __DBL_DIG__ 6
6711f4a2713aSLionel Sambuc // TCE:#define __DBL_EPSILON__ 1.19209290e-7
6712f4a2713aSLionel Sambuc // TCE:#define __DBL_HAS_DENORM__ 1
6713f4a2713aSLionel Sambuc // TCE:#define __DBL_HAS_INFINITY__ 1
6714f4a2713aSLionel Sambuc // TCE:#define __DBL_HAS_QUIET_NAN__ 1
6715f4a2713aSLionel Sambuc // TCE:#define __DBL_MANT_DIG__ 24
6716f4a2713aSLionel Sambuc // TCE:#define __DBL_MAX_10_EXP__ 38
6717f4a2713aSLionel Sambuc // TCE:#define __DBL_MAX_EXP__ 128
6718f4a2713aSLionel Sambuc // TCE:#define __DBL_MAX__ 3.40282347e+38
6719f4a2713aSLionel Sambuc // TCE:#define __DBL_MIN_10_EXP__ (-37)
6720f4a2713aSLionel Sambuc // TCE:#define __DBL_MIN_EXP__ (-125)
6721f4a2713aSLionel Sambuc // TCE:#define __DBL_MIN__ 1.17549435e-38
6722f4a2713aSLionel Sambuc // TCE:#define __DECIMAL_DIG__ -1
6723f4a2713aSLionel Sambuc // TCE:#define __FLT_DENORM_MIN__ 1.40129846e-45F
6724f4a2713aSLionel Sambuc // TCE:#define __FLT_DIG__ 6
6725f4a2713aSLionel Sambuc // TCE:#define __FLT_EPSILON__ 1.19209290e-7F
6726f4a2713aSLionel Sambuc // TCE:#define __FLT_EVAL_METHOD__ 0
6727f4a2713aSLionel Sambuc // TCE:#define __FLT_HAS_DENORM__ 1
6728f4a2713aSLionel Sambuc // TCE:#define __FLT_HAS_INFINITY__ 1
6729f4a2713aSLionel Sambuc // TCE:#define __FLT_HAS_QUIET_NAN__ 1
6730f4a2713aSLionel Sambuc // TCE:#define __FLT_MANT_DIG__ 24
6731f4a2713aSLionel Sambuc // TCE:#define __FLT_MAX_10_EXP__ 38
6732f4a2713aSLionel Sambuc // TCE:#define __FLT_MAX_EXP__ 128
6733f4a2713aSLionel Sambuc // TCE:#define __FLT_MAX__ 3.40282347e+38F
6734f4a2713aSLionel Sambuc // TCE:#define __FLT_MIN_10_EXP__ (-37)
6735f4a2713aSLionel Sambuc // TCE:#define __FLT_MIN_EXP__ (-125)
6736f4a2713aSLionel Sambuc // TCE:#define __FLT_MIN__ 1.17549435e-38F
6737f4a2713aSLionel Sambuc // TCE:#define __FLT_RADIX__ 2
6738*0a6a1f1dSLionel Sambuc // TCE:#define __INT16_C_SUFFIX__ {{$}}
6739*0a6a1f1dSLionel Sambuc // TCE:#define __INT16_FMTd__ "hd"
6740*0a6a1f1dSLionel Sambuc // TCE:#define __INT16_FMTi__ "hi"
6741*0a6a1f1dSLionel Sambuc // TCE:#define __INT16_MAX__ 32767
6742f4a2713aSLionel Sambuc // TCE:#define __INT16_TYPE__ short
6743*0a6a1f1dSLionel Sambuc // TCE:#define __INT32_C_SUFFIX__ {{$}}
6744*0a6a1f1dSLionel Sambuc // TCE:#define __INT32_FMTd__ "d"
6745*0a6a1f1dSLionel Sambuc // TCE:#define __INT32_FMTi__ "i"
6746*0a6a1f1dSLionel Sambuc // TCE:#define __INT32_MAX__ 2147483647
6747f4a2713aSLionel Sambuc // TCE:#define __INT32_TYPE__ int
6748*0a6a1f1dSLionel Sambuc // TCE:#define __INT8_C_SUFFIX__ {{$}}
6749*0a6a1f1dSLionel Sambuc // TCE:#define __INT8_FMTd__ "hhd"
6750*0a6a1f1dSLionel Sambuc // TCE:#define __INT8_FMTi__ "hhi"
6751*0a6a1f1dSLionel Sambuc // TCE:#define __INT8_MAX__ 127
6752*0a6a1f1dSLionel Sambuc // TCE:#define __INT8_TYPE__ signed char
6753*0a6a1f1dSLionel Sambuc // TCE:#define __INTMAX_C_SUFFIX__ L
6754*0a6a1f1dSLionel Sambuc // TCE:#define __INTMAX_FMTd__ "ld"
6755*0a6a1f1dSLionel Sambuc // TCE:#define __INTMAX_FMTi__ "li"
6756f4a2713aSLionel Sambuc // TCE:#define __INTMAX_MAX__ 2147483647L
6757f4a2713aSLionel Sambuc // TCE:#define __INTMAX_TYPE__ long int
6758f4a2713aSLionel Sambuc // TCE:#define __INTMAX_WIDTH__ 32
6759*0a6a1f1dSLionel Sambuc // TCE:#define __INTPTR_FMTd__ "d"
6760*0a6a1f1dSLionel Sambuc // TCE:#define __INTPTR_FMTi__ "i"
6761*0a6a1f1dSLionel Sambuc // TCE:#define __INTPTR_MAX__ 2147483647
6762f4a2713aSLionel Sambuc // TCE:#define __INTPTR_TYPE__ int
6763f4a2713aSLionel Sambuc // TCE:#define __INTPTR_WIDTH__ 32
6764*0a6a1f1dSLionel Sambuc // TCE:#define __INT_FAST16_FMTd__ "hd"
6765*0a6a1f1dSLionel Sambuc // TCE:#define __INT_FAST16_FMTi__ "hi"
6766*0a6a1f1dSLionel Sambuc // TCE:#define __INT_FAST16_MAX__ 32767
6767*0a6a1f1dSLionel Sambuc // TCE:#define __INT_FAST16_TYPE__ short
6768*0a6a1f1dSLionel Sambuc // TCE:#define __INT_FAST32_FMTd__ "d"
6769*0a6a1f1dSLionel Sambuc // TCE:#define __INT_FAST32_FMTi__ "i"
6770*0a6a1f1dSLionel Sambuc // TCE:#define __INT_FAST32_MAX__ 2147483647
6771*0a6a1f1dSLionel Sambuc // TCE:#define __INT_FAST32_TYPE__ int
6772*0a6a1f1dSLionel Sambuc // TCE:#define __INT_FAST8_FMTd__ "hhd"
6773*0a6a1f1dSLionel Sambuc // TCE:#define __INT_FAST8_FMTi__ "hhi"
6774*0a6a1f1dSLionel Sambuc // TCE:#define __INT_FAST8_MAX__ 127
6775*0a6a1f1dSLionel Sambuc // TCE:#define __INT_FAST8_TYPE__ signed char
6776*0a6a1f1dSLionel Sambuc // TCE:#define __INT_LEAST16_FMTd__ "hd"
6777*0a6a1f1dSLionel Sambuc // TCE:#define __INT_LEAST16_FMTi__ "hi"
6778*0a6a1f1dSLionel Sambuc // TCE:#define __INT_LEAST16_MAX__ 32767
6779*0a6a1f1dSLionel Sambuc // TCE:#define __INT_LEAST16_TYPE__ short
6780*0a6a1f1dSLionel Sambuc // TCE:#define __INT_LEAST32_FMTd__ "d"
6781*0a6a1f1dSLionel Sambuc // TCE:#define __INT_LEAST32_FMTi__ "i"
6782*0a6a1f1dSLionel Sambuc // TCE:#define __INT_LEAST32_MAX__ 2147483647
6783*0a6a1f1dSLionel Sambuc // TCE:#define __INT_LEAST32_TYPE__ int
6784*0a6a1f1dSLionel Sambuc // TCE:#define __INT_LEAST8_FMTd__ "hhd"
6785*0a6a1f1dSLionel Sambuc // TCE:#define __INT_LEAST8_FMTi__ "hhi"
6786*0a6a1f1dSLionel Sambuc // TCE:#define __INT_LEAST8_MAX__ 127
6787*0a6a1f1dSLionel Sambuc // TCE:#define __INT_LEAST8_TYPE__ signed char
6788f4a2713aSLionel Sambuc // TCE:#define __INT_MAX__ 2147483647
6789f4a2713aSLionel Sambuc // TCE:#define __LDBL_DENORM_MIN__ 1.40129846e-45L
6790f4a2713aSLionel Sambuc // TCE:#define __LDBL_DIG__ 6
6791f4a2713aSLionel Sambuc // TCE:#define __LDBL_EPSILON__ 1.19209290e-7L
6792f4a2713aSLionel Sambuc // TCE:#define __LDBL_HAS_DENORM__ 1
6793f4a2713aSLionel Sambuc // TCE:#define __LDBL_HAS_INFINITY__ 1
6794f4a2713aSLionel Sambuc // TCE:#define __LDBL_HAS_QUIET_NAN__ 1
6795f4a2713aSLionel Sambuc // TCE:#define __LDBL_MANT_DIG__ 24
6796f4a2713aSLionel Sambuc // TCE:#define __LDBL_MAX_10_EXP__ 38
6797f4a2713aSLionel Sambuc // TCE:#define __LDBL_MAX_EXP__ 128
6798f4a2713aSLionel Sambuc // TCE:#define __LDBL_MAX__ 3.40282347e+38L
6799f4a2713aSLionel Sambuc // TCE:#define __LDBL_MIN_10_EXP__ (-37)
6800f4a2713aSLionel Sambuc // TCE:#define __LDBL_MIN_EXP__ (-125)
6801f4a2713aSLionel Sambuc // TCE:#define __LDBL_MIN__ 1.17549435e-38L
6802f4a2713aSLionel Sambuc // TCE:#define __LONG_LONG_MAX__ 2147483647LL
6803f4a2713aSLionel Sambuc // TCE:#define __LONG_MAX__ 2147483647L
6804f4a2713aSLionel Sambuc // TCE-NOT:#define __LP64__
6805f4a2713aSLionel Sambuc // TCE:#define __POINTER_WIDTH__ 32
6806f4a2713aSLionel Sambuc // TCE:#define __PTRDIFF_TYPE__ int
6807f4a2713aSLionel Sambuc // TCE:#define __PTRDIFF_WIDTH__ 32
6808f4a2713aSLionel Sambuc // TCE:#define __SCHAR_MAX__ 127
6809f4a2713aSLionel Sambuc // TCE:#define __SHRT_MAX__ 32767
6810*0a6a1f1dSLionel Sambuc // TCE:#define __SIG_ATOMIC_MAX__ 2147483647
6811f4a2713aSLionel Sambuc // TCE:#define __SIG_ATOMIC_WIDTH__ 32
6812f4a2713aSLionel Sambuc // TCE:#define __SIZEOF_DOUBLE__ 4
6813f4a2713aSLionel Sambuc // TCE:#define __SIZEOF_FLOAT__ 4
6814f4a2713aSLionel Sambuc // TCE:#define __SIZEOF_INT__ 4
6815f4a2713aSLionel Sambuc // TCE:#define __SIZEOF_LONG_DOUBLE__ 4
6816f4a2713aSLionel Sambuc // TCE:#define __SIZEOF_LONG_LONG__ 4
6817f4a2713aSLionel Sambuc // TCE:#define __SIZEOF_LONG__ 4
6818f4a2713aSLionel Sambuc // TCE:#define __SIZEOF_POINTER__ 4
6819f4a2713aSLionel Sambuc // TCE:#define __SIZEOF_PTRDIFF_T__ 4
6820f4a2713aSLionel Sambuc // TCE:#define __SIZEOF_SHORT__ 2
6821f4a2713aSLionel Sambuc // TCE:#define __SIZEOF_SIZE_T__ 4
6822f4a2713aSLionel Sambuc // TCE:#define __SIZEOF_WCHAR_T__ 4
6823f4a2713aSLionel Sambuc // TCE:#define __SIZEOF_WINT_T__ 4
6824f4a2713aSLionel Sambuc // TCE:#define __SIZE_MAX__ 4294967295U
6825f4a2713aSLionel Sambuc // TCE:#define __SIZE_TYPE__ unsigned int
6826f4a2713aSLionel Sambuc // TCE:#define __SIZE_WIDTH__ 32
6827f4a2713aSLionel Sambuc // TCE:#define __TCE_V1__ 1
6828f4a2713aSLionel Sambuc // TCE:#define __TCE__ 1
6829*0a6a1f1dSLionel Sambuc // TCE:#define __UINT16_C_SUFFIX__ {{$}}
6830*0a6a1f1dSLionel Sambuc // TCE:#define __UINT16_MAX__ 65535
6831*0a6a1f1dSLionel Sambuc // TCE:#define __UINT16_TYPE__ unsigned short
6832*0a6a1f1dSLionel Sambuc // TCE:#define __UINT32_C_SUFFIX__ U
6833*0a6a1f1dSLionel Sambuc // TCE:#define __UINT32_MAX__ 4294967295U
6834*0a6a1f1dSLionel Sambuc // TCE:#define __UINT32_TYPE__ unsigned int
6835*0a6a1f1dSLionel Sambuc // TCE:#define __UINT8_C_SUFFIX__ {{$}}
6836*0a6a1f1dSLionel Sambuc // TCE:#define __UINT8_MAX__ 255
6837*0a6a1f1dSLionel Sambuc // TCE:#define __UINT8_TYPE__ unsigned char
6838*0a6a1f1dSLionel Sambuc // TCE:#define __UINTMAX_C_SUFFIX__ UL
6839*0a6a1f1dSLionel Sambuc // TCE:#define __UINTMAX_MAX__ 4294967295UL
6840f4a2713aSLionel Sambuc // TCE:#define __UINTMAX_TYPE__ long unsigned int
6841*0a6a1f1dSLionel Sambuc // TCE:#define __UINTMAX_WIDTH__ 32
6842*0a6a1f1dSLionel Sambuc // TCE:#define __UINTPTR_MAX__ 4294967295U
6843*0a6a1f1dSLionel Sambuc // TCE:#define __UINTPTR_TYPE__ unsigned int
6844*0a6a1f1dSLionel Sambuc // TCE:#define __UINTPTR_WIDTH__ 32
6845*0a6a1f1dSLionel Sambuc // TCE:#define __UINT_FAST16_MAX__ 65535
6846*0a6a1f1dSLionel Sambuc // TCE:#define __UINT_FAST16_TYPE__ unsigned short
6847*0a6a1f1dSLionel Sambuc // TCE:#define __UINT_FAST32_MAX__ 4294967295U
6848*0a6a1f1dSLionel Sambuc // TCE:#define __UINT_FAST32_TYPE__ unsigned int
6849*0a6a1f1dSLionel Sambuc // TCE:#define __UINT_FAST8_MAX__ 255
6850*0a6a1f1dSLionel Sambuc // TCE:#define __UINT_FAST8_TYPE__ unsigned char
6851*0a6a1f1dSLionel Sambuc // TCE:#define __UINT_LEAST16_MAX__ 65535
6852*0a6a1f1dSLionel Sambuc // TCE:#define __UINT_LEAST16_TYPE__ unsigned short
6853*0a6a1f1dSLionel Sambuc // TCE:#define __UINT_LEAST32_MAX__ 4294967295U
6854*0a6a1f1dSLionel Sambuc // TCE:#define __UINT_LEAST32_TYPE__ unsigned int
6855*0a6a1f1dSLionel Sambuc // TCE:#define __UINT_LEAST8_MAX__ 255
6856*0a6a1f1dSLionel Sambuc // TCE:#define __UINT_LEAST8_TYPE__ unsigned char
6857f4a2713aSLionel Sambuc // TCE:#define __USER_LABEL_PREFIX__ _
6858f4a2713aSLionel Sambuc // TCE:#define __WCHAR_MAX__ 2147483647
6859f4a2713aSLionel Sambuc // TCE:#define __WCHAR_TYPE__ int
6860f4a2713aSLionel Sambuc // TCE:#define __WCHAR_WIDTH__ 32
6861f4a2713aSLionel Sambuc // TCE:#define __WINT_TYPE__ int
6862f4a2713aSLionel Sambuc // TCE:#define __WINT_WIDTH__ 32
6863f4a2713aSLionel Sambuc // TCE:#define __tce 1
6864f4a2713aSLionel Sambuc // TCE:#define __tce__ 1
6865f4a2713aSLionel Sambuc // TCE:#define tce 1
6866f4a2713aSLionel Sambuc //
6867f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=x86_64-none-none < /dev/null | FileCheck -check-prefix X86_64 %s
6868f4a2713aSLionel Sambuc //
6869f4a2713aSLionel Sambuc // X86_64:#define _LP64 1
6870*0a6a1f1dSLionel Sambuc // X86_64-NOT:#define _LP32 1
6871f4a2713aSLionel Sambuc // X86_64:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
6872f4a2713aSLionel Sambuc // X86_64:#define __CHAR16_TYPE__ unsigned short
6873f4a2713aSLionel Sambuc // X86_64:#define __CHAR32_TYPE__ unsigned int
6874f4a2713aSLionel Sambuc // X86_64:#define __CHAR_BIT__ 8
6875f4a2713aSLionel Sambuc // X86_64:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
6876f4a2713aSLionel Sambuc // X86_64:#define __DBL_DIG__ 15
6877f4a2713aSLionel Sambuc // X86_64:#define __DBL_EPSILON__ 2.2204460492503131e-16
6878f4a2713aSLionel Sambuc // X86_64:#define __DBL_HAS_DENORM__ 1
6879f4a2713aSLionel Sambuc // X86_64:#define __DBL_HAS_INFINITY__ 1
6880f4a2713aSLionel Sambuc // X86_64:#define __DBL_HAS_QUIET_NAN__ 1
6881f4a2713aSLionel Sambuc // X86_64:#define __DBL_MANT_DIG__ 53
6882f4a2713aSLionel Sambuc // X86_64:#define __DBL_MAX_10_EXP__ 308
6883f4a2713aSLionel Sambuc // X86_64:#define __DBL_MAX_EXP__ 1024
6884f4a2713aSLionel Sambuc // X86_64:#define __DBL_MAX__ 1.7976931348623157e+308
6885f4a2713aSLionel Sambuc // X86_64:#define __DBL_MIN_10_EXP__ (-307)
6886f4a2713aSLionel Sambuc // X86_64:#define __DBL_MIN_EXP__ (-1021)
6887f4a2713aSLionel Sambuc // X86_64:#define __DBL_MIN__ 2.2250738585072014e-308
6888f4a2713aSLionel Sambuc // X86_64:#define __DECIMAL_DIG__ 21
6889f4a2713aSLionel Sambuc // X86_64:#define __FLT_DENORM_MIN__ 1.40129846e-45F
6890f4a2713aSLionel Sambuc // X86_64:#define __FLT_DIG__ 6
6891f4a2713aSLionel Sambuc // X86_64:#define __FLT_EPSILON__ 1.19209290e-7F
6892f4a2713aSLionel Sambuc // X86_64:#define __FLT_EVAL_METHOD__ 0
6893f4a2713aSLionel Sambuc // X86_64:#define __FLT_HAS_DENORM__ 1
6894f4a2713aSLionel Sambuc // X86_64:#define __FLT_HAS_INFINITY__ 1
6895f4a2713aSLionel Sambuc // X86_64:#define __FLT_HAS_QUIET_NAN__ 1
6896f4a2713aSLionel Sambuc // X86_64:#define __FLT_MANT_DIG__ 24
6897f4a2713aSLionel Sambuc // X86_64:#define __FLT_MAX_10_EXP__ 38
6898f4a2713aSLionel Sambuc // X86_64:#define __FLT_MAX_EXP__ 128
6899f4a2713aSLionel Sambuc // X86_64:#define __FLT_MAX__ 3.40282347e+38F
6900f4a2713aSLionel Sambuc // X86_64:#define __FLT_MIN_10_EXP__ (-37)
6901f4a2713aSLionel Sambuc // X86_64:#define __FLT_MIN_EXP__ (-125)
6902f4a2713aSLionel Sambuc // X86_64:#define __FLT_MIN__ 1.17549435e-38F
6903f4a2713aSLionel Sambuc // X86_64:#define __FLT_RADIX__ 2
6904*0a6a1f1dSLionel Sambuc // X86_64:#define __INT16_C_SUFFIX__ {{$}}
6905*0a6a1f1dSLionel Sambuc // X86_64:#define __INT16_FMTd__ "hd"
6906*0a6a1f1dSLionel Sambuc // X86_64:#define __INT16_FMTi__ "hi"
6907*0a6a1f1dSLionel Sambuc // X86_64:#define __INT16_MAX__ 32767
6908f4a2713aSLionel Sambuc // X86_64:#define __INT16_TYPE__ short
6909*0a6a1f1dSLionel Sambuc // X86_64:#define __INT32_C_SUFFIX__ {{$}}
6910*0a6a1f1dSLionel Sambuc // X86_64:#define __INT32_FMTd__ "d"
6911*0a6a1f1dSLionel Sambuc // X86_64:#define __INT32_FMTi__ "i"
6912*0a6a1f1dSLionel Sambuc // X86_64:#define __INT32_MAX__ 2147483647
6913f4a2713aSLionel Sambuc // X86_64:#define __INT32_TYPE__ int
6914f4a2713aSLionel Sambuc // X86_64:#define __INT64_C_SUFFIX__ L
6915*0a6a1f1dSLionel Sambuc // X86_64:#define __INT64_FMTd__ "ld"
6916*0a6a1f1dSLionel Sambuc // X86_64:#define __INT64_FMTi__ "li"
6917*0a6a1f1dSLionel Sambuc // X86_64:#define __INT64_MAX__ 9223372036854775807L
6918f4a2713aSLionel Sambuc // X86_64:#define __INT64_TYPE__ long int
6919*0a6a1f1dSLionel Sambuc // X86_64:#define __INT8_C_SUFFIX__ {{$}}
6920*0a6a1f1dSLionel Sambuc // X86_64:#define __INT8_FMTd__ "hhd"
6921*0a6a1f1dSLionel Sambuc // X86_64:#define __INT8_FMTi__ "hhi"
6922*0a6a1f1dSLionel Sambuc // X86_64:#define __INT8_MAX__ 127
6923*0a6a1f1dSLionel Sambuc // X86_64:#define __INT8_TYPE__ signed char
6924*0a6a1f1dSLionel Sambuc // X86_64:#define __INTMAX_C_SUFFIX__ L
6925*0a6a1f1dSLionel Sambuc // X86_64:#define __INTMAX_FMTd__ "ld"
6926*0a6a1f1dSLionel Sambuc // X86_64:#define __INTMAX_FMTi__ "li"
6927f4a2713aSLionel Sambuc // X86_64:#define __INTMAX_MAX__ 9223372036854775807L
6928f4a2713aSLionel Sambuc // X86_64:#define __INTMAX_TYPE__ long int
6929f4a2713aSLionel Sambuc // X86_64:#define __INTMAX_WIDTH__ 64
6930*0a6a1f1dSLionel Sambuc // X86_64:#define __INTPTR_FMTd__ "ld"
6931*0a6a1f1dSLionel Sambuc // X86_64:#define __INTPTR_FMTi__ "li"
6932*0a6a1f1dSLionel Sambuc // X86_64:#define __INTPTR_MAX__ 9223372036854775807L
6933f4a2713aSLionel Sambuc // X86_64:#define __INTPTR_TYPE__ long int
6934f4a2713aSLionel Sambuc // X86_64:#define __INTPTR_WIDTH__ 64
6935*0a6a1f1dSLionel Sambuc // X86_64:#define __INT_FAST16_FMTd__ "hd"
6936*0a6a1f1dSLionel Sambuc // X86_64:#define __INT_FAST16_FMTi__ "hi"
6937*0a6a1f1dSLionel Sambuc // X86_64:#define __INT_FAST16_MAX__ 32767
6938*0a6a1f1dSLionel Sambuc // X86_64:#define __INT_FAST16_TYPE__ short
6939*0a6a1f1dSLionel Sambuc // X86_64:#define __INT_FAST32_FMTd__ "d"
6940*0a6a1f1dSLionel Sambuc // X86_64:#define __INT_FAST32_FMTi__ "i"
6941*0a6a1f1dSLionel Sambuc // X86_64:#define __INT_FAST32_MAX__ 2147483647
6942*0a6a1f1dSLionel Sambuc // X86_64:#define __INT_FAST32_TYPE__ int
6943*0a6a1f1dSLionel Sambuc // X86_64:#define __INT_FAST64_FMTd__ "ld"
6944*0a6a1f1dSLionel Sambuc // X86_64:#define __INT_FAST64_FMTi__ "li"
6945*0a6a1f1dSLionel Sambuc // X86_64:#define __INT_FAST64_MAX__ 9223372036854775807L
6946*0a6a1f1dSLionel Sambuc // X86_64:#define __INT_FAST64_TYPE__ long int
6947*0a6a1f1dSLionel Sambuc // X86_64:#define __INT_FAST8_FMTd__ "hhd"
6948*0a6a1f1dSLionel Sambuc // X86_64:#define __INT_FAST8_FMTi__ "hhi"
6949*0a6a1f1dSLionel Sambuc // X86_64:#define __INT_FAST8_MAX__ 127
6950*0a6a1f1dSLionel Sambuc // X86_64:#define __INT_FAST8_TYPE__ signed char
6951*0a6a1f1dSLionel Sambuc // X86_64:#define __INT_LEAST16_FMTd__ "hd"
6952*0a6a1f1dSLionel Sambuc // X86_64:#define __INT_LEAST16_FMTi__ "hi"
6953*0a6a1f1dSLionel Sambuc // X86_64:#define __INT_LEAST16_MAX__ 32767
6954*0a6a1f1dSLionel Sambuc // X86_64:#define __INT_LEAST16_TYPE__ short
6955*0a6a1f1dSLionel Sambuc // X86_64:#define __INT_LEAST32_FMTd__ "d"
6956*0a6a1f1dSLionel Sambuc // X86_64:#define __INT_LEAST32_FMTi__ "i"
6957*0a6a1f1dSLionel Sambuc // X86_64:#define __INT_LEAST32_MAX__ 2147483647
6958*0a6a1f1dSLionel Sambuc // X86_64:#define __INT_LEAST32_TYPE__ int
6959*0a6a1f1dSLionel Sambuc // X86_64:#define __INT_LEAST64_FMTd__ "ld"
6960*0a6a1f1dSLionel Sambuc // X86_64:#define __INT_LEAST64_FMTi__ "li"
6961*0a6a1f1dSLionel Sambuc // X86_64:#define __INT_LEAST64_MAX__ 9223372036854775807L
6962*0a6a1f1dSLionel Sambuc // X86_64:#define __INT_LEAST64_TYPE__ long int
6963*0a6a1f1dSLionel Sambuc // X86_64:#define __INT_LEAST8_FMTd__ "hhd"
6964*0a6a1f1dSLionel Sambuc // X86_64:#define __INT_LEAST8_FMTi__ "hhi"
6965*0a6a1f1dSLionel Sambuc // X86_64:#define __INT_LEAST8_MAX__ 127
6966*0a6a1f1dSLionel Sambuc // X86_64:#define __INT_LEAST8_TYPE__ signed char
6967f4a2713aSLionel Sambuc // X86_64:#define __INT_MAX__ 2147483647
6968f4a2713aSLionel Sambuc // X86_64:#define __LDBL_DENORM_MIN__ 3.64519953188247460253e-4951L
6969f4a2713aSLionel Sambuc // X86_64:#define __LDBL_DIG__ 18
6970f4a2713aSLionel Sambuc // X86_64:#define __LDBL_EPSILON__ 1.08420217248550443401e-19L
6971f4a2713aSLionel Sambuc // X86_64:#define __LDBL_HAS_DENORM__ 1
6972f4a2713aSLionel Sambuc // X86_64:#define __LDBL_HAS_INFINITY__ 1
6973f4a2713aSLionel Sambuc // X86_64:#define __LDBL_HAS_QUIET_NAN__ 1
6974f4a2713aSLionel Sambuc // X86_64:#define __LDBL_MANT_DIG__ 64
6975f4a2713aSLionel Sambuc // X86_64:#define __LDBL_MAX_10_EXP__ 4932
6976f4a2713aSLionel Sambuc // X86_64:#define __LDBL_MAX_EXP__ 16384
6977f4a2713aSLionel Sambuc // X86_64:#define __LDBL_MAX__ 1.18973149535723176502e+4932L
6978f4a2713aSLionel Sambuc // X86_64:#define __LDBL_MIN_10_EXP__ (-4931)
6979f4a2713aSLionel Sambuc // X86_64:#define __LDBL_MIN_EXP__ (-16381)
6980f4a2713aSLionel Sambuc // X86_64:#define __LDBL_MIN__ 3.36210314311209350626e-4932L
6981f4a2713aSLionel Sambuc // X86_64:#define __LITTLE_ENDIAN__ 1
6982f4a2713aSLionel Sambuc // X86_64:#define __LONG_LONG_MAX__ 9223372036854775807LL
6983f4a2713aSLionel Sambuc // X86_64:#define __LONG_MAX__ 9223372036854775807L
6984f4a2713aSLionel Sambuc // X86_64:#define __LP64__ 1
6985*0a6a1f1dSLionel Sambuc // X86_64-NOT:#define __ILP32__ 1
6986f4a2713aSLionel Sambuc // X86_64:#define __MMX__ 1
6987f4a2713aSLionel Sambuc // X86_64:#define __NO_MATH_INLINES 1
6988f4a2713aSLionel Sambuc // X86_64:#define __POINTER_WIDTH__ 64
6989f4a2713aSLionel Sambuc // X86_64:#define __PTRDIFF_TYPE__ long int
6990f4a2713aSLionel Sambuc // X86_64:#define __PTRDIFF_WIDTH__ 64
6991f4a2713aSLionel Sambuc // X86_64:#define __REGISTER_PREFIX__
6992f4a2713aSLionel Sambuc // X86_64:#define __SCHAR_MAX__ 127
6993f4a2713aSLionel Sambuc // X86_64:#define __SHRT_MAX__ 32767
6994*0a6a1f1dSLionel Sambuc // X86_64:#define __SIG_ATOMIC_MAX__ 2147483647
6995f4a2713aSLionel Sambuc // X86_64:#define __SIG_ATOMIC_WIDTH__ 32
6996f4a2713aSLionel Sambuc // X86_64:#define __SIZEOF_DOUBLE__ 8
6997f4a2713aSLionel Sambuc // X86_64:#define __SIZEOF_FLOAT__ 4
6998f4a2713aSLionel Sambuc // X86_64:#define __SIZEOF_INT__ 4
6999f4a2713aSLionel Sambuc // X86_64:#define __SIZEOF_LONG_DOUBLE__ 16
7000f4a2713aSLionel Sambuc // X86_64:#define __SIZEOF_LONG_LONG__ 8
7001f4a2713aSLionel Sambuc // X86_64:#define __SIZEOF_LONG__ 8
7002f4a2713aSLionel Sambuc // X86_64:#define __SIZEOF_POINTER__ 8
7003f4a2713aSLionel Sambuc // X86_64:#define __SIZEOF_PTRDIFF_T__ 8
7004f4a2713aSLionel Sambuc // X86_64:#define __SIZEOF_SHORT__ 2
7005f4a2713aSLionel Sambuc // X86_64:#define __SIZEOF_SIZE_T__ 8
7006f4a2713aSLionel Sambuc // X86_64:#define __SIZEOF_WCHAR_T__ 4
7007f4a2713aSLionel Sambuc // X86_64:#define __SIZEOF_WINT_T__ 4
7008f4a2713aSLionel Sambuc // X86_64:#define __SIZE_MAX__ 18446744073709551615UL
7009f4a2713aSLionel Sambuc // X86_64:#define __SIZE_TYPE__ long unsigned int
7010f4a2713aSLionel Sambuc // X86_64:#define __SIZE_WIDTH__ 64
7011f4a2713aSLionel Sambuc // X86_64:#define __SSE2_MATH__ 1
7012f4a2713aSLionel Sambuc // X86_64:#define __SSE2__ 1
7013f4a2713aSLionel Sambuc // X86_64:#define __SSE_MATH__ 1
7014f4a2713aSLionel Sambuc // X86_64:#define __SSE__ 1
7015*0a6a1f1dSLionel Sambuc // X86_64:#define __UINT16_C_SUFFIX__ {{$}}
7016*0a6a1f1dSLionel Sambuc // X86_64:#define __UINT16_MAX__ 65535
7017*0a6a1f1dSLionel Sambuc // X86_64:#define __UINT16_TYPE__ unsigned short
7018*0a6a1f1dSLionel Sambuc // X86_64:#define __UINT32_C_SUFFIX__ U
7019*0a6a1f1dSLionel Sambuc // X86_64:#define __UINT32_MAX__ 4294967295U
7020*0a6a1f1dSLionel Sambuc // X86_64:#define __UINT32_TYPE__ unsigned int
7021*0a6a1f1dSLionel Sambuc // X86_64:#define __UINT64_C_SUFFIX__ UL
7022*0a6a1f1dSLionel Sambuc // X86_64:#define __UINT64_MAX__ 18446744073709551615UL
7023*0a6a1f1dSLionel Sambuc // X86_64:#define __UINT64_TYPE__ long unsigned int
7024*0a6a1f1dSLionel Sambuc // X86_64:#define __UINT8_C_SUFFIX__ {{$}}
7025*0a6a1f1dSLionel Sambuc // X86_64:#define __UINT8_MAX__ 255
7026*0a6a1f1dSLionel Sambuc // X86_64:#define __UINT8_TYPE__ unsigned char
7027*0a6a1f1dSLionel Sambuc // X86_64:#define __UINTMAX_C_SUFFIX__ UL
7028*0a6a1f1dSLionel Sambuc // X86_64:#define __UINTMAX_MAX__ 18446744073709551615UL
7029f4a2713aSLionel Sambuc // X86_64:#define __UINTMAX_TYPE__ long unsigned int
7030*0a6a1f1dSLionel Sambuc // X86_64:#define __UINTMAX_WIDTH__ 64
7031*0a6a1f1dSLionel Sambuc // X86_64:#define __UINTPTR_MAX__ 18446744073709551615UL
7032*0a6a1f1dSLionel Sambuc // X86_64:#define __UINTPTR_TYPE__ long unsigned int
7033*0a6a1f1dSLionel Sambuc // X86_64:#define __UINTPTR_WIDTH__ 64
7034*0a6a1f1dSLionel Sambuc // X86_64:#define __UINT_FAST16_MAX__ 65535
7035*0a6a1f1dSLionel Sambuc // X86_64:#define __UINT_FAST16_TYPE__ unsigned short
7036*0a6a1f1dSLionel Sambuc // X86_64:#define __UINT_FAST32_MAX__ 4294967295U
7037*0a6a1f1dSLionel Sambuc // X86_64:#define __UINT_FAST32_TYPE__ unsigned int
7038*0a6a1f1dSLionel Sambuc // X86_64:#define __UINT_FAST64_MAX__ 18446744073709551615UL
7039*0a6a1f1dSLionel Sambuc // X86_64:#define __UINT_FAST64_TYPE__ long unsigned int
7040*0a6a1f1dSLionel Sambuc // X86_64:#define __UINT_FAST8_MAX__ 255
7041*0a6a1f1dSLionel Sambuc // X86_64:#define __UINT_FAST8_TYPE__ unsigned char
7042*0a6a1f1dSLionel Sambuc // X86_64:#define __UINT_LEAST16_MAX__ 65535
7043*0a6a1f1dSLionel Sambuc // X86_64:#define __UINT_LEAST16_TYPE__ unsigned short
7044*0a6a1f1dSLionel Sambuc // X86_64:#define __UINT_LEAST32_MAX__ 4294967295U
7045*0a6a1f1dSLionel Sambuc // X86_64:#define __UINT_LEAST32_TYPE__ unsigned int
7046*0a6a1f1dSLionel Sambuc // X86_64:#define __UINT_LEAST64_MAX__ 18446744073709551615UL
7047*0a6a1f1dSLionel Sambuc // X86_64:#define __UINT_LEAST64_TYPE__ long unsigned int
7048*0a6a1f1dSLionel Sambuc // X86_64:#define __UINT_LEAST8_MAX__ 255
7049*0a6a1f1dSLionel Sambuc // X86_64:#define __UINT_LEAST8_TYPE__ unsigned char
7050f4a2713aSLionel Sambuc // X86_64:#define __USER_LABEL_PREFIX__ _
7051f4a2713aSLionel Sambuc // X86_64:#define __WCHAR_MAX__ 2147483647
7052f4a2713aSLionel Sambuc // X86_64:#define __WCHAR_TYPE__ int
7053f4a2713aSLionel Sambuc // X86_64:#define __WCHAR_WIDTH__ 32
7054f4a2713aSLionel Sambuc // X86_64:#define __WINT_TYPE__ int
7055f4a2713aSLionel Sambuc // X86_64:#define __WINT_WIDTH__ 32
7056f4a2713aSLionel Sambuc // X86_64:#define __amd64 1
7057f4a2713aSLionel Sambuc // X86_64:#define __amd64__ 1
7058f4a2713aSLionel Sambuc // X86_64:#define __x86_64 1
7059f4a2713aSLionel Sambuc // X86_64:#define __x86_64__ 1
7060f4a2713aSLionel Sambuc //
7061*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=x86_64h-none-none < /dev/null | FileCheck -check-prefix X86_64H %s
7062*0a6a1f1dSLionel Sambuc //
7063*0a6a1f1dSLionel Sambuc // X86_64H:#define __x86_64 1
7064*0a6a1f1dSLionel Sambuc // X86_64H:#define __x86_64__ 1
7065*0a6a1f1dSLionel Sambuc // X86_64H:#define __x86_64h 1
7066*0a6a1f1dSLionel Sambuc // X86_64H:#define __x86_64h__ 1
7067*0a6a1f1dSLionel Sambuc 
7068*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=x86_64-none-none-gnux32 < /dev/null | FileCheck -check-prefix X32 %s
7069*0a6a1f1dSLionel Sambuc //
7070*0a6a1f1dSLionel Sambuc // X32:#define _ILP32 1
7071*0a6a1f1dSLionel Sambuc // X32-NOT:#define _LP64 1
7072*0a6a1f1dSLionel Sambuc // X32:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
7073*0a6a1f1dSLionel Sambuc // X32:#define __CHAR16_TYPE__ unsigned short
7074*0a6a1f1dSLionel Sambuc // X32:#define __CHAR32_TYPE__ unsigned int
7075*0a6a1f1dSLionel Sambuc // X32:#define __CHAR_BIT__ 8
7076*0a6a1f1dSLionel Sambuc // X32:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
7077*0a6a1f1dSLionel Sambuc // X32:#define __DBL_DIG__ 15
7078*0a6a1f1dSLionel Sambuc // X32:#define __DBL_EPSILON__ 2.2204460492503131e-16
7079*0a6a1f1dSLionel Sambuc // X32:#define __DBL_HAS_DENORM__ 1
7080*0a6a1f1dSLionel Sambuc // X32:#define __DBL_HAS_INFINITY__ 1
7081*0a6a1f1dSLionel Sambuc // X32:#define __DBL_HAS_QUIET_NAN__ 1
7082*0a6a1f1dSLionel Sambuc // X32:#define __DBL_MANT_DIG__ 53
7083*0a6a1f1dSLionel Sambuc // X32:#define __DBL_MAX_10_EXP__ 308
7084*0a6a1f1dSLionel Sambuc // X32:#define __DBL_MAX_EXP__ 1024
7085*0a6a1f1dSLionel Sambuc // X32:#define __DBL_MAX__ 1.7976931348623157e+308
7086*0a6a1f1dSLionel Sambuc // X32:#define __DBL_MIN_10_EXP__ (-307)
7087*0a6a1f1dSLionel Sambuc // X32:#define __DBL_MIN_EXP__ (-1021)
7088*0a6a1f1dSLionel Sambuc // X32:#define __DBL_MIN__ 2.2250738585072014e-308
7089*0a6a1f1dSLionel Sambuc // X32:#define __DECIMAL_DIG__ 21
7090*0a6a1f1dSLionel Sambuc // X32:#define __FLT_DENORM_MIN__ 1.40129846e-45F
7091*0a6a1f1dSLionel Sambuc // X32:#define __FLT_DIG__ 6
7092*0a6a1f1dSLionel Sambuc // X32:#define __FLT_EPSILON__ 1.19209290e-7F
7093*0a6a1f1dSLionel Sambuc // X32:#define __FLT_EVAL_METHOD__ 0
7094*0a6a1f1dSLionel Sambuc // X32:#define __FLT_HAS_DENORM__ 1
7095*0a6a1f1dSLionel Sambuc // X32:#define __FLT_HAS_INFINITY__ 1
7096*0a6a1f1dSLionel Sambuc // X32:#define __FLT_HAS_QUIET_NAN__ 1
7097*0a6a1f1dSLionel Sambuc // X32:#define __FLT_MANT_DIG__ 24
7098*0a6a1f1dSLionel Sambuc // X32:#define __FLT_MAX_10_EXP__ 38
7099*0a6a1f1dSLionel Sambuc // X32:#define __FLT_MAX_EXP__ 128
7100*0a6a1f1dSLionel Sambuc // X32:#define __FLT_MAX__ 3.40282347e+38F
7101*0a6a1f1dSLionel Sambuc // X32:#define __FLT_MIN_10_EXP__ (-37)
7102*0a6a1f1dSLionel Sambuc // X32:#define __FLT_MIN_EXP__ (-125)
7103*0a6a1f1dSLionel Sambuc // X32:#define __FLT_MIN__ 1.17549435e-38F
7104*0a6a1f1dSLionel Sambuc // X32:#define __FLT_RADIX__ 2
7105*0a6a1f1dSLionel Sambuc // X32:#define __ILP32__ 1
7106*0a6a1f1dSLionel Sambuc // X32-NOT:#define __LP64__ 1
7107*0a6a1f1dSLionel Sambuc // X32:#define __INT16_C_SUFFIX__ {{$}}
7108*0a6a1f1dSLionel Sambuc // X32:#define __INT16_FMTd__ "hd"
7109*0a6a1f1dSLionel Sambuc // X32:#define __INT16_FMTi__ "hi"
7110*0a6a1f1dSLionel Sambuc // X32:#define __INT16_MAX__ 32767
7111*0a6a1f1dSLionel Sambuc // X32:#define __INT16_TYPE__ short
7112*0a6a1f1dSLionel Sambuc // X32:#define __INT32_C_SUFFIX__ {{$}}
7113*0a6a1f1dSLionel Sambuc // X32:#define __INT32_FMTd__ "d"
7114*0a6a1f1dSLionel Sambuc // X32:#define __INT32_FMTi__ "i"
7115*0a6a1f1dSLionel Sambuc // X32:#define __INT32_MAX__ 2147483647
7116*0a6a1f1dSLionel Sambuc // X32:#define __INT32_TYPE__ int
7117*0a6a1f1dSLionel Sambuc // X32:#define __INT64_C_SUFFIX__ L
7118*0a6a1f1dSLionel Sambuc // X32:#define __INT64_FMTd__ "lld"
7119*0a6a1f1dSLionel Sambuc // X32:#define __INT64_FMTi__ "lli"
7120*0a6a1f1dSLionel Sambuc // X32:#define __INT64_MAX__ 9223372036854775807L
7121*0a6a1f1dSLionel Sambuc // X32:#define __INT64_TYPE__ long long int
7122*0a6a1f1dSLionel Sambuc // X32:#define __INT8_C_SUFFIX__ {{$}}
7123*0a6a1f1dSLionel Sambuc // X32:#define __INT8_FMTd__ "hhd"
7124*0a6a1f1dSLionel Sambuc // X32:#define __INT8_FMTi__ "hhi"
7125*0a6a1f1dSLionel Sambuc // X32:#define __INT8_MAX__ 127
7126*0a6a1f1dSLionel Sambuc // X32:#define __INT8_TYPE__ signed char
7127*0a6a1f1dSLionel Sambuc // X32:#define __INTMAX_C_SUFFIX__ LL
7128*0a6a1f1dSLionel Sambuc // X32:#define __INTMAX_FMTd__ "lld"
7129*0a6a1f1dSLionel Sambuc // X32:#define __INTMAX_FMTi__ "lli"
7130*0a6a1f1dSLionel Sambuc // X32:#define __INTMAX_MAX__ 9223372036854775807L
7131*0a6a1f1dSLionel Sambuc // X32:#define __INTMAX_TYPE__ long long int
7132*0a6a1f1dSLionel Sambuc // X32:#define __INTMAX_WIDTH__ 64
7133*0a6a1f1dSLionel Sambuc // X32:#define __INTPTR_FMTd__ "d"
7134*0a6a1f1dSLionel Sambuc // X32:#define __INTPTR_FMTi__ "i"
7135*0a6a1f1dSLionel Sambuc // X32:#define __INTPTR_MAX__ 2147483647
7136*0a6a1f1dSLionel Sambuc // X32:#define __INTPTR_TYPE__ int
7137*0a6a1f1dSLionel Sambuc // X32:#define __INTPTR_WIDTH__ 32
7138*0a6a1f1dSLionel Sambuc // X32:#define __INT_FAST16_FMTd__ "hd"
7139*0a6a1f1dSLionel Sambuc // X32:#define __INT_FAST16_FMTi__ "hi"
7140*0a6a1f1dSLionel Sambuc // X32:#define __INT_FAST16_MAX__ 32767
7141*0a6a1f1dSLionel Sambuc // X32:#define __INT_FAST16_TYPE__ short
7142*0a6a1f1dSLionel Sambuc // X32:#define __INT_FAST32_FMTd__ "d"
7143*0a6a1f1dSLionel Sambuc // X32:#define __INT_FAST32_FMTi__ "i"
7144*0a6a1f1dSLionel Sambuc // X32:#define __INT_FAST32_MAX__ 2147483647
7145*0a6a1f1dSLionel Sambuc // X32:#define __INT_FAST32_TYPE__ int
7146*0a6a1f1dSLionel Sambuc // X32:#define __INT_FAST64_FMTd__ "lld"
7147*0a6a1f1dSLionel Sambuc // X32:#define __INT_FAST64_FMTi__ "lli"
7148*0a6a1f1dSLionel Sambuc // X32:#define __INT_FAST64_MAX__ 9223372036854775807L
7149*0a6a1f1dSLionel Sambuc // X32:#define __INT_FAST64_TYPE__ long long int
7150*0a6a1f1dSLionel Sambuc // X32:#define __INT_FAST8_FMTd__ "hhd"
7151*0a6a1f1dSLionel Sambuc // X32:#define __INT_FAST8_FMTi__ "hhi"
7152*0a6a1f1dSLionel Sambuc // X32:#define __INT_FAST8_MAX__ 127
7153*0a6a1f1dSLionel Sambuc // X32:#define __INT_FAST8_TYPE__ signed char
7154*0a6a1f1dSLionel Sambuc // X32:#define __INT_LEAST16_FMTd__ "hd"
7155*0a6a1f1dSLionel Sambuc // X32:#define __INT_LEAST16_FMTi__ "hi"
7156*0a6a1f1dSLionel Sambuc // X32:#define __INT_LEAST16_MAX__ 32767
7157*0a6a1f1dSLionel Sambuc // X32:#define __INT_LEAST16_TYPE__ short
7158*0a6a1f1dSLionel Sambuc // X32:#define __INT_LEAST32_FMTd__ "d"
7159*0a6a1f1dSLionel Sambuc // X32:#define __INT_LEAST32_FMTi__ "i"
7160*0a6a1f1dSLionel Sambuc // X32:#define __INT_LEAST32_MAX__ 2147483647
7161*0a6a1f1dSLionel Sambuc // X32:#define __INT_LEAST32_TYPE__ int
7162*0a6a1f1dSLionel Sambuc // X32:#define __INT_LEAST64_FMTd__ "lld"
7163*0a6a1f1dSLionel Sambuc // X32:#define __INT_LEAST64_FMTi__ "lli"
7164*0a6a1f1dSLionel Sambuc // X32:#define __INT_LEAST64_MAX__ 9223372036854775807L
7165*0a6a1f1dSLionel Sambuc // X32:#define __INT_LEAST64_TYPE__ long long int
7166*0a6a1f1dSLionel Sambuc // X32:#define __INT_LEAST8_FMTd__ "hhd"
7167*0a6a1f1dSLionel Sambuc // X32:#define __INT_LEAST8_FMTi__ "hhi"
7168*0a6a1f1dSLionel Sambuc // X32:#define __INT_LEAST8_MAX__ 127
7169*0a6a1f1dSLionel Sambuc // X32:#define __INT_LEAST8_TYPE__ signed char
7170*0a6a1f1dSLionel Sambuc // X32:#define __INT_MAX__ 2147483647
7171*0a6a1f1dSLionel Sambuc // X32:#define __LDBL_DENORM_MIN__ 3.64519953188247460253e-4951L
7172*0a6a1f1dSLionel Sambuc // X32:#define __LDBL_DIG__ 18
7173*0a6a1f1dSLionel Sambuc // X32:#define __LDBL_EPSILON__ 1.08420217248550443401e-19L
7174*0a6a1f1dSLionel Sambuc // X32:#define __LDBL_HAS_DENORM__ 1
7175*0a6a1f1dSLionel Sambuc // X32:#define __LDBL_HAS_INFINITY__ 1
7176*0a6a1f1dSLionel Sambuc // X32:#define __LDBL_HAS_QUIET_NAN__ 1
7177*0a6a1f1dSLionel Sambuc // X32:#define __LDBL_MANT_DIG__ 64
7178*0a6a1f1dSLionel Sambuc // X32:#define __LDBL_MAX_10_EXP__ 4932
7179*0a6a1f1dSLionel Sambuc // X32:#define __LDBL_MAX_EXP__ 16384
7180*0a6a1f1dSLionel Sambuc // X32:#define __LDBL_MAX__ 1.18973149535723176502e+4932L
7181*0a6a1f1dSLionel Sambuc // X32:#define __LDBL_MIN_10_EXP__ (-4931)
7182*0a6a1f1dSLionel Sambuc // X32:#define __LDBL_MIN_EXP__ (-16381)
7183*0a6a1f1dSLionel Sambuc // X32:#define __LDBL_MIN__ 3.36210314311209350626e-4932L
7184*0a6a1f1dSLionel Sambuc // X32:#define __LITTLE_ENDIAN__ 1
7185*0a6a1f1dSLionel Sambuc // X32:#define __LONG_LONG_MAX__ 9223372036854775807LL
7186*0a6a1f1dSLionel Sambuc // X32:#define __LONG_MAX__ 2147483647L
7187*0a6a1f1dSLionel Sambuc // X32:#define __MMX__ 1
7188*0a6a1f1dSLionel Sambuc // X32:#define __NO_MATH_INLINES 1
7189*0a6a1f1dSLionel Sambuc // X32:#define __POINTER_WIDTH__ 32
7190*0a6a1f1dSLionel Sambuc // X32:#define __PTRDIFF_TYPE__ int
7191*0a6a1f1dSLionel Sambuc // X32:#define __PTRDIFF_WIDTH__ 32
7192*0a6a1f1dSLionel Sambuc // X32:#define __REGISTER_PREFIX__
7193*0a6a1f1dSLionel Sambuc // X32:#define __SCHAR_MAX__ 127
7194*0a6a1f1dSLionel Sambuc // X32:#define __SHRT_MAX__ 32767
7195*0a6a1f1dSLionel Sambuc // X32:#define __SIG_ATOMIC_MAX__ 2147483647
7196*0a6a1f1dSLionel Sambuc // X32:#define __SIG_ATOMIC_WIDTH__ 32
7197*0a6a1f1dSLionel Sambuc // X32:#define __SIZEOF_DOUBLE__ 8
7198*0a6a1f1dSLionel Sambuc // X32:#define __SIZEOF_FLOAT__ 4
7199*0a6a1f1dSLionel Sambuc // X32:#define __SIZEOF_INT__ 4
7200*0a6a1f1dSLionel Sambuc // X32:#define __SIZEOF_LONG_DOUBLE__ 16
7201*0a6a1f1dSLionel Sambuc // X32:#define __SIZEOF_LONG_LONG__ 8
7202*0a6a1f1dSLionel Sambuc // X32:#define __SIZEOF_LONG__ 4
7203*0a6a1f1dSLionel Sambuc // X32:#define __SIZEOF_POINTER__ 4
7204*0a6a1f1dSLionel Sambuc // X32:#define __SIZEOF_PTRDIFF_T__ 4
7205*0a6a1f1dSLionel Sambuc // X32:#define __SIZEOF_SHORT__ 2
7206*0a6a1f1dSLionel Sambuc // X32:#define __SIZEOF_SIZE_T__ 4
7207*0a6a1f1dSLionel Sambuc // X32:#define __SIZEOF_WCHAR_T__ 4
7208*0a6a1f1dSLionel Sambuc // X32:#define __SIZEOF_WINT_T__ 4
7209*0a6a1f1dSLionel Sambuc // X32:#define __SIZE_MAX__ 4294967295U
7210*0a6a1f1dSLionel Sambuc // X32:#define __SIZE_TYPE__ unsigned int
7211*0a6a1f1dSLionel Sambuc // X32:#define __SIZE_WIDTH__ 32
7212*0a6a1f1dSLionel Sambuc // X32:#define __SSE2_MATH__ 1
7213*0a6a1f1dSLionel Sambuc // X32:#define __SSE2__ 1
7214*0a6a1f1dSLionel Sambuc // X32:#define __SSE_MATH__ 1
7215*0a6a1f1dSLionel Sambuc // X32:#define __SSE__ 1
7216*0a6a1f1dSLionel Sambuc // X32:#define __UINT16_C_SUFFIX__ {{$}}
7217*0a6a1f1dSLionel Sambuc // X32:#define __UINT16_MAX__ 65535
7218*0a6a1f1dSLionel Sambuc // X32:#define __UINT16_TYPE__ unsigned short
7219*0a6a1f1dSLionel Sambuc // X32:#define __UINT32_C_SUFFIX__ U
7220*0a6a1f1dSLionel Sambuc // X32:#define __UINT32_MAX__ 4294967295U
7221*0a6a1f1dSLionel Sambuc // X32:#define __UINT32_TYPE__ unsigned int
7222*0a6a1f1dSLionel Sambuc // X32:#define __UINT64_C_SUFFIX__ UL
7223*0a6a1f1dSLionel Sambuc // X32:#define __UINT64_MAX__ 18446744073709551615ULL
7224*0a6a1f1dSLionel Sambuc // X32:#define __UINT64_TYPE__ long long unsigned int
7225*0a6a1f1dSLionel Sambuc // X32:#define __UINT8_C_SUFFIX__ {{$}}
7226*0a6a1f1dSLionel Sambuc // X32:#define __UINT8_MAX__ 255
7227*0a6a1f1dSLionel Sambuc // X32:#define __UINT8_TYPE__ unsigned char
7228*0a6a1f1dSLionel Sambuc // X32:#define __UINTMAX_C_SUFFIX__ ULL
7229*0a6a1f1dSLionel Sambuc // X32:#define __UINTMAX_MAX__ 18446744073709551615ULL
7230*0a6a1f1dSLionel Sambuc // X32:#define __UINTMAX_TYPE__ long long unsigned int
7231*0a6a1f1dSLionel Sambuc // X32:#define __UINTMAX_WIDTH__ 64
7232*0a6a1f1dSLionel Sambuc // X32:#define __UINTPTR_MAX__ 4294967295U
7233*0a6a1f1dSLionel Sambuc // X32:#define __UINTPTR_TYPE__ unsigned int
7234*0a6a1f1dSLionel Sambuc // X32:#define __UINTPTR_WIDTH__ 32
7235*0a6a1f1dSLionel Sambuc // X32:#define __UINT_FAST16_MAX__ 65535
7236*0a6a1f1dSLionel Sambuc // X32:#define __UINT_FAST16_TYPE__ unsigned short
7237*0a6a1f1dSLionel Sambuc // X32:#define __UINT_FAST32_MAX__ 4294967295U
7238*0a6a1f1dSLionel Sambuc // X32:#define __UINT_FAST32_TYPE__ unsigned int
7239*0a6a1f1dSLionel Sambuc // X32:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
7240*0a6a1f1dSLionel Sambuc // X32:#define __UINT_FAST64_TYPE__ long long unsigned int
7241*0a6a1f1dSLionel Sambuc // X32:#define __UINT_FAST8_MAX__ 255
7242*0a6a1f1dSLionel Sambuc // X32:#define __UINT_FAST8_TYPE__ unsigned char
7243*0a6a1f1dSLionel Sambuc // X32:#define __UINT_LEAST16_MAX__ 65535
7244*0a6a1f1dSLionel Sambuc // X32:#define __UINT_LEAST16_TYPE__ unsigned short
7245*0a6a1f1dSLionel Sambuc // X32:#define __UINT_LEAST32_MAX__ 4294967295U
7246*0a6a1f1dSLionel Sambuc // X32:#define __UINT_LEAST32_TYPE__ unsigned int
7247*0a6a1f1dSLionel Sambuc // X32:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
7248*0a6a1f1dSLionel Sambuc // X32:#define __UINT_LEAST64_TYPE__ long long unsigned int
7249*0a6a1f1dSLionel Sambuc // X32:#define __UINT_LEAST8_MAX__ 255
7250*0a6a1f1dSLionel Sambuc // X32:#define __UINT_LEAST8_TYPE__ unsigned char
7251*0a6a1f1dSLionel Sambuc // X32:#define __USER_LABEL_PREFIX__ _
7252*0a6a1f1dSLionel Sambuc // X32:#define __WCHAR_MAX__ 2147483647
7253*0a6a1f1dSLionel Sambuc // X32:#define __WCHAR_TYPE__ int
7254*0a6a1f1dSLionel Sambuc // X32:#define __WCHAR_WIDTH__ 32
7255*0a6a1f1dSLionel Sambuc // X32:#define __WINT_TYPE__ int
7256*0a6a1f1dSLionel Sambuc // X32:#define __WINT_WIDTH__ 32
7257*0a6a1f1dSLionel Sambuc // X32:#define __amd64 1
7258*0a6a1f1dSLionel Sambuc // X32:#define __amd64__ 1
7259*0a6a1f1dSLionel Sambuc // X32:#define __x86_64 1
7260*0a6a1f1dSLionel Sambuc // X32:#define __x86_64__ 1
7261*0a6a1f1dSLionel Sambuc //
7262f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=x86_64-pc-linux-gnu < /dev/null | FileCheck -check-prefix X86_64-LINUX %s
7263f4a2713aSLionel Sambuc //
7264f4a2713aSLionel Sambuc // X86_64-LINUX:#define _LP64 1
7265f4a2713aSLionel Sambuc // X86_64-LINUX:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
7266f4a2713aSLionel Sambuc // X86_64-LINUX:#define __CHAR16_TYPE__ unsigned short
7267f4a2713aSLionel Sambuc // X86_64-LINUX:#define __CHAR32_TYPE__ unsigned int
7268f4a2713aSLionel Sambuc // X86_64-LINUX:#define __CHAR_BIT__ 8
7269f4a2713aSLionel Sambuc // X86_64-LINUX:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
7270f4a2713aSLionel Sambuc // X86_64-LINUX:#define __DBL_DIG__ 15
7271f4a2713aSLionel Sambuc // X86_64-LINUX:#define __DBL_EPSILON__ 2.2204460492503131e-16
7272f4a2713aSLionel Sambuc // X86_64-LINUX:#define __DBL_HAS_DENORM__ 1
7273f4a2713aSLionel Sambuc // X86_64-LINUX:#define __DBL_HAS_INFINITY__ 1
7274f4a2713aSLionel Sambuc // X86_64-LINUX:#define __DBL_HAS_QUIET_NAN__ 1
7275f4a2713aSLionel Sambuc // X86_64-LINUX:#define __DBL_MANT_DIG__ 53
7276f4a2713aSLionel Sambuc // X86_64-LINUX:#define __DBL_MAX_10_EXP__ 308
7277f4a2713aSLionel Sambuc // X86_64-LINUX:#define __DBL_MAX_EXP__ 1024
7278f4a2713aSLionel Sambuc // X86_64-LINUX:#define __DBL_MAX__ 1.7976931348623157e+308
7279f4a2713aSLionel Sambuc // X86_64-LINUX:#define __DBL_MIN_10_EXP__ (-307)
7280f4a2713aSLionel Sambuc // X86_64-LINUX:#define __DBL_MIN_EXP__ (-1021)
7281f4a2713aSLionel Sambuc // X86_64-LINUX:#define __DBL_MIN__ 2.2250738585072014e-308
7282f4a2713aSLionel Sambuc // X86_64-LINUX:#define __DECIMAL_DIG__ 21
7283f4a2713aSLionel Sambuc // X86_64-LINUX:#define __FLT_DENORM_MIN__ 1.40129846e-45F
7284f4a2713aSLionel Sambuc // X86_64-LINUX:#define __FLT_DIG__ 6
7285f4a2713aSLionel Sambuc // X86_64-LINUX:#define __FLT_EPSILON__ 1.19209290e-7F
7286f4a2713aSLionel Sambuc // X86_64-LINUX:#define __FLT_EVAL_METHOD__ 0
7287f4a2713aSLionel Sambuc // X86_64-LINUX:#define __FLT_HAS_DENORM__ 1
7288f4a2713aSLionel Sambuc // X86_64-LINUX:#define __FLT_HAS_INFINITY__ 1
7289f4a2713aSLionel Sambuc // X86_64-LINUX:#define __FLT_HAS_QUIET_NAN__ 1
7290f4a2713aSLionel Sambuc // X86_64-LINUX:#define __FLT_MANT_DIG__ 24
7291f4a2713aSLionel Sambuc // X86_64-LINUX:#define __FLT_MAX_10_EXP__ 38
7292f4a2713aSLionel Sambuc // X86_64-LINUX:#define __FLT_MAX_EXP__ 128
7293f4a2713aSLionel Sambuc // X86_64-LINUX:#define __FLT_MAX__ 3.40282347e+38F
7294f4a2713aSLionel Sambuc // X86_64-LINUX:#define __FLT_MIN_10_EXP__ (-37)
7295f4a2713aSLionel Sambuc // X86_64-LINUX:#define __FLT_MIN_EXP__ (-125)
7296f4a2713aSLionel Sambuc // X86_64-LINUX:#define __FLT_MIN__ 1.17549435e-38F
7297f4a2713aSLionel Sambuc // X86_64-LINUX:#define __FLT_RADIX__ 2
7298*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT16_C_SUFFIX__ {{$}}
7299*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT16_FMTd__ "hd"
7300*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT16_FMTi__ "hi"
7301*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT16_MAX__ 32767
7302f4a2713aSLionel Sambuc // X86_64-LINUX:#define __INT16_TYPE__ short
7303*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT32_C_SUFFIX__ {{$}}
7304*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT32_FMTd__ "d"
7305*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT32_FMTi__ "i"
7306*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT32_MAX__ 2147483647
7307f4a2713aSLionel Sambuc // X86_64-LINUX:#define __INT32_TYPE__ int
7308f4a2713aSLionel Sambuc // X86_64-LINUX:#define __INT64_C_SUFFIX__ L
7309*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT64_FMTd__ "ld"
7310*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT64_FMTi__ "li"
7311*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT64_MAX__ 9223372036854775807L
7312f4a2713aSLionel Sambuc // X86_64-LINUX:#define __INT64_TYPE__ long int
7313*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT8_C_SUFFIX__ {{$}}
7314*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT8_FMTd__ "hhd"
7315*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT8_FMTi__ "hhi"
7316*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT8_MAX__ 127
7317*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT8_TYPE__ signed char
7318*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INTMAX_C_SUFFIX__ L
7319*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INTMAX_FMTd__ "ld"
7320*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INTMAX_FMTi__ "li"
7321f4a2713aSLionel Sambuc // X86_64-LINUX:#define __INTMAX_MAX__ 9223372036854775807L
7322f4a2713aSLionel Sambuc // X86_64-LINUX:#define __INTMAX_TYPE__ long int
7323f4a2713aSLionel Sambuc // X86_64-LINUX:#define __INTMAX_WIDTH__ 64
7324*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INTPTR_FMTd__ "ld"
7325*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INTPTR_FMTi__ "li"
7326*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INTPTR_MAX__ 9223372036854775807L
7327f4a2713aSLionel Sambuc // X86_64-LINUX:#define __INTPTR_TYPE__ long int
7328f4a2713aSLionel Sambuc // X86_64-LINUX:#define __INTPTR_WIDTH__ 64
7329*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT_FAST16_FMTd__ "hd"
7330*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT_FAST16_FMTi__ "hi"
7331*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT_FAST16_MAX__ 32767
7332*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT_FAST16_TYPE__ short
7333*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT_FAST32_FMTd__ "d"
7334*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT_FAST32_FMTi__ "i"
7335*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT_FAST32_MAX__ 2147483647
7336*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT_FAST32_TYPE__ int
7337*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT_FAST64_FMTd__ "ld"
7338*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT_FAST64_FMTi__ "li"
7339*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT_FAST64_MAX__ 9223372036854775807L
7340*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT_FAST64_TYPE__ long int
7341*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT_FAST8_FMTd__ "hhd"
7342*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT_FAST8_FMTi__ "hhi"
7343*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT_FAST8_MAX__ 127
7344*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT_FAST8_TYPE__ signed char
7345*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT_LEAST16_FMTd__ "hd"
7346*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT_LEAST16_FMTi__ "hi"
7347*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT_LEAST16_MAX__ 32767
7348*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT_LEAST16_TYPE__ short
7349*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT_LEAST32_FMTd__ "d"
7350*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT_LEAST32_FMTi__ "i"
7351*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT_LEAST32_MAX__ 2147483647
7352*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT_LEAST32_TYPE__ int
7353*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT_LEAST64_FMTd__ "ld"
7354*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT_LEAST64_FMTi__ "li"
7355*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT_LEAST64_MAX__ 9223372036854775807L
7356*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT_LEAST64_TYPE__ long int
7357*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT_LEAST8_FMTd__ "hhd"
7358*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT_LEAST8_FMTi__ "hhi"
7359*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT_LEAST8_MAX__ 127
7360*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __INT_LEAST8_TYPE__ signed char
7361f4a2713aSLionel Sambuc // X86_64-LINUX:#define __INT_MAX__ 2147483647
7362f4a2713aSLionel Sambuc // X86_64-LINUX:#define __LDBL_DENORM_MIN__ 3.64519953188247460253e-4951L
7363f4a2713aSLionel Sambuc // X86_64-LINUX:#define __LDBL_DIG__ 18
7364f4a2713aSLionel Sambuc // X86_64-LINUX:#define __LDBL_EPSILON__ 1.08420217248550443401e-19L
7365f4a2713aSLionel Sambuc // X86_64-LINUX:#define __LDBL_HAS_DENORM__ 1
7366f4a2713aSLionel Sambuc // X86_64-LINUX:#define __LDBL_HAS_INFINITY__ 1
7367f4a2713aSLionel Sambuc // X86_64-LINUX:#define __LDBL_HAS_QUIET_NAN__ 1
7368f4a2713aSLionel Sambuc // X86_64-LINUX:#define __LDBL_MANT_DIG__ 64
7369f4a2713aSLionel Sambuc // X86_64-LINUX:#define __LDBL_MAX_10_EXP__ 4932
7370f4a2713aSLionel Sambuc // X86_64-LINUX:#define __LDBL_MAX_EXP__ 16384
7371f4a2713aSLionel Sambuc // X86_64-LINUX:#define __LDBL_MAX__ 1.18973149535723176502e+4932L
7372f4a2713aSLionel Sambuc // X86_64-LINUX:#define __LDBL_MIN_10_EXP__ (-4931)
7373f4a2713aSLionel Sambuc // X86_64-LINUX:#define __LDBL_MIN_EXP__ (-16381)
7374f4a2713aSLionel Sambuc // X86_64-LINUX:#define __LDBL_MIN__ 3.36210314311209350626e-4932L
7375f4a2713aSLionel Sambuc // X86_64-LINUX:#define __LITTLE_ENDIAN__ 1
7376f4a2713aSLionel Sambuc // X86_64-LINUX:#define __LONG_LONG_MAX__ 9223372036854775807LL
7377f4a2713aSLionel Sambuc // X86_64-LINUX:#define __LONG_MAX__ 9223372036854775807L
7378f4a2713aSLionel Sambuc // X86_64-LINUX:#define __LP64__ 1
7379f4a2713aSLionel Sambuc // X86_64-LINUX:#define __MMX__ 1
7380f4a2713aSLionel Sambuc // X86_64-LINUX:#define __NO_MATH_INLINES 1
7381f4a2713aSLionel Sambuc // X86_64-LINUX:#define __POINTER_WIDTH__ 64
7382f4a2713aSLionel Sambuc // X86_64-LINUX:#define __PTRDIFF_TYPE__ long int
7383f4a2713aSLionel Sambuc // X86_64-LINUX:#define __PTRDIFF_WIDTH__ 64
7384f4a2713aSLionel Sambuc // X86_64-LINUX:#define __REGISTER_PREFIX__
7385f4a2713aSLionel Sambuc // X86_64-LINUX:#define __SCHAR_MAX__ 127
7386f4a2713aSLionel Sambuc // X86_64-LINUX:#define __SHRT_MAX__ 32767
7387*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __SIG_ATOMIC_MAX__ 2147483647
7388f4a2713aSLionel Sambuc // X86_64-LINUX:#define __SIG_ATOMIC_WIDTH__ 32
7389f4a2713aSLionel Sambuc // X86_64-LINUX:#define __SIZEOF_DOUBLE__ 8
7390f4a2713aSLionel Sambuc // X86_64-LINUX:#define __SIZEOF_FLOAT__ 4
7391f4a2713aSLionel Sambuc // X86_64-LINUX:#define __SIZEOF_INT__ 4
7392f4a2713aSLionel Sambuc // X86_64-LINUX:#define __SIZEOF_LONG_DOUBLE__ 16
7393f4a2713aSLionel Sambuc // X86_64-LINUX:#define __SIZEOF_LONG_LONG__ 8
7394f4a2713aSLionel Sambuc // X86_64-LINUX:#define __SIZEOF_LONG__ 8
7395f4a2713aSLionel Sambuc // X86_64-LINUX:#define __SIZEOF_POINTER__ 8
7396f4a2713aSLionel Sambuc // X86_64-LINUX:#define __SIZEOF_PTRDIFF_T__ 8
7397f4a2713aSLionel Sambuc // X86_64-LINUX:#define __SIZEOF_SHORT__ 2
7398f4a2713aSLionel Sambuc // X86_64-LINUX:#define __SIZEOF_SIZE_T__ 8
7399f4a2713aSLionel Sambuc // X86_64-LINUX:#define __SIZEOF_WCHAR_T__ 4
7400f4a2713aSLionel Sambuc // X86_64-LINUX:#define __SIZEOF_WINT_T__ 4
7401f4a2713aSLionel Sambuc // X86_64-LINUX:#define __SIZE_MAX__ 18446744073709551615UL
7402f4a2713aSLionel Sambuc // X86_64-LINUX:#define __SIZE_TYPE__ long unsigned int
7403f4a2713aSLionel Sambuc // X86_64-LINUX:#define __SIZE_WIDTH__ 64
7404f4a2713aSLionel Sambuc // X86_64-LINUX:#define __SSE2_MATH__ 1
7405f4a2713aSLionel Sambuc // X86_64-LINUX:#define __SSE2__ 1
7406f4a2713aSLionel Sambuc // X86_64-LINUX:#define __SSE_MATH__ 1
7407f4a2713aSLionel Sambuc // X86_64-LINUX:#define __SSE__ 1
7408*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __UINT16_C_SUFFIX__ {{$}}
7409*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __UINT16_MAX__ 65535
7410*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __UINT16_TYPE__ unsigned short
7411*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __UINT32_C_SUFFIX__ U
7412*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __UINT32_MAX__ 4294967295U
7413*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __UINT32_TYPE__ unsigned int
7414*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __UINT64_C_SUFFIX__ UL
7415*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __UINT64_MAX__ 18446744073709551615UL
7416*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __UINT64_TYPE__ long unsigned int
7417*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __UINT8_C_SUFFIX__ {{$}}
7418*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __UINT8_MAX__ 255
7419*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __UINT8_TYPE__ unsigned char
7420*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __UINTMAX_C_SUFFIX__ UL
7421*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __UINTMAX_MAX__ 18446744073709551615UL
7422f4a2713aSLionel Sambuc // X86_64-LINUX:#define __UINTMAX_TYPE__ long unsigned int
7423*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __UINTMAX_WIDTH__ 64
7424*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __UINTPTR_MAX__ 18446744073709551615UL
7425*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __UINTPTR_TYPE__ long unsigned int
7426*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __UINTPTR_WIDTH__ 64
7427*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __UINT_FAST16_MAX__ 65535
7428*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __UINT_FAST16_TYPE__ unsigned short
7429*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __UINT_FAST32_MAX__ 4294967295U
7430*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __UINT_FAST32_TYPE__ unsigned int
7431*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __UINT_FAST64_MAX__ 18446744073709551615UL
7432*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __UINT_FAST64_TYPE__ long unsigned int
7433*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __UINT_FAST8_MAX__ 255
7434*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __UINT_FAST8_TYPE__ unsigned char
7435*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __UINT_LEAST16_MAX__ 65535
7436*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __UINT_LEAST16_TYPE__ unsigned short
7437*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __UINT_LEAST32_MAX__ 4294967295U
7438*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __UINT_LEAST32_TYPE__ unsigned int
7439*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __UINT_LEAST64_MAX__ 18446744073709551615UL
7440*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __UINT_LEAST64_TYPE__ long unsigned int
7441*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __UINT_LEAST8_MAX__ 255
7442*0a6a1f1dSLionel Sambuc // X86_64-LINUX:#define __UINT_LEAST8_TYPE__ unsigned char
7443f4a2713aSLionel Sambuc // X86_64-LINUX:#define __USER_LABEL_PREFIX__
7444f4a2713aSLionel Sambuc // X86_64-LINUX:#define __WCHAR_MAX__ 2147483647
7445f4a2713aSLionel Sambuc // X86_64-LINUX:#define __WCHAR_TYPE__ int
7446f4a2713aSLionel Sambuc // X86_64-LINUX:#define __WCHAR_WIDTH__ 32
7447f4a2713aSLionel Sambuc // X86_64-LINUX:#define __WINT_TYPE__ unsigned int
7448f4a2713aSLionel Sambuc // X86_64-LINUX:#define __WINT_WIDTH__ 32
7449f4a2713aSLionel Sambuc // X86_64-LINUX:#define __amd64 1
7450f4a2713aSLionel Sambuc // X86_64-LINUX:#define __amd64__ 1
7451f4a2713aSLionel Sambuc // X86_64-LINUX:#define __x86_64 1
7452f4a2713aSLionel Sambuc // X86_64-LINUX:#define __x86_64__ 1
7453f4a2713aSLionel Sambuc //
7454f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=x86_64-unknown-freebsd9.1 < /dev/null | FileCheck -check-prefix X86_64-FREEBSD %s
7455f4a2713aSLionel Sambuc //
7456f4a2713aSLionel Sambuc // X86_64-FREEBSD:#define __FreeBSD__ 9
7457f4a2713aSLionel Sambuc // X86_64-FREEBSD:#define __FreeBSD_cc_version 900001
7458f4a2713aSLionel Sambuc // X86_64-FREEBSD:#define __STDC_MB_MIGHT_NEQ_WC__ 1
7459f4a2713aSLionel Sambuc //
7460f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=x86_64-netbsd < /dev/null | FileCheck -check-prefix X86_64-NETBSD %s
7461f4a2713aSLionel Sambuc //
7462f4a2713aSLionel Sambuc // X86_64-NETBSD:#define _LP64 1
7463f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
7464f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __CHAR16_TYPE__ unsigned short
7465f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __CHAR32_TYPE__ unsigned int
7466f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __CHAR_BIT__ 8
7467f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
7468f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __DBL_DIG__ 15
7469f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __DBL_EPSILON__ 2.2204460492503131e-16
7470f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __DBL_HAS_DENORM__ 1
7471f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __DBL_HAS_INFINITY__ 1
7472f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __DBL_HAS_QUIET_NAN__ 1
7473f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __DBL_MANT_DIG__ 53
7474f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __DBL_MAX_10_EXP__ 308
7475f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __DBL_MAX_EXP__ 1024
7476f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __DBL_MAX__ 1.7976931348623157e+308
7477f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __DBL_MIN_10_EXP__ (-307)
7478f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __DBL_MIN_EXP__ (-1021)
7479f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __DBL_MIN__ 2.2250738585072014e-308
7480f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __DECIMAL_DIG__ 21
7481f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __FLT_DENORM_MIN__ 1.40129846e-45F
7482f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __FLT_DIG__ 6
7483f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __FLT_EPSILON__ 1.19209290e-7F
7484f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __FLT_EVAL_METHOD__ 0
7485f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __FLT_HAS_DENORM__ 1
7486f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __FLT_HAS_INFINITY__ 1
7487f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __FLT_HAS_QUIET_NAN__ 1
7488f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __FLT_MANT_DIG__ 24
7489f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __FLT_MAX_10_EXP__ 38
7490f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __FLT_MAX_EXP__ 128
7491f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __FLT_MAX__ 3.40282347e+38F
7492f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __FLT_MIN_10_EXP__ (-37)
7493f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __FLT_MIN_EXP__ (-125)
7494f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __FLT_MIN__ 1.17549435e-38F
7495f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __FLT_RADIX__ 2
7496*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT16_C_SUFFIX__ {{$}}
7497*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT16_FMTd__ "hd"
7498*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT16_FMTi__ "hi"
7499*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT16_MAX__ 32767
7500f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __INT16_TYPE__ short
7501*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT32_C_SUFFIX__ {{$}}
7502*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT32_FMTd__ "d"
7503*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT32_FMTi__ "i"
7504*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT32_MAX__ 2147483647
7505f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __INT32_TYPE__ int
7506f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __INT64_C_SUFFIX__ L
7507*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT64_FMTd__ "ld"
7508*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT64_FMTi__ "li"
7509*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT64_MAX__ 9223372036854775807L
7510f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __INT64_TYPE__ long int
7511*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT8_C_SUFFIX__ {{$}}
7512*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT8_FMTd__ "hhd"
7513*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT8_FMTi__ "hhi"
7514*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT8_MAX__ 127
7515*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT8_TYPE__ signed char
7516*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INTMAX_C_SUFFIX__ L
7517*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INTMAX_FMTd__ "ld"
7518*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INTMAX_FMTi__ "li"
7519f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __INTMAX_MAX__ 9223372036854775807L
7520f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __INTMAX_TYPE__ long int
7521f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __INTMAX_WIDTH__ 64
7522*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INTPTR_FMTd__ "ld"
7523*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INTPTR_FMTi__ "li"
7524*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INTPTR_MAX__ 9223372036854775807L
7525f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __INTPTR_TYPE__ long int
7526f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __INTPTR_WIDTH__ 64
7527*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT_FAST16_FMTd__ "hd"
7528*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT_FAST16_FMTi__ "hi"
7529*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT_FAST16_MAX__ 32767
7530*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT_FAST16_TYPE__ short
7531*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT_FAST32_FMTd__ "d"
7532*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT_FAST32_FMTi__ "i"
7533*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT_FAST32_MAX__ 2147483647
7534*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT_FAST32_TYPE__ int
7535*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT_FAST64_FMTd__ "ld"
7536*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT_FAST64_FMTi__ "li"
7537*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT_FAST64_MAX__ 9223372036854775807L
7538*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT_FAST64_TYPE__ long int
7539*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT_FAST8_FMTd__ "hhd"
7540*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT_FAST8_FMTi__ "hhi"
7541*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT_FAST8_MAX__ 127
7542*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT_FAST8_TYPE__ signed char
7543*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT_LEAST16_FMTd__ "hd"
7544*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT_LEAST16_FMTi__ "hi"
7545*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT_LEAST16_MAX__ 32767
7546*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT_LEAST16_TYPE__ short
7547*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT_LEAST32_FMTd__ "d"
7548*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT_LEAST32_FMTi__ "i"
7549*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT_LEAST32_MAX__ 2147483647
7550*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT_LEAST32_TYPE__ int
7551*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT_LEAST64_FMTd__ "ld"
7552*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT_LEAST64_FMTi__ "li"
7553*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT_LEAST64_MAX__ 9223372036854775807L
7554*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT_LEAST64_TYPE__ long int
7555*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT_LEAST8_FMTd__ "hhd"
7556*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT_LEAST8_FMTi__ "hhi"
7557*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT_LEAST8_MAX__ 127
7558*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __INT_LEAST8_TYPE__ signed char
7559f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __INT_MAX__ 2147483647
7560f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __LDBL_DENORM_MIN__ 3.64519953188247460253e-4951L
7561f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __LDBL_DIG__ 18
7562f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __LDBL_EPSILON__ 1.08420217248550443401e-19L
7563f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __LDBL_HAS_DENORM__ 1
7564f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __LDBL_HAS_INFINITY__ 1
7565f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __LDBL_HAS_QUIET_NAN__ 1
7566f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __LDBL_MANT_DIG__ 64
7567f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __LDBL_MAX_10_EXP__ 4932
7568f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __LDBL_MAX_EXP__ 16384
7569f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __LDBL_MAX__ 1.18973149535723176502e+4932L
7570f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __LDBL_MIN_10_EXP__ (-4931)
7571f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __LDBL_MIN_EXP__ (-16381)
7572f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __LDBL_MIN__ 3.36210314311209350626e-4932L
7573f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __LITTLE_ENDIAN__ 1
7574f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __LONG_LONG_MAX__ 9223372036854775807LL
7575f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __LONG_MAX__ 9223372036854775807L
7576f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __LP64__ 1
7577f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __MMX__ 1
7578f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __NO_MATH_INLINES 1
7579f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __POINTER_WIDTH__ 64
7580f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __PTRDIFF_TYPE__ long int
7581f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __PTRDIFF_WIDTH__ 64
7582f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __REGISTER_PREFIX__
7583f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __SCHAR_MAX__ 127
7584f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __SHRT_MAX__ 32767
7585*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __SIG_ATOMIC_MAX__ 2147483647
7586f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __SIG_ATOMIC_WIDTH__ 32
7587f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __SIZEOF_DOUBLE__ 8
7588f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __SIZEOF_FLOAT__ 4
7589f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __SIZEOF_INT__ 4
7590f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __SIZEOF_LONG_DOUBLE__ 16
7591f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __SIZEOF_LONG_LONG__ 8
7592f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __SIZEOF_LONG__ 8
7593f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __SIZEOF_POINTER__ 8
7594f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __SIZEOF_PTRDIFF_T__ 8
7595f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __SIZEOF_SHORT__ 2
7596f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __SIZEOF_SIZE_T__ 8
7597f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __SIZEOF_WCHAR_T__ 4
7598f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __SIZEOF_WINT_T__ 4
7599f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __SIZE_MAX__ 18446744073709551615UL
7600f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __SIZE_TYPE__ long unsigned int
7601f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __SIZE_WIDTH__ 64
7602f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __SSE2_MATH__ 1
7603f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __SSE2__ 1
7604f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __SSE_MATH__ 1
7605f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __SSE__ 1
7606*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __UINT16_C_SUFFIX__ {{$}}
7607*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __UINT16_MAX__ 65535
7608*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __UINT16_TYPE__ unsigned short
7609*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __UINT32_C_SUFFIX__ U
7610*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __UINT32_MAX__ 4294967295U
7611*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __UINT32_TYPE__ unsigned int
7612*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __UINT64_C_SUFFIX__ UL
7613*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __UINT64_MAX__ 18446744073709551615UL
7614*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __UINT64_TYPE__ long unsigned int
7615*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __UINT8_C_SUFFIX__ {{$}}
7616*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __UINT8_MAX__ 255
7617*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __UINT8_TYPE__ unsigned char
7618*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __UINTMAX_C_SUFFIX__ UL
7619*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __UINTMAX_MAX__ 18446744073709551615UL
7620f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __UINTMAX_TYPE__ long unsigned int
7621*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __UINTMAX_WIDTH__ 64
7622*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __UINTPTR_MAX__ 18446744073709551615UL
7623*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __UINTPTR_TYPE__ long unsigned int
7624*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __UINTPTR_WIDTH__ 64
7625*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __UINT_FAST16_MAX__ 65535
7626*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __UINT_FAST16_TYPE__ unsigned short
7627*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __UINT_FAST32_MAX__ 4294967295U
7628*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __UINT_FAST32_TYPE__ unsigned int
7629*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __UINT_FAST64_MAX__ 18446744073709551615UL
7630*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __UINT_FAST64_TYPE__ long unsigned int
7631*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __UINT_FAST8_MAX__ 255
7632*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __UINT_FAST8_TYPE__ unsigned char
7633*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __UINT_LEAST16_MAX__ 65535
7634*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __UINT_LEAST16_TYPE__ unsigned short
7635*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __UINT_LEAST32_MAX__ 4294967295U
7636*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __UINT_LEAST32_TYPE__ unsigned int
7637*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __UINT_LEAST64_MAX__ 18446744073709551615UL
7638*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __UINT_LEAST64_TYPE__ long unsigned int
7639*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __UINT_LEAST8_MAX__ 255
7640*0a6a1f1dSLionel Sambuc // X86_64-NETBSD:#define __UINT_LEAST8_TYPE__ unsigned char
7641f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __USER_LABEL_PREFIX__
7642f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __WCHAR_MAX__ 2147483647
7643f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __WCHAR_TYPE__ int
7644f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __WCHAR_WIDTH__ 32
7645f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __WINT_TYPE__ int
7646f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __WINT_WIDTH__ 32
7647f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __amd64 1
7648f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __amd64__ 1
7649f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __x86_64 1
7650f4a2713aSLionel Sambuc // X86_64-NETBSD:#define __x86_64__ 1
7651f4a2713aSLionel Sambuc //
7652f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=sparc64-none-none < /dev/null | FileCheck -check-prefix SPARCV9 %s
7653f4a2713aSLionel Sambuc // SPARCV9:#define __INT64_TYPE__ long int
7654*0a6a1f1dSLionel Sambuc // SPARCV9:#define __INTMAX_C_SUFFIX__ L
7655f4a2713aSLionel Sambuc // SPARCV9:#define __INTMAX_TYPE__ long int
7656f4a2713aSLionel Sambuc // SPARCV9:#define __INTPTR_TYPE__ long int
7657f4a2713aSLionel Sambuc // SPARCV9:#define __LONG_MAX__ 9223372036854775807L
7658f4a2713aSLionel Sambuc // SPARCV9:#define __LP64__ 1
7659f4a2713aSLionel Sambuc // SPARCV9:#define __SIZEOF_LONG__ 8
7660f4a2713aSLionel Sambuc // SPARCV9:#define __SIZEOF_POINTER__ 8
7661*0a6a1f1dSLionel Sambuc // SPARCV9:#define __UINTPTR_TYPE__ long unsigned int
7662f4a2713aSLionel Sambuc //
7663f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=sparc64-none-openbsd < /dev/null | FileCheck -check-prefix SPARC64-OBSD %s
7664f4a2713aSLionel Sambuc // SPARC64-OBSD:#define __INT64_TYPE__ long long int
7665*0a6a1f1dSLionel Sambuc // SPARC64-OBSD:#define __INTMAX_C_SUFFIX__ LL
7666f4a2713aSLionel Sambuc // SPARC64-OBSD:#define __INTMAX_TYPE__ long long int
7667*0a6a1f1dSLionel Sambuc // SPARC64-OBSD:#define __UINTMAX_C_SUFFIX__ ULL
7668f4a2713aSLionel Sambuc // SPARC64-OBSD:#define __UINTMAX_TYPE__ long long unsigned int
7669f4a2713aSLionel Sambuc //
7670f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=x86_64-pc-kfreebsd-gnu < /dev/null | FileCheck -check-prefix KFREEBSD-DEFINE %s
7671f4a2713aSLionel Sambuc // KFREEBSD-DEFINE:#define __FreeBSD_kernel__ 1
7672f4a2713aSLionel Sambuc // KFREEBSD-DEFINE:#define __GLIBC__ 1
7673f4a2713aSLionel Sambuc //
7674f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=i686-pc-kfreebsd-gnu < /dev/null | FileCheck -check-prefix KFREEBSDI686-DEFINE %s
7675f4a2713aSLionel Sambuc // KFREEBSDI686-DEFINE:#define __FreeBSD_kernel__ 1
7676f4a2713aSLionel Sambuc // KFREEBSDI686-DEFINE:#define __GLIBC__ 1
7677f4a2713aSLionel Sambuc //
7678f4a2713aSLionel Sambuc // RUN: %clang_cc1 -x c++ -triple i686-pc-linux-gnu -fobjc-runtime=gcc -E -dM < /dev/null | FileCheck -check-prefix GNUSOURCE %s
7679f4a2713aSLionel Sambuc // GNUSOURCE:#define _GNU_SOURCE 1
7680f4a2713aSLionel Sambuc //
7681f4a2713aSLionel Sambuc // RUN: %clang_cc1 -x c++ -std=c++98 -fno-rtti -E -dM < /dev/null | FileCheck -check-prefix NORTTI %s
7682f4a2713aSLionel Sambuc // NORTTI: __GXX_ABI_VERSION
7683f4a2713aSLionel Sambuc // NORTTI-NOT:#define __GXX_RTTI
7684f4a2713aSLionel Sambuc // NORTTI: __STDC__
7685f4a2713aSLionel Sambuc //
7686f4a2713aSLionel Sambuc // RUN: %clang_cc1 -triple arm-linux-androideabi -E -dM < /dev/null | FileCheck -check-prefix ANDROID %s
7687f4a2713aSLionel Sambuc // ANDROID: __ANDROID__ 1
7688f4a2713aSLionel Sambuc //
7689f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-unknown-freebsd < /dev/null | FileCheck -check-prefix PPC64-FREEBSD %s
7690f4a2713aSLionel Sambuc // PPC64-FREEBSD-NOT: #define __LONG_DOUBLE_128__ 1
7691f4a2713aSLionel Sambuc //
7692f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E -dM -ffreestanding -triple=xcore-none-none < /dev/null | FileCheck -check-prefix XCORE %s
7693*0a6a1f1dSLionel Sambuc // XCORE:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
7694*0a6a1f1dSLionel Sambuc // XCORE:#define __LITTLE_ENDIAN__ 1
7695f4a2713aSLionel Sambuc // XCORE:#define __XS1B__ 1
7696