1 // RUN: %clang_cc1 -E -dM -x assembler-with-cpp < /dev/null | FileCheck -match-full-lines -check-prefix ASM %s
2 //
3 // ASM:#define __ASSEMBLER__ 1
4 //
5 //
6 // RUN: %clang_cc1 -fblocks -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix BLOCKS %s
7 //
8 // BLOCKS:#define __BLOCKS__ 1
9 // BLOCKS:#define __block __attribute__((__blocks__(byref)))
10 //
11 //
12 // RUN: %clang_cc1 -x c++ -fgnuc-version=4.2.1 -std=c++20 -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix CXX2A %s
13 // RUN: %clang_cc1 -x c++ -fgnuc-version=4.2.1 -std=c++2a -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix CXX2A %s
14 //
15 // CXX2A:#define __GNUG__ 4
16 // CXX2A:#define __GXX_EXPERIMENTAL_CXX0X__ 1
17 // CXX2A:#define __GXX_RTTI 1
18 // CXX2A:#define __GXX_WEAK__ 1
19 // CXX2A:#define __cplusplus 202002L
20 // CXX2A:#define __private_extern__ extern
21 //
22 // RUN: %clang_cc1 -x c++ -fgnuc-version=4.2.1 -std=c++17 -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix CXX1Z %s
23 // RUN: %clang_cc1 -x c++ -fgnuc-version=4.2.1 -std=c++1z -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix CXX1Z %s
24 //
25 // CXX1Z:#define __GNUG__ 4
26 // CXX1Z:#define __GXX_EXPERIMENTAL_CXX0X__ 1
27 // CXX1Z:#define __GXX_RTTI 1
28 // CXX1Z:#define __GXX_WEAK__ 1
29 // CXX1Z:#define __cplusplus 201703L
30 // CXX1Z:#define __private_extern__ extern
31 //
32 //
33 // RUN: %clang_cc1 -x c++ -fgnuc-version=4.2.1 -std=c++14 -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix CXX1Y %s
34 // RUN: %clang_cc1 -x c++ -fgnuc-version=4.2.1 -std=c++1y -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix CXX1Y %s
35 //
36 // CXX1Y:#define __GNUG__ 4
37 // CXX1Y:#define __GXX_EXPERIMENTAL_CXX0X__ 1
38 // CXX1Y:#define __GXX_RTTI 1
39 // CXX1Y:#define __GXX_WEAK__ 1
40 // CXX1Y:#define __cplusplus 201402L
41 // CXX1Y:#define __private_extern__ extern
42 //
43 //
44 // RUN: %clang_cc1 -x c++ -fgnuc-version=4.2.1 -std=c++11 -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix CXX11 %s
45 //
46 // CXX11:#define __GNUG__ 4
47 // CXX11:#define __GXX_EXPERIMENTAL_CXX0X__ 1
48 // CXX11:#define __GXX_RTTI 1
49 // CXX11:#define __GXX_WEAK__ 1
50 // CXX11:#define __cplusplus 201103L
51 // CXX11:#define __private_extern__ extern
52 //
53 //
54 // RUN: %clang_cc1 -x c++ -fgnuc-version=4.2.1 -std=c++98 -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix CXX98 %s
55 //
56 // CXX98:#define __GNUG__ 4
57 // CXX98:#define __GXX_RTTI 1
58 // CXX98:#define __GXX_WEAK__ 1
59 // CXX98:#define __cplusplus 199711L
60 // CXX98:#define __private_extern__ extern
61 //
62 //
63 // RUN: %clang_cc1 -fdeprecated-macro -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix DEPRECATED %s
64 //
65 // DEPRECATED:#define __DEPRECATED 1
66 //
67 //
68 // RUN: %clang_cc1 -std=c99 -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix C99 %s
69 //
70 // C99:#define __STDC_VERSION__ 199901L
71 // C99:#define __STRICT_ANSI__ 1
72 // C99-NOT: __GXX_EXPERIMENTAL_CXX0X__
73 // C99-NOT: __GXX_RTTI
74 // C99-NOT: __GXX_WEAK__
75 // C99-NOT: __cplusplus
76 //
77 //
78 // RUN: %clang_cc1 -std=c11 -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix C11 %s
79 // RUN: %clang_cc1 -std=c1x -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix C11 %s
80 // RUN: %clang_cc1 -std=iso9899:2011 -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix C11 %s
81 // RUN: %clang_cc1 -std=iso9899:201x -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix C11 %s
82 //
83 // C11:#define __STDC_UTF_16__ 1
84 // C11:#define __STDC_UTF_32__ 1
85 // C11:#define __STDC_VERSION__ 201112L
86 // C11:#define __STRICT_ANSI__ 1
87 // C11-NOT: __GXX_EXPERIMENTAL_CXX0X__
88 // C11-NOT: __GXX_RTTI
89 // C11-NOT: __GXX_WEAK__
90 // C11-NOT: __cplusplus
91 //
92 //
93 // RUN: %clang_cc1 -fgnuc-version=4.2.1 -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix COMMON %s
94 //
95 // COMMON:#define __CONSTANT_CFSTRINGS__ 1
96 // COMMON:#define __FINITE_MATH_ONLY__ 0
97 // COMMON:#define __GNUC_MINOR__ {{.*}}
98 // COMMON:#define __GNUC_PATCHLEVEL__ {{.*}}
99 // COMMON:#define __GNUC_STDC_INLINE__ 1
100 // COMMON:#define __GNUC__ {{.*}}
101 // COMMON:#define __GXX_ABI_VERSION {{.*}}
102 // COMMON:#define __ORDER_BIG_ENDIAN__ 4321
103 // COMMON:#define __ORDER_LITTLE_ENDIAN__ 1234
104 // COMMON:#define __ORDER_PDP_ENDIAN__ 3412
105 // COMMON:#define __STDC_HOSTED__ 1
106 // COMMON:#define __STDC__ 1
107 // COMMON:#define __VERSION__ {{.*}}
108 // COMMON:#define __clang__ 1
109 // COMMON:#define __clang_major__ {{[0-9]+}}
110 // COMMON:#define __clang_minor__ {{[0-9]+}}
111 // COMMON:#define __clang_patchlevel__ {{[0-9]+}}
112 // COMMON:#define __clang_version__ {{.*}}
113 // COMMON:#define __llvm__ 1
114 //
115 // RUN: %clang_cc1 -E -dM -triple=x86_64-pc-win32 < /dev/null | FileCheck -match-full-lines -check-prefix C-DEFAULT %s
116 // RUN: %clang_cc1 -E -dM -triple=x86_64-pc-linux-gnu < /dev/null | FileCheck -match-full-lines -check-prefix C-DEFAULT %s
117 // RUN: %clang_cc1 -E -dM -triple=x86_64-apple-darwin < /dev/null | FileCheck -match-full-lines -check-prefix C-DEFAULT %s
118 // RUN: %clang_cc1 -E -dM -triple=armv7a-apple-darwin < /dev/null | FileCheck -match-full-lines -check-prefix C-DEFAULT %s
119 //
120 // C-DEFAULT:#define __STDC_VERSION__ 201112L
121 //
122 // RUN: %clang_cc1 -ffreestanding -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix FREESTANDING %s
123 // FREESTANDING:#define __STDC_HOSTED__ 0
124 //
125 // RUN: %clang_cc1 -x c++ -fgnuc-version=4.2.1 -std=gnu++20 -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix GXX2A %s
126 // RUN: %clang_cc1 -x c++ -fgnuc-version=4.2.1 -std=gnu++2a -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix GXX2A %s
127 //
128 // GXX2A:#define __GNUG__ 4
129 // GXX2A:#define __GXX_WEAK__ 1
130 // GXX2A:#define __cplusplus 202002L
131 // GXX2A:#define __private_extern__ extern
132 //
133 //
134 // RUN: %clang_cc1 -x c++ -fgnuc-version=4.2.1 -std=gnu++17 -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix GXX1Z %s
135 // RUN: %clang_cc1 -x c++ -fgnuc-version=4.2.1 -std=gnu++1z -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix GXX1Z %s
136 //
137 // GXX1Z:#define __GNUG__ 4
138 // GXX1Z:#define __GXX_WEAK__ 1
139 // GXX1Z:#define __cplusplus 201703L
140 // GXX1Z:#define __private_extern__ extern
141 //
142 //
143 // RUN: %clang_cc1 -x c++ -fgnuc-version=4.2.1 -std=gnu++14 -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix GXX1Y %s
144 // RUN: %clang_cc1 -x c++ -fgnuc-version=4.2.1 -std=gnu++1y -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix GXX1Y %s
145 //
146 // GXX1Y:#define __GNUG__ 4
147 // GXX1Y:#define __GXX_WEAK__ 1
148 // GXX1Y:#define __cplusplus 201402L
149 // GXX1Y:#define __private_extern__ extern
150 //
151 //
152 // RUN: %clang_cc1 -x c++ -fgnuc-version=4.2.1 -std=gnu++11 -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix GXX11 %s
153 //
154 // GXX11:#define __GNUG__ 4
155 // GXX11:#define __GXX_WEAK__ 1
156 // GXX11:#define __cplusplus 201103L
157 // GXX11:#define __private_extern__ extern
158 //
159 //
160 // RUN: %clang_cc1 -x c++ -fgnuc-version=4.2.1 -std=gnu++98 -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix GXX98 %s
161 //
162 // GXX98:#define __GNUG__ 4
163 // GXX98:#define __GXX_WEAK__ 1
164 // GXX98:#define __cplusplus 199711L
165 // GXX98:#define __private_extern__ extern
166 //
167 //
168 // RUN: %clang_cc1 -std=iso9899:199409 -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix C94 %s
169 //
170 // C94:#define __STDC_VERSION__ 199409L
171 //
172 //
173 // RUN: %clang_cc1 -fms-extensions -triple i686-pc-win32 -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix MSEXT %s
174 //
175 // MSEXT-NOT:#define __STDC__
176 // MSEXT:#define _INTEGRAL_MAX_BITS 64
177 // MSEXT-NOT:#define _NATIVE_WCHAR_T_DEFINED 1
178 // MSEXT-NOT:#define _WCHAR_T_DEFINED 1
179 //
180 //
181 // RUN: %clang_cc1 -x c++ -fms-extensions -triple i686-pc-win32 -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix MSEXT-CXX %s
182 //
183 // MSEXT-CXX:#define _NATIVE_WCHAR_T_DEFINED 1
184 // MSEXT-CXX:#define _WCHAR_T_DEFINED 1
185 // MSEXT-CXX:#define __BOOL_DEFINED 1
186 //
187 //
188 // RUN: %clang_cc1 -x c++ -fno-wchar -fms-extensions -triple i686-pc-win32 -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix MSEXT-CXX-NOWCHAR %s
189 //
190 // MSEXT-CXX-NOWCHAR-NOT:#define _NATIVE_WCHAR_T_DEFINED 1
191 // MSEXT-CXX-NOWCHAR-NOT:#define _WCHAR_T_DEFINED 1
192 // MSEXT-CXX-NOWCHAR:#define __BOOL_DEFINED 1
193 //
194 //
195 // RUN: %clang_cc1 -x objective-c -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix OBJC %s
196 //
197 // OBJC:#define OBJC_NEW_PROPERTIES 1
198 // OBJC:#define __NEXT_RUNTIME__ 1
199 // OBJC:#define __OBJC__ 1
200 //
201 //
202 // RUN: %clang_cc1 -x objective-c -fobjc-gc -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix OBJCGC %s
203 //
204 // OBJCGC:#define __OBJC_GC__ 1
205 //
206 //
207 // RUN: %clang_cc1 -x objective-c -fobjc-exceptions -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix NONFRAGILE %s
208 //
209 // NONFRAGILE:#define OBJC_ZEROCOST_EXCEPTIONS 1
210 // NONFRAGILE:#define __OBJC2__ 1
211 //
212 //
213 // RUN: %clang_cc1 -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix O0 %s
214 //
215 // O0:#define __NO_INLINE__ 1
216 // O0-NOT:#define __OPTIMIZE_SIZE__
217 // O0-NOT:#define __OPTIMIZE__
218 //
219 //
220 // RUN: %clang_cc1 -fno-inline -O3 -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix NO_INLINE %s
221 //
222 // NO_INLINE:#define __NO_INLINE__ 1
223 // NO_INLINE-NOT:#define __OPTIMIZE_SIZE__
224 // NO_INLINE:#define __OPTIMIZE__ 1
225 //
226 //
227 // RUN: %clang_cc1 -O1 -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix O1 %s
228 //
229 // O1-NOT:#define __OPTIMIZE_SIZE__
230 // O1:#define __OPTIMIZE__ 1
231 //
232 //
233 // RUN: %clang_cc1 -Og -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix Og %s
234 //
235 // Og-NOT:#define __OPTIMIZE_SIZE__
236 // Og	:#define __OPTIMIZE__ 1
237 //
238 //
239 // RUN: %clang_cc1 -Os -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix Os %s
240 //
241 // Os:#define __OPTIMIZE_SIZE__ 1
242 // Os:#define __OPTIMIZE__ 1
243 //
244 //
245 // RUN: %clang_cc1 -Oz -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix Oz %s
246 //
247 // Oz:#define __OPTIMIZE_SIZE__ 1
248 // Oz:#define __OPTIMIZE__ 1
249 //
250 //
251 // RUN: %clang_cc1 -fpascal-strings -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix PASCAL %s
252 //
253 // PASCAL:#define __PASCAL_STRINGS__ 1
254 //
255 //
256 // RUN: %clang_cc1 -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix SCHAR %s
257 //
258 // SCHAR:#define __STDC__ 1
259 // SCHAR-NOT:#define __UNSIGNED_CHAR__
260 // SCHAR:#define __clang__ 1
261 //
262 // RUN: %clang_cc1 -E -dM -fwchar-type=short -fno-signed-wchar < /dev/null | FileCheck -match-full-lines -check-prefix SHORTWCHAR %s
263 // wchar_t is u16 for targeting Win32.
264 // RUN: %clang_cc1 -E -dM -fwchar-type=short -fno-signed-wchar -triple=x86_64-w64-mingw32 < /dev/null | FileCheck -match-full-lines -check-prefix SHORTWCHAR %s
265 // RUN: %clang_cc1 -dM -fwchar-type=short -fno-signed-wchar -triple=x86_64-unknown-windows-cygnus -E /dev/null | FileCheck -match-full-lines -check-prefix SHORTWCHAR %s
266 //
267 // SHORTWCHAR: #define __SIZEOF_WCHAR_T__ 2
268 // SHORTWCHAR: #define __WCHAR_MAX__ 65535
269 // SHORTWCHAR: #define __WCHAR_TYPE__ unsigned short
270 // SHORTWCHAR: #define __WCHAR_WIDTH__ 16
271 //
272 // RUN: %clang_cc1 -E -dM -fwchar-type=int -triple=i686-unknown-unknown < /dev/null | FileCheck -match-full-lines -check-prefix SHORTWCHAR2 %s
273 // RUN: %clang_cc1 -E -dM -fwchar-type=int -triple=x86_64-unknown-unknown < /dev/null | FileCheck -match-full-lines -check-prefix SHORTWCHAR2 %s
274 //
275 // SHORTWCHAR2: #define __SIZEOF_WCHAR_T__ 4
276 // SHORTWCHAR2: #define __WCHAR_WIDTH__ 32
277 // Other definitions vary from platform to platform
278 
279 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=aarch64-none-none < /dev/null | FileCheck -match-full-lines -check-prefix AARCH64 %s
280 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=arm64-none-none < /dev/null | FileCheck -match-full-lines -check-prefix AARCH64 %s
281 // RUN: %clang_cc1 -x c++ -E -dM -ffreestanding -triple=arm64-none-none < /dev/null | FileCheck -match-full-lines -check-prefix AARCH64 -check-prefix AARCH64-CXX %s
282 //
283 // AARCH64:#define _LP64 1
284 // AARCH64-NOT:#define __AARCH64EB__ 1
285 // AARCH64:#define __AARCH64EL__ 1
286 // AARCH64-NOT:#define __AARCH_BIG_ENDIAN 1
287 // AARCH64:#define __ARM_64BIT_STATE 1
288 // AARCH64:#define __ARM_ARCH 8
289 // AARCH64:#define __ARM_ARCH_ISA_A64 1
290 // AARCH64-NOT:#define __ARM_BIG_ENDIAN 1
291 // AARCH64:#define __BIGGEST_ALIGNMENT__ 16
292 // AARCH64:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
293 // AARCH64:#define __CHAR16_TYPE__ unsigned short
294 // AARCH64:#define __CHAR32_TYPE__ unsigned int
295 // AARCH64:#define __CHAR_BIT__ 8
296 // AARCH64:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
297 // AARCH64:#define __DBL_DIG__ 15
298 // AARCH64:#define __DBL_EPSILON__ 2.2204460492503131e-16
299 // AARCH64:#define __DBL_HAS_DENORM__ 1
300 // AARCH64:#define __DBL_HAS_INFINITY__ 1
301 // AARCH64:#define __DBL_HAS_QUIET_NAN__ 1
302 // AARCH64:#define __DBL_MANT_DIG__ 53
303 // AARCH64:#define __DBL_MAX_10_EXP__ 308
304 // AARCH64:#define __DBL_MAX_EXP__ 1024
305 // AARCH64:#define __DBL_MAX__ 1.7976931348623157e+308
306 // AARCH64:#define __DBL_MIN_10_EXP__ (-307)
307 // AARCH64:#define __DBL_MIN_EXP__ (-1021)
308 // AARCH64:#define __DBL_MIN__ 2.2250738585072014e-308
309 // AARCH64:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
310 // AARCH64:#define __FLT16_DECIMAL_DIG__ 5
311 // AARCH64:#define __FLT16_DENORM_MIN__ 5.9604644775390625e-8F16
312 // AARCH64:#define __FLT16_DIG__ 3
313 // AARCH64:#define __FLT16_EPSILON__ 9.765625e-4F16
314 // AARCH64:#define __FLT16_HAS_DENORM__ 1
315 // AARCH64:#define __FLT16_HAS_INFINITY__ 1
316 // AARCH64:#define __FLT16_HAS_QUIET_NAN__ 1
317 // AARCH64:#define __FLT16_MANT_DIG__ 11
318 // AARCH64:#define __FLT16_MAX_10_EXP__ 4
319 // AARCH64:#define __FLT16_MAX_EXP__ 16
320 // AARCH64:#define __FLT16_MAX__ 6.5504e+4F16
321 // AARCH64:#define __FLT16_MIN_10_EXP__ (-4)
322 // AARCH64:#define __FLT16_MIN_EXP__ (-13)
323 // AARCH64:#define __FLT16_MIN__ 6.103515625e-5F16
324 // AARCH64:#define __FLT_DENORM_MIN__ 1.40129846e-45F
325 // AARCH64:#define __FLT_DIG__ 6
326 // AARCH64:#define __FLT_EPSILON__ 1.19209290e-7F
327 // AARCH64:#define __FLT_EVAL_METHOD__ 0
328 // AARCH64:#define __FLT_HAS_DENORM__ 1
329 // AARCH64:#define __FLT_HAS_INFINITY__ 1
330 // AARCH64:#define __FLT_HAS_QUIET_NAN__ 1
331 // AARCH64:#define __FLT_MANT_DIG__ 24
332 // AARCH64:#define __FLT_MAX_10_EXP__ 38
333 // AARCH64:#define __FLT_MAX_EXP__ 128
334 // AARCH64:#define __FLT_MAX__ 3.40282347e+38F
335 // AARCH64:#define __FLT_MIN_10_EXP__ (-37)
336 // AARCH64:#define __FLT_MIN_EXP__ (-125)
337 // AARCH64:#define __FLT_MIN__ 1.17549435e-38F
338 // AARCH64:#define __FLT_RADIX__ 2
339 // AARCH64:#define __INT16_C_SUFFIX__
340 // AARCH64:#define __INT16_FMTd__ "hd"
341 // AARCH64:#define __INT16_FMTi__ "hi"
342 // AARCH64:#define __INT16_MAX__ 32767
343 // AARCH64:#define __INT16_TYPE__ short
344 // AARCH64:#define __INT32_C_SUFFIX__
345 // AARCH64:#define __INT32_FMTd__ "d"
346 // AARCH64:#define __INT32_FMTi__ "i"
347 // AARCH64:#define __INT32_MAX__ 2147483647
348 // AARCH64:#define __INT32_TYPE__ int
349 // AARCH64:#define __INT64_C_SUFFIX__ L
350 // AARCH64:#define __INT64_FMTd__ "ld"
351 // AARCH64:#define __INT64_FMTi__ "li"
352 // AARCH64:#define __INT64_MAX__ 9223372036854775807L
353 // AARCH64:#define __INT64_TYPE__ long int
354 // AARCH64:#define __INT8_C_SUFFIX__
355 // AARCH64:#define __INT8_FMTd__ "hhd"
356 // AARCH64:#define __INT8_FMTi__ "hhi"
357 // AARCH64:#define __INT8_MAX__ 127
358 // AARCH64:#define __INT8_TYPE__ signed char
359 // AARCH64:#define __INTMAX_C_SUFFIX__ L
360 // AARCH64:#define __INTMAX_FMTd__ "ld"
361 // AARCH64:#define __INTMAX_FMTi__ "li"
362 // AARCH64:#define __INTMAX_MAX__ 9223372036854775807L
363 // AARCH64:#define __INTMAX_TYPE__ long int
364 // AARCH64:#define __INTMAX_WIDTH__ 64
365 // AARCH64:#define __INTPTR_FMTd__ "ld"
366 // AARCH64:#define __INTPTR_FMTi__ "li"
367 // AARCH64:#define __INTPTR_MAX__ 9223372036854775807L
368 // AARCH64:#define __INTPTR_TYPE__ long int
369 // AARCH64:#define __INTPTR_WIDTH__ 64
370 // AARCH64:#define __INT_FAST16_FMTd__ "hd"
371 // AARCH64:#define __INT_FAST16_FMTi__ "hi"
372 // AARCH64:#define __INT_FAST16_MAX__ 32767
373 // AARCH64:#define __INT_FAST16_TYPE__ short
374 // AARCH64:#define __INT_FAST32_FMTd__ "d"
375 // AARCH64:#define __INT_FAST32_FMTi__ "i"
376 // AARCH64:#define __INT_FAST32_MAX__ 2147483647
377 // AARCH64:#define __INT_FAST32_TYPE__ int
378 // AARCH64:#define __INT_FAST64_FMTd__ "ld"
379 // AARCH64:#define __INT_FAST64_FMTi__ "li"
380 // AARCH64:#define __INT_FAST64_MAX__ 9223372036854775807L
381 // AARCH64:#define __INT_FAST64_TYPE__ long int
382 // AARCH64:#define __INT_FAST8_FMTd__ "hhd"
383 // AARCH64:#define __INT_FAST8_FMTi__ "hhi"
384 // AARCH64:#define __INT_FAST8_MAX__ 127
385 // AARCH64:#define __INT_FAST8_TYPE__ signed char
386 // AARCH64:#define __INT_LEAST16_FMTd__ "hd"
387 // AARCH64:#define __INT_LEAST16_FMTi__ "hi"
388 // AARCH64:#define __INT_LEAST16_MAX__ 32767
389 // AARCH64:#define __INT_LEAST16_TYPE__ short
390 // AARCH64:#define __INT_LEAST32_FMTd__ "d"
391 // AARCH64:#define __INT_LEAST32_FMTi__ "i"
392 // AARCH64:#define __INT_LEAST32_MAX__ 2147483647
393 // AARCH64:#define __INT_LEAST32_TYPE__ int
394 // AARCH64:#define __INT_LEAST64_FMTd__ "ld"
395 // AARCH64:#define __INT_LEAST64_FMTi__ "li"
396 // AARCH64:#define __INT_LEAST64_MAX__ 9223372036854775807L
397 // AARCH64:#define __INT_LEAST64_TYPE__ long int
398 // AARCH64:#define __INT_LEAST8_FMTd__ "hhd"
399 // AARCH64:#define __INT_LEAST8_FMTi__ "hhi"
400 // AARCH64:#define __INT_LEAST8_MAX__ 127
401 // AARCH64:#define __INT_LEAST8_TYPE__ signed char
402 // AARCH64:#define __INT_MAX__ 2147483647
403 // AARCH64:#define __LDBL_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966L
404 // AARCH64:#define __LDBL_DIG__ 33
405 // AARCH64:#define __LDBL_EPSILON__ 1.92592994438723585305597794258492732e-34L
406 // AARCH64:#define __LDBL_HAS_DENORM__ 1
407 // AARCH64:#define __LDBL_HAS_INFINITY__ 1
408 // AARCH64:#define __LDBL_HAS_QUIET_NAN__ 1
409 // AARCH64:#define __LDBL_MANT_DIG__ 113
410 // AARCH64:#define __LDBL_MAX_10_EXP__ 4932
411 // AARCH64:#define __LDBL_MAX_EXP__ 16384
412 // AARCH64:#define __LDBL_MAX__ 1.18973149535723176508575932662800702e+4932L
413 // AARCH64:#define __LDBL_MIN_10_EXP__ (-4931)
414 // AARCH64:#define __LDBL_MIN_EXP__ (-16381)
415 // AARCH64:#define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L
416 // AARCH64:#define __LONG_LONG_MAX__ 9223372036854775807LL
417 // AARCH64:#define __LONG_MAX__ 9223372036854775807L
418 // AARCH64:#define __LP64__ 1
419 // AARCH64:#define __POINTER_WIDTH__ 64
420 // AARCH64:#define __PTRDIFF_TYPE__ long int
421 // AARCH64:#define __PTRDIFF_WIDTH__ 64
422 // AARCH64:#define __SCHAR_MAX__ 127
423 // AARCH64:#define __SHRT_MAX__ 32767
424 // AARCH64:#define __SIG_ATOMIC_MAX__ 2147483647
425 // AARCH64:#define __SIG_ATOMIC_WIDTH__ 32
426 // AARCH64:#define __SIZEOF_DOUBLE__ 8
427 // AARCH64:#define __SIZEOF_FLOAT__ 4
428 // AARCH64:#define __SIZEOF_INT128__ 16
429 // AARCH64:#define __SIZEOF_INT__ 4
430 // AARCH64:#define __SIZEOF_LONG_DOUBLE__ 16
431 // AARCH64:#define __SIZEOF_LONG_LONG__ 8
432 // AARCH64:#define __SIZEOF_LONG__ 8
433 // AARCH64:#define __SIZEOF_POINTER__ 8
434 // AARCH64:#define __SIZEOF_PTRDIFF_T__ 8
435 // AARCH64:#define __SIZEOF_SHORT__ 2
436 // AARCH64:#define __SIZEOF_SIZE_T__ 8
437 // AARCH64:#define __SIZEOF_WCHAR_T__ 4
438 // AARCH64:#define __SIZEOF_WINT_T__ 4
439 // AARCH64:#define __SIZE_MAX__ 18446744073709551615UL
440 // AARCH64:#define __SIZE_TYPE__ long unsigned int
441 // AARCH64:#define __SIZE_WIDTH__ 64
442 // AARCH64-CXX:#define __STDCPP_DEFAULT_NEW_ALIGNMENT__ 16UL
443 // AARCH64:#define __UINT16_C_SUFFIX__
444 // AARCH64:#define __UINT16_MAX__ 65535
445 // AARCH64:#define __UINT16_TYPE__ unsigned short
446 // AARCH64:#define __UINT32_C_SUFFIX__ U
447 // AARCH64:#define __UINT32_MAX__ 4294967295U
448 // AARCH64:#define __UINT32_TYPE__ unsigned int
449 // AARCH64:#define __UINT64_C_SUFFIX__ UL
450 // AARCH64:#define __UINT64_MAX__ 18446744073709551615UL
451 // AARCH64:#define __UINT64_TYPE__ long unsigned int
452 // AARCH64:#define __UINT8_C_SUFFIX__
453 // AARCH64:#define __UINT8_MAX__ 255
454 // AARCH64:#define __UINT8_TYPE__ unsigned char
455 // AARCH64:#define __UINTMAX_C_SUFFIX__ UL
456 // AARCH64:#define __UINTMAX_MAX__ 18446744073709551615UL
457 // AARCH64:#define __UINTMAX_TYPE__ long unsigned int
458 // AARCH64:#define __UINTMAX_WIDTH__ 64
459 // AARCH64:#define __UINTPTR_MAX__ 18446744073709551615UL
460 // AARCH64:#define __UINTPTR_TYPE__ long unsigned int
461 // AARCH64:#define __UINTPTR_WIDTH__ 64
462 // AARCH64:#define __UINT_FAST16_MAX__ 65535
463 // AARCH64:#define __UINT_FAST16_TYPE__ unsigned short
464 // AARCH64:#define __UINT_FAST32_MAX__ 4294967295U
465 // AARCH64:#define __UINT_FAST32_TYPE__ unsigned int
466 // AARCH64:#define __UINT_FAST64_MAX__ 18446744073709551615UL
467 // AARCH64:#define __UINT_FAST64_TYPE__ long unsigned int
468 // AARCH64:#define __UINT_FAST8_MAX__ 255
469 // AARCH64:#define __UINT_FAST8_TYPE__ unsigned char
470 // AARCH64:#define __UINT_LEAST16_MAX__ 65535
471 // AARCH64:#define __UINT_LEAST16_TYPE__ unsigned short
472 // AARCH64:#define __UINT_LEAST32_MAX__ 4294967295U
473 // AARCH64:#define __UINT_LEAST32_TYPE__ unsigned int
474 // AARCH64:#define __UINT_LEAST64_MAX__ 18446744073709551615UL
475 // AARCH64:#define __UINT_LEAST64_TYPE__ long unsigned int
476 // AARCH64:#define __UINT_LEAST8_MAX__ 255
477 // AARCH64:#define __UINT_LEAST8_TYPE__ unsigned char
478 // AARCH64:#define __USER_LABEL_PREFIX__
479 // AARCH64:#define __WCHAR_MAX__ 4294967295U
480 // AARCH64:#define __WCHAR_TYPE__ unsigned int
481 // AARCH64:#define __WCHAR_UNSIGNED__ 1
482 // AARCH64:#define __WCHAR_WIDTH__ 32
483 // AARCH64:#define __WINT_TYPE__ int
484 // AARCH64:#define __WINT_WIDTH__ 32
485 // AARCH64:#define __aarch64__ 1
486 //
487 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=aarch64_be-none-none < /dev/null | FileCheck -match-full-lines -check-prefix AARCH64-BE %s
488 //
489 // AARCH64-BE:#define _LP64 1
490 // AARCH64-BE:#define __AARCH64EB__ 1
491 // AARCH64-BE-NOT:#define __AARCH64EL__ 1
492 // AARCH64-BE:#define __AARCH_BIG_ENDIAN 1
493 // AARCH64-BE:#define __ARM_64BIT_STATE 1
494 // AARCH64-BE:#define __ARM_ARCH 8
495 // AARCH64-BE:#define __ARM_ARCH_ISA_A64 1
496 // AARCH64-BE:#define __ARM_BIG_ENDIAN 1
497 // AARCH64-BE:#define __BIGGEST_ALIGNMENT__ 16
498 // AARCH64-BE:#define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__
499 // AARCH64-BE:#define __CHAR16_TYPE__ unsigned short
500 // AARCH64-BE:#define __CHAR32_TYPE__ unsigned int
501 // AARCH64-BE:#define __CHAR_BIT__ 8
502 // AARCH64-BE:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
503 // AARCH64-BE:#define __DBL_DIG__ 15
504 // AARCH64-BE:#define __DBL_EPSILON__ 2.2204460492503131e-16
505 // AARCH64-BE:#define __DBL_HAS_DENORM__ 1
506 // AARCH64-BE:#define __DBL_HAS_INFINITY__ 1
507 // AARCH64-BE:#define __DBL_HAS_QUIET_NAN__ 1
508 // AARCH64-BE:#define __DBL_MANT_DIG__ 53
509 // AARCH64-BE:#define __DBL_MAX_10_EXP__ 308
510 // AARCH64-BE:#define __DBL_MAX_EXP__ 1024
511 // AARCH64-BE:#define __DBL_MAX__ 1.7976931348623157e+308
512 // AARCH64-BE:#define __DBL_MIN_10_EXP__ (-307)
513 // AARCH64-BE:#define __DBL_MIN_EXP__ (-1021)
514 // AARCH64-BE:#define __DBL_MIN__ 2.2250738585072014e-308
515 // AARCH64-BE:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
516 // AARCH64-BE:#define __FLT_DENORM_MIN__ 1.40129846e-45F
517 // AARCH64-BE:#define __FLT_DIG__ 6
518 // AARCH64-BE:#define __FLT_EPSILON__ 1.19209290e-7F
519 // AARCH64-BE:#define __FLT_EVAL_METHOD__ 0
520 // AARCH64-BE:#define __FLT_HAS_DENORM__ 1
521 // AARCH64-BE:#define __FLT_HAS_INFINITY__ 1
522 // AARCH64-BE:#define __FLT_HAS_QUIET_NAN__ 1
523 // AARCH64-BE:#define __FLT_MANT_DIG__ 24
524 // AARCH64-BE:#define __FLT_MAX_10_EXP__ 38
525 // AARCH64-BE:#define __FLT_MAX_EXP__ 128
526 // AARCH64-BE:#define __FLT_MAX__ 3.40282347e+38F
527 // AARCH64-BE:#define __FLT_MIN_10_EXP__ (-37)
528 // AARCH64-BE:#define __FLT_MIN_EXP__ (-125)
529 // AARCH64-BE:#define __FLT_MIN__ 1.17549435e-38F
530 // AARCH64-BE:#define __FLT_RADIX__ 2
531 // AARCH64-BE:#define __INT16_C_SUFFIX__
532 // AARCH64-BE:#define __INT16_FMTd__ "hd"
533 // AARCH64-BE:#define __INT16_FMTi__ "hi"
534 // AARCH64-BE:#define __INT16_MAX__ 32767
535 // AARCH64-BE:#define __INT16_TYPE__ short
536 // AARCH64-BE:#define __INT32_C_SUFFIX__
537 // AARCH64-BE:#define __INT32_FMTd__ "d"
538 // AARCH64-BE:#define __INT32_FMTi__ "i"
539 // AARCH64-BE:#define __INT32_MAX__ 2147483647
540 // AARCH64-BE:#define __INT32_TYPE__ int
541 // AARCH64-BE:#define __INT64_C_SUFFIX__ L
542 // AARCH64-BE:#define __INT64_FMTd__ "ld"
543 // AARCH64-BE:#define __INT64_FMTi__ "li"
544 // AARCH64-BE:#define __INT64_MAX__ 9223372036854775807L
545 // AARCH64-BE:#define __INT64_TYPE__ long int
546 // AARCH64-BE:#define __INT8_C_SUFFIX__
547 // AARCH64-BE:#define __INT8_FMTd__ "hhd"
548 // AARCH64-BE:#define __INT8_FMTi__ "hhi"
549 // AARCH64-BE:#define __INT8_MAX__ 127
550 // AARCH64-BE:#define __INT8_TYPE__ signed char
551 // AARCH64-BE:#define __INTMAX_C_SUFFIX__ L
552 // AARCH64-BE:#define __INTMAX_FMTd__ "ld"
553 // AARCH64-BE:#define __INTMAX_FMTi__ "li"
554 // AARCH64-BE:#define __INTMAX_MAX__ 9223372036854775807L
555 // AARCH64-BE:#define __INTMAX_TYPE__ long int
556 // AARCH64-BE:#define __INTMAX_WIDTH__ 64
557 // AARCH64-BE:#define __INTPTR_FMTd__ "ld"
558 // AARCH64-BE:#define __INTPTR_FMTi__ "li"
559 // AARCH64-BE:#define __INTPTR_MAX__ 9223372036854775807L
560 // AARCH64-BE:#define __INTPTR_TYPE__ long int
561 // AARCH64-BE:#define __INTPTR_WIDTH__ 64
562 // AARCH64-BE:#define __INT_FAST16_FMTd__ "hd"
563 // AARCH64-BE:#define __INT_FAST16_FMTi__ "hi"
564 // AARCH64-BE:#define __INT_FAST16_MAX__ 32767
565 // AARCH64-BE:#define __INT_FAST16_TYPE__ short
566 // AARCH64-BE:#define __INT_FAST32_FMTd__ "d"
567 // AARCH64-BE:#define __INT_FAST32_FMTi__ "i"
568 // AARCH64-BE:#define __INT_FAST32_MAX__ 2147483647
569 // AARCH64-BE:#define __INT_FAST32_TYPE__ int
570 // AARCH64-BE:#define __INT_FAST64_FMTd__ "ld"
571 // AARCH64-BE:#define __INT_FAST64_FMTi__ "li"
572 // AARCH64-BE:#define __INT_FAST64_MAX__ 9223372036854775807L
573 // AARCH64-BE:#define __INT_FAST64_TYPE__ long int
574 // AARCH64-BE:#define __INT_FAST8_FMTd__ "hhd"
575 // AARCH64-BE:#define __INT_FAST8_FMTi__ "hhi"
576 // AARCH64-BE:#define __INT_FAST8_MAX__ 127
577 // AARCH64-BE:#define __INT_FAST8_TYPE__ signed char
578 // AARCH64-BE:#define __INT_LEAST16_FMTd__ "hd"
579 // AARCH64-BE:#define __INT_LEAST16_FMTi__ "hi"
580 // AARCH64-BE:#define __INT_LEAST16_MAX__ 32767
581 // AARCH64-BE:#define __INT_LEAST16_TYPE__ short
582 // AARCH64-BE:#define __INT_LEAST32_FMTd__ "d"
583 // AARCH64-BE:#define __INT_LEAST32_FMTi__ "i"
584 // AARCH64-BE:#define __INT_LEAST32_MAX__ 2147483647
585 // AARCH64-BE:#define __INT_LEAST32_TYPE__ int
586 // AARCH64-BE:#define __INT_LEAST64_FMTd__ "ld"
587 // AARCH64-BE:#define __INT_LEAST64_FMTi__ "li"
588 // AARCH64-BE:#define __INT_LEAST64_MAX__ 9223372036854775807L
589 // AARCH64-BE:#define __INT_LEAST64_TYPE__ long int
590 // AARCH64-BE:#define __INT_LEAST8_FMTd__ "hhd"
591 // AARCH64-BE:#define __INT_LEAST8_FMTi__ "hhi"
592 // AARCH64-BE:#define __INT_LEAST8_MAX__ 127
593 // AARCH64-BE:#define __INT_LEAST8_TYPE__ signed char
594 // AARCH64-BE:#define __INT_MAX__ 2147483647
595 // AARCH64-BE:#define __LDBL_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966L
596 // AARCH64-BE:#define __LDBL_DIG__ 33
597 // AARCH64-BE:#define __LDBL_EPSILON__ 1.92592994438723585305597794258492732e-34L
598 // AARCH64-BE:#define __LDBL_HAS_DENORM__ 1
599 // AARCH64-BE:#define __LDBL_HAS_INFINITY__ 1
600 // AARCH64-BE:#define __LDBL_HAS_QUIET_NAN__ 1
601 // AARCH64-BE:#define __LDBL_MANT_DIG__ 113
602 // AARCH64-BE:#define __LDBL_MAX_10_EXP__ 4932
603 // AARCH64-BE:#define __LDBL_MAX_EXP__ 16384
604 // AARCH64-BE:#define __LDBL_MAX__ 1.18973149535723176508575932662800702e+4932L
605 // AARCH64-BE:#define __LDBL_MIN_10_EXP__ (-4931)
606 // AARCH64-BE:#define __LDBL_MIN_EXP__ (-16381)
607 // AARCH64-BE:#define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L
608 // AARCH64-BE:#define __LONG_LONG_MAX__ 9223372036854775807LL
609 // AARCH64-BE:#define __LONG_MAX__ 9223372036854775807L
610 // AARCH64-BE:#define __LP64__ 1
611 // AARCH64-BE:#define __POINTER_WIDTH__ 64
612 // AARCH64-BE:#define __PTRDIFF_TYPE__ long int
613 // AARCH64-BE:#define __PTRDIFF_WIDTH__ 64
614 // AARCH64-BE:#define __SCHAR_MAX__ 127
615 // AARCH64-BE:#define __SHRT_MAX__ 32767
616 // AARCH64-BE:#define __SIG_ATOMIC_MAX__ 2147483647
617 // AARCH64-BE:#define __SIG_ATOMIC_WIDTH__ 32
618 // AARCH64-BE:#define __SIZEOF_DOUBLE__ 8
619 // AARCH64-BE:#define __SIZEOF_FLOAT__ 4
620 // AARCH64-BE:#define __SIZEOF_INT128__ 16
621 // AARCH64-BE:#define __SIZEOF_INT__ 4
622 // AARCH64-BE:#define __SIZEOF_LONG_DOUBLE__ 16
623 // AARCH64-BE:#define __SIZEOF_LONG_LONG__ 8
624 // AARCH64-BE:#define __SIZEOF_LONG__ 8
625 // AARCH64-BE:#define __SIZEOF_POINTER__ 8
626 // AARCH64-BE:#define __SIZEOF_PTRDIFF_T__ 8
627 // AARCH64-BE:#define __SIZEOF_SHORT__ 2
628 // AARCH64-BE:#define __SIZEOF_SIZE_T__ 8
629 // AARCH64-BE:#define __SIZEOF_WCHAR_T__ 4
630 // AARCH64-BE:#define __SIZEOF_WINT_T__ 4
631 // AARCH64-BE:#define __SIZE_MAX__ 18446744073709551615UL
632 // AARCH64-BE:#define __SIZE_TYPE__ long unsigned int
633 // AARCH64-BE:#define __SIZE_WIDTH__ 64
634 // AARCH64-BE:#define __UINT16_C_SUFFIX__
635 // AARCH64-BE:#define __UINT16_MAX__ 65535
636 // AARCH64-BE:#define __UINT16_TYPE__ unsigned short
637 // AARCH64-BE:#define __UINT32_C_SUFFIX__ U
638 // AARCH64-BE:#define __UINT32_MAX__ 4294967295U
639 // AARCH64-BE:#define __UINT32_TYPE__ unsigned int
640 // AARCH64-BE:#define __UINT64_C_SUFFIX__ UL
641 // AARCH64-BE:#define __UINT64_MAX__ 18446744073709551615UL
642 // AARCH64-BE:#define __UINT64_TYPE__ long unsigned int
643 // AARCH64-BE:#define __UINT8_C_SUFFIX__
644 // AARCH64-BE:#define __UINT8_MAX__ 255
645 // AARCH64-BE:#define __UINT8_TYPE__ unsigned char
646 // AARCH64-BE:#define __UINTMAX_C_SUFFIX__ UL
647 // AARCH64-BE:#define __UINTMAX_MAX__ 18446744073709551615UL
648 // AARCH64-BE:#define __UINTMAX_TYPE__ long unsigned int
649 // AARCH64-BE:#define __UINTMAX_WIDTH__ 64
650 // AARCH64-BE:#define __UINTPTR_MAX__ 18446744073709551615UL
651 // AARCH64-BE:#define __UINTPTR_TYPE__ long unsigned int
652 // AARCH64-BE:#define __UINTPTR_WIDTH__ 64
653 // AARCH64-BE:#define __UINT_FAST16_MAX__ 65535
654 // AARCH64-BE:#define __UINT_FAST16_TYPE__ unsigned short
655 // AARCH64-BE:#define __UINT_FAST32_MAX__ 4294967295U
656 // AARCH64-BE:#define __UINT_FAST32_TYPE__ unsigned int
657 // AARCH64-BE:#define __UINT_FAST64_MAX__ 18446744073709551615UL
658 // AARCH64-BE:#define __UINT_FAST64_TYPE__ long unsigned int
659 // AARCH64-BE:#define __UINT_FAST8_MAX__ 255
660 // AARCH64-BE:#define __UINT_FAST8_TYPE__ unsigned char
661 // AARCH64-BE:#define __UINT_LEAST16_MAX__ 65535
662 // AARCH64-BE:#define __UINT_LEAST16_TYPE__ unsigned short
663 // AARCH64-BE:#define __UINT_LEAST32_MAX__ 4294967295U
664 // AARCH64-BE:#define __UINT_LEAST32_TYPE__ unsigned int
665 // AARCH64-BE:#define __UINT_LEAST64_MAX__ 18446744073709551615UL
666 // AARCH64-BE:#define __UINT_LEAST64_TYPE__ long unsigned int
667 // AARCH64-BE:#define __UINT_LEAST8_MAX__ 255
668 // AARCH64-BE:#define __UINT_LEAST8_TYPE__ unsigned char
669 // AARCH64-BE:#define __USER_LABEL_PREFIX__
670 // AARCH64-BE:#define __WCHAR_MAX__ 4294967295U
671 // AARCH64-BE:#define __WCHAR_TYPE__ unsigned int
672 // AARCH64-BE:#define __WCHAR_UNSIGNED__ 1
673 // AARCH64-BE:#define __WCHAR_WIDTH__ 32
674 // AARCH64-BE:#define __WINT_TYPE__ int
675 // AARCH64-BE:#define __WINT_WIDTH__ 32
676 // AARCH64-BE:#define __aarch64__ 1
677 //
678 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=aarch64-netbsd < /dev/null | FileCheck -match-full-lines -check-prefix AARCH64-NETBSD %s
679 //
680 // AARCH64-NETBSD:#define _LP64 1
681 // AARCH64-NETBSD-NOT:#define __AARCH64EB__ 1
682 // AARCH64-NETBSD:#define __AARCH64EL__ 1
683 // AARCH64-NETBSD-NOT:#define __AARCH_BIG_ENDIAN 1
684 // AARCH64-NETBSD:#define __ARM_64BIT_STATE 1
685 // AARCH64-NETBSD:#define __ARM_ARCH 8
686 // AARCH64-NETBSD:#define __ARM_ARCH_ISA_A64 1
687 // AARCH64-NETBSD-NOT:#define __ARM_BIG_ENDIAN 1
688 // AARCH64-NETBSD:#define __BIGGEST_ALIGNMENT__ 16
689 // AARCH64-NETBSD:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
690 // AARCH64-NETBSD:#define __CHAR16_TYPE__ unsigned short
691 // AARCH64-NETBSD:#define __CHAR32_TYPE__ unsigned int
692 // AARCH64-NETBSD:#define __CHAR_BIT__ 8
693 // AARCH64-NETBSD:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
694 // AARCH64-NETBSD:#define __DBL_DIG__ 15
695 // AARCH64-NETBSD:#define __DBL_EPSILON__ 2.2204460492503131e-16
696 // AARCH64-NETBSD:#define __DBL_HAS_DENORM__ 1
697 // AARCH64-NETBSD:#define __DBL_HAS_INFINITY__ 1
698 // AARCH64-NETBSD:#define __DBL_HAS_QUIET_NAN__ 1
699 // AARCH64-NETBSD:#define __DBL_MANT_DIG__ 53
700 // AARCH64-NETBSD:#define __DBL_MAX_10_EXP__ 308
701 // AARCH64-NETBSD:#define __DBL_MAX_EXP__ 1024
702 // AARCH64-NETBSD:#define __DBL_MAX__ 1.7976931348623157e+308
703 // AARCH64-NETBSD:#define __DBL_MIN_10_EXP__ (-307)
704 // AARCH64-NETBSD:#define __DBL_MIN_EXP__ (-1021)
705 // AARCH64-NETBSD:#define __DBL_MIN__ 2.2250738585072014e-308
706 // AARCH64-NETBSD:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
707 // AARCH64-NETBSD:#define __ELF__ 1
708 // AARCH64-NETBSD:#define __FLT_DENORM_MIN__ 1.40129846e-45F
709 // AARCH64-NETBSD:#define __FLT_DIG__ 6
710 // AARCH64-NETBSD:#define __FLT_EPSILON__ 1.19209290e-7F
711 // AARCH64-NETBSD:#define __FLT_EVAL_METHOD__ 0
712 // AARCH64-NETBSD:#define __FLT_HAS_DENORM__ 1
713 // AARCH64-NETBSD:#define __FLT_HAS_INFINITY__ 1
714 // AARCH64-NETBSD:#define __FLT_HAS_QUIET_NAN__ 1
715 // AARCH64-NETBSD:#define __FLT_MANT_DIG__ 24
716 // AARCH64-NETBSD:#define __FLT_MAX_10_EXP__ 38
717 // AARCH64-NETBSD:#define __FLT_MAX_EXP__ 128
718 // AARCH64-NETBSD:#define __FLT_MAX__ 3.40282347e+38F
719 // AARCH64-NETBSD:#define __FLT_MIN_10_EXP__ (-37)
720 // AARCH64-NETBSD:#define __FLT_MIN_EXP__ (-125)
721 // AARCH64-NETBSD:#define __FLT_MIN__ 1.17549435e-38F
722 // AARCH64-NETBSD:#define __FLT_RADIX__ 2
723 // AARCH64-NETBSD:#define __INT16_C_SUFFIX__
724 // AARCH64-NETBSD:#define __INT16_FMTd__ "hd"
725 // AARCH64-NETBSD:#define __INT16_FMTi__ "hi"
726 // AARCH64-NETBSD:#define __INT16_MAX__ 32767
727 // AARCH64-NETBSD:#define __INT16_TYPE__ short
728 // AARCH64-NETBSD:#define __INT32_C_SUFFIX__
729 // AARCH64-NETBSD:#define __INT32_FMTd__ "d"
730 // AARCH64-NETBSD:#define __INT32_FMTi__ "i"
731 // AARCH64-NETBSD:#define __INT32_MAX__ 2147483647
732 // AARCH64-NETBSD:#define __INT32_TYPE__ int
733 // AARCH64-NETBSD:#define __INT64_C_SUFFIX__ L
734 // AARCH64-NETBSD:#define __INT64_FMTd__ "ld"
735 // AARCH64-NETBSD:#define __INT64_FMTi__ "li"
736 // AARCH64-NETBSD:#define __INT64_MAX__ 9223372036854775807L
737 // AARCH64-NETBSD:#define __INT64_TYPE__ long int
738 // AARCH64-NETBSD:#define __INT8_C_SUFFIX__
739 // AARCH64-NETBSD:#define __INT8_FMTd__ "hhd"
740 // AARCH64-NETBSD:#define __INT8_FMTi__ "hhi"
741 // AARCH64-NETBSD:#define __INT8_MAX__ 127
742 // AARCH64-NETBSD:#define __INT8_TYPE__ signed char
743 // AARCH64-NETBSD:#define __INTMAX_C_SUFFIX__ L
744 // AARCH64-NETBSD:#define __INTMAX_FMTd__ "ld"
745 // AARCH64-NETBSD:#define __INTMAX_FMTi__ "li"
746 // AARCH64-NETBSD:#define __INTMAX_MAX__ 9223372036854775807L
747 // AARCH64-NETBSD:#define __INTMAX_TYPE__ long int
748 // AARCH64-NETBSD:#define __INTMAX_WIDTH__ 64
749 // AARCH64-NETBSD:#define __INTPTR_FMTd__ "ld"
750 // AARCH64-NETBSD:#define __INTPTR_FMTi__ "li"
751 // AARCH64-NETBSD:#define __INTPTR_MAX__ 9223372036854775807L
752 // AARCH64-NETBSD:#define __INTPTR_TYPE__ long int
753 // AARCH64-NETBSD:#define __INTPTR_WIDTH__ 64
754 // AARCH64-NETBSD:#define __INT_FAST16_FMTd__ "hd"
755 // AARCH64-NETBSD:#define __INT_FAST16_FMTi__ "hi"
756 // AARCH64-NETBSD:#define __INT_FAST16_MAX__ 32767
757 // AARCH64-NETBSD:#define __INT_FAST16_TYPE__ short
758 // AARCH64-NETBSD:#define __INT_FAST32_FMTd__ "d"
759 // AARCH64-NETBSD:#define __INT_FAST32_FMTi__ "i"
760 // AARCH64-NETBSD:#define __INT_FAST32_MAX__ 2147483647
761 // AARCH64-NETBSD:#define __INT_FAST32_TYPE__ int
762 // AARCH64-NETBSD:#define __INT_FAST64_FMTd__ "ld"
763 // AARCH64-NETBSD:#define __INT_FAST64_FMTi__ "li"
764 // AARCH64-NETBSD:#define __INT_FAST64_MAX__ 9223372036854775807L
765 // AARCH64-NETBSD:#define __INT_FAST64_TYPE__ long int
766 // AARCH64-NETBSD:#define __INT_FAST8_FMTd__ "hhd"
767 // AARCH64-NETBSD:#define __INT_FAST8_FMTi__ "hhi"
768 // AARCH64-NETBSD:#define __INT_FAST8_MAX__ 127
769 // AARCH64-NETBSD:#define __INT_FAST8_TYPE__ signed char
770 // AARCH64-NETBSD:#define __INT_LEAST16_FMTd__ "hd"
771 // AARCH64-NETBSD:#define __INT_LEAST16_FMTi__ "hi"
772 // AARCH64-NETBSD:#define __INT_LEAST16_MAX__ 32767
773 // AARCH64-NETBSD:#define __INT_LEAST16_TYPE__ short
774 // AARCH64-NETBSD:#define __INT_LEAST32_FMTd__ "d"
775 // AARCH64-NETBSD:#define __INT_LEAST32_FMTi__ "i"
776 // AARCH64-NETBSD:#define __INT_LEAST32_MAX__ 2147483647
777 // AARCH64-NETBSD:#define __INT_LEAST32_TYPE__ int
778 // AARCH64-NETBSD:#define __INT_LEAST64_FMTd__ "ld"
779 // AARCH64-NETBSD:#define __INT_LEAST64_FMTi__ "li"
780 // AARCH64-NETBSD:#define __INT_LEAST64_MAX__ 9223372036854775807L
781 // AARCH64-NETBSD:#define __INT_LEAST64_TYPE__ long int
782 // AARCH64-NETBSD:#define __INT_LEAST8_FMTd__ "hhd"
783 // AARCH64-NETBSD:#define __INT_LEAST8_FMTi__ "hhi"
784 // AARCH64-NETBSD:#define __INT_LEAST8_MAX__ 127
785 // AARCH64-NETBSD:#define __INT_LEAST8_TYPE__ signed char
786 // AARCH64-NETBSD:#define __INT_MAX__ 2147483647
787 // AARCH64-NETBSD:#define __LDBL_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966L
788 // AARCH64-NETBSD:#define __LDBL_DIG__ 33
789 // AARCH64-NETBSD:#define __LDBL_EPSILON__ 1.92592994438723585305597794258492732e-34L
790 // AARCH64-NETBSD:#define __LDBL_HAS_DENORM__ 1
791 // AARCH64-NETBSD:#define __LDBL_HAS_INFINITY__ 1
792 // AARCH64-NETBSD:#define __LDBL_HAS_QUIET_NAN__ 1
793 // AARCH64-NETBSD:#define __LDBL_MANT_DIG__ 113
794 // AARCH64-NETBSD:#define __LDBL_MAX_10_EXP__ 4932
795 // AARCH64-NETBSD:#define __LDBL_MAX_EXP__ 16384
796 // AARCH64-NETBSD:#define __LDBL_MAX__ 1.18973149535723176508575932662800702e+4932L
797 // AARCH64-NETBSD:#define __LDBL_MIN_10_EXP__ (-4931)
798 // AARCH64-NETBSD:#define __LDBL_MIN_EXP__ (-16381)
799 // AARCH64-NETBSD:#define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L
800 // AARCH64-NETBSD:#define __LITTLE_ENDIAN__ 1
801 // AARCH64-NETBSD:#define __LONG_LONG_MAX__ 9223372036854775807LL
802 // AARCH64-NETBSD:#define __LONG_MAX__ 9223372036854775807L
803 // AARCH64-NETBSD:#define __LP64__ 1
804 // AARCH64-NETBSD:#define __NetBSD__ 1
805 // AARCH64-NETBSD:#define __POINTER_WIDTH__ 64
806 // AARCH64-NETBSD:#define __PTRDIFF_TYPE__ long int
807 // AARCH64-NETBSD:#define __PTRDIFF_WIDTH__ 64
808 // AARCH64-NETBSD:#define __SCHAR_MAX__ 127
809 // AARCH64-NETBSD:#define __SHRT_MAX__ 32767
810 // AARCH64-NETBSD:#define __SIG_ATOMIC_MAX__ 2147483647
811 // AARCH64-NETBSD:#define __SIG_ATOMIC_WIDTH__ 32
812 // AARCH64-NETBSD:#define __SIZEOF_DOUBLE__ 8
813 // AARCH64-NETBSD:#define __SIZEOF_FLOAT__ 4
814 // AARCH64-NETBSD:#define __SIZEOF_INT__ 4
815 // AARCH64-NETBSD:#define __SIZEOF_LONG_DOUBLE__ 16
816 // AARCH64-NETBSD:#define __SIZEOF_LONG_LONG__ 8
817 // AARCH64-NETBSD:#define __SIZEOF_LONG__ 8
818 // AARCH64-NETBSD:#define __SIZEOF_POINTER__ 8
819 // AARCH64-NETBSD:#define __SIZEOF_PTRDIFF_T__ 8
820 // AARCH64-NETBSD:#define __SIZEOF_SHORT__ 2
821 // AARCH64-NETBSD:#define __SIZEOF_SIZE_T__ 8
822 // AARCH64-NETBSD:#define __SIZEOF_WCHAR_T__ 4
823 // AARCH64-NETBSD:#define __SIZEOF_WINT_T__ 4
824 // AARCH64-NETBSD:#define __SIZE_MAX__ 18446744073709551615UL
825 // AARCH64-NETBSD:#define __SIZE_TYPE__ long unsigned int
826 // AARCH64-NETBSD:#define __SIZE_WIDTH__ 64
827 // AARCH64-NETBSD:#define __UINT16_C_SUFFIX__
828 // AARCH64-NETBSD:#define __UINT16_MAX__ 65535
829 // AARCH64-NETBSD:#define __UINT16_TYPE__ unsigned short
830 // AARCH64-NETBSD:#define __UINT32_C_SUFFIX__ U
831 // AARCH64-NETBSD:#define __UINT32_MAX__ 4294967295U
832 // AARCH64-NETBSD:#define __UINT32_TYPE__ unsigned int
833 // AARCH64-NETBSD:#define __UINT64_C_SUFFIX__ UL
834 // AARCH64-NETBSD:#define __UINT64_MAX__ 18446744073709551615UL
835 // AARCH64-NETBSD:#define __UINT64_TYPE__ long unsigned int
836 // AARCH64-NETBSD:#define __UINT8_C_SUFFIX__
837 // AARCH64-NETBSD:#define __UINT8_MAX__ 255
838 // AARCH64-NETBSD:#define __UINT8_TYPE__ unsigned char
839 // AARCH64-NETBSD:#define __UINTMAX_C_SUFFIX__ UL
840 // AARCH64-NETBSD:#define __UINTMAX_MAX__ 18446744073709551615UL
841 // AARCH64-NETBSD:#define __UINTMAX_TYPE__ long unsigned int
842 // AARCH64-NETBSD:#define __UINTMAX_WIDTH__ 64
843 // AARCH64-NETBSD:#define __UINTPTR_MAX__ 18446744073709551615UL
844 // AARCH64-NETBSD:#define __UINTPTR_TYPE__ long unsigned int
845 // AARCH64-NETBSD:#define __UINTPTR_WIDTH__ 64
846 // AARCH64-NETBSD:#define __UINT_FAST16_MAX__ 65535
847 // AARCH64-NETBSD:#define __UINT_FAST16_TYPE__ unsigned short
848 // AARCH64-NETBSD:#define __UINT_FAST32_MAX__ 4294967295U
849 // AARCH64-NETBSD:#define __UINT_FAST32_TYPE__ unsigned int
850 // AARCH64-NETBSD:#define __UINT_FAST64_MAX__ 18446744073709551615UL
851 // AARCH64-NETBSD:#define __UINT_FAST64_TYPE__ long unsigned int
852 // AARCH64-NETBSD:#define __UINT_FAST8_MAX__ 255
853 // AARCH64-NETBSD:#define __UINT_FAST8_TYPE__ unsigned char
854 // AARCH64-NETBSD:#define __UINT_LEAST16_MAX__ 65535
855 // AARCH64-NETBSD:#define __UINT_LEAST16_TYPE__ unsigned short
856 // AARCH64-NETBSD:#define __UINT_LEAST32_MAX__ 4294967295U
857 // AARCH64-NETBSD:#define __UINT_LEAST32_TYPE__ unsigned int
858 // AARCH64-NETBSD:#define __UINT_LEAST64_MAX__ 18446744073709551615UL
859 // AARCH64-NETBSD:#define __UINT_LEAST64_TYPE__ long unsigned int
860 // AARCH64-NETBSD:#define __UINT_LEAST8_MAX__ 255
861 // AARCH64-NETBSD:#define __UINT_LEAST8_TYPE__ unsigned char
862 // AARCH64-NETBSD:#define __USER_LABEL_PREFIX__
863 // AARCH64-NETBSD:#define __WCHAR_MAX__ 2147483647
864 // AARCH64-NETBSD:#define __WCHAR_TYPE__ int
865 // AARCH64-NETBSD:#define __WCHAR_WIDTH__ 32
866 // AARCH64-NETBSD:#define __WINT_TYPE__ int
867 // AARCH64-NETBSD:#define __WINT_WIDTH__ 32
868 // AARCH64-NETBSD:#define __aarch64__ 1
869 //
870 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=aarch64-openbsd < /dev/null | FileCheck -match-full-lines -check-prefix AARCH64-OPENBSD %s
871 //
872 // AARCH64-OPENBSD:#define _LP64 1
873 // AARCH64-OPENBSD-NOT:#define __AARCH64EB__ 1
874 // AARCH64-OPENBSD:#define __AARCH64EL__ 1
875 // AARCH64-OPENBSD-NOT:#define __AARCH_BIG_ENDIAN 1
876 // AARCH64-OPENBSD:#define __ARM_64BIT_STATE 1
877 // AARCH64-OPENBSD:#define __ARM_ARCH 8
878 // AARCH64-OPENBSD:#define __ARM_ARCH_ISA_A64 1
879 // AARCH64-OPENBSD-NOT:#define __ARM_BIG_ENDIAN 1
880 // AARCH64-OPENBSD:#define __BIGGEST_ALIGNMENT__ 16
881 // AARCH64-OPENBSD:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
882 // AARCH64-OPENBSD:#define __CHAR16_TYPE__ unsigned short
883 // AARCH64-OPENBSD:#define __CHAR32_TYPE__ unsigned int
884 // AARCH64-OPENBSD:#define __CHAR_BIT__ 8
885 // AARCH64-OPENBSD:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
886 // AARCH64-OPENBSD:#define __DBL_DIG__ 15
887 // AARCH64-OPENBSD:#define __DBL_EPSILON__ 2.2204460492503131e-16
888 // AARCH64-OPENBSD:#define __DBL_HAS_DENORM__ 1
889 // AARCH64-OPENBSD:#define __DBL_HAS_INFINITY__ 1
890 // AARCH64-OPENBSD:#define __DBL_HAS_QUIET_NAN__ 1
891 // AARCH64-OPENBSD:#define __DBL_MANT_DIG__ 53
892 // AARCH64-OPENBSD:#define __DBL_MAX_10_EXP__ 308
893 // AARCH64-OPENBSD:#define __DBL_MAX_EXP__ 1024
894 // AARCH64-OPENBSD:#define __DBL_MAX__ 1.7976931348623157e+308
895 // AARCH64-OPENBSD:#define __DBL_MIN_10_EXP__ (-307)
896 // AARCH64-OPENBSD:#define __DBL_MIN_EXP__ (-1021)
897 // AARCH64-OPENBSD:#define __DBL_MIN__ 2.2250738585072014e-308
898 // AARCH64-OPENBSD:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
899 // AARCH64-OPENBSD:#define __ELF__ 1
900 // AARCH64-OPENBSD:#define __FLT_DENORM_MIN__ 1.40129846e-45F
901 // AARCH64-OPENBSD:#define __FLT_DIG__ 6
902 // AARCH64-OPENBSD:#define __FLT_EPSILON__ 1.19209290e-7F
903 // AARCH64-OPENBSD:#define __FLT_EVAL_METHOD__ 0
904 // AARCH64-OPENBSD:#define __FLT_HAS_DENORM__ 1
905 // AARCH64-OPENBSD:#define __FLT_HAS_INFINITY__ 1
906 // AARCH64-OPENBSD:#define __FLT_HAS_QUIET_NAN__ 1
907 // AARCH64-OPENBSD:#define __FLT_MANT_DIG__ 24
908 // AARCH64-OPENBSD:#define __FLT_MAX_10_EXP__ 38
909 // AARCH64-OPENBSD:#define __FLT_MAX_EXP__ 128
910 // AARCH64-OPENBSD:#define __FLT_MAX__ 3.40282347e+38F
911 // AARCH64-OPENBSD:#define __FLT_MIN_10_EXP__ (-37)
912 // AARCH64-OPENBSD:#define __FLT_MIN_EXP__ (-125)
913 // AARCH64-OPENBSD:#define __FLT_MIN__ 1.17549435e-38F
914 // AARCH64-OPENBSD:#define __FLT_RADIX__ 2
915 // AARCH64-OPENBSD:#define __INT16_C_SUFFIX__
916 // AARCH64-OPENBSD:#define __INT16_FMTd__ "hd"
917 // AARCH64-OPENBSD:#define __INT16_FMTi__ "hi"
918 // AARCH64-OPENBSD:#define __INT16_MAX__ 32767
919 // AARCH64-OPENBSD:#define __INT16_TYPE__ short
920 // AARCH64-OPENBSD:#define __INT32_C_SUFFIX__
921 // AARCH64-OPENBSD:#define __INT32_FMTd__ "d"
922 // AARCH64-OPENBSD:#define __INT32_FMTi__ "i"
923 // AARCH64-OPENBSD:#define __INT32_MAX__ 2147483647
924 // AARCH64-OPENBSD:#define __INT32_TYPE__ int
925 // AARCH64-OPENBSD:#define __INT64_C_SUFFIX__ LL
926 // AARCH64-OPENBSD:#define __INT64_FMTd__ "lld"
927 // AARCH64-OPENBSD:#define __INT64_FMTi__ "lli"
928 // AARCH64-OPENBSD:#define __INT64_MAX__ 9223372036854775807LL
929 // AARCH64-OPENBSD:#define __INT64_TYPE__ long long int
930 // AARCH64-OPENBSD:#define __INT8_C_SUFFIX__
931 // AARCH64-OPENBSD:#define __INT8_FMTd__ "hhd"
932 // AARCH64-OPENBSD:#define __INT8_FMTi__ "hhi"
933 // AARCH64-OPENBSD:#define __INT8_MAX__ 127
934 // AARCH64-OPENBSD:#define __INT8_TYPE__ signed char
935 // AARCH64-OPENBSD:#define __INTMAX_C_SUFFIX__ LL
936 // AARCH64-OPENBSD:#define __INTMAX_FMTd__ "lld"
937 // AARCH64-OPENBSD:#define __INTMAX_FMTi__ "lli"
938 // AARCH64-OPENBSD:#define __INTMAX_MAX__ 9223372036854775807LL
939 // AARCH64-OPENBSD:#define __INTMAX_TYPE__ long long int
940 // AARCH64-OPENBSD:#define __INTMAX_WIDTH__ 64
941 // AARCH64-OPENBSD:#define __INTPTR_FMTd__ "ld"
942 // AARCH64-OPENBSD:#define __INTPTR_FMTi__ "li"
943 // AARCH64-OPENBSD:#define __INTPTR_MAX__ 9223372036854775807L
944 // AARCH64-OPENBSD:#define __INTPTR_TYPE__ long int
945 // AARCH64-OPENBSD:#define __INTPTR_WIDTH__ 64
946 // AARCH64-OPENBSD:#define __INT_FAST16_FMTd__ "hd"
947 // AARCH64-OPENBSD:#define __INT_FAST16_FMTi__ "hi"
948 // AARCH64-OPENBSD:#define __INT_FAST16_MAX__ 32767
949 // AARCH64-OPENBSD:#define __INT_FAST16_TYPE__ short
950 // AARCH64-OPENBSD:#define __INT_FAST32_FMTd__ "d"
951 // AARCH64-OPENBSD:#define __INT_FAST32_FMTi__ "i"
952 // AARCH64-OPENBSD:#define __INT_FAST32_MAX__ 2147483647
953 // AARCH64-OPENBSD:#define __INT_FAST32_TYPE__ int
954 // AARCH64-OPENBSD:#define __INT_FAST64_FMTd__ "ld"
955 // AARCH64-OPENBSD:#define __INT_FAST64_FMTi__ "li"
956 // AARCH64-OPENBSD:#define __INT_FAST64_MAX__ 9223372036854775807L
957 // AARCH64-OPENBSD:#define __INT_FAST64_TYPE__ long int
958 // AARCH64-OPENBSD:#define __INT_FAST8_FMTd__ "hhd"
959 // AARCH64-OPENBSD:#define __INT_FAST8_FMTi__ "hhi"
960 // AARCH64-OPENBSD:#define __INT_FAST8_MAX__ 127
961 // AARCH64-OPENBSD:#define __INT_FAST8_TYPE__ signed char
962 // AARCH64-OPENBSD:#define __INT_LEAST16_FMTd__ "hd"
963 // AARCH64-OPENBSD:#define __INT_LEAST16_FMTi__ "hi"
964 // AARCH64-OPENBSD:#define __INT_LEAST16_MAX__ 32767
965 // AARCH64-OPENBSD:#define __INT_LEAST16_TYPE__ short
966 // AARCH64-OPENBSD:#define __INT_LEAST32_FMTd__ "d"
967 // AARCH64-OPENBSD:#define __INT_LEAST32_FMTi__ "i"
968 // AARCH64-OPENBSD:#define __INT_LEAST32_MAX__ 2147483647
969 // AARCH64-OPENBSD:#define __INT_LEAST32_TYPE__ int
970 // AARCH64-OPENBSD:#define __INT_LEAST64_FMTd__ "ld"
971 // AARCH64-OPENBSD:#define __INT_LEAST64_FMTi__ "li"
972 // AARCH64-OPENBSD:#define __INT_LEAST64_MAX__ 9223372036854775807L
973 // AARCH64-OPENBSD:#define __INT_LEAST64_TYPE__ long int
974 // AARCH64-OPENBSD:#define __INT_LEAST8_FMTd__ "hhd"
975 // AARCH64-OPENBSD:#define __INT_LEAST8_FMTi__ "hhi"
976 // AARCH64-OPENBSD:#define __INT_LEAST8_MAX__ 127
977 // AARCH64-OPENBSD:#define __INT_LEAST8_TYPE__ signed char
978 // AARCH64-OPENBSD:#define __INT_MAX__ 2147483647
979 // AARCH64-OPENBSD:#define __LDBL_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966L
980 // AARCH64-OPENBSD:#define __LDBL_DIG__ 33
981 // AARCH64-OPENBSD:#define __LDBL_EPSILON__ 1.92592994438723585305597794258492732e-34L
982 // AARCH64-OPENBSD:#define __LDBL_HAS_DENORM__ 1
983 // AARCH64-OPENBSD:#define __LDBL_HAS_INFINITY__ 1
984 // AARCH64-OPENBSD:#define __LDBL_HAS_QUIET_NAN__ 1
985 // AARCH64-OPENBSD:#define __LDBL_MANT_DIG__ 113
986 // AARCH64-OPENBSD:#define __LDBL_MAX_10_EXP__ 4932
987 // AARCH64-OPENBSD:#define __LDBL_MAX_EXP__ 16384
988 // AARCH64-OPENBSD:#define __LDBL_MAX__ 1.18973149535723176508575932662800702e+4932L
989 // AARCH64-OPENBSD:#define __LDBL_MIN_10_EXP__ (-4931)
990 // AARCH64-OPENBSD:#define __LDBL_MIN_EXP__ (-16381)
991 // AARCH64-OPENBSD:#define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L
992 // AARCH64-OPENBSD:#define __LITTLE_ENDIAN__ 1
993 // AARCH64-OPENBSD:#define __LONG_LONG_MAX__ 9223372036854775807LL
994 // AARCH64-OPENBSD:#define __LONG_MAX__ 9223372036854775807L
995 // AARCH64-OPENBSD:#define __LP64__ 1
996 // AARCH64-OPENBSD:#define __OpenBSD__ 1
997 // AARCH64-OPENBSD:#define __POINTER_WIDTH__ 64
998 // AARCH64-OPENBSD:#define __PTRDIFF_TYPE__ long int
999 // AARCH64-OPENBSD:#define __PTRDIFF_WIDTH__ 64
1000 // AARCH64-OPENBSD:#define __SCHAR_MAX__ 127
1001 // AARCH64-OPENBSD:#define __SHRT_MAX__ 32767
1002 // AARCH64-OPENBSD:#define __SIG_ATOMIC_MAX__ 2147483647
1003 // AARCH64-OPENBSD:#define __SIG_ATOMIC_WIDTH__ 32
1004 // AARCH64-OPENBSD:#define __SIZEOF_DOUBLE__ 8
1005 // AARCH64-OPENBSD:#define __SIZEOF_FLOAT__ 4
1006 // AARCH64-OPENBSD:#define __SIZEOF_INT__ 4
1007 // AARCH64-OPENBSD:#define __SIZEOF_LONG_DOUBLE__ 16
1008 // AARCH64-OPENBSD:#define __SIZEOF_LONG_LONG__ 8
1009 // AARCH64-OPENBSD:#define __SIZEOF_LONG__ 8
1010 // AARCH64-OPENBSD:#define __SIZEOF_POINTER__ 8
1011 // AARCH64-OPENBSD:#define __SIZEOF_PTRDIFF_T__ 8
1012 // AARCH64-OPENBSD:#define __SIZEOF_SHORT__ 2
1013 // AARCH64-OPENBSD:#define __SIZEOF_SIZE_T__ 8
1014 // AARCH64-OPENBSD:#define __SIZEOF_WCHAR_T__ 4
1015 // AARCH64-OPENBSD:#define __SIZEOF_WINT_T__ 4
1016 // AARCH64-OPENBSD:#define __SIZE_MAX__ 18446744073709551615UL
1017 // AARCH64-OPENBSD:#define __SIZE_TYPE__ long unsigned int
1018 // AARCH64-OPENBSD:#define __SIZE_WIDTH__ 64
1019 // AARCH64-OPENBSD:#define __UINT16_C_SUFFIX__
1020 // AARCH64-OPENBSD:#define __UINT16_MAX__ 65535
1021 // AARCH64-OPENBSD:#define __UINT16_TYPE__ unsigned short
1022 // AARCH64-OPENBSD:#define __UINT32_C_SUFFIX__ U
1023 // AARCH64-OPENBSD:#define __UINT32_MAX__ 4294967295U
1024 // AARCH64-OPENBSD:#define __UINT32_TYPE__ unsigned int
1025 // AARCH64-OPENBSD:#define __UINT64_C_SUFFIX__ ULL
1026 // AARCH64-OPENBSD:#define __UINT64_MAX__ 18446744073709551615ULL
1027 // AARCH64-OPENBSD:#define __UINT64_TYPE__ long long unsigned int
1028 // AARCH64-OPENBSD:#define __UINT8_C_SUFFIX__
1029 // AARCH64-OPENBSD:#define __UINT8_MAX__ 255
1030 // AARCH64-OPENBSD:#define __UINT8_TYPE__ unsigned char
1031 // AARCH64-OPENBSD:#define __UINTMAX_C_SUFFIX__ ULL
1032 // AARCH64-OPENBSD:#define __UINTMAX_MAX__ 18446744073709551615ULL
1033 // AARCH64-OPENBSD:#define __UINTMAX_TYPE__ long long unsigned int
1034 // AARCH64-OPENBSD:#define __UINTMAX_WIDTH__ 64
1035 // AARCH64-OPENBSD:#define __UINTPTR_MAX__ 18446744073709551615UL
1036 // AARCH64-OPENBSD:#define __UINTPTR_TYPE__ long unsigned int
1037 // AARCH64-OPENBSD:#define __UINTPTR_WIDTH__ 64
1038 // AARCH64-OPENBSD:#define __UINT_FAST16_MAX__ 65535
1039 // AARCH64-OPENBSD:#define __UINT_FAST16_TYPE__ unsigned short
1040 // AARCH64-OPENBSD:#define __UINT_FAST32_MAX__ 4294967295U
1041 // AARCH64-OPENBSD:#define __UINT_FAST32_TYPE__ unsigned int
1042 // AARCH64-OPENBSD:#define __UINT_FAST64_MAX__ 18446744073709551615UL
1043 // AARCH64-OPENBSD:#define __UINT_FAST64_TYPE__ long unsigned int
1044 // AARCH64-OPENBSD:#define __UINT_FAST8_MAX__ 255
1045 // AARCH64-OPENBSD:#define __UINT_FAST8_TYPE__ unsigned char
1046 // AARCH64-OPENBSD:#define __UINT_LEAST16_MAX__ 65535
1047 // AARCH64-OPENBSD:#define __UINT_LEAST16_TYPE__ unsigned short
1048 // AARCH64-OPENBSD:#define __UINT_LEAST32_MAX__ 4294967295U
1049 // AARCH64-OPENBSD:#define __UINT_LEAST32_TYPE__ unsigned int
1050 // AARCH64-OPENBSD:#define __UINT_LEAST64_MAX__ 18446744073709551615UL
1051 // AARCH64-OPENBSD:#define __UINT_LEAST64_TYPE__ long unsigned int
1052 // AARCH64-OPENBSD:#define __UINT_LEAST8_MAX__ 255
1053 // AARCH64-OPENBSD:#define __UINT_LEAST8_TYPE__ unsigned char
1054 // AARCH64-OPENBSD:#define __USER_LABEL_PREFIX__
1055 // AARCH64-OPENBSD:#define __WCHAR_MAX__ 2147483647
1056 // AARCH64-OPENBSD:#define __WCHAR_TYPE__ int
1057 // AARCH64-OPENBSD:#define __WCHAR_WIDTH__ 32
1058 // AARCH64-OPENBSD:#define __WINT_TYPE__ int
1059 // AARCH64-OPENBSD:#define __WINT_WIDTH__ 32
1060 // AARCH64-OPENBSD:#define __aarch64__ 1
1061 //
1062 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=aarch64-freebsd11 < /dev/null | FileCheck -match-full-lines -check-prefix AARCH64-FREEBSD %s
1063 //
1064 // AARCH64-FREEBSD:#define _LP64 1
1065 // AARCH64-FREEBSD-NOT:#define __AARCH64EB__ 1
1066 // AARCH64-FREEBSD:#define __AARCH64EL__ 1
1067 // AARCH64-FREEBSD-NOT:#define __AARCH_BIG_ENDIAN 1
1068 // AARCH64-FREEBSD:#define __ARM_64BIT_STATE 1
1069 // AARCH64-FREEBSD:#define __ARM_ARCH 8
1070 // AARCH64-FREEBSD:#define __ARM_ARCH_ISA_A64 1
1071 // AARCH64-FREEBSD-NOT:#define __ARM_BIG_ENDIAN 1
1072 // AARCH64-FREEBSD:#define __BIGGEST_ALIGNMENT__ 16
1073 // AARCH64-FREEBSD:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
1074 // AARCH64-FREEBSD:#define __CHAR16_TYPE__ unsigned short
1075 // AARCH64-FREEBSD:#define __CHAR32_TYPE__ unsigned int
1076 // AARCH64-FREEBSD:#define __CHAR_BIT__ 8
1077 // AARCH64-FREEBSD:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
1078 // AARCH64-FREEBSD:#define __DBL_DIG__ 15
1079 // AARCH64-FREEBSD:#define __DBL_EPSILON__ 2.2204460492503131e-16
1080 // AARCH64-FREEBSD:#define __DBL_HAS_DENORM__ 1
1081 // AARCH64-FREEBSD:#define __DBL_HAS_INFINITY__ 1
1082 // AARCH64-FREEBSD:#define __DBL_HAS_QUIET_NAN__ 1
1083 // AARCH64-FREEBSD:#define __DBL_MANT_DIG__ 53
1084 // AARCH64-FREEBSD:#define __DBL_MAX_10_EXP__ 308
1085 // AARCH64-FREEBSD:#define __DBL_MAX_EXP__ 1024
1086 // AARCH64-FREEBSD:#define __DBL_MAX__ 1.7976931348623157e+308
1087 // AARCH64-FREEBSD:#define __DBL_MIN_10_EXP__ (-307)
1088 // AARCH64-FREEBSD:#define __DBL_MIN_EXP__ (-1021)
1089 // AARCH64-FREEBSD:#define __DBL_MIN__ 2.2250738585072014e-308
1090 // AARCH64-FREEBSD:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
1091 // AARCH64-FREEBSD:#define __ELF__ 1
1092 // AARCH64-FREEBSD:#define __FLT_DENORM_MIN__ 1.40129846e-45F
1093 // AARCH64-FREEBSD:#define __FLT_DIG__ 6
1094 // AARCH64-FREEBSD:#define __FLT_EPSILON__ 1.19209290e-7F
1095 // AARCH64-FREEBSD:#define __FLT_EVAL_METHOD__ 0
1096 // AARCH64-FREEBSD:#define __FLT_HAS_DENORM__ 1
1097 // AARCH64-FREEBSD:#define __FLT_HAS_INFINITY__ 1
1098 // AARCH64-FREEBSD:#define __FLT_HAS_QUIET_NAN__ 1
1099 // AARCH64-FREEBSD:#define __FLT_MANT_DIG__ 24
1100 // AARCH64-FREEBSD:#define __FLT_MAX_10_EXP__ 38
1101 // AARCH64-FREEBSD:#define __FLT_MAX_EXP__ 128
1102 // AARCH64-FREEBSD:#define __FLT_MAX__ 3.40282347e+38F
1103 // AARCH64-FREEBSD:#define __FLT_MIN_10_EXP__ (-37)
1104 // AARCH64-FREEBSD:#define __FLT_MIN_EXP__ (-125)
1105 // AARCH64-FREEBSD:#define __FLT_MIN__ 1.17549435e-38F
1106 // AARCH64-FREEBSD:#define __FLT_RADIX__ 2
1107 // AARCH64-FREEBSD:#define __FreeBSD__ 11
1108 // AARCH64-FREEBSD:#define __INT16_C_SUFFIX__
1109 // AARCH64-FREEBSD:#define __INT16_FMTd__ "hd"
1110 // AARCH64-FREEBSD:#define __INT16_FMTi__ "hi"
1111 // AARCH64-FREEBSD:#define __INT16_MAX__ 32767
1112 // AARCH64-FREEBSD:#define __INT16_TYPE__ short
1113 // AARCH64-FREEBSD:#define __INT32_C_SUFFIX__
1114 // AARCH64-FREEBSD:#define __INT32_FMTd__ "d"
1115 // AARCH64-FREEBSD:#define __INT32_FMTi__ "i"
1116 // AARCH64-FREEBSD:#define __INT32_MAX__ 2147483647
1117 // AARCH64-FREEBSD:#define __INT32_TYPE__ int
1118 // AARCH64-FREEBSD:#define __INT64_C_SUFFIX__ L
1119 // AARCH64-FREEBSD:#define __INT64_FMTd__ "ld"
1120 // AARCH64-FREEBSD:#define __INT64_FMTi__ "li"
1121 // AARCH64-FREEBSD:#define __INT64_MAX__ 9223372036854775807L
1122 // AARCH64-FREEBSD:#define __INT64_TYPE__ long int
1123 // AARCH64-FREEBSD:#define __INT8_C_SUFFIX__
1124 // AARCH64-FREEBSD:#define __INT8_FMTd__ "hhd"
1125 // AARCH64-FREEBSD:#define __INT8_FMTi__ "hhi"
1126 // AARCH64-FREEBSD:#define __INT8_MAX__ 127
1127 // AARCH64-FREEBSD:#define __INT8_TYPE__ signed char
1128 // AARCH64-FREEBSD:#define __INTMAX_C_SUFFIX__ L
1129 // AARCH64-FREEBSD:#define __INTMAX_FMTd__ "ld"
1130 // AARCH64-FREEBSD:#define __INTMAX_FMTi__ "li"
1131 // AARCH64-FREEBSD:#define __INTMAX_MAX__ 9223372036854775807L
1132 // AARCH64-FREEBSD:#define __INTMAX_TYPE__ long int
1133 // AARCH64-FREEBSD:#define __INTMAX_WIDTH__ 64
1134 // AARCH64-FREEBSD:#define __INTPTR_FMTd__ "ld"
1135 // AARCH64-FREEBSD:#define __INTPTR_FMTi__ "li"
1136 // AARCH64-FREEBSD:#define __INTPTR_MAX__ 9223372036854775807L
1137 // AARCH64-FREEBSD:#define __INTPTR_TYPE__ long int
1138 // AARCH64-FREEBSD:#define __INTPTR_WIDTH__ 64
1139 // AARCH64-FREEBSD:#define __INT_FAST16_FMTd__ "hd"
1140 // AARCH64-FREEBSD:#define __INT_FAST16_FMTi__ "hi"
1141 // AARCH64-FREEBSD:#define __INT_FAST16_MAX__ 32767
1142 // AARCH64-FREEBSD:#define __INT_FAST16_TYPE__ short
1143 // AARCH64-FREEBSD:#define __INT_FAST32_FMTd__ "d"
1144 // AARCH64-FREEBSD:#define __INT_FAST32_FMTi__ "i"
1145 // AARCH64-FREEBSD:#define __INT_FAST32_MAX__ 2147483647
1146 // AARCH64-FREEBSD:#define __INT_FAST32_TYPE__ int
1147 // AARCH64-FREEBSD:#define __INT_FAST64_FMTd__ "ld"
1148 // AARCH64-FREEBSD:#define __INT_FAST64_FMTi__ "li"
1149 // AARCH64-FREEBSD:#define __INT_FAST64_MAX__ 9223372036854775807L
1150 // AARCH64-FREEBSD:#define __INT_FAST64_TYPE__ long int
1151 // AARCH64-FREEBSD:#define __INT_FAST8_FMTd__ "hhd"
1152 // AARCH64-FREEBSD:#define __INT_FAST8_FMTi__ "hhi"
1153 // AARCH64-FREEBSD:#define __INT_FAST8_MAX__ 127
1154 // AARCH64-FREEBSD:#define __INT_FAST8_TYPE__ signed char
1155 // AARCH64-FREEBSD:#define __INT_LEAST16_FMTd__ "hd"
1156 // AARCH64-FREEBSD:#define __INT_LEAST16_FMTi__ "hi"
1157 // AARCH64-FREEBSD:#define __INT_LEAST16_MAX__ 32767
1158 // AARCH64-FREEBSD:#define __INT_LEAST16_TYPE__ short
1159 // AARCH64-FREEBSD:#define __INT_LEAST32_FMTd__ "d"
1160 // AARCH64-FREEBSD:#define __INT_LEAST32_FMTi__ "i"
1161 // AARCH64-FREEBSD:#define __INT_LEAST32_MAX__ 2147483647
1162 // AARCH64-FREEBSD:#define __INT_LEAST32_TYPE__ int
1163 // AARCH64-FREEBSD:#define __INT_LEAST64_FMTd__ "ld"
1164 // AARCH64-FREEBSD:#define __INT_LEAST64_FMTi__ "li"
1165 // AARCH64-FREEBSD:#define __INT_LEAST64_MAX__ 9223372036854775807L
1166 // AARCH64-FREEBSD:#define __INT_LEAST64_TYPE__ long int
1167 // AARCH64-FREEBSD:#define __INT_LEAST8_FMTd__ "hhd"
1168 // AARCH64-FREEBSD:#define __INT_LEAST8_FMTi__ "hhi"
1169 // AARCH64-FREEBSD:#define __INT_LEAST8_MAX__ 127
1170 // AARCH64-FREEBSD:#define __INT_LEAST8_TYPE__ signed char
1171 // AARCH64-FREEBSD:#define __INT_MAX__ 2147483647
1172 // AARCH64-FREEBSD:#define __LDBL_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966L
1173 // AARCH64-FREEBSD:#define __LDBL_DIG__ 33
1174 // AARCH64-FREEBSD:#define __LDBL_EPSILON__ 1.92592994438723585305597794258492732e-34L
1175 // AARCH64-FREEBSD:#define __LDBL_HAS_DENORM__ 1
1176 // AARCH64-FREEBSD:#define __LDBL_HAS_INFINITY__ 1
1177 // AARCH64-FREEBSD:#define __LDBL_HAS_QUIET_NAN__ 1
1178 // AARCH64-FREEBSD:#define __LDBL_MANT_DIG__ 113
1179 // AARCH64-FREEBSD:#define __LDBL_MAX_10_EXP__ 4932
1180 // AARCH64-FREEBSD:#define __LDBL_MAX_EXP__ 16384
1181 // AARCH64-FREEBSD:#define __LDBL_MAX__ 1.18973149535723176508575932662800702e+4932L
1182 // AARCH64-FREEBSD:#define __LDBL_MIN_10_EXP__ (-4931)
1183 // AARCH64-FREEBSD:#define __LDBL_MIN_EXP__ (-16381)
1184 // AARCH64-FREEBSD:#define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L
1185 // AARCH64-FREEBSD:#define __LITTLE_ENDIAN__ 1
1186 // AARCH64-FREEBSD:#define __LONG_LONG_MAX__ 9223372036854775807LL
1187 // AARCH64-FREEBSD:#define __LONG_MAX__ 9223372036854775807L
1188 // AARCH64-FREEBSD:#define __LP64__ 1
1189 // AARCH64-FREEBSD:#define __POINTER_WIDTH__ 64
1190 // AARCH64-FREEBSD:#define __PTRDIFF_TYPE__ long int
1191 // AARCH64-FREEBSD:#define __PTRDIFF_WIDTH__ 64
1192 // AARCH64-FREEBSD:#define __SCHAR_MAX__ 127
1193 // AARCH64-FREEBSD:#define __SHRT_MAX__ 32767
1194 // AARCH64-FREEBSD:#define __SIG_ATOMIC_MAX__ 2147483647
1195 // AARCH64-FREEBSD:#define __SIG_ATOMIC_WIDTH__ 32
1196 // AARCH64-FREEBSD:#define __SIZEOF_DOUBLE__ 8
1197 // AARCH64-FREEBSD:#define __SIZEOF_FLOAT__ 4
1198 // AARCH64-FREEBSD:#define __SIZEOF_INT128__ 16
1199 // AARCH64-FREEBSD:#define __SIZEOF_INT__ 4
1200 // AARCH64-FREEBSD:#define __SIZEOF_LONG_DOUBLE__ 16
1201 // AARCH64-FREEBSD:#define __SIZEOF_LONG_LONG__ 8
1202 // AARCH64-FREEBSD:#define __SIZEOF_LONG__ 8
1203 // AARCH64-FREEBSD:#define __SIZEOF_POINTER__ 8
1204 // AARCH64-FREEBSD:#define __SIZEOF_PTRDIFF_T__ 8
1205 // AARCH64-FREEBSD:#define __SIZEOF_SHORT__ 2
1206 // AARCH64-FREEBSD:#define __SIZEOF_SIZE_T__ 8
1207 // AARCH64-FREEBSD:#define __SIZEOF_WCHAR_T__ 4
1208 // AARCH64-FREEBSD:#define __SIZEOF_WINT_T__ 4
1209 // AARCH64-FREEBSD:#define __SIZE_MAX__ 18446744073709551615UL
1210 // AARCH64-FREEBSD:#define __SIZE_TYPE__ long unsigned int
1211 // AARCH64-FREEBSD:#define __SIZE_WIDTH__ 64
1212 // AARCH64-FREEBSD:#define __UINT16_C_SUFFIX__
1213 // AARCH64-FREEBSD:#define __UINT16_MAX__ 65535
1214 // AARCH64-FREEBSD:#define __UINT16_TYPE__ unsigned short
1215 // AARCH64-FREEBSD:#define __UINT32_C_SUFFIX__ U
1216 // AARCH64-FREEBSD:#define __UINT32_MAX__ 4294967295U
1217 // AARCH64-FREEBSD:#define __UINT32_TYPE__ unsigned int
1218 // AARCH64-FREEBSD:#define __UINT64_C_SUFFIX__ UL
1219 // AARCH64-FREEBSD:#define __UINT64_MAX__ 18446744073709551615UL
1220 // AARCH64-FREEBSD:#define __UINT64_TYPE__ long unsigned int
1221 // AARCH64-FREEBSD:#define __UINT8_C_SUFFIX__
1222 // AARCH64-FREEBSD:#define __UINT8_MAX__ 255
1223 // AARCH64-FREEBSD:#define __UINT8_TYPE__ unsigned char
1224 // AARCH64-FREEBSD:#define __UINTMAX_C_SUFFIX__ UL
1225 // AARCH64-FREEBSD:#define __UINTMAX_MAX__ 18446744073709551615UL
1226 // AARCH64-FREEBSD:#define __UINTMAX_TYPE__ long unsigned int
1227 // AARCH64-FREEBSD:#define __UINTMAX_WIDTH__ 64
1228 // AARCH64-FREEBSD:#define __UINTPTR_MAX__ 18446744073709551615UL
1229 // AARCH64-FREEBSD:#define __UINTPTR_TYPE__ long unsigned int
1230 // AARCH64-FREEBSD:#define __UINTPTR_WIDTH__ 64
1231 // AARCH64-FREEBSD:#define __UINT_FAST16_MAX__ 65535
1232 // AARCH64-FREEBSD:#define __UINT_FAST16_TYPE__ unsigned short
1233 // AARCH64-FREEBSD:#define __UINT_FAST32_MAX__ 4294967295U
1234 // AARCH64-FREEBSD:#define __UINT_FAST32_TYPE__ unsigned int
1235 // AARCH64-FREEBSD:#define __UINT_FAST64_MAX__ 18446744073709551615UL
1236 // AARCH64-FREEBSD:#define __UINT_FAST64_TYPE__ long unsigned int
1237 // AARCH64-FREEBSD:#define __UINT_FAST8_MAX__ 255
1238 // AARCH64-FREEBSD:#define __UINT_FAST8_TYPE__ unsigned char
1239 // AARCH64-FREEBSD:#define __UINT_LEAST16_MAX__ 65535
1240 // AARCH64-FREEBSD:#define __UINT_LEAST16_TYPE__ unsigned short
1241 // AARCH64-FREEBSD:#define __UINT_LEAST32_MAX__ 4294967295U
1242 // AARCH64-FREEBSD:#define __UINT_LEAST32_TYPE__ unsigned int
1243 // AARCH64-FREEBSD:#define __UINT_LEAST64_MAX__ 18446744073709551615UL
1244 // AARCH64-FREEBSD:#define __UINT_LEAST64_TYPE__ long unsigned int
1245 // AARCH64-FREEBSD:#define __UINT_LEAST8_MAX__ 255
1246 // AARCH64-FREEBSD:#define __UINT_LEAST8_TYPE__ unsigned char
1247 // AARCH64-FREEBSD:#define __USER_LABEL_PREFIX__
1248 // AARCH64-FREEBSD:#define __WCHAR_MAX__ 4294967295U
1249 // AARCH64-FREEBSD:#define __WCHAR_TYPE__ unsigned int
1250 // AARCH64-FREEBSD:#define __WCHAR_UNSIGNED__ 1
1251 // AARCH64-FREEBSD:#define __WCHAR_WIDTH__ 32
1252 // AARCH64-FREEBSD:#define __WINT_MAX__ 2147483647
1253 // AARCH64-FREEBSD:#define __WINT_TYPE__ int
1254 // AARCH64-FREEBSD:#define __WINT_WIDTH__ 32
1255 // AARCH64-FREEBSD:#define __aarch64__ 1
1256 
1257 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=aarch64-apple-ios7.0 < /dev/null | FileCheck -match-full-lines -check-prefix AARCH64-DARWIN %s
1258 //
1259 // AARCH64-DARWIN: #define _LP64 1
1260 // AARCH64-DARWIN-NOT: #define __AARCH64EB__ 1
1261 // AARCH64-DARWIN: #define __AARCH64EL__ 1
1262 // AARCH64-DARWIN-NOT: #define __AARCH_BIG_ENDIAN 1
1263 // AARCH64-DARWIN: #define __ARM_64BIT_STATE 1
1264 // AARCH64-DARWIN: #define __ARM_ARCH 8
1265 // AARCH64-DARWIN: #define __ARM_ARCH_ISA_A64 1
1266 // AARCH64-DARWIN-NOT: #define __ARM_BIG_ENDIAN 1
1267 // AARCH64-DARWIN: #define __BIGGEST_ALIGNMENT__ 8
1268 // AARCH64-DARWIN: #define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
1269 // AARCH64-DARWIN: #define __CHAR16_TYPE__ unsigned short
1270 // AARCH64-DARWIN: #define __CHAR32_TYPE__ unsigned int
1271 // AARCH64-DARWIN: #define __CHAR_BIT__ 8
1272 // AARCH64-DARWIN: #define __DBL_DENORM_MIN__ 4.9406564584124654e-324
1273 // AARCH64-DARWIN: #define __DBL_DIG__ 15
1274 // AARCH64-DARWIN: #define __DBL_EPSILON__ 2.2204460492503131e-16
1275 // AARCH64-DARWIN: #define __DBL_HAS_DENORM__ 1
1276 // AARCH64-DARWIN: #define __DBL_HAS_INFINITY__ 1
1277 // AARCH64-DARWIN: #define __DBL_HAS_QUIET_NAN__ 1
1278 // AARCH64-DARWIN: #define __DBL_MANT_DIG__ 53
1279 // AARCH64-DARWIN: #define __DBL_MAX_10_EXP__ 308
1280 // AARCH64-DARWIN: #define __DBL_MAX_EXP__ 1024
1281 // AARCH64-DARWIN: #define __DBL_MAX__ 1.7976931348623157e+308
1282 // AARCH64-DARWIN: #define __DBL_MIN_10_EXP__ (-307)
1283 // AARCH64-DARWIN: #define __DBL_MIN_EXP__ (-1021)
1284 // AARCH64-DARWIN: #define __DBL_MIN__ 2.2250738585072014e-308
1285 // AARCH64-DARWIN: #define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
1286 // AARCH64-DARWIN: #define __FLT_DENORM_MIN__ 1.40129846e-45F
1287 // AARCH64-DARWIN: #define __FLT_DIG__ 6
1288 // AARCH64-DARWIN: #define __FLT_EPSILON__ 1.19209290e-7F
1289 // AARCH64-DARWIN: #define __FLT_EVAL_METHOD__ 0
1290 // AARCH64-DARWIN: #define __FLT_HAS_DENORM__ 1
1291 // AARCH64-DARWIN: #define __FLT_HAS_INFINITY__ 1
1292 // AARCH64-DARWIN: #define __FLT_HAS_QUIET_NAN__ 1
1293 // AARCH64-DARWIN: #define __FLT_MANT_DIG__ 24
1294 // AARCH64-DARWIN: #define __FLT_MAX_10_EXP__ 38
1295 // AARCH64-DARWIN: #define __FLT_MAX_EXP__ 128
1296 // AARCH64-DARWIN: #define __FLT_MAX__ 3.40282347e+38F
1297 // AARCH64-DARWIN: #define __FLT_MIN_10_EXP__ (-37)
1298 // AARCH64-DARWIN: #define __FLT_MIN_EXP__ (-125)
1299 // AARCH64-DARWIN: #define __FLT_MIN__ 1.17549435e-38F
1300 // AARCH64-DARWIN: #define __FLT_RADIX__ 2
1301 // AARCH64-DARWIN: #define __INT16_C_SUFFIX__
1302 // AARCH64-DARWIN: #define __INT16_FMTd__ "hd"
1303 // AARCH64-DARWIN: #define __INT16_FMTi__ "hi"
1304 // AARCH64-DARWIN: #define __INT16_MAX__ 32767
1305 // AARCH64-DARWIN: #define __INT16_TYPE__ short
1306 // AARCH64-DARWIN: #define __INT32_C_SUFFIX__
1307 // AARCH64-DARWIN: #define __INT32_FMTd__ "d"
1308 // AARCH64-DARWIN: #define __INT32_FMTi__ "i"
1309 // AARCH64-DARWIN: #define __INT32_MAX__ 2147483647
1310 // AARCH64-DARWIN: #define __INT32_TYPE__ int
1311 // AARCH64-DARWIN: #define __INT64_C_SUFFIX__ LL
1312 // AARCH64-DARWIN: #define __INT64_FMTd__ "lld"
1313 // AARCH64-DARWIN: #define __INT64_FMTi__ "lli"
1314 // AARCH64-DARWIN: #define __INT64_MAX__ 9223372036854775807LL
1315 // AARCH64-DARWIN: #define __INT64_TYPE__ long long int
1316 // AARCH64-DARWIN: #define __INT8_C_SUFFIX__
1317 // AARCH64-DARWIN: #define __INT8_FMTd__ "hhd"
1318 // AARCH64-DARWIN: #define __INT8_FMTi__ "hhi"
1319 // AARCH64-DARWIN: #define __INT8_MAX__ 127
1320 // AARCH64-DARWIN: #define __INT8_TYPE__ signed char
1321 // AARCH64-DARWIN: #define __INTMAX_C_SUFFIX__ L
1322 // AARCH64-DARWIN: #define __INTMAX_FMTd__ "ld"
1323 // AARCH64-DARWIN: #define __INTMAX_FMTi__ "li"
1324 // AARCH64-DARWIN: #define __INTMAX_MAX__ 9223372036854775807L
1325 // AARCH64-DARWIN: #define __INTMAX_TYPE__ long int
1326 // AARCH64-DARWIN: #define __INTMAX_WIDTH__ 64
1327 // AARCH64-DARWIN: #define __INTPTR_FMTd__ "ld"
1328 // AARCH64-DARWIN: #define __INTPTR_FMTi__ "li"
1329 // AARCH64-DARWIN: #define __INTPTR_MAX__ 9223372036854775807L
1330 // AARCH64-DARWIN: #define __INTPTR_TYPE__ long int
1331 // AARCH64-DARWIN: #define __INTPTR_WIDTH__ 64
1332 // AARCH64-DARWIN: #define __INT_FAST16_FMTd__ "hd"
1333 // AARCH64-DARWIN: #define __INT_FAST16_FMTi__ "hi"
1334 // AARCH64-DARWIN: #define __INT_FAST16_MAX__ 32767
1335 // AARCH64-DARWIN: #define __INT_FAST16_TYPE__ short
1336 // AARCH64-DARWIN: #define __INT_FAST32_FMTd__ "d"
1337 // AARCH64-DARWIN: #define __INT_FAST32_FMTi__ "i"
1338 // AARCH64-DARWIN: #define __INT_FAST32_MAX__ 2147483647
1339 // AARCH64-DARWIN: #define __INT_FAST32_TYPE__ int
1340 // AARCH64-DARWIN: #define __INT_FAST64_FMTd__ "lld"
1341 // AARCH64-DARWIN: #define __INT_FAST64_FMTi__ "lli"
1342 // AARCH64-DARWIN: #define __INT_FAST64_MAX__ 9223372036854775807LL
1343 // AARCH64-DARWIN: #define __INT_FAST64_TYPE__ long long int
1344 // AARCH64-DARWIN: #define __INT_FAST8_FMTd__ "hhd"
1345 // AARCH64-DARWIN: #define __INT_FAST8_FMTi__ "hhi"
1346 // AARCH64-DARWIN: #define __INT_FAST8_MAX__ 127
1347 // AARCH64-DARWIN: #define __INT_FAST8_TYPE__ signed char
1348 // AARCH64-DARWIN: #define __INT_LEAST16_FMTd__ "hd"
1349 // AARCH64-DARWIN: #define __INT_LEAST16_FMTi__ "hi"
1350 // AARCH64-DARWIN: #define __INT_LEAST16_MAX__ 32767
1351 // AARCH64-DARWIN: #define __INT_LEAST16_TYPE__ short
1352 // AARCH64-DARWIN: #define __INT_LEAST32_FMTd__ "d"
1353 // AARCH64-DARWIN: #define __INT_LEAST32_FMTi__ "i"
1354 // AARCH64-DARWIN: #define __INT_LEAST32_MAX__ 2147483647
1355 // AARCH64-DARWIN: #define __INT_LEAST32_TYPE__ int
1356 // AARCH64-DARWIN: #define __INT_LEAST64_FMTd__ "lld"
1357 // AARCH64-DARWIN: #define __INT_LEAST64_FMTi__ "lli"
1358 // AARCH64-DARWIN: #define __INT_LEAST64_MAX__ 9223372036854775807LL
1359 // AARCH64-DARWIN: #define __INT_LEAST64_TYPE__ long long int
1360 // AARCH64-DARWIN: #define __INT_LEAST8_FMTd__ "hhd"
1361 // AARCH64-DARWIN: #define __INT_LEAST8_FMTi__ "hhi"
1362 // AARCH64-DARWIN: #define __INT_LEAST8_MAX__ 127
1363 // AARCH64-DARWIN: #define __INT_LEAST8_TYPE__ signed char
1364 // AARCH64-DARWIN: #define __INT_MAX__ 2147483647
1365 // AARCH64-DARWIN: #define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
1366 // AARCH64-DARWIN: #define __LDBL_DIG__ 15
1367 // AARCH64-DARWIN: #define __LDBL_EPSILON__ 2.2204460492503131e-16L
1368 // AARCH64-DARWIN: #define __LDBL_HAS_DENORM__ 1
1369 // AARCH64-DARWIN: #define __LDBL_HAS_INFINITY__ 1
1370 // AARCH64-DARWIN: #define __LDBL_HAS_QUIET_NAN__ 1
1371 // AARCH64-DARWIN: #define __LDBL_MANT_DIG__ 53
1372 // AARCH64-DARWIN: #define __LDBL_MAX_10_EXP__ 308
1373 // AARCH64-DARWIN: #define __LDBL_MAX_EXP__ 1024
1374 // AARCH64-DARWIN: #define __LDBL_MAX__ 1.7976931348623157e+308L
1375 // AARCH64-DARWIN: #define __LDBL_MIN_10_EXP__ (-307)
1376 // AARCH64-DARWIN: #define __LDBL_MIN_EXP__ (-1021)
1377 // AARCH64-DARWIN: #define __LDBL_MIN__ 2.2250738585072014e-308L
1378 // AARCH64-DARWIN: #define __LONG_LONG_MAX__ 9223372036854775807LL
1379 // AARCH64-DARWIN: #define __LONG_MAX__ 9223372036854775807L
1380 // AARCH64-DARWIN: #define __LP64__ 1
1381 // AARCH64-DARWIN: #define __POINTER_WIDTH__ 64
1382 // AARCH64-DARWIN: #define __PTRDIFF_TYPE__ long int
1383 // AARCH64-DARWIN: #define __PTRDIFF_WIDTH__ 64
1384 // AARCH64-DARWIN: #define __SCHAR_MAX__ 127
1385 // AARCH64-DARWIN: #define __SHRT_MAX__ 32767
1386 // AARCH64-DARWIN: #define __SIG_ATOMIC_MAX__ 2147483647
1387 // AARCH64-DARWIN: #define __SIG_ATOMIC_WIDTH__ 32
1388 // AARCH64-DARWIN: #define __SIZEOF_DOUBLE__ 8
1389 // AARCH64-DARWIN: #define __SIZEOF_FLOAT__ 4
1390 // AARCH64-DARWIN: #define __SIZEOF_INT128__ 16
1391 // AARCH64-DARWIN: #define __SIZEOF_INT__ 4
1392 // AARCH64-DARWIN: #define __SIZEOF_LONG_DOUBLE__ 8
1393 // AARCH64-DARWIN: #define __SIZEOF_LONG_LONG__ 8
1394 // AARCH64-DARWIN: #define __SIZEOF_LONG__ 8
1395 // AARCH64-DARWIN: #define __SIZEOF_POINTER__ 8
1396 // AARCH64-DARWIN: #define __SIZEOF_PTRDIFF_T__ 8
1397 // AARCH64-DARWIN: #define __SIZEOF_SHORT__ 2
1398 // AARCH64-DARWIN: #define __SIZEOF_SIZE_T__ 8
1399 // AARCH64-DARWIN: #define __SIZEOF_WCHAR_T__ 4
1400 // AARCH64-DARWIN: #define __SIZEOF_WINT_T__ 4
1401 // AARCH64-DARWIN: #define __SIZE_MAX__ 18446744073709551615UL
1402 // AARCH64-DARWIN: #define __SIZE_TYPE__ long unsigned int
1403 // AARCH64-DARWIN: #define __SIZE_WIDTH__ 64
1404 // AARCH64-DARWIN: #define __UINT16_C_SUFFIX__
1405 // AARCH64-DARWIN: #define __UINT16_MAX__ 65535
1406 // AARCH64-DARWIN: #define __UINT16_TYPE__ unsigned short
1407 // AARCH64-DARWIN: #define __UINT32_C_SUFFIX__ U
1408 // AARCH64-DARWIN: #define __UINT32_MAX__ 4294967295U
1409 // AARCH64-DARWIN: #define __UINT32_TYPE__ unsigned int
1410 // AARCH64-DARWIN: #define __UINT64_C_SUFFIX__ ULL
1411 // AARCH64-DARWIN: #define __UINT64_MAX__ 18446744073709551615ULL
1412 // AARCH64-DARWIN: #define __UINT64_TYPE__ long long unsigned int
1413 // AARCH64-DARWIN: #define __UINT8_C_SUFFIX__
1414 // AARCH64-DARWIN: #define __UINT8_MAX__ 255
1415 // AARCH64-DARWIN: #define __UINT8_TYPE__ unsigned char
1416 // AARCH64-DARWIN: #define __UINTMAX_C_SUFFIX__ UL
1417 // AARCH64-DARWIN: #define __UINTMAX_MAX__ 18446744073709551615UL
1418 // AARCH64-DARWIN: #define __UINTMAX_TYPE__ long unsigned int
1419 // AARCH64-DARWIN: #define __UINTMAX_WIDTH__ 64
1420 // AARCH64-DARWIN: #define __UINTPTR_MAX__ 18446744073709551615UL
1421 // AARCH64-DARWIN: #define __UINTPTR_TYPE__ long unsigned int
1422 // AARCH64-DARWIN: #define __UINTPTR_WIDTH__ 64
1423 // AARCH64-DARWIN: #define __UINT_FAST16_MAX__ 65535
1424 // AARCH64-DARWIN: #define __UINT_FAST16_TYPE__ unsigned short
1425 // AARCH64-DARWIN: #define __UINT_FAST32_MAX__ 4294967295U
1426 // AARCH64-DARWIN: #define __UINT_FAST32_TYPE__ unsigned int
1427 // AARCH64-DARWIN: #define __UINT_FAST64_MAX__ 18446744073709551615ULL
1428 // AARCH64-DARWIN: #define __UINT_FAST64_TYPE__ long long unsigned int
1429 // AARCH64-DARWIN: #define __UINT_FAST8_MAX__ 255
1430 // AARCH64-DARWIN: #define __UINT_FAST8_TYPE__ unsigned char
1431 // AARCH64-DARWIN: #define __UINT_LEAST16_MAX__ 65535
1432 // AARCH64-DARWIN: #define __UINT_LEAST16_TYPE__ unsigned short
1433 // AARCH64-DARWIN: #define __UINT_LEAST32_MAX__ 4294967295U
1434 // AARCH64-DARWIN: #define __UINT_LEAST32_TYPE__ unsigned int
1435 // AARCH64-DARWIN: #define __UINT_LEAST64_MAX__ 18446744073709551615ULL
1436 // AARCH64-DARWIN: #define __UINT_LEAST64_TYPE__ long long unsigned int
1437 // AARCH64-DARWIN: #define __UINT_LEAST8_MAX__ 255
1438 // AARCH64-DARWIN: #define __UINT_LEAST8_TYPE__ unsigned char
1439 // AARCH64-DARWIN: #define __USER_LABEL_PREFIX__ _
1440 // AARCH64-DARWIN: #define __WCHAR_MAX__ 2147483647
1441 // AARCH64-DARWIN: #define __WCHAR_TYPE__ int
1442 // AARCH64-DARWIN-NOT: #define __WCHAR_UNSIGNED__
1443 // AARCH64-DARWIN: #define __WCHAR_WIDTH__ 32
1444 // AARCH64-DARWIN: #define __WINT_TYPE__ int
1445 // AARCH64-DARWIN: #define __WINT_WIDTH__ 32
1446 // AARCH64-DARWIN: #define __aarch64__ 1
1447 
1448 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=thumbv7-windows-msvc < /dev/null | FileCheck -match-full-lines -check-prefix ARM-MSVC %s
1449 //
1450 // ARM-MSVC: #define _M_ARM_NT 1
1451 // ARM-MSVC: #define _WIN32 1
1452 // ARM-MSVC-NOT:#define __ARM_DWARF_EH__ 1
1453 
1454 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=aarch64-windows-msvc < /dev/null | FileCheck -match-full-lines -check-prefix AARCH64-MSVC %s
1455 //
1456 // AARCH64-MSVC: #define _INTEGRAL_MAX_BITS 64
1457 // AARCH64-MSVC-NOT: #define _LP64 1
1458 // AARCH64-MSVC: #define _M_ARM64 1
1459 // AARCH64-MSVC: #define _WIN32 1
1460 // AARCH64-MSVC: #define _WIN64 1
1461 // AARCH64-MSVC: #define __AARCH64EL__ 1
1462 // AARCH64-MSVC: #define __ARM_64BIT_STATE 1
1463 // AARCH64-MSVC: #define __ARM_ACLE 200
1464 // AARCH64-MSVC: #define __ARM_ALIGN_MAX_STACK_PWR 4
1465 // AARCH64-MSVC: #define __ARM_ARCH 8
1466 // AARCH64-MSVC: #define __ARM_ARCH_ISA_A64 1
1467 // AARCH64-MSVC: #define __ARM_ARCH_PROFILE 'A'
1468 // AARCH64-MSVC: #define __ARM_FEATURE_CLZ 1
1469 // AARCH64-MSVC: #define __ARM_FEATURE_DIRECTED_ROUNDING 1
1470 // AARCH64-MSVC: #define __ARM_FEATURE_DIV 1
1471 // AARCH64-MSVC: #define __ARM_FEATURE_FMA 1
1472 // AARCH64-MSVC: #define __ARM_FEATURE_IDIV 1
1473 // AARCH64-MSVC: #define __ARM_FEATURE_LDREX 0xF
1474 // AARCH64-MSVC: #define __ARM_FEATURE_NUMERIC_MAXMIN 1
1475 // AARCH64-MSVC: #define __ARM_FEATURE_UNALIGNED 1
1476 // AARCH64-MSVC: #define __ARM_FP 0xE
1477 // AARCH64-MSVC: #define __ARM_FP16_ARGS 1
1478 // AARCH64-MSVC: #define __ARM_FP16_FORMAT_IEEE 1
1479 // AARCH64-MSVC: #define __ARM_PCS_AAPCS64 1
1480 // AARCH64-MSVC: #define __ARM_SIZEOF_MINIMAL_ENUM 4
1481 // AARCH64-MSVC: #define __ARM_SIZEOF_WCHAR_T 4
1482 // AARCH64-MSVC: #define __BIGGEST_ALIGNMENT__ 16
1483 // AARCH64-MSVC: #define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
1484 // AARCH64-MSVC: #define __CHAR16_TYPE__ unsigned short
1485 // AARCH64-MSVC: #define __CHAR32_TYPE__ unsigned int
1486 // AARCH64-MSVC: #define __CHAR_BIT__ 8
1487 // AARCH64-MSVC: #define __CONSTANT_CFSTRINGS__ 1
1488 // AARCH64-MSVC: #define __DBL_DECIMAL_DIG__ 17
1489 // AARCH64-MSVC: #define __DBL_DENORM_MIN__ 4.9406564584124654e-324
1490 // AARCH64-MSVC: #define __DBL_DIG__ 15
1491 // AARCH64-MSVC: #define __DBL_EPSILON__ 2.2204460492503131e-16
1492 // AARCH64-MSVC: #define __DBL_HAS_DENORM__ 1
1493 // AARCH64-MSVC: #define __DBL_HAS_INFINITY__ 1
1494 // AARCH64-MSVC: #define __DBL_HAS_QUIET_NAN__ 1
1495 // AARCH64-MSVC: #define __DBL_MANT_DIG__ 53
1496 // AARCH64-MSVC: #define __DBL_MAX_10_EXP__ 308
1497 // AARCH64-MSVC: #define __DBL_MAX_EXP__ 1024
1498 // AARCH64-MSVC: #define __DBL_MAX__ 1.7976931348623157e+308
1499 // AARCH64-MSVC: #define __DBL_MIN_10_EXP__ (-307)
1500 // AARCH64-MSVC: #define __DBL_MIN_EXP__ (-1021)
1501 // AARCH64-MSVC: #define __DBL_MIN__ 2.2250738585072014e-308
1502 // AARCH64-MSVC: #define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
1503 // AARCH64-MSVC: #define __FINITE_MATH_ONLY__ 0
1504 // AARCH64-MSVC: #define __FLT_DECIMAL_DIG__ 9
1505 // AARCH64-MSVC: #define __FLT_DENORM_MIN__ 1.40129846e-45F
1506 // AARCH64-MSVC: #define __FLT_DIG__ 6
1507 // AARCH64-MSVC: #define __FLT_EPSILON__ 1.19209290e-7F
1508 // AARCH64-MSVC: #define __FLT_EVAL_METHOD__ 0
1509 // AARCH64-MSVC: #define __FLT_HAS_DENORM__ 1
1510 // AARCH64-MSVC: #define __FLT_HAS_INFINITY__ 1
1511 // AARCH64-MSVC: #define __FLT_HAS_QUIET_NAN__ 1
1512 // AARCH64-MSVC: #define __FLT_MANT_DIG__ 24
1513 // AARCH64-MSVC: #define __FLT_MAX_10_EXP__ 38
1514 // AARCH64-MSVC: #define __FLT_MAX_EXP__ 128
1515 // AARCH64-MSVC: #define __FLT_MAX__ 3.40282347e+38F
1516 // AARCH64-MSVC: #define __FLT_MIN_10_EXP__ (-37)
1517 // AARCH64-MSVC: #define __FLT_MIN_EXP__ (-125)
1518 // AARCH64-MSVC: #define __FLT_MIN__ 1.17549435e-38F
1519 // AARCH64-MSVC: #define __FLT_RADIX__ 2
1520 // AARCH64-MSVC: #define __INT_MAX__ 2147483647
1521 // AARCH64-MSVC: #define __LDBL_DECIMAL_DIG__ 17
1522 // AARCH64-MSVC: #define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
1523 // AARCH64-MSVC: #define __LDBL_DIG__ 15
1524 // AARCH64-MSVC: #define __LDBL_EPSILON__ 2.2204460492503131e-16L
1525 // AARCH64-MSVC: #define __LDBL_HAS_DENORM__ 1
1526 // AARCH64-MSVC: #define __LDBL_HAS_INFINITY__ 1
1527 // AARCH64-MSVC: #define __LDBL_HAS_QUIET_NAN__ 1
1528 // AARCH64-MSVC: #define __LDBL_MANT_DIG__ 53
1529 // AARCH64-MSVC: #define __LDBL_MAX_10_EXP__ 308
1530 // AARCH64-MSVC: #define __LDBL_MAX_EXP__ 1024
1531 // AARCH64-MSVC: #define __LDBL_MAX__ 1.7976931348623157e+308L
1532 // AARCH64-MSVC: #define __LDBL_MIN_10_EXP__ (-307)
1533 // AARCH64-MSVC: #define __LDBL_MIN_EXP__ (-1021)
1534 // AARCH64-MSVC: #define __LDBL_MIN__ 2.2250738585072014e-308L
1535 // AARCH64-MSVC: #define __LITTLE_ENDIAN__ 1
1536 // AARCH64-MSVC: #define __LONG_LONG_MAX__ 9223372036854775807LL
1537 // AARCH64-MSVC: #define __LONG_MAX__ 2147483647L
1538 // AARCH64-MSVC-NOT: #define __LP64__ 1
1539 // AARCH64-MSVC: #define __NO_INLINE__ 1
1540 // AARCH64-MSVC: #define __OBJC_BOOL_IS_BOOL 0
1541 // AARCH64-MSVC: #define __ORDER_BIG_ENDIAN__ 4321
1542 // AARCH64-MSVC: #define __ORDER_LITTLE_ENDIAN__ 1234
1543 // AARCH64-MSVC: #define __ORDER_PDP_ENDIAN__ 3412
1544 // AARCH64-MSVC: #define __POINTER_WIDTH__ 64
1545 // AARCH64-MSVC: #define __PRAGMA_REDEFINE_EXTNAME 1
1546 // AARCH64-MSVC: #define __SCHAR_MAX__ 127
1547 // AARCH64-MSVC: #define __SHRT_MAX__ 32767
1548 // AARCH64-MSVC: #define __SIG_ATOMIC_MAX__ 2147483647
1549 // AARCH64-MSVC: #define __SIG_ATOMIC_WIDTH__ 32
1550 // AARCH64-MSVC: #define __SIZEOF_DOUBLE__ 8
1551 // AARCH64-MSVC: #define __SIZEOF_FLOAT__ 4
1552 // AARCH64-MSVC: #define __SIZEOF_INT128__ 16
1553 // AARCH64-MSVC: #define __SIZEOF_INT__ 4
1554 // AARCH64-MSVC: #define __SIZEOF_LONG_DOUBLE__ 8
1555 // AARCH64-MSVC: #define __SIZEOF_LONG_LONG__ 8
1556 // AARCH64-MSVC: #define __SIZEOF_LONG__ 4
1557 // AARCH64-MSVC: #define __SIZEOF_POINTER__ 8
1558 // AARCH64-MSVC: #define __SIZEOF_PTRDIFF_T__ 8
1559 // AARCH64-MSVC: #define __SIZEOF_SHORT__ 2
1560 // AARCH64-MSVC: #define __SIZEOF_SIZE_T__ 8
1561 // AARCH64-MSVC: #define __SIZEOF_WCHAR_T__ 2
1562 // AARCH64-MSVC: #define __SIZEOF_WINT_T__ 2
1563 // AARCH64-MSVC: #define __SIZE_MAX__ 18446744073709551615ULL
1564 // AARCH64-MSVC: #define __SIZE_TYPE__ long long unsigned int
1565 // AARCH64-MSVC: #define __SIZE_WIDTH__ 64
1566 // AARCH64-MSVC: #define __STDC_HOSTED__ 0
1567 // AARCH64-MSVC: #define __STDC_UTF_16__ 1
1568 // AARCH64-MSVC: #define __STDC_UTF_32__ 1
1569 // AARCH64-MSVC: #define __STDC_VERSION__ 201112L
1570 // AARCH64-MSVC: #define __STDC__ 1
1571 // AARCH64-MSVC: #define __UINT16_C_SUFFIX__
1572 // AARCH64-MSVC: #define __UINT16_MAX__ 65535
1573 // AARCH64-MSVC: #define __UINT16_TYPE__ unsigned short
1574 // AARCH64-MSVC: #define __UINT32_C_SUFFIX__ U
1575 // AARCH64-MSVC: #define __UINT32_MAX__ 4294967295U
1576 // AARCH64-MSVC: #define __UINT32_TYPE__ unsigned int
1577 // AARCH64-MSVC: #define __UINT64_C_SUFFIX__ ULL
1578 // AARCH64-MSVC: #define __UINT64_MAX__ 18446744073709551615ULL
1579 // AARCH64-MSVC: #define __UINT64_TYPE__ long long unsigned int
1580 // AARCH64-MSVC: #define __UINT8_C_SUFFIX__
1581 // AARCH64-MSVC: #define __UINT8_MAX__ 255
1582 // AARCH64-MSVC: #define __UINT8_TYPE__ unsigned char
1583 // AARCH64-MSVC: #define __UINTMAX_C_SUFFIX__ ULL
1584 // AARCH64-MSVC: #define __UINTMAX_MAX__ 18446744073709551615ULL
1585 // AARCH64-MSVC: #define __UINTMAX_TYPE__ long long unsigned int
1586 // AARCH64-MSVC: #define __UINTMAX_WIDTH__ 64
1587 // AARCH64-MSVC: #define __UINTPTR_MAX__ 18446744073709551615ULL
1588 // AARCH64-MSVC: #define __UINTPTR_TYPE__ long long unsigned int
1589 // AARCH64-MSVC: #define __UINTPTR_WIDTH__ 64
1590 // AARCH64-MSVC: #define __UINT_FAST16_MAX__ 65535
1591 // AARCH64-MSVC: #define __UINT_FAST16_TYPE__ unsigned short
1592 // AARCH64-MSVC: #define __UINT_FAST32_MAX__ 4294967295U
1593 // AARCH64-MSVC: #define __UINT_FAST32_TYPE__ unsigned int
1594 // AARCH64-MSVC: #define __UINT_FAST64_MAX__ 18446744073709551615ULL
1595 // AARCH64-MSVC: #define __UINT_FAST64_TYPE__ long long unsigned int
1596 // AARCH64-MSVC: #define __UINT_FAST8_MAX__ 255
1597 // AARCH64-MSVC: #define __UINT_FAST8_TYPE__ unsigned char
1598 // AARCH64-MSVC: #define __UINT_LEAST16_MAX__ 65535
1599 // AARCH64-MSVC: #define __UINT_LEAST16_TYPE__ unsigned short
1600 // AARCH64-MSVC: #define __UINT_LEAST32_MAX__ 4294967295U
1601 // AARCH64-MSVC: #define __UINT_LEAST32_TYPE__ unsigned int
1602 // AARCH64-MSVC: #define __UINT_LEAST64_MAX__ 18446744073709551615ULL
1603 // AARCH64-MSVC: #define __UINT_LEAST64_TYPE__ long long unsigned int
1604 // AARCH64-MSVC: #define __UINT_LEAST8_MAX__ 255
1605 // AARCH64-MSVC: #define __UINT_LEAST8_TYPE__ unsigned char
1606 // AARCH64-MSVC: #define __USER_LABEL_PREFIX__
1607 // AARCH64-MSVC: #define __WCHAR_MAX__ 65535
1608 // AARCH64-MSVC: #define __WCHAR_TYPE__ unsigned short
1609 // AARCH64-MSVC: #define __WCHAR_UNSIGNED__ 1
1610 // AARCH64-MSVC: #define __WCHAR_WIDTH__ 16
1611 // AARCH64-MSVC: #define __WINT_TYPE__ unsigned short
1612 // AARCH64-MSVC: #define __WINT_WIDTH__ 16
1613 // AARCH64-MSVC: #define __aarch64__ 1
1614 
1615 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=arm-none-none < /dev/null | FileCheck -match-full-lines -check-prefix ARM %s
1616 // RUN: %clang_cc1 -x c++ -E -dM -ffreestanding -triple=arm-none-none < /dev/null | FileCheck -match-full-lines -check-prefix ARM -check-prefix ARM-CXX %s
1617 //
1618 // ARM-NOT:#define _LP64
1619 // ARM:#define __APCS_32__ 1
1620 // ARM-NOT:#define __ARMEB__ 1
1621 // ARM:#define __ARMEL__ 1
1622 // ARM:#define __ARM_ARCH_4T__ 1
1623 // ARM-NOT:#define __ARM_BIG_ENDIAN 1
1624 // ARM:#define __BIGGEST_ALIGNMENT__ 8
1625 // ARM:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
1626 // ARM:#define __CHAR16_TYPE__ unsigned short
1627 // ARM:#define __CHAR32_TYPE__ unsigned int
1628 // ARM:#define __CHAR_BIT__ 8
1629 // ARM:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
1630 // ARM:#define __DBL_DIG__ 15
1631 // ARM:#define __DBL_EPSILON__ 2.2204460492503131e-16
1632 // ARM:#define __DBL_HAS_DENORM__ 1
1633 // ARM:#define __DBL_HAS_INFINITY__ 1
1634 // ARM:#define __DBL_HAS_QUIET_NAN__ 1
1635 // ARM:#define __DBL_MANT_DIG__ 53
1636 // ARM:#define __DBL_MAX_10_EXP__ 308
1637 // ARM:#define __DBL_MAX_EXP__ 1024
1638 // ARM:#define __DBL_MAX__ 1.7976931348623157e+308
1639 // ARM:#define __DBL_MIN_10_EXP__ (-307)
1640 // ARM:#define __DBL_MIN_EXP__ (-1021)
1641 // ARM:#define __DBL_MIN__ 2.2250738585072014e-308
1642 // ARM:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
1643 // ARM:#define __FLT_DENORM_MIN__ 1.40129846e-45F
1644 // ARM:#define __FLT_DIG__ 6
1645 // ARM:#define __FLT_EPSILON__ 1.19209290e-7F
1646 // ARM:#define __FLT_EVAL_METHOD__ 0
1647 // ARM:#define __FLT_HAS_DENORM__ 1
1648 // ARM:#define __FLT_HAS_INFINITY__ 1
1649 // ARM:#define __FLT_HAS_QUIET_NAN__ 1
1650 // ARM:#define __FLT_MANT_DIG__ 24
1651 // ARM:#define __FLT_MAX_10_EXP__ 38
1652 // ARM:#define __FLT_MAX_EXP__ 128
1653 // ARM:#define __FLT_MAX__ 3.40282347e+38F
1654 // ARM:#define __FLT_MIN_10_EXP__ (-37)
1655 // ARM:#define __FLT_MIN_EXP__ (-125)
1656 // ARM:#define __FLT_MIN__ 1.17549435e-38F
1657 // ARM:#define __FLT_RADIX__ 2
1658 // ARM:#define __INT16_C_SUFFIX__
1659 // ARM:#define __INT16_FMTd__ "hd"
1660 // ARM:#define __INT16_FMTi__ "hi"
1661 // ARM:#define __INT16_MAX__ 32767
1662 // ARM:#define __INT16_TYPE__ short
1663 // ARM:#define __INT32_C_SUFFIX__
1664 // ARM:#define __INT32_FMTd__ "d"
1665 // ARM:#define __INT32_FMTi__ "i"
1666 // ARM:#define __INT32_MAX__ 2147483647
1667 // ARM:#define __INT32_TYPE__ int
1668 // ARM:#define __INT64_C_SUFFIX__ LL
1669 // ARM:#define __INT64_FMTd__ "lld"
1670 // ARM:#define __INT64_FMTi__ "lli"
1671 // ARM:#define __INT64_MAX__ 9223372036854775807LL
1672 // ARM:#define __INT64_TYPE__ long long int
1673 // ARM:#define __INT8_C_SUFFIX__
1674 // ARM:#define __INT8_FMTd__ "hhd"
1675 // ARM:#define __INT8_FMTi__ "hhi"
1676 // ARM:#define __INT8_MAX__ 127
1677 // ARM:#define __INT8_TYPE__ signed char
1678 // ARM:#define __INTMAX_C_SUFFIX__ LL
1679 // ARM:#define __INTMAX_FMTd__ "lld"
1680 // ARM:#define __INTMAX_FMTi__ "lli"
1681 // ARM:#define __INTMAX_MAX__ 9223372036854775807LL
1682 // ARM:#define __INTMAX_TYPE__ long long int
1683 // ARM:#define __INTMAX_WIDTH__ 64
1684 // ARM:#define __INTPTR_FMTd__ "d"
1685 // ARM:#define __INTPTR_FMTi__ "i"
1686 // ARM:#define __INTPTR_MAX__ 2147483647
1687 // ARM:#define __INTPTR_TYPE__ int
1688 // ARM:#define __INTPTR_WIDTH__ 32
1689 // ARM:#define __INT_FAST16_FMTd__ "hd"
1690 // ARM:#define __INT_FAST16_FMTi__ "hi"
1691 // ARM:#define __INT_FAST16_MAX__ 32767
1692 // ARM:#define __INT_FAST16_TYPE__ short
1693 // ARM:#define __INT_FAST32_FMTd__ "d"
1694 // ARM:#define __INT_FAST32_FMTi__ "i"
1695 // ARM:#define __INT_FAST32_MAX__ 2147483647
1696 // ARM:#define __INT_FAST32_TYPE__ int
1697 // ARM:#define __INT_FAST64_FMTd__ "lld"
1698 // ARM:#define __INT_FAST64_FMTi__ "lli"
1699 // ARM:#define __INT_FAST64_MAX__ 9223372036854775807LL
1700 // ARM:#define __INT_FAST64_TYPE__ long long int
1701 // ARM:#define __INT_FAST8_FMTd__ "hhd"
1702 // ARM:#define __INT_FAST8_FMTi__ "hhi"
1703 // ARM:#define __INT_FAST8_MAX__ 127
1704 // ARM:#define __INT_FAST8_TYPE__ signed char
1705 // ARM:#define __INT_LEAST16_FMTd__ "hd"
1706 // ARM:#define __INT_LEAST16_FMTi__ "hi"
1707 // ARM:#define __INT_LEAST16_MAX__ 32767
1708 // ARM:#define __INT_LEAST16_TYPE__ short
1709 // ARM:#define __INT_LEAST32_FMTd__ "d"
1710 // ARM:#define __INT_LEAST32_FMTi__ "i"
1711 // ARM:#define __INT_LEAST32_MAX__ 2147483647
1712 // ARM:#define __INT_LEAST32_TYPE__ int
1713 // ARM:#define __INT_LEAST64_FMTd__ "lld"
1714 // ARM:#define __INT_LEAST64_FMTi__ "lli"
1715 // ARM:#define __INT_LEAST64_MAX__ 9223372036854775807LL
1716 // ARM:#define __INT_LEAST64_TYPE__ long long int
1717 // ARM:#define __INT_LEAST8_FMTd__ "hhd"
1718 // ARM:#define __INT_LEAST8_FMTi__ "hhi"
1719 // ARM:#define __INT_LEAST8_MAX__ 127
1720 // ARM:#define __INT_LEAST8_TYPE__ signed char
1721 // ARM:#define __INT_MAX__ 2147483647
1722 // ARM:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
1723 // ARM:#define __LDBL_DIG__ 15
1724 // ARM:#define __LDBL_EPSILON__ 2.2204460492503131e-16L
1725 // ARM:#define __LDBL_HAS_DENORM__ 1
1726 // ARM:#define __LDBL_HAS_INFINITY__ 1
1727 // ARM:#define __LDBL_HAS_QUIET_NAN__ 1
1728 // ARM:#define __LDBL_MANT_DIG__ 53
1729 // ARM:#define __LDBL_MAX_10_EXP__ 308
1730 // ARM:#define __LDBL_MAX_EXP__ 1024
1731 // ARM:#define __LDBL_MAX__ 1.7976931348623157e+308L
1732 // ARM:#define __LDBL_MIN_10_EXP__ (-307)
1733 // ARM:#define __LDBL_MIN_EXP__ (-1021)
1734 // ARM:#define __LDBL_MIN__ 2.2250738585072014e-308L
1735 // ARM:#define __LITTLE_ENDIAN__ 1
1736 // ARM:#define __LONG_LONG_MAX__ 9223372036854775807LL
1737 // ARM:#define __LONG_MAX__ 2147483647L
1738 // ARM-NOT:#define __LP64__
1739 // ARM:#define __POINTER_WIDTH__ 32
1740 // ARM:#define __PTRDIFF_TYPE__ int
1741 // ARM:#define __PTRDIFF_WIDTH__ 32
1742 // ARM:#define __REGISTER_PREFIX__
1743 // ARM:#define __SCHAR_MAX__ 127
1744 // ARM:#define __SHRT_MAX__ 32767
1745 // ARM:#define __SIG_ATOMIC_MAX__ 2147483647
1746 // ARM:#define __SIG_ATOMIC_WIDTH__ 32
1747 // ARM:#define __SIZEOF_DOUBLE__ 8
1748 // ARM:#define __SIZEOF_FLOAT__ 4
1749 // ARM:#define __SIZEOF_INT__ 4
1750 // ARM:#define __SIZEOF_LONG_DOUBLE__ 8
1751 // ARM:#define __SIZEOF_LONG_LONG__ 8
1752 // ARM:#define __SIZEOF_LONG__ 4
1753 // ARM:#define __SIZEOF_POINTER__ 4
1754 // ARM:#define __SIZEOF_PTRDIFF_T__ 4
1755 // ARM:#define __SIZEOF_SHORT__ 2
1756 // ARM:#define __SIZEOF_SIZE_T__ 4
1757 // ARM:#define __SIZEOF_WCHAR_T__ 4
1758 // ARM:#define __SIZEOF_WINT_T__ 4
1759 // ARM:#define __SIZE_MAX__ 4294967295U
1760 // ARM:#define __SIZE_TYPE__ unsigned int
1761 // ARM:#define __SIZE_WIDTH__ 32
1762 // ARM-CXX:#define __STDCPP_DEFAULT_NEW_ALIGNMENT__ 8U
1763 // ARM:#define __UINT16_C_SUFFIX__
1764 // ARM:#define __UINT16_MAX__ 65535
1765 // ARM:#define __UINT16_TYPE__ unsigned short
1766 // ARM:#define __UINT32_C_SUFFIX__ U
1767 // ARM:#define __UINT32_MAX__ 4294967295U
1768 // ARM:#define __UINT32_TYPE__ unsigned int
1769 // ARM:#define __UINT64_C_SUFFIX__ ULL
1770 // ARM:#define __UINT64_MAX__ 18446744073709551615ULL
1771 // ARM:#define __UINT64_TYPE__ long long unsigned int
1772 // ARM:#define __UINT8_C_SUFFIX__
1773 // ARM:#define __UINT8_MAX__ 255
1774 // ARM:#define __UINT8_TYPE__ unsigned char
1775 // ARM:#define __UINTMAX_C_SUFFIX__ ULL
1776 // ARM:#define __UINTMAX_MAX__ 18446744073709551615ULL
1777 // ARM:#define __UINTMAX_TYPE__ long long unsigned int
1778 // ARM:#define __UINTMAX_WIDTH__ 64
1779 // ARM:#define __UINTPTR_MAX__ 4294967295U
1780 // ARM:#define __UINTPTR_TYPE__ unsigned int
1781 // ARM:#define __UINTPTR_WIDTH__ 32
1782 // ARM:#define __UINT_FAST16_MAX__ 65535
1783 // ARM:#define __UINT_FAST16_TYPE__ unsigned short
1784 // ARM:#define __UINT_FAST32_MAX__ 4294967295U
1785 // ARM:#define __UINT_FAST32_TYPE__ unsigned int
1786 // ARM:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
1787 // ARM:#define __UINT_FAST64_TYPE__ long long unsigned int
1788 // ARM:#define __UINT_FAST8_MAX__ 255
1789 // ARM:#define __UINT_FAST8_TYPE__ unsigned char
1790 // ARM:#define __UINT_LEAST16_MAX__ 65535
1791 // ARM:#define __UINT_LEAST16_TYPE__ unsigned short
1792 // ARM:#define __UINT_LEAST32_MAX__ 4294967295U
1793 // ARM:#define __UINT_LEAST32_TYPE__ unsigned int
1794 // ARM:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
1795 // ARM:#define __UINT_LEAST64_TYPE__ long long unsigned int
1796 // ARM:#define __UINT_LEAST8_MAX__ 255
1797 // ARM:#define __UINT_LEAST8_TYPE__ unsigned char
1798 // ARM:#define __USER_LABEL_PREFIX__
1799 // ARM:#define __WCHAR_MAX__ 4294967295U
1800 // ARM:#define __WCHAR_TYPE__ unsigned int
1801 // ARM:#define __WCHAR_WIDTH__ 32
1802 // ARM:#define __WINT_TYPE__ int
1803 // ARM:#define __WINT_WIDTH__ 32
1804 // ARM:#define __arm 1
1805 // ARM:#define __arm__ 1
1806 
1807 // RUN: %clang_cc1 -dM -ffreestanding -triple arm-none-none -target-abi apcs-gnu -E /dev/null -o - | FileCheck -match-full-lines -check-prefix ARM-APCS-GNU %s
1808 // ARM-APCS-GNU: #define __INTPTR_TYPE__ int
1809 // ARM-APCS-GNU: #define __PTRDIFF_TYPE__ int
1810 // ARM-APCS-GNU: #define __SIZE_TYPE__ unsigned int
1811 
1812 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=armeb-none-none < /dev/null | FileCheck -match-full-lines -check-prefix ARM-BE %s
1813 //
1814 // ARM-BE-NOT:#define _LP64
1815 // ARM-BE:#define __APCS_32__ 1
1816 // ARM-BE:#define __ARMEB__ 1
1817 // ARM-BE-NOT:#define __ARMEL__ 1
1818 // ARM-BE:#define __ARM_ARCH_4T__ 1
1819 // ARM-BE:#define __ARM_BIG_ENDIAN 1
1820 // ARM-BE:#define __BIGGEST_ALIGNMENT__ 8
1821 // ARM-BE:#define __BIG_ENDIAN__ 1
1822 // ARM-BE:#define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__
1823 // ARM-BE:#define __CHAR16_TYPE__ unsigned short
1824 // ARM-BE:#define __CHAR32_TYPE__ unsigned int
1825 // ARM-BE:#define __CHAR_BIT__ 8
1826 // ARM-BE:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
1827 // ARM-BE:#define __DBL_DIG__ 15
1828 // ARM-BE:#define __DBL_EPSILON__ 2.2204460492503131e-16
1829 // ARM-BE:#define __DBL_HAS_DENORM__ 1
1830 // ARM-BE:#define __DBL_HAS_INFINITY__ 1
1831 // ARM-BE:#define __DBL_HAS_QUIET_NAN__ 1
1832 // ARM-BE:#define __DBL_MANT_DIG__ 53
1833 // ARM-BE:#define __DBL_MAX_10_EXP__ 308
1834 // ARM-BE:#define __DBL_MAX_EXP__ 1024
1835 // ARM-BE:#define __DBL_MAX__ 1.7976931348623157e+308
1836 // ARM-BE:#define __DBL_MIN_10_EXP__ (-307)
1837 // ARM-BE:#define __DBL_MIN_EXP__ (-1021)
1838 // ARM-BE:#define __DBL_MIN__ 2.2250738585072014e-308
1839 // ARM-BE:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
1840 // ARM-BE:#define __FLT_DENORM_MIN__ 1.40129846e-45F
1841 // ARM-BE:#define __FLT_DIG__ 6
1842 // ARM-BE:#define __FLT_EPSILON__ 1.19209290e-7F
1843 // ARM-BE:#define __FLT_EVAL_METHOD__ 0
1844 // ARM-BE:#define __FLT_HAS_DENORM__ 1
1845 // ARM-BE:#define __FLT_HAS_INFINITY__ 1
1846 // ARM-BE:#define __FLT_HAS_QUIET_NAN__ 1
1847 // ARM-BE:#define __FLT_MANT_DIG__ 24
1848 // ARM-BE:#define __FLT_MAX_10_EXP__ 38
1849 // ARM-BE:#define __FLT_MAX_EXP__ 128
1850 // ARM-BE:#define __FLT_MAX__ 3.40282347e+38F
1851 // ARM-BE:#define __FLT_MIN_10_EXP__ (-37)
1852 // ARM-BE:#define __FLT_MIN_EXP__ (-125)
1853 // ARM-BE:#define __FLT_MIN__ 1.17549435e-38F
1854 // ARM-BE:#define __FLT_RADIX__ 2
1855 // ARM-BE:#define __INT16_C_SUFFIX__
1856 // ARM-BE:#define __INT16_FMTd__ "hd"
1857 // ARM-BE:#define __INT16_FMTi__ "hi"
1858 // ARM-BE:#define __INT16_MAX__ 32767
1859 // ARM-BE:#define __INT16_TYPE__ short
1860 // ARM-BE:#define __INT32_C_SUFFIX__
1861 // ARM-BE:#define __INT32_FMTd__ "d"
1862 // ARM-BE:#define __INT32_FMTi__ "i"
1863 // ARM-BE:#define __INT32_MAX__ 2147483647
1864 // ARM-BE:#define __INT32_TYPE__ int
1865 // ARM-BE:#define __INT64_C_SUFFIX__ LL
1866 // ARM-BE:#define __INT64_FMTd__ "lld"
1867 // ARM-BE:#define __INT64_FMTi__ "lli"
1868 // ARM-BE:#define __INT64_MAX__ 9223372036854775807LL
1869 // ARM-BE:#define __INT64_TYPE__ long long int
1870 // ARM-BE:#define __INT8_C_SUFFIX__
1871 // ARM-BE:#define __INT8_FMTd__ "hhd"
1872 // ARM-BE:#define __INT8_FMTi__ "hhi"
1873 // ARM-BE:#define __INT8_MAX__ 127
1874 // ARM-BE:#define __INT8_TYPE__ signed char
1875 // ARM-BE:#define __INTMAX_C_SUFFIX__ LL
1876 // ARM-BE:#define __INTMAX_FMTd__ "lld"
1877 // ARM-BE:#define __INTMAX_FMTi__ "lli"
1878 // ARM-BE:#define __INTMAX_MAX__ 9223372036854775807LL
1879 // ARM-BE:#define __INTMAX_TYPE__ long long int
1880 // ARM-BE:#define __INTMAX_WIDTH__ 64
1881 // ARM-BE:#define __INTPTR_FMTd__ "d"
1882 // ARM-BE:#define __INTPTR_FMTi__ "i"
1883 // ARM-BE:#define __INTPTR_MAX__ 2147483647
1884 // ARM-BE:#define __INTPTR_TYPE__ int
1885 // ARM-BE:#define __INTPTR_WIDTH__ 32
1886 // ARM-BE:#define __INT_FAST16_FMTd__ "hd"
1887 // ARM-BE:#define __INT_FAST16_FMTi__ "hi"
1888 // ARM-BE:#define __INT_FAST16_MAX__ 32767
1889 // ARM-BE:#define __INT_FAST16_TYPE__ short
1890 // ARM-BE:#define __INT_FAST32_FMTd__ "d"
1891 // ARM-BE:#define __INT_FAST32_FMTi__ "i"
1892 // ARM-BE:#define __INT_FAST32_MAX__ 2147483647
1893 // ARM-BE:#define __INT_FAST32_TYPE__ int
1894 // ARM-BE:#define __INT_FAST64_FMTd__ "lld"
1895 // ARM-BE:#define __INT_FAST64_FMTi__ "lli"
1896 // ARM-BE:#define __INT_FAST64_MAX__ 9223372036854775807LL
1897 // ARM-BE:#define __INT_FAST64_TYPE__ long long int
1898 // ARM-BE:#define __INT_FAST8_FMTd__ "hhd"
1899 // ARM-BE:#define __INT_FAST8_FMTi__ "hhi"
1900 // ARM-BE:#define __INT_FAST8_MAX__ 127
1901 // ARM-BE:#define __INT_FAST8_TYPE__ signed char
1902 // ARM-BE:#define __INT_LEAST16_FMTd__ "hd"
1903 // ARM-BE:#define __INT_LEAST16_FMTi__ "hi"
1904 // ARM-BE:#define __INT_LEAST16_MAX__ 32767
1905 // ARM-BE:#define __INT_LEAST16_TYPE__ short
1906 // ARM-BE:#define __INT_LEAST32_FMTd__ "d"
1907 // ARM-BE:#define __INT_LEAST32_FMTi__ "i"
1908 // ARM-BE:#define __INT_LEAST32_MAX__ 2147483647
1909 // ARM-BE:#define __INT_LEAST32_TYPE__ int
1910 // ARM-BE:#define __INT_LEAST64_FMTd__ "lld"
1911 // ARM-BE:#define __INT_LEAST64_FMTi__ "lli"
1912 // ARM-BE:#define __INT_LEAST64_MAX__ 9223372036854775807LL
1913 // ARM-BE:#define __INT_LEAST64_TYPE__ long long int
1914 // ARM-BE:#define __INT_LEAST8_FMTd__ "hhd"
1915 // ARM-BE:#define __INT_LEAST8_FMTi__ "hhi"
1916 // ARM-BE:#define __INT_LEAST8_MAX__ 127
1917 // ARM-BE:#define __INT_LEAST8_TYPE__ signed char
1918 // ARM-BE:#define __INT_MAX__ 2147483647
1919 // ARM-BE:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
1920 // ARM-BE:#define __LDBL_DIG__ 15
1921 // ARM-BE:#define __LDBL_EPSILON__ 2.2204460492503131e-16L
1922 // ARM-BE:#define __LDBL_HAS_DENORM__ 1
1923 // ARM-BE:#define __LDBL_HAS_INFINITY__ 1
1924 // ARM-BE:#define __LDBL_HAS_QUIET_NAN__ 1
1925 // ARM-BE:#define __LDBL_MANT_DIG__ 53
1926 // ARM-BE:#define __LDBL_MAX_10_EXP__ 308
1927 // ARM-BE:#define __LDBL_MAX_EXP__ 1024
1928 // ARM-BE:#define __LDBL_MAX__ 1.7976931348623157e+308L
1929 // ARM-BE:#define __LDBL_MIN_10_EXP__ (-307)
1930 // ARM-BE:#define __LDBL_MIN_EXP__ (-1021)
1931 // ARM-BE:#define __LDBL_MIN__ 2.2250738585072014e-308L
1932 // ARM-BE:#define __LONG_LONG_MAX__ 9223372036854775807LL
1933 // ARM-BE:#define __LONG_MAX__ 2147483647L
1934 // ARM-BE-NOT:#define __LP64__
1935 // ARM-BE:#define __POINTER_WIDTH__ 32
1936 // ARM-BE:#define __PTRDIFF_TYPE__ int
1937 // ARM-BE:#define __PTRDIFF_WIDTH__ 32
1938 // ARM-BE:#define __REGISTER_PREFIX__
1939 // ARM-BE:#define __SCHAR_MAX__ 127
1940 // ARM-BE:#define __SHRT_MAX__ 32767
1941 // ARM-BE:#define __SIG_ATOMIC_MAX__ 2147483647
1942 // ARM-BE:#define __SIG_ATOMIC_WIDTH__ 32
1943 // ARM-BE:#define __SIZEOF_DOUBLE__ 8
1944 // ARM-BE:#define __SIZEOF_FLOAT__ 4
1945 // ARM-BE:#define __SIZEOF_INT__ 4
1946 // ARM-BE:#define __SIZEOF_LONG_DOUBLE__ 8
1947 // ARM-BE:#define __SIZEOF_LONG_LONG__ 8
1948 // ARM-BE:#define __SIZEOF_LONG__ 4
1949 // ARM-BE:#define __SIZEOF_POINTER__ 4
1950 // ARM-BE:#define __SIZEOF_PTRDIFF_T__ 4
1951 // ARM-BE:#define __SIZEOF_SHORT__ 2
1952 // ARM-BE:#define __SIZEOF_SIZE_T__ 4
1953 // ARM-BE:#define __SIZEOF_WCHAR_T__ 4
1954 // ARM-BE:#define __SIZEOF_WINT_T__ 4
1955 // ARM-BE:#define __SIZE_MAX__ 4294967295U
1956 // ARM-BE:#define __SIZE_TYPE__ unsigned int
1957 // ARM-BE:#define __SIZE_WIDTH__ 32
1958 // ARM-BE:#define __UINT16_C_SUFFIX__
1959 // ARM-BE:#define __UINT16_MAX__ 65535
1960 // ARM-BE:#define __UINT16_TYPE__ unsigned short
1961 // ARM-BE:#define __UINT32_C_SUFFIX__ U
1962 // ARM-BE:#define __UINT32_MAX__ 4294967295U
1963 // ARM-BE:#define __UINT32_TYPE__ unsigned int
1964 // ARM-BE:#define __UINT64_C_SUFFIX__ ULL
1965 // ARM-BE:#define __UINT64_MAX__ 18446744073709551615ULL
1966 // ARM-BE:#define __UINT64_TYPE__ long long unsigned int
1967 // ARM-BE:#define __UINT8_C_SUFFIX__
1968 // ARM-BE:#define __UINT8_MAX__ 255
1969 // ARM-BE:#define __UINT8_TYPE__ unsigned char
1970 // ARM-BE:#define __UINTMAX_C_SUFFIX__ ULL
1971 // ARM-BE:#define __UINTMAX_MAX__ 18446744073709551615ULL
1972 // ARM-BE:#define __UINTMAX_TYPE__ long long unsigned int
1973 // ARM-BE:#define __UINTMAX_WIDTH__ 64
1974 // ARM-BE:#define __UINTPTR_MAX__ 4294967295U
1975 // ARM-BE:#define __UINTPTR_TYPE__ unsigned int
1976 // ARM-BE:#define __UINTPTR_WIDTH__ 32
1977 // ARM-BE:#define __UINT_FAST16_MAX__ 65535
1978 // ARM-BE:#define __UINT_FAST16_TYPE__ unsigned short
1979 // ARM-BE:#define __UINT_FAST32_MAX__ 4294967295U
1980 // ARM-BE:#define __UINT_FAST32_TYPE__ unsigned int
1981 // ARM-BE:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
1982 // ARM-BE:#define __UINT_FAST64_TYPE__ long long unsigned int
1983 // ARM-BE:#define __UINT_FAST8_MAX__ 255
1984 // ARM-BE:#define __UINT_FAST8_TYPE__ unsigned char
1985 // ARM-BE:#define __UINT_LEAST16_MAX__ 65535
1986 // ARM-BE:#define __UINT_LEAST16_TYPE__ unsigned short
1987 // ARM-BE:#define __UINT_LEAST32_MAX__ 4294967295U
1988 // ARM-BE:#define __UINT_LEAST32_TYPE__ unsigned int
1989 // ARM-BE:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
1990 // ARM-BE:#define __UINT_LEAST64_TYPE__ long long unsigned int
1991 // ARM-BE:#define __UINT_LEAST8_MAX__ 255
1992 // ARM-BE:#define __UINT_LEAST8_TYPE__ unsigned char
1993 // ARM-BE:#define __USER_LABEL_PREFIX__
1994 // ARM-BE:#define __WCHAR_MAX__ 4294967295U
1995 // ARM-BE:#define __WCHAR_TYPE__ unsigned int
1996 // ARM-BE:#define __WCHAR_WIDTH__ 32
1997 // ARM-BE:#define __WINT_TYPE__ int
1998 // ARM-BE:#define __WINT_WIDTH__ 32
1999 // ARM-BE:#define __arm 1
2000 // ARM-BE:#define __arm__ 1
2001 
2002 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=arm-none-linux-gnueabi -target-feature +soft-float -target-feature +soft-float-abi < /dev/null | FileCheck -match-full-lines -check-prefix ARMEABISOFTFP %s
2003 //
2004 // ARMEABISOFTFP-NOT:#define _LP64
2005 // ARMEABISOFTFP:#define __APCS_32__ 1
2006 // ARMEABISOFTFP-NOT:#define __ARMEB__ 1
2007 // ARMEABISOFTFP:#define __ARMEL__ 1
2008 // ARMEABISOFTFP:#define __ARM_ARCH 4
2009 // ARMEABISOFTFP:#define __ARM_ARCH_4T__ 1
2010 // ARMEABISOFTFP-NOT:#define __ARM_BIG_ENDIAN 1
2011 // ARMEABISOFTFP:#define __ARM_EABI__ 1
2012 // ARMEABISOFTFP:#define __ARM_PCS 1
2013 // ARMEABISOFTFP-NOT:#define __ARM_PCS_VFP 1
2014 // ARMEABISOFTFP:#define __BIGGEST_ALIGNMENT__ 8
2015 // ARMEABISOFTFP:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
2016 // ARMEABISOFTFP:#define __CHAR16_TYPE__ unsigned short
2017 // ARMEABISOFTFP:#define __CHAR32_TYPE__ unsigned int
2018 // ARMEABISOFTFP:#define __CHAR_BIT__ 8
2019 // ARMEABISOFTFP:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
2020 // ARMEABISOFTFP:#define __DBL_DIG__ 15
2021 // ARMEABISOFTFP:#define __DBL_EPSILON__ 2.2204460492503131e-16
2022 // ARMEABISOFTFP:#define __DBL_HAS_DENORM__ 1
2023 // ARMEABISOFTFP:#define __DBL_HAS_INFINITY__ 1
2024 // ARMEABISOFTFP:#define __DBL_HAS_QUIET_NAN__ 1
2025 // ARMEABISOFTFP:#define __DBL_MANT_DIG__ 53
2026 // ARMEABISOFTFP:#define __DBL_MAX_10_EXP__ 308
2027 // ARMEABISOFTFP:#define __DBL_MAX_EXP__ 1024
2028 // ARMEABISOFTFP:#define __DBL_MAX__ 1.7976931348623157e+308
2029 // ARMEABISOFTFP:#define __DBL_MIN_10_EXP__ (-307)
2030 // ARMEABISOFTFP:#define __DBL_MIN_EXP__ (-1021)
2031 // ARMEABISOFTFP:#define __DBL_MIN__ 2.2250738585072014e-308
2032 // ARMEABISOFTFP:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
2033 // ARMEABISOFTFP:#define __FLT_DENORM_MIN__ 1.40129846e-45F
2034 // ARMEABISOFTFP:#define __FLT_DIG__ 6
2035 // ARMEABISOFTFP:#define __FLT_EPSILON__ 1.19209290e-7F
2036 // ARMEABISOFTFP:#define __FLT_EVAL_METHOD__ 0
2037 // ARMEABISOFTFP:#define __FLT_HAS_DENORM__ 1
2038 // ARMEABISOFTFP:#define __FLT_HAS_INFINITY__ 1
2039 // ARMEABISOFTFP:#define __FLT_HAS_QUIET_NAN__ 1
2040 // ARMEABISOFTFP:#define __FLT_MANT_DIG__ 24
2041 // ARMEABISOFTFP:#define __FLT_MAX_10_EXP__ 38
2042 // ARMEABISOFTFP:#define __FLT_MAX_EXP__ 128
2043 // ARMEABISOFTFP:#define __FLT_MAX__ 3.40282347e+38F
2044 // ARMEABISOFTFP:#define __FLT_MIN_10_EXP__ (-37)
2045 // ARMEABISOFTFP:#define __FLT_MIN_EXP__ (-125)
2046 // ARMEABISOFTFP:#define __FLT_MIN__ 1.17549435e-38F
2047 // ARMEABISOFTFP:#define __FLT_RADIX__ 2
2048 // ARMEABISOFTFP:#define __INT16_C_SUFFIX__
2049 // ARMEABISOFTFP:#define __INT16_FMTd__ "hd"
2050 // ARMEABISOFTFP:#define __INT16_FMTi__ "hi"
2051 // ARMEABISOFTFP:#define __INT16_MAX__ 32767
2052 // ARMEABISOFTFP:#define __INT16_TYPE__ short
2053 // ARMEABISOFTFP:#define __INT32_C_SUFFIX__
2054 // ARMEABISOFTFP:#define __INT32_FMTd__ "d"
2055 // ARMEABISOFTFP:#define __INT32_FMTi__ "i"
2056 // ARMEABISOFTFP:#define __INT32_MAX__ 2147483647
2057 // ARMEABISOFTFP:#define __INT32_TYPE__ int
2058 // ARMEABISOFTFP:#define __INT64_C_SUFFIX__ LL
2059 // ARMEABISOFTFP:#define __INT64_FMTd__ "lld"
2060 // ARMEABISOFTFP:#define __INT64_FMTi__ "lli"
2061 // ARMEABISOFTFP:#define __INT64_MAX__ 9223372036854775807LL
2062 // ARMEABISOFTFP:#define __INT64_TYPE__ long long int
2063 // ARMEABISOFTFP:#define __INT8_C_SUFFIX__
2064 // ARMEABISOFTFP:#define __INT8_FMTd__ "hhd"
2065 // ARMEABISOFTFP:#define __INT8_FMTi__ "hhi"
2066 // ARMEABISOFTFP:#define __INT8_MAX__ 127
2067 // ARMEABISOFTFP:#define __INT8_TYPE__ signed char
2068 // ARMEABISOFTFP:#define __INTMAX_C_SUFFIX__ LL
2069 // ARMEABISOFTFP:#define __INTMAX_FMTd__ "lld"
2070 // ARMEABISOFTFP:#define __INTMAX_FMTi__ "lli"
2071 // ARMEABISOFTFP:#define __INTMAX_MAX__ 9223372036854775807LL
2072 // ARMEABISOFTFP:#define __INTMAX_TYPE__ long long int
2073 // ARMEABISOFTFP:#define __INTMAX_WIDTH__ 64
2074 // ARMEABISOFTFP:#define __INTPTR_FMTd__ "d"
2075 // ARMEABISOFTFP:#define __INTPTR_FMTi__ "i"
2076 // ARMEABISOFTFP:#define __INTPTR_MAX__ 2147483647
2077 // ARMEABISOFTFP:#define __INTPTR_TYPE__ int
2078 // ARMEABISOFTFP:#define __INTPTR_WIDTH__ 32
2079 // ARMEABISOFTFP:#define __INT_FAST16_FMTd__ "hd"
2080 // ARMEABISOFTFP:#define __INT_FAST16_FMTi__ "hi"
2081 // ARMEABISOFTFP:#define __INT_FAST16_MAX__ 32767
2082 // ARMEABISOFTFP:#define __INT_FAST16_TYPE__ short
2083 // ARMEABISOFTFP:#define __INT_FAST32_FMTd__ "d"
2084 // ARMEABISOFTFP:#define __INT_FAST32_FMTi__ "i"
2085 // ARMEABISOFTFP:#define __INT_FAST32_MAX__ 2147483647
2086 // ARMEABISOFTFP:#define __INT_FAST32_TYPE__ int
2087 // ARMEABISOFTFP:#define __INT_FAST64_FMTd__ "lld"
2088 // ARMEABISOFTFP:#define __INT_FAST64_FMTi__ "lli"
2089 // ARMEABISOFTFP:#define __INT_FAST64_MAX__ 9223372036854775807LL
2090 // ARMEABISOFTFP:#define __INT_FAST64_TYPE__ long long int
2091 // ARMEABISOFTFP:#define __INT_FAST8_FMTd__ "hhd"
2092 // ARMEABISOFTFP:#define __INT_FAST8_FMTi__ "hhi"
2093 // ARMEABISOFTFP:#define __INT_FAST8_MAX__ 127
2094 // ARMEABISOFTFP:#define __INT_FAST8_TYPE__ signed char
2095 // ARMEABISOFTFP:#define __INT_LEAST16_FMTd__ "hd"
2096 // ARMEABISOFTFP:#define __INT_LEAST16_FMTi__ "hi"
2097 // ARMEABISOFTFP:#define __INT_LEAST16_MAX__ 32767
2098 // ARMEABISOFTFP:#define __INT_LEAST16_TYPE__ short
2099 // ARMEABISOFTFP:#define __INT_LEAST32_FMTd__ "d"
2100 // ARMEABISOFTFP:#define __INT_LEAST32_FMTi__ "i"
2101 // ARMEABISOFTFP:#define __INT_LEAST32_MAX__ 2147483647
2102 // ARMEABISOFTFP:#define __INT_LEAST32_TYPE__ int
2103 // ARMEABISOFTFP:#define __INT_LEAST64_FMTd__ "lld"
2104 // ARMEABISOFTFP:#define __INT_LEAST64_FMTi__ "lli"
2105 // ARMEABISOFTFP:#define __INT_LEAST64_MAX__ 9223372036854775807LL
2106 // ARMEABISOFTFP:#define __INT_LEAST64_TYPE__ long long int
2107 // ARMEABISOFTFP:#define __INT_LEAST8_FMTd__ "hhd"
2108 // ARMEABISOFTFP:#define __INT_LEAST8_FMTi__ "hhi"
2109 // ARMEABISOFTFP:#define __INT_LEAST8_MAX__ 127
2110 // ARMEABISOFTFP:#define __INT_LEAST8_TYPE__ signed char
2111 // ARMEABISOFTFP:#define __INT_MAX__ 2147483647
2112 // ARMEABISOFTFP:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
2113 // ARMEABISOFTFP:#define __LDBL_DIG__ 15
2114 // ARMEABISOFTFP:#define __LDBL_EPSILON__ 2.2204460492503131e-16L
2115 // ARMEABISOFTFP:#define __LDBL_HAS_DENORM__ 1
2116 // ARMEABISOFTFP:#define __LDBL_HAS_INFINITY__ 1
2117 // ARMEABISOFTFP:#define __LDBL_HAS_QUIET_NAN__ 1
2118 // ARMEABISOFTFP:#define __LDBL_MANT_DIG__ 53
2119 // ARMEABISOFTFP:#define __LDBL_MAX_10_EXP__ 308
2120 // ARMEABISOFTFP:#define __LDBL_MAX_EXP__ 1024
2121 // ARMEABISOFTFP:#define __LDBL_MAX__ 1.7976931348623157e+308L
2122 // ARMEABISOFTFP:#define __LDBL_MIN_10_EXP__ (-307)
2123 // ARMEABISOFTFP:#define __LDBL_MIN_EXP__ (-1021)
2124 // ARMEABISOFTFP:#define __LDBL_MIN__ 2.2250738585072014e-308L
2125 // ARMEABISOFTFP:#define __LITTLE_ENDIAN__ 1
2126 // ARMEABISOFTFP:#define __LONG_LONG_MAX__ 9223372036854775807LL
2127 // ARMEABISOFTFP:#define __LONG_MAX__ 2147483647L
2128 // ARMEABISOFTFP-NOT:#define __LP64__
2129 // ARMEABISOFTFP:#define __POINTER_WIDTH__ 32
2130 // ARMEABISOFTFP:#define __PTRDIFF_TYPE__ int
2131 // ARMEABISOFTFP:#define __PTRDIFF_WIDTH__ 32
2132 // ARMEABISOFTFP:#define __REGISTER_PREFIX__
2133 // ARMEABISOFTFP:#define __SCHAR_MAX__ 127
2134 // ARMEABISOFTFP:#define __SHRT_MAX__ 32767
2135 // ARMEABISOFTFP:#define __SIG_ATOMIC_MAX__ 2147483647
2136 // ARMEABISOFTFP:#define __SIG_ATOMIC_WIDTH__ 32
2137 // ARMEABISOFTFP:#define __SIZEOF_DOUBLE__ 8
2138 // ARMEABISOFTFP:#define __SIZEOF_FLOAT__ 4
2139 // ARMEABISOFTFP:#define __SIZEOF_INT__ 4
2140 // ARMEABISOFTFP:#define __SIZEOF_LONG_DOUBLE__ 8
2141 // ARMEABISOFTFP:#define __SIZEOF_LONG_LONG__ 8
2142 // ARMEABISOFTFP:#define __SIZEOF_LONG__ 4
2143 // ARMEABISOFTFP:#define __SIZEOF_POINTER__ 4
2144 // ARMEABISOFTFP:#define __SIZEOF_PTRDIFF_T__ 4
2145 // ARMEABISOFTFP:#define __SIZEOF_SHORT__ 2
2146 // ARMEABISOFTFP:#define __SIZEOF_SIZE_T__ 4
2147 // ARMEABISOFTFP:#define __SIZEOF_WCHAR_T__ 4
2148 // ARMEABISOFTFP:#define __SIZEOF_WINT_T__ 4
2149 // ARMEABISOFTFP:#define __SIZE_MAX__ 4294967295U
2150 // ARMEABISOFTFP:#define __SIZE_TYPE__ unsigned int
2151 // ARMEABISOFTFP:#define __SIZE_WIDTH__ 32
2152 // ARMEABISOFTFP:#define __SOFTFP__ 1
2153 // ARMEABISOFTFP:#define __UINT16_C_SUFFIX__
2154 // ARMEABISOFTFP:#define __UINT16_MAX__ 65535
2155 // ARMEABISOFTFP:#define __UINT16_TYPE__ unsigned short
2156 // ARMEABISOFTFP:#define __UINT32_C_SUFFIX__ U
2157 // ARMEABISOFTFP:#define __UINT32_MAX__ 4294967295U
2158 // ARMEABISOFTFP:#define __UINT32_TYPE__ unsigned int
2159 // ARMEABISOFTFP:#define __UINT64_C_SUFFIX__ ULL
2160 // ARMEABISOFTFP:#define __UINT64_MAX__ 18446744073709551615ULL
2161 // ARMEABISOFTFP:#define __UINT64_TYPE__ long long unsigned int
2162 // ARMEABISOFTFP:#define __UINT8_C_SUFFIX__
2163 // ARMEABISOFTFP:#define __UINT8_MAX__ 255
2164 // ARMEABISOFTFP:#define __UINT8_TYPE__ unsigned char
2165 // ARMEABISOFTFP:#define __UINTMAX_C_SUFFIX__ ULL
2166 // ARMEABISOFTFP:#define __UINTMAX_MAX__ 18446744073709551615ULL
2167 // ARMEABISOFTFP:#define __UINTMAX_TYPE__ long long unsigned int
2168 // ARMEABISOFTFP:#define __UINTMAX_WIDTH__ 64
2169 // ARMEABISOFTFP:#define __UINTPTR_MAX__ 4294967295U
2170 // ARMEABISOFTFP:#define __UINTPTR_TYPE__ unsigned int
2171 // ARMEABISOFTFP:#define __UINTPTR_WIDTH__ 32
2172 // ARMEABISOFTFP:#define __UINT_FAST16_MAX__ 65535
2173 // ARMEABISOFTFP:#define __UINT_FAST16_TYPE__ unsigned short
2174 // ARMEABISOFTFP:#define __UINT_FAST32_MAX__ 4294967295U
2175 // ARMEABISOFTFP:#define __UINT_FAST32_TYPE__ unsigned int
2176 // ARMEABISOFTFP:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
2177 // ARMEABISOFTFP:#define __UINT_FAST64_TYPE__ long long unsigned int
2178 // ARMEABISOFTFP:#define __UINT_FAST8_MAX__ 255
2179 // ARMEABISOFTFP:#define __UINT_FAST8_TYPE__ unsigned char
2180 // ARMEABISOFTFP:#define __UINT_LEAST16_MAX__ 65535
2181 // ARMEABISOFTFP:#define __UINT_LEAST16_TYPE__ unsigned short
2182 // ARMEABISOFTFP:#define __UINT_LEAST32_MAX__ 4294967295U
2183 // ARMEABISOFTFP:#define __UINT_LEAST32_TYPE__ unsigned int
2184 // ARMEABISOFTFP:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
2185 // ARMEABISOFTFP:#define __UINT_LEAST64_TYPE__ long long unsigned int
2186 // ARMEABISOFTFP:#define __UINT_LEAST8_MAX__ 255
2187 // ARMEABISOFTFP:#define __UINT_LEAST8_TYPE__ unsigned char
2188 // ARMEABISOFTFP:#define __USER_LABEL_PREFIX__
2189 // ARMEABISOFTFP:#define __WCHAR_MAX__ 4294967295U
2190 // ARMEABISOFTFP:#define __WCHAR_TYPE__ unsigned int
2191 // ARMEABISOFTFP:#define __WCHAR_WIDTH__ 32
2192 // ARMEABISOFTFP:#define __WINT_TYPE__ unsigned int
2193 // ARMEABISOFTFP:#define __WINT_WIDTH__ 32
2194 // ARMEABISOFTFP:#define __arm 1
2195 // ARMEABISOFTFP:#define __arm__ 1
2196 
2197 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=arm-none-linux-gnueabi < /dev/null | FileCheck -match-full-lines -check-prefix ARMEABIHARDFP %s
2198 //
2199 // ARMEABIHARDFP-NOT:#define _LP64
2200 // ARMEABIHARDFP:#define __APCS_32__ 1
2201 // ARMEABIHARDFP-NOT:#define __ARMEB__ 1
2202 // ARMEABIHARDFP:#define __ARMEL__ 1
2203 // ARMEABIHARDFP:#define __ARM_ARCH 4
2204 // ARMEABIHARDFP:#define __ARM_ARCH_4T__ 1
2205 // ARMEABIHARDFP-NOT:#define __ARM_BIG_ENDIAN 1
2206 // ARMEABIHARDFP:#define __ARM_EABI__ 1
2207 // ARMEABIHARDFP:#define __ARM_PCS 1
2208 // ARMEABIHARDFP:#define __ARM_PCS_VFP 1
2209 // ARMEABIHARDFP:#define __BIGGEST_ALIGNMENT__ 8
2210 // ARMEABIHARDFP:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
2211 // ARMEABIHARDFP:#define __CHAR16_TYPE__ unsigned short
2212 // ARMEABIHARDFP:#define __CHAR32_TYPE__ unsigned int
2213 // ARMEABIHARDFP:#define __CHAR_BIT__ 8
2214 // ARMEABIHARDFP:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
2215 // ARMEABIHARDFP:#define __DBL_DIG__ 15
2216 // ARMEABIHARDFP:#define __DBL_EPSILON__ 2.2204460492503131e-16
2217 // ARMEABIHARDFP:#define __DBL_HAS_DENORM__ 1
2218 // ARMEABIHARDFP:#define __DBL_HAS_INFINITY__ 1
2219 // ARMEABIHARDFP:#define __DBL_HAS_QUIET_NAN__ 1
2220 // ARMEABIHARDFP:#define __DBL_MANT_DIG__ 53
2221 // ARMEABIHARDFP:#define __DBL_MAX_10_EXP__ 308
2222 // ARMEABIHARDFP:#define __DBL_MAX_EXP__ 1024
2223 // ARMEABIHARDFP:#define __DBL_MAX__ 1.7976931348623157e+308
2224 // ARMEABIHARDFP:#define __DBL_MIN_10_EXP__ (-307)
2225 // ARMEABIHARDFP:#define __DBL_MIN_EXP__ (-1021)
2226 // ARMEABIHARDFP:#define __DBL_MIN__ 2.2250738585072014e-308
2227 // ARMEABIHARDFP:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
2228 // ARMEABIHARDFP:#define __FLT_DENORM_MIN__ 1.40129846e-45F
2229 // ARMEABIHARDFP:#define __FLT_DIG__ 6
2230 // ARMEABIHARDFP:#define __FLT_EPSILON__ 1.19209290e-7F
2231 // ARMEABIHARDFP:#define __FLT_EVAL_METHOD__ 0
2232 // ARMEABIHARDFP:#define __FLT_HAS_DENORM__ 1
2233 // ARMEABIHARDFP:#define __FLT_HAS_INFINITY__ 1
2234 // ARMEABIHARDFP:#define __FLT_HAS_QUIET_NAN__ 1
2235 // ARMEABIHARDFP:#define __FLT_MANT_DIG__ 24
2236 // ARMEABIHARDFP:#define __FLT_MAX_10_EXP__ 38
2237 // ARMEABIHARDFP:#define __FLT_MAX_EXP__ 128
2238 // ARMEABIHARDFP:#define __FLT_MAX__ 3.40282347e+38F
2239 // ARMEABIHARDFP:#define __FLT_MIN_10_EXP__ (-37)
2240 // ARMEABIHARDFP:#define __FLT_MIN_EXP__ (-125)
2241 // ARMEABIHARDFP:#define __FLT_MIN__ 1.17549435e-38F
2242 // ARMEABIHARDFP:#define __FLT_RADIX__ 2
2243 // ARMEABIHARDFP:#define __INT16_C_SUFFIX__
2244 // ARMEABIHARDFP:#define __INT16_FMTd__ "hd"
2245 // ARMEABIHARDFP:#define __INT16_FMTi__ "hi"
2246 // ARMEABIHARDFP:#define __INT16_MAX__ 32767
2247 // ARMEABIHARDFP:#define __INT16_TYPE__ short
2248 // ARMEABIHARDFP:#define __INT32_C_SUFFIX__
2249 // ARMEABIHARDFP:#define __INT32_FMTd__ "d"
2250 // ARMEABIHARDFP:#define __INT32_FMTi__ "i"
2251 // ARMEABIHARDFP:#define __INT32_MAX__ 2147483647
2252 // ARMEABIHARDFP:#define __INT32_TYPE__ int
2253 // ARMEABIHARDFP:#define __INT64_C_SUFFIX__ LL
2254 // ARMEABIHARDFP:#define __INT64_FMTd__ "lld"
2255 // ARMEABIHARDFP:#define __INT64_FMTi__ "lli"
2256 // ARMEABIHARDFP:#define __INT64_MAX__ 9223372036854775807LL
2257 // ARMEABIHARDFP:#define __INT64_TYPE__ long long int
2258 // ARMEABIHARDFP:#define __INT8_C_SUFFIX__
2259 // ARMEABIHARDFP:#define __INT8_FMTd__ "hhd"
2260 // ARMEABIHARDFP:#define __INT8_FMTi__ "hhi"
2261 // ARMEABIHARDFP:#define __INT8_MAX__ 127
2262 // ARMEABIHARDFP:#define __INT8_TYPE__ signed char
2263 // ARMEABIHARDFP:#define __INTMAX_C_SUFFIX__ LL
2264 // ARMEABIHARDFP:#define __INTMAX_FMTd__ "lld"
2265 // ARMEABIHARDFP:#define __INTMAX_FMTi__ "lli"
2266 // ARMEABIHARDFP:#define __INTMAX_MAX__ 9223372036854775807LL
2267 // ARMEABIHARDFP:#define __INTMAX_TYPE__ long long int
2268 // ARMEABIHARDFP:#define __INTMAX_WIDTH__ 64
2269 // ARMEABIHARDFP:#define __INTPTR_FMTd__ "d"
2270 // ARMEABIHARDFP:#define __INTPTR_FMTi__ "i"
2271 // ARMEABIHARDFP:#define __INTPTR_MAX__ 2147483647
2272 // ARMEABIHARDFP:#define __INTPTR_TYPE__ int
2273 // ARMEABIHARDFP:#define __INTPTR_WIDTH__ 32
2274 // ARMEABIHARDFP:#define __INT_FAST16_FMTd__ "hd"
2275 // ARMEABIHARDFP:#define __INT_FAST16_FMTi__ "hi"
2276 // ARMEABIHARDFP:#define __INT_FAST16_MAX__ 32767
2277 // ARMEABIHARDFP:#define __INT_FAST16_TYPE__ short
2278 // ARMEABIHARDFP:#define __INT_FAST32_FMTd__ "d"
2279 // ARMEABIHARDFP:#define __INT_FAST32_FMTi__ "i"
2280 // ARMEABIHARDFP:#define __INT_FAST32_MAX__ 2147483647
2281 // ARMEABIHARDFP:#define __INT_FAST32_TYPE__ int
2282 // ARMEABIHARDFP:#define __INT_FAST64_FMTd__ "lld"
2283 // ARMEABIHARDFP:#define __INT_FAST64_FMTi__ "lli"
2284 // ARMEABIHARDFP:#define __INT_FAST64_MAX__ 9223372036854775807LL
2285 // ARMEABIHARDFP:#define __INT_FAST64_TYPE__ long long int
2286 // ARMEABIHARDFP:#define __INT_FAST8_FMTd__ "hhd"
2287 // ARMEABIHARDFP:#define __INT_FAST8_FMTi__ "hhi"
2288 // ARMEABIHARDFP:#define __INT_FAST8_MAX__ 127
2289 // ARMEABIHARDFP:#define __INT_FAST8_TYPE__ signed char
2290 // ARMEABIHARDFP:#define __INT_LEAST16_FMTd__ "hd"
2291 // ARMEABIHARDFP:#define __INT_LEAST16_FMTi__ "hi"
2292 // ARMEABIHARDFP:#define __INT_LEAST16_MAX__ 32767
2293 // ARMEABIHARDFP:#define __INT_LEAST16_TYPE__ short
2294 // ARMEABIHARDFP:#define __INT_LEAST32_FMTd__ "d"
2295 // ARMEABIHARDFP:#define __INT_LEAST32_FMTi__ "i"
2296 // ARMEABIHARDFP:#define __INT_LEAST32_MAX__ 2147483647
2297 // ARMEABIHARDFP:#define __INT_LEAST32_TYPE__ int
2298 // ARMEABIHARDFP:#define __INT_LEAST64_FMTd__ "lld"
2299 // ARMEABIHARDFP:#define __INT_LEAST64_FMTi__ "lli"
2300 // ARMEABIHARDFP:#define __INT_LEAST64_MAX__ 9223372036854775807LL
2301 // ARMEABIHARDFP:#define __INT_LEAST64_TYPE__ long long int
2302 // ARMEABIHARDFP:#define __INT_LEAST8_FMTd__ "hhd"
2303 // ARMEABIHARDFP:#define __INT_LEAST8_FMTi__ "hhi"
2304 // ARMEABIHARDFP:#define __INT_LEAST8_MAX__ 127
2305 // ARMEABIHARDFP:#define __INT_LEAST8_TYPE__ signed char
2306 // ARMEABIHARDFP:#define __INT_MAX__ 2147483647
2307 // ARMEABIHARDFP:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
2308 // ARMEABIHARDFP:#define __LDBL_DIG__ 15
2309 // ARMEABIHARDFP:#define __LDBL_EPSILON__ 2.2204460492503131e-16L
2310 // ARMEABIHARDFP:#define __LDBL_HAS_DENORM__ 1
2311 // ARMEABIHARDFP:#define __LDBL_HAS_INFINITY__ 1
2312 // ARMEABIHARDFP:#define __LDBL_HAS_QUIET_NAN__ 1
2313 // ARMEABIHARDFP:#define __LDBL_MANT_DIG__ 53
2314 // ARMEABIHARDFP:#define __LDBL_MAX_10_EXP__ 308
2315 // ARMEABIHARDFP:#define __LDBL_MAX_EXP__ 1024
2316 // ARMEABIHARDFP:#define __LDBL_MAX__ 1.7976931348623157e+308L
2317 // ARMEABIHARDFP:#define __LDBL_MIN_10_EXP__ (-307)
2318 // ARMEABIHARDFP:#define __LDBL_MIN_EXP__ (-1021)
2319 // ARMEABIHARDFP:#define __LDBL_MIN__ 2.2250738585072014e-308L
2320 // ARMEABIHARDFP:#define __LITTLE_ENDIAN__ 1
2321 // ARMEABIHARDFP:#define __LONG_LONG_MAX__ 9223372036854775807LL
2322 // ARMEABIHARDFP:#define __LONG_MAX__ 2147483647L
2323 // ARMEABIHARDFP-NOT:#define __LP64__
2324 // ARMEABIHARDFP:#define __POINTER_WIDTH__ 32
2325 // ARMEABIHARDFP:#define __PTRDIFF_TYPE__ int
2326 // ARMEABIHARDFP:#define __PTRDIFF_WIDTH__ 32
2327 // ARMEABIHARDFP:#define __REGISTER_PREFIX__
2328 // ARMEABIHARDFP:#define __SCHAR_MAX__ 127
2329 // ARMEABIHARDFP:#define __SHRT_MAX__ 32767
2330 // ARMEABIHARDFP:#define __SIG_ATOMIC_MAX__ 2147483647
2331 // ARMEABIHARDFP:#define __SIG_ATOMIC_WIDTH__ 32
2332 // ARMEABIHARDFP:#define __SIZEOF_DOUBLE__ 8
2333 // ARMEABIHARDFP:#define __SIZEOF_FLOAT__ 4
2334 // ARMEABIHARDFP:#define __SIZEOF_INT__ 4
2335 // ARMEABIHARDFP:#define __SIZEOF_LONG_DOUBLE__ 8
2336 // ARMEABIHARDFP:#define __SIZEOF_LONG_LONG__ 8
2337 // ARMEABIHARDFP:#define __SIZEOF_LONG__ 4
2338 // ARMEABIHARDFP:#define __SIZEOF_POINTER__ 4
2339 // ARMEABIHARDFP:#define __SIZEOF_PTRDIFF_T__ 4
2340 // ARMEABIHARDFP:#define __SIZEOF_SHORT__ 2
2341 // ARMEABIHARDFP:#define __SIZEOF_SIZE_T__ 4
2342 // ARMEABIHARDFP:#define __SIZEOF_WCHAR_T__ 4
2343 // ARMEABIHARDFP:#define __SIZEOF_WINT_T__ 4
2344 // ARMEABIHARDFP:#define __SIZE_MAX__ 4294967295U
2345 // ARMEABIHARDFP:#define __SIZE_TYPE__ unsigned int
2346 // ARMEABIHARDFP:#define __SIZE_WIDTH__ 32
2347 // ARMEABIHARDFP-NOT:#define __SOFTFP__ 1
2348 // ARMEABIHARDFP:#define __UINT16_C_SUFFIX__
2349 // ARMEABIHARDFP:#define __UINT16_MAX__ 65535
2350 // ARMEABIHARDFP:#define __UINT16_TYPE__ unsigned short
2351 // ARMEABIHARDFP:#define __UINT32_C_SUFFIX__ U
2352 // ARMEABIHARDFP:#define __UINT32_MAX__ 4294967295U
2353 // ARMEABIHARDFP:#define __UINT32_TYPE__ unsigned int
2354 // ARMEABIHARDFP:#define __UINT64_C_SUFFIX__ ULL
2355 // ARMEABIHARDFP:#define __UINT64_MAX__ 18446744073709551615ULL
2356 // ARMEABIHARDFP:#define __UINT64_TYPE__ long long unsigned int
2357 // ARMEABIHARDFP:#define __UINT8_C_SUFFIX__
2358 // ARMEABIHARDFP:#define __UINT8_MAX__ 255
2359 // ARMEABIHARDFP:#define __UINT8_TYPE__ unsigned char
2360 // ARMEABIHARDFP:#define __UINTMAX_C_SUFFIX__ ULL
2361 // ARMEABIHARDFP:#define __UINTMAX_MAX__ 18446744073709551615ULL
2362 // ARMEABIHARDFP:#define __UINTMAX_TYPE__ long long unsigned int
2363 // ARMEABIHARDFP:#define __UINTMAX_WIDTH__ 64
2364 // ARMEABIHARDFP:#define __UINTPTR_MAX__ 4294967295U
2365 // ARMEABIHARDFP:#define __UINTPTR_TYPE__ unsigned int
2366 // ARMEABIHARDFP:#define __UINTPTR_WIDTH__ 32
2367 // ARMEABIHARDFP:#define __UINT_FAST16_MAX__ 65535
2368 // ARMEABIHARDFP:#define __UINT_FAST16_TYPE__ unsigned short
2369 // ARMEABIHARDFP:#define __UINT_FAST32_MAX__ 4294967295U
2370 // ARMEABIHARDFP:#define __UINT_FAST32_TYPE__ unsigned int
2371 // ARMEABIHARDFP:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
2372 // ARMEABIHARDFP:#define __UINT_FAST64_TYPE__ long long unsigned int
2373 // ARMEABIHARDFP:#define __UINT_FAST8_MAX__ 255
2374 // ARMEABIHARDFP:#define __UINT_FAST8_TYPE__ unsigned char
2375 // ARMEABIHARDFP:#define __UINT_LEAST16_MAX__ 65535
2376 // ARMEABIHARDFP:#define __UINT_LEAST16_TYPE__ unsigned short
2377 // ARMEABIHARDFP:#define __UINT_LEAST32_MAX__ 4294967295U
2378 // ARMEABIHARDFP:#define __UINT_LEAST32_TYPE__ unsigned int
2379 // ARMEABIHARDFP:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
2380 // ARMEABIHARDFP:#define __UINT_LEAST64_TYPE__ long long unsigned int
2381 // ARMEABIHARDFP:#define __UINT_LEAST8_MAX__ 255
2382 // ARMEABIHARDFP:#define __UINT_LEAST8_TYPE__ unsigned char
2383 // ARMEABIHARDFP:#define __USER_LABEL_PREFIX__
2384 // ARMEABIHARDFP:#define __WCHAR_MAX__ 4294967295U
2385 // ARMEABIHARDFP:#define __WCHAR_TYPE__ unsigned int
2386 // ARMEABIHARDFP:#define __WCHAR_WIDTH__ 32
2387 // ARMEABIHARDFP:#define __WINT_TYPE__ unsigned int
2388 // ARMEABIHARDFP:#define __WINT_WIDTH__ 32
2389 // ARMEABIHARDFP:#define __arm 1
2390 // ARMEABIHARDFP:#define __arm__ 1
2391 
2392 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=armv6-unknown-cloudabi-eabihf < /dev/null | FileCheck -match-full-lines -check-prefix ARMV6-CLOUDABI %s
2393 //
2394 // ARMV6-CLOUDABI:#define __CloudABI__ 1
2395 // ARMV6-CLOUDABI:#define __arm__ 1
2396 
2397 // RUN: %clang -E -dM -ffreestanding -target arm-netbsd-eabi %s -o - | FileCheck -match-full-lines -check-prefix ARM-NETBSD %s
2398 
2399 // ARM-NETBSD-NOT:#define _LP64
2400 // ARM-NETBSD:#define __APCS_32__ 1
2401 // ARM-NETBSD-NOT:#define __ARMEB__ 1
2402 // ARM-NETBSD:#define __ARMEL__ 1
2403 // ARM-NETBSD:#define __ARM_ARCH_5TE__ 1
2404 // ARM-NETBSD:#define __ARM_DWARF_EH__ 1
2405 // ARM-NETBSD:#define __ARM_EABI__ 1
2406 // ARM-NETBSD-NOT:#define __ARM_BIG_ENDIAN 1
2407 // ARM-NETBSD:#define __BIGGEST_ALIGNMENT__ 8
2408 // ARM-NETBSD:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
2409 // ARM-NETBSD:#define __CHAR16_TYPE__ unsigned short
2410 // ARM-NETBSD:#define __CHAR32_TYPE__ unsigned int
2411 // ARM-NETBSD:#define __CHAR_BIT__ 8
2412 // ARM-NETBSD:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
2413 // ARM-NETBSD:#define __DBL_DIG__ 15
2414 // ARM-NETBSD:#define __DBL_EPSILON__ 2.2204460492503131e-16
2415 // ARM-NETBSD:#define __DBL_HAS_DENORM__ 1
2416 // ARM-NETBSD:#define __DBL_HAS_INFINITY__ 1
2417 // ARM-NETBSD:#define __DBL_HAS_QUIET_NAN__ 1
2418 // ARM-NETBSD:#define __DBL_MANT_DIG__ 53
2419 // ARM-NETBSD:#define __DBL_MAX_10_EXP__ 308
2420 // ARM-NETBSD:#define __DBL_MAX_EXP__ 1024
2421 // ARM-NETBSD:#define __DBL_MAX__ 1.7976931348623157e+308
2422 // ARM-NETBSD:#define __DBL_MIN_10_EXP__ (-307)
2423 // ARM-NETBSD:#define __DBL_MIN_EXP__ (-1021)
2424 // ARM-NETBSD:#define __DBL_MIN__ 2.2250738585072014e-308
2425 // ARM-NETBSD:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
2426 // ARM-NETBSD:#define __FLT_DENORM_MIN__ 1.40129846e-45F
2427 // ARM-NETBSD:#define __FLT_DIG__ 6
2428 // ARM-NETBSD:#define __FLT_EPSILON__ 1.19209290e-7F
2429 // ARM-NETBSD:#define __FLT_EVAL_METHOD__ 0
2430 // ARM-NETBSD:#define __FLT_HAS_DENORM__ 1
2431 // ARM-NETBSD:#define __FLT_HAS_INFINITY__ 1
2432 // ARM-NETBSD:#define __FLT_HAS_QUIET_NAN__ 1
2433 // ARM-NETBSD:#define __FLT_MANT_DIG__ 24
2434 // ARM-NETBSD:#define __FLT_MAX_10_EXP__ 38
2435 // ARM-NETBSD:#define __FLT_MAX_EXP__ 128
2436 // ARM-NETBSD:#define __FLT_MAX__ 3.40282347e+38F
2437 // ARM-NETBSD:#define __FLT_MIN_10_EXP__ (-37)
2438 // ARM-NETBSD:#define __FLT_MIN_EXP__ (-125)
2439 // ARM-NETBSD:#define __FLT_MIN__ 1.17549435e-38F
2440 // ARM-NETBSD:#define __FLT_RADIX__ 2
2441 // ARM-NETBSD:#define __INT16_C_SUFFIX__
2442 // ARM-NETBSD:#define __INT16_FMTd__ "hd"
2443 // ARM-NETBSD:#define __INT16_FMTi__ "hi"
2444 // ARM-NETBSD:#define __INT16_MAX__ 32767
2445 // ARM-NETBSD:#define __INT16_TYPE__ short
2446 // ARM-NETBSD:#define __INT32_C_SUFFIX__
2447 // ARM-NETBSD:#define __INT32_FMTd__ "d"
2448 // ARM-NETBSD:#define __INT32_FMTi__ "i"
2449 // ARM-NETBSD:#define __INT32_MAX__ 2147483647
2450 // ARM-NETBSD:#define __INT32_TYPE__ int
2451 // ARM-NETBSD:#define __INT64_C_SUFFIX__ LL
2452 // ARM-NETBSD:#define __INT64_FMTd__ "lld"
2453 // ARM-NETBSD:#define __INT64_FMTi__ "lli"
2454 // ARM-NETBSD:#define __INT64_MAX__ 9223372036854775807LL
2455 // ARM-NETBSD:#define __INT64_TYPE__ long long int
2456 // ARM-NETBSD:#define __INT8_C_SUFFIX__
2457 // ARM-NETBSD:#define __INT8_FMTd__ "hhd"
2458 // ARM-NETBSD:#define __INT8_FMTi__ "hhi"
2459 // ARM-NETBSD:#define __INT8_MAX__ 127
2460 // ARM-NETBSD:#define __INT8_TYPE__ signed char
2461 // ARM-NETBSD:#define __INTMAX_C_SUFFIX__ LL
2462 // ARM-NETBSD:#define __INTMAX_FMTd__ "lld"
2463 // ARM-NETBSD:#define __INTMAX_FMTi__ "lli"
2464 // ARM-NETBSD:#define __INTMAX_MAX__ 9223372036854775807LL
2465 // ARM-NETBSD:#define __INTMAX_TYPE__ long long int
2466 // ARM-NETBSD:#define __INTMAX_WIDTH__ 64
2467 // ARM-NETBSD:#define __INTPTR_FMTd__ "ld"
2468 // ARM-NETBSD:#define __INTPTR_FMTi__ "li"
2469 // ARM-NETBSD:#define __INTPTR_MAX__ 2147483647L
2470 // ARM-NETBSD:#define __INTPTR_TYPE__ long int
2471 // ARM-NETBSD:#define __INTPTR_WIDTH__ 32
2472 // ARM-NETBSD:#define __INT_FAST16_FMTd__ "hd"
2473 // ARM-NETBSD:#define __INT_FAST16_FMTi__ "hi"
2474 // ARM-NETBSD:#define __INT_FAST16_MAX__ 32767
2475 // ARM-NETBSD:#define __INT_FAST16_TYPE__ short
2476 // ARM-NETBSD:#define __INT_FAST32_FMTd__ "d"
2477 // ARM-NETBSD:#define __INT_FAST32_FMTi__ "i"
2478 // ARM-NETBSD:#define __INT_FAST32_MAX__ 2147483647
2479 // ARM-NETBSD:#define __INT_FAST32_TYPE__ int
2480 // ARM-NETBSD:#define __INT_FAST64_FMTd__ "lld"
2481 // ARM-NETBSD:#define __INT_FAST64_FMTi__ "lli"
2482 // ARM-NETBSD:#define __INT_FAST64_MAX__ 9223372036854775807LL
2483 // ARM-NETBSD:#define __INT_FAST64_TYPE__ long long int
2484 // ARM-NETBSD:#define __INT_FAST8_FMTd__ "hhd"
2485 // ARM-NETBSD:#define __INT_FAST8_FMTi__ "hhi"
2486 // ARM-NETBSD:#define __INT_FAST8_MAX__ 127
2487 // ARM-NETBSD:#define __INT_FAST8_TYPE__ signed char
2488 // ARM-NETBSD:#define __INT_LEAST16_FMTd__ "hd"
2489 // ARM-NETBSD:#define __INT_LEAST16_FMTi__ "hi"
2490 // ARM-NETBSD:#define __INT_LEAST16_MAX__ 32767
2491 // ARM-NETBSD:#define __INT_LEAST16_TYPE__ short
2492 // ARM-NETBSD:#define __INT_LEAST32_FMTd__ "d"
2493 // ARM-NETBSD:#define __INT_LEAST32_FMTi__ "i"
2494 // ARM-NETBSD:#define __INT_LEAST32_MAX__ 2147483647
2495 // ARM-NETBSD:#define __INT_LEAST32_TYPE__ int
2496 // ARM-NETBSD:#define __INT_LEAST64_FMTd__ "lld"
2497 // ARM-NETBSD:#define __INT_LEAST64_FMTi__ "lli"
2498 // ARM-NETBSD:#define __INT_LEAST64_MAX__ 9223372036854775807LL
2499 // ARM-NETBSD:#define __INT_LEAST64_TYPE__ long long int
2500 // ARM-NETBSD:#define __INT_LEAST8_FMTd__ "hhd"
2501 // ARM-NETBSD:#define __INT_LEAST8_FMTi__ "hhi"
2502 // ARM-NETBSD:#define __INT_LEAST8_MAX__ 127
2503 // ARM-NETBSD:#define __INT_LEAST8_TYPE__ signed char
2504 // ARM-NETBSD:#define __INT_MAX__ 2147483647
2505 // ARM-NETBSD:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
2506 // ARM-NETBSD:#define __LDBL_DIG__ 15
2507 // ARM-NETBSD:#define __LDBL_EPSILON__ 2.2204460492503131e-16L
2508 // ARM-NETBSD:#define __LDBL_HAS_DENORM__ 1
2509 // ARM-NETBSD:#define __LDBL_HAS_INFINITY__ 1
2510 // ARM-NETBSD:#define __LDBL_HAS_QUIET_NAN__ 1
2511 // ARM-NETBSD:#define __LDBL_MANT_DIG__ 53
2512 // ARM-NETBSD:#define __LDBL_MAX_10_EXP__ 308
2513 // ARM-NETBSD:#define __LDBL_MAX_EXP__ 1024
2514 // ARM-NETBSD:#define __LDBL_MAX__ 1.7976931348623157e+308L
2515 // ARM-NETBSD:#define __LDBL_MIN_10_EXP__ (-307)
2516 // ARM-NETBSD:#define __LDBL_MIN_EXP__ (-1021)
2517 // ARM-NETBSD:#define __LDBL_MIN__ 2.2250738585072014e-308L
2518 // ARM-NETBSD:#define __LITTLE_ENDIAN__ 1
2519 // ARM-NETBSD:#define __LONG_LONG_MAX__ 9223372036854775807LL
2520 // ARM-NETBSD:#define __LONG_MAX__ 2147483647L
2521 // ARM-NETBSD-NOT:#define __LP64__
2522 // ARM-NETBSD:#define __POINTER_WIDTH__ 32
2523 // ARM-NETBSD:#define __PTRDIFF_TYPE__ long int
2524 // ARM-NETBSD:#define __PTRDIFF_WIDTH__ 32
2525 // ARM-NETBSD:#define __REGISTER_PREFIX__
2526 // ARM-NETBSD:#define __SCHAR_MAX__ 127
2527 // ARM-NETBSD:#define __SHRT_MAX__ 32767
2528 // ARM-NETBSD:#define __SIG_ATOMIC_MAX__ 2147483647
2529 // ARM-NETBSD:#define __SIG_ATOMIC_WIDTH__ 32
2530 // ARM-NETBSD:#define __SIZEOF_DOUBLE__ 8
2531 // ARM-NETBSD:#define __SIZEOF_FLOAT__ 4
2532 // ARM-NETBSD:#define __SIZEOF_INT__ 4
2533 // ARM-NETBSD:#define __SIZEOF_LONG_DOUBLE__ 8
2534 // ARM-NETBSD:#define __SIZEOF_LONG_LONG__ 8
2535 // ARM-NETBSD:#define __SIZEOF_LONG__ 4
2536 // ARM-NETBSD:#define __SIZEOF_POINTER__ 4
2537 // ARM-NETBSD:#define __SIZEOF_PTRDIFF_T__ 4
2538 // ARM-NETBSD:#define __SIZEOF_SHORT__ 2
2539 // ARM-NETBSD:#define __SIZEOF_SIZE_T__ 4
2540 // ARM-NETBSD:#define __SIZEOF_WCHAR_T__ 4
2541 // ARM-NETBSD:#define __SIZEOF_WINT_T__ 4
2542 // ARM-NETBSD:#define __SIZE_MAX__ 4294967295UL
2543 // ARM-NETBSD:#define __SIZE_TYPE__ long unsigned int
2544 // ARM-NETBSD:#define __SIZE_WIDTH__ 32
2545 // ARM-NETBSD:#define __SOFTFP__ 1
2546 // ARM-NETBSD:#define __UINT16_C_SUFFIX__
2547 // ARM-NETBSD:#define __UINT16_MAX__ 65535
2548 // ARM-NETBSD:#define __UINT16_TYPE__ unsigned short
2549 // ARM-NETBSD:#define __UINT32_C_SUFFIX__ U
2550 // ARM-NETBSD:#define __UINT32_MAX__ 4294967295U
2551 // ARM-NETBSD:#define __UINT32_TYPE__ unsigned int
2552 // ARM-NETBSD:#define __UINT64_C_SUFFIX__ ULL
2553 // ARM-NETBSD:#define __UINT64_MAX__ 18446744073709551615ULL
2554 // ARM-NETBSD:#define __UINT64_TYPE__ long long unsigned int
2555 // ARM-NETBSD:#define __UINT8_C_SUFFIX__
2556 // ARM-NETBSD:#define __UINT8_MAX__ 255
2557 // ARM-NETBSD:#define __UINT8_TYPE__ unsigned char
2558 // ARM-NETBSD:#define __UINTMAX_C_SUFFIX__ ULL
2559 // ARM-NETBSD:#define __UINTMAX_MAX__ 18446744073709551615ULL
2560 // ARM-NETBSD:#define __UINTMAX_TYPE__ long long unsigned int
2561 // ARM-NETBSD:#define __UINTMAX_WIDTH__ 64
2562 // ARM-NETBSD:#define __UINTPTR_MAX__ 4294967295UL
2563 // ARM-NETBSD:#define __UINTPTR_TYPE__ long unsigned int
2564 // ARM-NETBSD:#define __UINTPTR_WIDTH__ 32
2565 // ARM-NETBSD:#define __UINT_FAST16_MAX__ 65535
2566 // ARM-NETBSD:#define __UINT_FAST16_TYPE__ unsigned short
2567 // ARM-NETBSD:#define __UINT_FAST32_MAX__ 4294967295U
2568 // ARM-NETBSD:#define __UINT_FAST32_TYPE__ unsigned int
2569 // ARM-NETBSD:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
2570 // ARM-NETBSD:#define __UINT_FAST64_TYPE__ long long unsigned int
2571 // ARM-NETBSD:#define __UINT_FAST8_MAX__ 255
2572 // ARM-NETBSD:#define __UINT_FAST8_TYPE__ unsigned char
2573 // ARM-NETBSD:#define __UINT_LEAST16_MAX__ 65535
2574 // ARM-NETBSD:#define __UINT_LEAST16_TYPE__ unsigned short
2575 // ARM-NETBSD:#define __UINT_LEAST32_MAX__ 4294967295U
2576 // ARM-NETBSD:#define __UINT_LEAST32_TYPE__ unsigned int
2577 // ARM-NETBSD:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
2578 // ARM-NETBSD:#define __UINT_LEAST64_TYPE__ long long unsigned int
2579 // ARM-NETBSD:#define __UINT_LEAST8_MAX__ 255
2580 // ARM-NETBSD:#define __UINT_LEAST8_TYPE__ unsigned char
2581 // ARM-NETBSD:#define __USER_LABEL_PREFIX__
2582 // ARM-NETBSD:#define __WCHAR_MAX__ 2147483647
2583 // ARM-NETBSD:#define __WCHAR_TYPE__ int
2584 // ARM-NETBSD:#define __WCHAR_WIDTH__ 32
2585 // ARM-NETBSD:#define __WINT_TYPE__ int
2586 // ARM-NETBSD:#define __WINT_WIDTH__ 32
2587 // ARM-NETBSD:#define __arm 1
2588 // ARM-NETBSD:#define __arm__ 1
2589 
2590 // RUN: %clang -E -dM -ffreestanding -target arm-netbsd-eabihf %s -o - | FileCheck -match-full-lines -check-prefix ARMHF-NETBSD %s
2591 // ARMHF-NETBSD:#define __SIZE_WIDTH__ 32
2592 // ARMHF-NETBSD-NOT:#define __SOFTFP__ 1
2593 // ARMHF-NETBSD:#define __UINT16_C_SUFFIX__
2594 
2595 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=arm-none-eabi < /dev/null | FileCheck -match-full-lines -check-prefix ARM-NONE-EABI %s
2596 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=arm-none-eabihf < /dev/null | FileCheck -match-full-lines -check-prefix ARM-NONE-EABI %s
2597 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=aarch64-none-eabi < /dev/null | FileCheck -match-full-lines -check-prefix ARM-NONE-EABI %s
2598 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=aarch64-none-eabihf < /dev/null | FileCheck -match-full-lines -check-prefix ARM-NONE-EABI %s
2599 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=aarch64-none-elf < /dev/null | FileCheck -match-full-lines -check-prefix ARM-NONE-EABI %s
2600 // ARM-NONE-EABI: #define __ELF__ 1
2601 
2602 // No MachO targets use the full EABI, even if AAPCS is used.
2603 // RUN: %clang -target x86_64-apple-darwin -arch armv7s -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=ARM-MACHO-NO-EABI %s
2604 // RUN: %clang -target x86_64-apple-darwin -arch armv6m -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=ARM-MACHO-NO-EABI %s
2605 // RUN: %clang -target x86_64-apple-darwin -arch armv7m -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=ARM-MACHO-NO-EABI %s
2606 // RUN: %clang -target x86_64-apple-darwin -arch armv7em -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=ARM-MACHO-NO-EABI %s
2607 // RUN: %clang -target x86_64-apple-darwin -arch armv7 -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=ARM-MACHO-NO-EABI %s
2608 // ARM-MACHO-NO-EABI-NOT: #define __ARM_EABI__ 1
2609 
2610 // Check that -mhwdiv works properly for targets which don't have the hwdiv feature enabled by default.
2611 
2612 // RUN: %clang -target arm -mhwdiv=arm -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=ARMHWDIV-ARM %s
2613 // ARMHWDIV-ARM:#define __ARM_ARCH_EXT_IDIV__ 1
2614 
2615 // RUN: %clang -target arm -mthumb -mhwdiv=thumb -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=THUMBHWDIV-THUMB %s
2616 // THUMBHWDIV-THUMB:#define __ARM_ARCH_EXT_IDIV__ 1
2617 
2618 // RUN: %clang -target arm -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=ARM-FALSE %s
2619 // ARM-FALSE-NOT:#define __ARM_ARCH_EXT_IDIV__
2620 
2621 // RUN: %clang -target arm -mthumb -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=THUMB-FALSE %s
2622 // THUMB-FALSE-NOT:#define __ARM_ARCH_EXT_IDIV__
2623 
2624 // RUN: %clang -target arm -mhwdiv=thumb -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=THUMBHWDIV-ARM-FALSE %s
2625 // THUMBHWDIV-ARM-FALSE-NOT:#define __ARM_ARCH_EXT_IDIV__
2626 
2627 // RUN: %clang -target arm -mthumb -mhwdiv=arm -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=ARMHWDIV-THUMB-FALSE %s
2628 // ARMHWDIV-THUMB-FALSE-NOT:#define __ARM_ARCH_EXT_IDIV__
2629 
2630 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=armv8-none-none < /dev/null | FileCheck -match-full-lines -check-prefix ARMv8 %s
2631 // ARMv8: #define __THUMB_INTERWORK__ 1
2632 // ARMv8-NOT: #define __thumb2__
2633 
2634 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=armebv8-none-none < /dev/null | FileCheck -match-full-lines -check-prefix ARMebv8 %s
2635 // ARMebv8: #define __THUMB_INTERWORK__ 1
2636 // ARMebv8-NOT: #define __thumb2__
2637 
2638 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=thumbv8 < /dev/null | FileCheck -match-full-lines -check-prefix Thumbv8 %s
2639 // Thumbv8: #define __THUMB_INTERWORK__ 1
2640 // Thumbv8: #define __thumb2__ 1
2641 
2642 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=thumbebv8 < /dev/null | FileCheck -match-full-lines -check-prefix Thumbebv8 %s
2643 // Thumbebv8: #define __THUMB_INTERWORK__ 1
2644 // Thumbebv8: #define __thumb2__ 1
2645 
2646 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=thumbv5 < /dev/null | FileCheck -match-full-lines -check-prefix Thumbv5 %s
2647 // Thumbv5: #define __THUMB_INTERWORK__ 1
2648 // Thumbv5-NOT: #define __thumb2__ 1
2649 
2650 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=thumbv6t2 < /dev/null | FileCheck -match-full-lines -check-prefix Thumbv6t2 %s
2651 // Thumbv6t2: #define __THUMB_INTERWORK__ 1
2652 // Thumbv6t2: #define __thumb2__ 1
2653 
2654 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=thumbv7 < /dev/null | FileCheck -match-full-lines -check-prefix Thumbv7 %s
2655 // Thumbv7: #define __THUMB_INTERWORK__ 1
2656 // Thumbv7: #define __thumb2__ 1
2657 
2658 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=thumbebv7 < /dev/null | FileCheck -match-full-lines -check-prefix Thumbebv7 %s
2659 // Thumbebv7: #define __THUMB_INTERWORK__ 1
2660 // Thumbebv7: #define __thumb2__ 1
2661 
2662 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=thumbv7-pc-windows-gnu -fdwarf-exceptions %s -o - | FileCheck -match-full-lines -check-prefix THUMB-MINGW %s
2663 
2664 // THUMB-MINGW:#define __ARM_DWARF_EH__ 1
2665 
2666 //
2667 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=i386-none-none < /dev/null | FileCheck -match-full-lines -check-prefix I386 %s
2668 //
2669 // I386-NOT:#define _LP64
2670 // I386:#define __BIGGEST_ALIGNMENT__ 16
2671 // I386:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
2672 // I386:#define __CHAR16_TYPE__ unsigned short
2673 // I386:#define __CHAR32_TYPE__ unsigned int
2674 // I386:#define __CHAR_BIT__ 8
2675 // I386:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
2676 // I386:#define __DBL_DIG__ 15
2677 // I386:#define __DBL_EPSILON__ 2.2204460492503131e-16
2678 // I386:#define __DBL_HAS_DENORM__ 1
2679 // I386:#define __DBL_HAS_INFINITY__ 1
2680 // I386:#define __DBL_HAS_QUIET_NAN__ 1
2681 // I386:#define __DBL_MANT_DIG__ 53
2682 // I386:#define __DBL_MAX_10_EXP__ 308
2683 // I386:#define __DBL_MAX_EXP__ 1024
2684 // I386:#define __DBL_MAX__ 1.7976931348623157e+308
2685 // I386:#define __DBL_MIN_10_EXP__ (-307)
2686 // I386:#define __DBL_MIN_EXP__ (-1021)
2687 // I386:#define __DBL_MIN__ 2.2250738585072014e-308
2688 // I386:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
2689 // I386:#define __FLT_DENORM_MIN__ 1.40129846e-45F
2690 // I386:#define __FLT_DIG__ 6
2691 // I386:#define __FLT_EPSILON__ 1.19209290e-7F
2692 // I386:#define __FLT_EVAL_METHOD__ 2
2693 // I386:#define __FLT_HAS_DENORM__ 1
2694 // I386:#define __FLT_HAS_INFINITY__ 1
2695 // I386:#define __FLT_HAS_QUIET_NAN__ 1
2696 // I386:#define __FLT_MANT_DIG__ 24
2697 // I386:#define __FLT_MAX_10_EXP__ 38
2698 // I386:#define __FLT_MAX_EXP__ 128
2699 // I386:#define __FLT_MAX__ 3.40282347e+38F
2700 // I386:#define __FLT_MIN_10_EXP__ (-37)
2701 // I386:#define __FLT_MIN_EXP__ (-125)
2702 // I386:#define __FLT_MIN__ 1.17549435e-38F
2703 // I386:#define __FLT_RADIX__ 2
2704 // I386:#define __INT16_C_SUFFIX__
2705 // I386:#define __INT16_FMTd__ "hd"
2706 // I386:#define __INT16_FMTi__ "hi"
2707 // I386:#define __INT16_MAX__ 32767
2708 // I386:#define __INT16_TYPE__ short
2709 // I386:#define __INT32_C_SUFFIX__
2710 // I386:#define __INT32_FMTd__ "d"
2711 // I386:#define __INT32_FMTi__ "i"
2712 // I386:#define __INT32_MAX__ 2147483647
2713 // I386:#define __INT32_TYPE__ int
2714 // I386:#define __INT64_C_SUFFIX__ LL
2715 // I386:#define __INT64_FMTd__ "lld"
2716 // I386:#define __INT64_FMTi__ "lli"
2717 // I386:#define __INT64_MAX__ 9223372036854775807LL
2718 // I386:#define __INT64_TYPE__ long long int
2719 // I386:#define __INT8_C_SUFFIX__
2720 // I386:#define __INT8_FMTd__ "hhd"
2721 // I386:#define __INT8_FMTi__ "hhi"
2722 // I386:#define __INT8_MAX__ 127
2723 // I386:#define __INT8_TYPE__ signed char
2724 // I386:#define __INTMAX_C_SUFFIX__ LL
2725 // I386:#define __INTMAX_FMTd__ "lld"
2726 // I386:#define __INTMAX_FMTi__ "lli"
2727 // I386:#define __INTMAX_MAX__ 9223372036854775807LL
2728 // I386:#define __INTMAX_TYPE__ long long int
2729 // I386:#define __INTMAX_WIDTH__ 64
2730 // I386:#define __INTPTR_FMTd__ "d"
2731 // I386:#define __INTPTR_FMTi__ "i"
2732 // I386:#define __INTPTR_MAX__ 2147483647
2733 // I386:#define __INTPTR_TYPE__ int
2734 // I386:#define __INTPTR_WIDTH__ 32
2735 // I386:#define __INT_FAST16_FMTd__ "hd"
2736 // I386:#define __INT_FAST16_FMTi__ "hi"
2737 // I386:#define __INT_FAST16_MAX__ 32767
2738 // I386:#define __INT_FAST16_TYPE__ short
2739 // I386:#define __INT_FAST32_FMTd__ "d"
2740 // I386:#define __INT_FAST32_FMTi__ "i"
2741 // I386:#define __INT_FAST32_MAX__ 2147483647
2742 // I386:#define __INT_FAST32_TYPE__ int
2743 // I386:#define __INT_FAST64_FMTd__ "lld"
2744 // I386:#define __INT_FAST64_FMTi__ "lli"
2745 // I386:#define __INT_FAST64_MAX__ 9223372036854775807LL
2746 // I386:#define __INT_FAST64_TYPE__ long long int
2747 // I386:#define __INT_FAST8_FMTd__ "hhd"
2748 // I386:#define __INT_FAST8_FMTi__ "hhi"
2749 // I386:#define __INT_FAST8_MAX__ 127
2750 // I386:#define __INT_FAST8_TYPE__ signed char
2751 // I386:#define __INT_LEAST16_FMTd__ "hd"
2752 // I386:#define __INT_LEAST16_FMTi__ "hi"
2753 // I386:#define __INT_LEAST16_MAX__ 32767
2754 // I386:#define __INT_LEAST16_TYPE__ short
2755 // I386:#define __INT_LEAST32_FMTd__ "d"
2756 // I386:#define __INT_LEAST32_FMTi__ "i"
2757 // I386:#define __INT_LEAST32_MAX__ 2147483647
2758 // I386:#define __INT_LEAST32_TYPE__ int
2759 // I386:#define __INT_LEAST64_FMTd__ "lld"
2760 // I386:#define __INT_LEAST64_FMTi__ "lli"
2761 // I386:#define __INT_LEAST64_MAX__ 9223372036854775807LL
2762 // I386:#define __INT_LEAST64_TYPE__ long long int
2763 // I386:#define __INT_LEAST8_FMTd__ "hhd"
2764 // I386:#define __INT_LEAST8_FMTi__ "hhi"
2765 // I386:#define __INT_LEAST8_MAX__ 127
2766 // I386:#define __INT_LEAST8_TYPE__ signed char
2767 // I386:#define __INT_MAX__ 2147483647
2768 // I386:#define __LDBL_DENORM_MIN__ 3.64519953188247460253e-4951L
2769 // I386:#define __LDBL_DIG__ 18
2770 // I386:#define __LDBL_EPSILON__ 1.08420217248550443401e-19L
2771 // I386:#define __LDBL_HAS_DENORM__ 1
2772 // I386:#define __LDBL_HAS_INFINITY__ 1
2773 // I386:#define __LDBL_HAS_QUIET_NAN__ 1
2774 // I386:#define __LDBL_MANT_DIG__ 64
2775 // I386:#define __LDBL_MAX_10_EXP__ 4932
2776 // I386:#define __LDBL_MAX_EXP__ 16384
2777 // I386:#define __LDBL_MAX__ 1.18973149535723176502e+4932L
2778 // I386:#define __LDBL_MIN_10_EXP__ (-4931)
2779 // I386:#define __LDBL_MIN_EXP__ (-16381)
2780 // I386:#define __LDBL_MIN__ 3.36210314311209350626e-4932L
2781 // I386:#define __LITTLE_ENDIAN__ 1
2782 // I386:#define __LONG_LONG_MAX__ 9223372036854775807LL
2783 // I386:#define __LONG_MAX__ 2147483647L
2784 // I386-NOT:#define __LP64__
2785 // I386:#define __NO_MATH_INLINES 1
2786 // I386:#define __POINTER_WIDTH__ 32
2787 // I386:#define __PTRDIFF_TYPE__ int
2788 // I386:#define __PTRDIFF_WIDTH__ 32
2789 // I386:#define __REGISTER_PREFIX__
2790 // I386:#define __SCHAR_MAX__ 127
2791 // I386:#define __SHRT_MAX__ 32767
2792 // I386:#define __SIG_ATOMIC_MAX__ 2147483647
2793 // I386:#define __SIG_ATOMIC_WIDTH__ 32
2794 // I386:#define __SIZEOF_DOUBLE__ 8
2795 // I386:#define __SIZEOF_FLOAT__ 4
2796 // I386:#define __SIZEOF_INT__ 4
2797 // I386:#define __SIZEOF_LONG_DOUBLE__ 12
2798 // I386:#define __SIZEOF_LONG_LONG__ 8
2799 // I386:#define __SIZEOF_LONG__ 4
2800 // I386:#define __SIZEOF_POINTER__ 4
2801 // I386:#define __SIZEOF_PTRDIFF_T__ 4
2802 // I386:#define __SIZEOF_SHORT__ 2
2803 // I386:#define __SIZEOF_SIZE_T__ 4
2804 // I386:#define __SIZEOF_WCHAR_T__ 4
2805 // I386:#define __SIZEOF_WINT_T__ 4
2806 // I386:#define __SIZE_MAX__ 4294967295U
2807 // I386:#define __SIZE_TYPE__ unsigned int
2808 // I386:#define __SIZE_WIDTH__ 32
2809 // I386:#define __UINT16_C_SUFFIX__
2810 // I386:#define __UINT16_MAX__ 65535
2811 // I386:#define __UINT16_TYPE__ unsigned short
2812 // I386:#define __UINT32_C_SUFFIX__ U
2813 // I386:#define __UINT32_MAX__ 4294967295U
2814 // I386:#define __UINT32_TYPE__ unsigned int
2815 // I386:#define __UINT64_C_SUFFIX__ ULL
2816 // I386:#define __UINT64_MAX__ 18446744073709551615ULL
2817 // I386:#define __UINT64_TYPE__ long long unsigned int
2818 // I386:#define __UINT8_C_SUFFIX__
2819 // I386:#define __UINT8_MAX__ 255
2820 // I386:#define __UINT8_TYPE__ unsigned char
2821 // I386:#define __UINTMAX_C_SUFFIX__ ULL
2822 // I386:#define __UINTMAX_MAX__ 18446744073709551615ULL
2823 // I386:#define __UINTMAX_TYPE__ long long unsigned int
2824 // I386:#define __UINTMAX_WIDTH__ 64
2825 // I386:#define __UINTPTR_MAX__ 4294967295U
2826 // I386:#define __UINTPTR_TYPE__ unsigned int
2827 // I386:#define __UINTPTR_WIDTH__ 32
2828 // I386:#define __UINT_FAST16_MAX__ 65535
2829 // I386:#define __UINT_FAST16_TYPE__ unsigned short
2830 // I386:#define __UINT_FAST32_MAX__ 4294967295U
2831 // I386:#define __UINT_FAST32_TYPE__ unsigned int
2832 // I386:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
2833 // I386:#define __UINT_FAST64_TYPE__ long long unsigned int
2834 // I386:#define __UINT_FAST8_MAX__ 255
2835 // I386:#define __UINT_FAST8_TYPE__ unsigned char
2836 // I386:#define __UINT_LEAST16_MAX__ 65535
2837 // I386:#define __UINT_LEAST16_TYPE__ unsigned short
2838 // I386:#define __UINT_LEAST32_MAX__ 4294967295U
2839 // I386:#define __UINT_LEAST32_TYPE__ unsigned int
2840 // I386:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
2841 // I386:#define __UINT_LEAST64_TYPE__ long long unsigned int
2842 // I386:#define __UINT_LEAST8_MAX__ 255
2843 // I386:#define __UINT_LEAST8_TYPE__ unsigned char
2844 // I386:#define __USER_LABEL_PREFIX__
2845 // I386:#define __WCHAR_MAX__ 2147483647
2846 // I386:#define __WCHAR_TYPE__ int
2847 // I386:#define __WCHAR_WIDTH__ 32
2848 // I386:#define __WINT_TYPE__ int
2849 // I386:#define __WINT_WIDTH__ 32
2850 // I386:#define __i386 1
2851 // I386:#define __i386__ 1
2852 // I386:#define i386 1
2853 //
2854 // RUN: %clang_cc1 -E -dM -ffreestanding -fgnuc-version=4.2.1 -triple=i386-pc-linux-gnu -target-cpu pentium4 < /dev/null | FileCheck -match-full-lines -check-prefix I386-LINUX -check-prefix I386-LINUX-ALIGN32 %s
2855 // RUN: %clang_cc1 -x c++ -E -dM -ffreestanding -fgnuc-version=4.2.1 -triple=i386-pc-linux-gnu -target-cpu pentium4 < /dev/null | FileCheck -match-full-lines -check-prefix I386-LINUX -check-prefix I386-LINUX-CXX -check-prefix I386-LINUX-ALIGN32 %s
2856 // RUN: %clang_cc1 -E -dM -ffreestanding -fgnuc-version=4.2.1 -triple=i386-pc-linux-gnu -target-cpu pentium4 -malign-double < /dev/null | FileCheck -match-full-lines -check-prefix I386-LINUX -check-prefix I386-LINUX-ALIGN64 %s
2857 //
2858 // I386-LINUX-NOT:#define _LP64
2859 // I386-LINUX:#define __BIGGEST_ALIGNMENT__ 16
2860 // I386-LINUX:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
2861 // I386-LINUX:#define __CHAR16_TYPE__ unsigned short
2862 // I386-LINUX:#define __CHAR32_TYPE__ unsigned int
2863 // I386-LINUX:#define __CHAR_BIT__ 8
2864 // I386-LINUX:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
2865 // I386-LINUX:#define __DBL_DIG__ 15
2866 // I386-LINUX:#define __DBL_EPSILON__ 2.2204460492503131e-16
2867 // I386-LINUX:#define __DBL_HAS_DENORM__ 1
2868 // I386-LINUX:#define __DBL_HAS_INFINITY__ 1
2869 // I386-LINUX:#define __DBL_HAS_QUIET_NAN__ 1
2870 // I386-LINUX:#define __DBL_MANT_DIG__ 53
2871 // I386-LINUX:#define __DBL_MAX_10_EXP__ 308
2872 // I386-LINUX:#define __DBL_MAX_EXP__ 1024
2873 // I386-LINUX:#define __DBL_MAX__ 1.7976931348623157e+308
2874 // I386-LINUX:#define __DBL_MIN_10_EXP__ (-307)
2875 // I386-LINUX:#define __DBL_MIN_EXP__ (-1021)
2876 // I386-LINUX:#define __DBL_MIN__ 2.2250738585072014e-308
2877 // I386-LINUX:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
2878 // I386-LINUX:#define __FLT_DENORM_MIN__ 1.40129846e-45F
2879 // I386-LINUX:#define __FLT_DIG__ 6
2880 // I386-LINUX:#define __FLT_EPSILON__ 1.19209290e-7F
2881 // I386-LINUX:#define __FLT_EVAL_METHOD__ 0
2882 // I386-LINUX:#define __FLT_HAS_DENORM__ 1
2883 // I386-LINUX:#define __FLT_HAS_INFINITY__ 1
2884 // I386-LINUX:#define __FLT_HAS_QUIET_NAN__ 1
2885 // I386-LINUX:#define __FLT_MANT_DIG__ 24
2886 // I386-LINUX:#define __FLT_MAX_10_EXP__ 38
2887 // I386-LINUX:#define __FLT_MAX_EXP__ 128
2888 // I386-LINUX:#define __FLT_MAX__ 3.40282347e+38F
2889 // I386-LINUX:#define __FLT_MIN_10_EXP__ (-37)
2890 // I386-LINUX:#define __FLT_MIN_EXP__ (-125)
2891 // I386-LINUX:#define __FLT_MIN__ 1.17549435e-38F
2892 // I386-LINUX:#define __FLT_RADIX__ 2
2893 // I386-LINUX:#define __GCC_ATOMIC_BOOL_LOCK_FREE 2
2894 // I386-LINUX:#define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2
2895 // I386-LINUX:#define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2
2896 // I386-LINUX:#define __GCC_ATOMIC_CHAR_LOCK_FREE 2
2897 // I386-LINUX:#define __GCC_ATOMIC_INT_LOCK_FREE 2
2898 // I386-LINUX-ALIGN32:#define __GCC_ATOMIC_LLONG_LOCK_FREE 1
2899 // I386-LINUX-ALIGN64:#define __GCC_ATOMIC_LLONG_LOCK_FREE 2
2900 // I386-LINUX:#define __GCC_ATOMIC_LONG_LOCK_FREE 2
2901 // I386-LINUX:#define __GCC_ATOMIC_POINTER_LOCK_FREE 2
2902 // I386-LINUX:#define __GCC_ATOMIC_SHORT_LOCK_FREE 2
2903 // I386-LINUX:#define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1
2904 // I386-LINUX:#define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2
2905 // I386-LINUX:#define __INT16_C_SUFFIX__
2906 // I386-LINUX:#define __INT16_FMTd__ "hd"
2907 // I386-LINUX:#define __INT16_FMTi__ "hi"
2908 // I386-LINUX:#define __INT16_MAX__ 32767
2909 // I386-LINUX:#define __INT16_TYPE__ short
2910 // I386-LINUX:#define __INT32_C_SUFFIX__
2911 // I386-LINUX:#define __INT32_FMTd__ "d"
2912 // I386-LINUX:#define __INT32_FMTi__ "i"
2913 // I386-LINUX:#define __INT32_MAX__ 2147483647
2914 // I386-LINUX:#define __INT32_TYPE__ int
2915 // I386-LINUX:#define __INT64_C_SUFFIX__ LL
2916 // I386-LINUX:#define __INT64_FMTd__ "lld"
2917 // I386-LINUX:#define __INT64_FMTi__ "lli"
2918 // I386-LINUX:#define __INT64_MAX__ 9223372036854775807LL
2919 // I386-LINUX:#define __INT64_TYPE__ long long int
2920 // I386-LINUX:#define __INT8_C_SUFFIX__
2921 // I386-LINUX:#define __INT8_FMTd__ "hhd"
2922 // I386-LINUX:#define __INT8_FMTi__ "hhi"
2923 // I386-LINUX:#define __INT8_MAX__ 127
2924 // I386-LINUX:#define __INT8_TYPE__ signed char
2925 // I386-LINUX:#define __INTMAX_C_SUFFIX__ LL
2926 // I386-LINUX:#define __INTMAX_FMTd__ "lld"
2927 // I386-LINUX:#define __INTMAX_FMTi__ "lli"
2928 // I386-LINUX:#define __INTMAX_MAX__ 9223372036854775807LL
2929 // I386-LINUX:#define __INTMAX_TYPE__ long long int
2930 // I386-LINUX:#define __INTMAX_WIDTH__ 64
2931 // I386-LINUX:#define __INTPTR_FMTd__ "d"
2932 // I386-LINUX:#define __INTPTR_FMTi__ "i"
2933 // I386-LINUX:#define __INTPTR_MAX__ 2147483647
2934 // I386-LINUX:#define __INTPTR_TYPE__ int
2935 // I386-LINUX:#define __INTPTR_WIDTH__ 32
2936 // I386-LINUX:#define __INT_FAST16_FMTd__ "hd"
2937 // I386-LINUX:#define __INT_FAST16_FMTi__ "hi"
2938 // I386-LINUX:#define __INT_FAST16_MAX__ 32767
2939 // I386-LINUX:#define __INT_FAST16_TYPE__ short
2940 // I386-LINUX:#define __INT_FAST32_FMTd__ "d"
2941 // I386-LINUX:#define __INT_FAST32_FMTi__ "i"
2942 // I386-LINUX:#define __INT_FAST32_MAX__ 2147483647
2943 // I386-LINUX:#define __INT_FAST32_TYPE__ int
2944 // I386-LINUX:#define __INT_FAST64_FMTd__ "lld"
2945 // I386-LINUX:#define __INT_FAST64_FMTi__ "lli"
2946 // I386-LINUX:#define __INT_FAST64_MAX__ 9223372036854775807LL
2947 // I386-LINUX:#define __INT_FAST64_TYPE__ long long int
2948 // I386-LINUX:#define __INT_FAST8_FMTd__ "hhd"
2949 // I386-LINUX:#define __INT_FAST8_FMTi__ "hhi"
2950 // I386-LINUX:#define __INT_FAST8_MAX__ 127
2951 // I386-LINUX:#define __INT_FAST8_TYPE__ signed char
2952 // I386-LINUX:#define __INT_LEAST16_FMTd__ "hd"
2953 // I386-LINUX:#define __INT_LEAST16_FMTi__ "hi"
2954 // I386-LINUX:#define __INT_LEAST16_MAX__ 32767
2955 // I386-LINUX:#define __INT_LEAST16_TYPE__ short
2956 // I386-LINUX:#define __INT_LEAST32_FMTd__ "d"
2957 // I386-LINUX:#define __INT_LEAST32_FMTi__ "i"
2958 // I386-LINUX:#define __INT_LEAST32_MAX__ 2147483647
2959 // I386-LINUX:#define __INT_LEAST32_TYPE__ int
2960 // I386-LINUX:#define __INT_LEAST64_FMTd__ "lld"
2961 // I386-LINUX:#define __INT_LEAST64_FMTi__ "lli"
2962 // I386-LINUX:#define __INT_LEAST64_MAX__ 9223372036854775807LL
2963 // I386-LINUX:#define __INT_LEAST64_TYPE__ long long int
2964 // I386-LINUX:#define __INT_LEAST8_FMTd__ "hhd"
2965 // I386-LINUX:#define __INT_LEAST8_FMTi__ "hhi"
2966 // I386-LINUX:#define __INT_LEAST8_MAX__ 127
2967 // I386-LINUX:#define __INT_LEAST8_TYPE__ signed char
2968 // I386-LINUX:#define __INT_MAX__ 2147483647
2969 // I386-LINUX:#define __LDBL_DENORM_MIN__ 3.64519953188247460253e-4951L
2970 // I386-LINUX:#define __LDBL_DIG__ 18
2971 // I386-LINUX:#define __LDBL_EPSILON__ 1.08420217248550443401e-19L
2972 // I386-LINUX:#define __LDBL_HAS_DENORM__ 1
2973 // I386-LINUX:#define __LDBL_HAS_INFINITY__ 1
2974 // I386-LINUX:#define __LDBL_HAS_QUIET_NAN__ 1
2975 // I386-LINUX:#define __LDBL_MANT_DIG__ 64
2976 // I386-LINUX:#define __LDBL_MAX_10_EXP__ 4932
2977 // I386-LINUX:#define __LDBL_MAX_EXP__ 16384
2978 // I386-LINUX:#define __LDBL_MAX__ 1.18973149535723176502e+4932L
2979 // I386-LINUX:#define __LDBL_MIN_10_EXP__ (-4931)
2980 // I386-LINUX:#define __LDBL_MIN_EXP__ (-16381)
2981 // I386-LINUX:#define __LDBL_MIN__ 3.36210314311209350626e-4932L
2982 // I386-LINUX:#define __LITTLE_ENDIAN__ 1
2983 // I386-LINUX:#define __LONG_LONG_MAX__ 9223372036854775807LL
2984 // I386-LINUX:#define __LONG_MAX__ 2147483647L
2985 // I386-LINUX-NOT:#define __LP64__
2986 // I386-LINUX:#define __NO_MATH_INLINES 1
2987 // I386-LINUX:#define __POINTER_WIDTH__ 32
2988 // I386-LINUX:#define __PTRDIFF_TYPE__ int
2989 // I386-LINUX:#define __PTRDIFF_WIDTH__ 32
2990 // I386-LINUX:#define __REGISTER_PREFIX__
2991 // I386-LINUX:#define __SCHAR_MAX__ 127
2992 // I386-LINUX:#define __SHRT_MAX__ 32767
2993 // I386-LINUX:#define __SIG_ATOMIC_MAX__ 2147483647
2994 // I386-LINUX:#define __SIG_ATOMIC_WIDTH__ 32
2995 // I386-LINUX:#define __SIZEOF_DOUBLE__ 8
2996 // I386-LINUX:#define __SIZEOF_FLOAT__ 4
2997 // I386-LINUX:#define __SIZEOF_INT__ 4
2998 // I386-LINUX:#define __SIZEOF_LONG_DOUBLE__ 12
2999 // I386-LINUX:#define __SIZEOF_LONG_LONG__ 8
3000 // I386-LINUX:#define __SIZEOF_LONG__ 4
3001 // I386-LINUX:#define __SIZEOF_POINTER__ 4
3002 // I386-LINUX:#define __SIZEOF_PTRDIFF_T__ 4
3003 // I386-LINUX:#define __SIZEOF_SHORT__ 2
3004 // I386-LINUX:#define __SIZEOF_SIZE_T__ 4
3005 // I386-LINUX:#define __SIZEOF_WCHAR_T__ 4
3006 // I386-LINUX:#define __SIZEOF_WINT_T__ 4
3007 // I386-LINUX:#define __SIZE_MAX__ 4294967295U
3008 // I386-LINUX:#define __SIZE_TYPE__ unsigned int
3009 // I386-LINUX:#define __SIZE_WIDTH__ 32
3010 // I386-LINUX-CXX:#define __STDCPP_DEFAULT_NEW_ALIGNMENT__ 8U
3011 // I386-LINUX:#define __UINT16_C_SUFFIX__
3012 // I386-LINUX:#define __UINT16_MAX__ 65535
3013 // I386-LINUX:#define __UINT16_TYPE__ unsigned short
3014 // I386-LINUX:#define __UINT32_C_SUFFIX__ U
3015 // I386-LINUX:#define __UINT32_MAX__ 4294967295U
3016 // I386-LINUX:#define __UINT32_TYPE__ unsigned int
3017 // I386-LINUX:#define __UINT64_C_SUFFIX__ ULL
3018 // I386-LINUX:#define __UINT64_MAX__ 18446744073709551615ULL
3019 // I386-LINUX:#define __UINT64_TYPE__ long long unsigned int
3020 // I386-LINUX:#define __UINT8_C_SUFFIX__
3021 // I386-LINUX:#define __UINT8_MAX__ 255
3022 // I386-LINUX:#define __UINT8_TYPE__ unsigned char
3023 // I386-LINUX:#define __UINTMAX_C_SUFFIX__ ULL
3024 // I386-LINUX:#define __UINTMAX_MAX__ 18446744073709551615ULL
3025 // I386-LINUX:#define __UINTMAX_TYPE__ long long unsigned int
3026 // I386-LINUX:#define __UINTMAX_WIDTH__ 64
3027 // I386-LINUX:#define __UINTPTR_MAX__ 4294967295U
3028 // I386-LINUX:#define __UINTPTR_TYPE__ unsigned int
3029 // I386-LINUX:#define __UINTPTR_WIDTH__ 32
3030 // I386-LINUX:#define __UINT_FAST16_MAX__ 65535
3031 // I386-LINUX:#define __UINT_FAST16_TYPE__ unsigned short
3032 // I386-LINUX:#define __UINT_FAST32_MAX__ 4294967295U
3033 // I386-LINUX:#define __UINT_FAST32_TYPE__ unsigned int
3034 // I386-LINUX:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
3035 // I386-LINUX:#define __UINT_FAST64_TYPE__ long long unsigned int
3036 // I386-LINUX:#define __UINT_FAST8_MAX__ 255
3037 // I386-LINUX:#define __UINT_FAST8_TYPE__ unsigned char
3038 // I386-LINUX:#define __UINT_LEAST16_MAX__ 65535
3039 // I386-LINUX:#define __UINT_LEAST16_TYPE__ unsigned short
3040 // I386-LINUX:#define __UINT_LEAST32_MAX__ 4294967295U
3041 // I386-LINUX:#define __UINT_LEAST32_TYPE__ unsigned int
3042 // I386-LINUX:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
3043 // I386-LINUX:#define __UINT_LEAST64_TYPE__ long long unsigned int
3044 // I386-LINUX:#define __UINT_LEAST8_MAX__ 255
3045 // I386-LINUX:#define __UINT_LEAST8_TYPE__ unsigned char
3046 // I386-LINUX:#define __USER_LABEL_PREFIX__
3047 // I386-LINUX:#define __WCHAR_MAX__ 2147483647
3048 // I386-LINUX:#define __WCHAR_TYPE__ int
3049 // I386-LINUX:#define __WCHAR_WIDTH__ 32
3050 // I386-LINUX:#define __WINT_TYPE__ unsigned int
3051 // I386-LINUX:#define __WINT_WIDTH__ 32
3052 // I386-LINUX:#define __i386 1
3053 // I386-LINUX:#define __i386__ 1
3054 // I386-LINUX:#define i386 1
3055 //
3056 // RUN: %clang_cc1 -E -dM -ffreestanding -fgnuc-version=4.2.1 -triple=i386-netbsd -target-cpu i486 < /dev/null | FileCheck -match-full-lines -check-prefix I386-NETBSD %s
3057 // RUN: %clang_cc1 -x c++ -E -dM -ffreestanding -fgnuc-version=4.2.1 -triple=i386-netbsd -target-cpu i486 < /dev/null | FileCheck -match-full-lines -check-prefix I386-NETBSD -check-prefix I386-NETBSD-CXX %s
3058 // RUN: %clang_cc1 -E -dM -ffreestanding -fgnuc-version=4.2.1 -triple=i386-netbsd -target-cpu i486 -malign-double < /dev/null | FileCheck -match-full-lines -check-prefix I386-NETBSD %s
3059 //
3060 //
3061 // I386-NETBSD-NOT:#define _LP64
3062 // I386-NETBSD:#define __BIGGEST_ALIGNMENT__ 16
3063 // I386-NETBSD:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
3064 // I386-NETBSD:#define __CHAR16_TYPE__ unsigned short
3065 // I386-NETBSD:#define __CHAR32_TYPE__ unsigned int
3066 // I386-NETBSD:#define __CHAR_BIT__ 8
3067 // I386-NETBSD:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
3068 // I386-NETBSD:#define __DBL_DIG__ 15
3069 // I386-NETBSD:#define __DBL_EPSILON__ 2.2204460492503131e-16
3070 // I386-NETBSD:#define __DBL_HAS_DENORM__ 1
3071 // I386-NETBSD:#define __DBL_HAS_INFINITY__ 1
3072 // I386-NETBSD:#define __DBL_HAS_QUIET_NAN__ 1
3073 // I386-NETBSD:#define __DBL_MANT_DIG__ 53
3074 // I386-NETBSD:#define __DBL_MAX_10_EXP__ 308
3075 // I386-NETBSD:#define __DBL_MAX_EXP__ 1024
3076 // I386-NETBSD:#define __DBL_MAX__ 1.7976931348623157e+308
3077 // I386-NETBSD:#define __DBL_MIN_10_EXP__ (-307)
3078 // I386-NETBSD:#define __DBL_MIN_EXP__ (-1021)
3079 // I386-NETBSD:#define __DBL_MIN__ 2.2250738585072014e-308
3080 // I386-NETBSD:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
3081 // I386-NETBSD:#define __FLT_DENORM_MIN__ 1.40129846e-45F
3082 // I386-NETBSD:#define __FLT_DIG__ 6
3083 // I386-NETBSD:#define __FLT_EPSILON__ 1.19209290e-7F
3084 // I386-NETBSD:#define __FLT_EVAL_METHOD__ 2
3085 // I386-NETBSD:#define __FLT_HAS_DENORM__ 1
3086 // I386-NETBSD:#define __FLT_HAS_INFINITY__ 1
3087 // I386-NETBSD:#define __FLT_HAS_QUIET_NAN__ 1
3088 // I386-NETBSD:#define __FLT_MANT_DIG__ 24
3089 // I386-NETBSD:#define __FLT_MAX_10_EXP__ 38
3090 // I386-NETBSD:#define __FLT_MAX_EXP__ 128
3091 // I386-NETBSD:#define __FLT_MAX__ 3.40282347e+38F
3092 // I386-NETBSD:#define __FLT_MIN_10_EXP__ (-37)
3093 // I386-NETBSD:#define __FLT_MIN_EXP__ (-125)
3094 // I386-NETBSD:#define __FLT_MIN__ 1.17549435e-38F
3095 // I386-NETBSD:#define __FLT_RADIX__ 2
3096 // I386-NETBSD:#define __GCC_ATOMIC_BOOL_LOCK_FREE 2
3097 // I386-NETBSD:#define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2
3098 // I386-NETBSD:#define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2
3099 // I386-NETBSD:#define __GCC_ATOMIC_CHAR_LOCK_FREE 2
3100 // I386-NETBSD:#define __GCC_ATOMIC_INT_LOCK_FREE 2
3101 // I386-NETBSD:#define __GCC_ATOMIC_LLONG_LOCK_FREE 1
3102 // I386-NETBSD:#define __GCC_ATOMIC_LONG_LOCK_FREE 2
3103 // I386-NETBSD:#define __GCC_ATOMIC_POINTER_LOCK_FREE 2
3104 // I386-NETBSD:#define __GCC_ATOMIC_SHORT_LOCK_FREE 2
3105 // I386-NETBSD:#define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1
3106 // I386-NETBSD:#define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2
3107 // I386-NETBSD:#define __INT16_C_SUFFIX__
3108 // I386-NETBSD:#define __INT16_FMTd__ "hd"
3109 // I386-NETBSD:#define __INT16_FMTi__ "hi"
3110 // I386-NETBSD:#define __INT16_MAX__ 32767
3111 // I386-NETBSD:#define __INT16_TYPE__ short
3112 // I386-NETBSD:#define __INT32_C_SUFFIX__
3113 // I386-NETBSD:#define __INT32_FMTd__ "d"
3114 // I386-NETBSD:#define __INT32_FMTi__ "i"
3115 // I386-NETBSD:#define __INT32_MAX__ 2147483647
3116 // I386-NETBSD:#define __INT32_TYPE__ int
3117 // I386-NETBSD:#define __INT64_C_SUFFIX__ LL
3118 // I386-NETBSD:#define __INT64_FMTd__ "lld"
3119 // I386-NETBSD:#define __INT64_FMTi__ "lli"
3120 // I386-NETBSD:#define __INT64_MAX__ 9223372036854775807LL
3121 // I386-NETBSD:#define __INT64_TYPE__ long long int
3122 // I386-NETBSD:#define __INT8_C_SUFFIX__
3123 // I386-NETBSD:#define __INT8_FMTd__ "hhd"
3124 // I386-NETBSD:#define __INT8_FMTi__ "hhi"
3125 // I386-NETBSD:#define __INT8_MAX__ 127
3126 // I386-NETBSD:#define __INT8_TYPE__ signed char
3127 // I386-NETBSD:#define __INTMAX_C_SUFFIX__ LL
3128 // I386-NETBSD:#define __INTMAX_FMTd__ "lld"
3129 // I386-NETBSD:#define __INTMAX_FMTi__ "lli"
3130 // I386-NETBSD:#define __INTMAX_MAX__ 9223372036854775807LL
3131 // I386-NETBSD:#define __INTMAX_TYPE__ long long int
3132 // I386-NETBSD:#define __INTMAX_WIDTH__ 64
3133 // I386-NETBSD:#define __INTPTR_FMTd__ "d"
3134 // I386-NETBSD:#define __INTPTR_FMTi__ "i"
3135 // I386-NETBSD:#define __INTPTR_MAX__ 2147483647
3136 // I386-NETBSD:#define __INTPTR_TYPE__ int
3137 // I386-NETBSD:#define __INTPTR_WIDTH__ 32
3138 // I386-NETBSD:#define __INT_FAST16_FMTd__ "hd"
3139 // I386-NETBSD:#define __INT_FAST16_FMTi__ "hi"
3140 // I386-NETBSD:#define __INT_FAST16_MAX__ 32767
3141 // I386-NETBSD:#define __INT_FAST16_TYPE__ short
3142 // I386-NETBSD:#define __INT_FAST32_FMTd__ "d"
3143 // I386-NETBSD:#define __INT_FAST32_FMTi__ "i"
3144 // I386-NETBSD:#define __INT_FAST32_MAX__ 2147483647
3145 // I386-NETBSD:#define __INT_FAST32_TYPE__ int
3146 // I386-NETBSD:#define __INT_FAST64_FMTd__ "lld"
3147 // I386-NETBSD:#define __INT_FAST64_FMTi__ "lli"
3148 // I386-NETBSD:#define __INT_FAST64_MAX__ 9223372036854775807LL
3149 // I386-NETBSD:#define __INT_FAST64_TYPE__ long long int
3150 // I386-NETBSD:#define __INT_FAST8_FMTd__ "hhd"
3151 // I386-NETBSD:#define __INT_FAST8_FMTi__ "hhi"
3152 // I386-NETBSD:#define __INT_FAST8_MAX__ 127
3153 // I386-NETBSD:#define __INT_FAST8_TYPE__ signed char
3154 // I386-NETBSD:#define __INT_LEAST16_FMTd__ "hd"
3155 // I386-NETBSD:#define __INT_LEAST16_FMTi__ "hi"
3156 // I386-NETBSD:#define __INT_LEAST16_MAX__ 32767
3157 // I386-NETBSD:#define __INT_LEAST16_TYPE__ short
3158 // I386-NETBSD:#define __INT_LEAST32_FMTd__ "d"
3159 // I386-NETBSD:#define __INT_LEAST32_FMTi__ "i"
3160 // I386-NETBSD:#define __INT_LEAST32_MAX__ 2147483647
3161 // I386-NETBSD:#define __INT_LEAST32_TYPE__ int
3162 // I386-NETBSD:#define __INT_LEAST64_FMTd__ "lld"
3163 // I386-NETBSD:#define __INT_LEAST64_FMTi__ "lli"
3164 // I386-NETBSD:#define __INT_LEAST64_MAX__ 9223372036854775807LL
3165 // I386-NETBSD:#define __INT_LEAST64_TYPE__ long long int
3166 // I386-NETBSD:#define __INT_LEAST8_FMTd__ "hhd"
3167 // I386-NETBSD:#define __INT_LEAST8_FMTi__ "hhi"
3168 // I386-NETBSD:#define __INT_LEAST8_MAX__ 127
3169 // I386-NETBSD:#define __INT_LEAST8_TYPE__ signed char
3170 // I386-NETBSD:#define __INT_MAX__ 2147483647
3171 // I386-NETBSD:#define __LDBL_DENORM_MIN__ 3.64519953188247460253e-4951L
3172 // I386-NETBSD:#define __LDBL_DIG__ 18
3173 // I386-NETBSD:#define __LDBL_EPSILON__ 1.08420217248550443401e-19L
3174 // I386-NETBSD:#define __LDBL_HAS_DENORM__ 1
3175 // I386-NETBSD:#define __LDBL_HAS_INFINITY__ 1
3176 // I386-NETBSD:#define __LDBL_HAS_QUIET_NAN__ 1
3177 // I386-NETBSD:#define __LDBL_MANT_DIG__ 64
3178 // I386-NETBSD:#define __LDBL_MAX_10_EXP__ 4932
3179 // I386-NETBSD:#define __LDBL_MAX_EXP__ 16384
3180 // I386-NETBSD:#define __LDBL_MAX__ 1.18973149535723176502e+4932L
3181 // I386-NETBSD:#define __LDBL_MIN_10_EXP__ (-4931)
3182 // I386-NETBSD:#define __LDBL_MIN_EXP__ (-16381)
3183 // I386-NETBSD:#define __LDBL_MIN__ 3.36210314311209350626e-4932L
3184 // I386-NETBSD:#define __LITTLE_ENDIAN__ 1
3185 // I386-NETBSD:#define __LONG_LONG_MAX__ 9223372036854775807LL
3186 // I386-NETBSD:#define __LONG_MAX__ 2147483647L
3187 // I386-NETBSD-NOT:#define __LP64__
3188 // I386-NETBSD:#define __NO_MATH_INLINES 1
3189 // I386-NETBSD:#define __POINTER_WIDTH__ 32
3190 // I386-NETBSD:#define __PTRDIFF_TYPE__ int
3191 // I386-NETBSD:#define __PTRDIFF_WIDTH__ 32
3192 // I386-NETBSD:#define __REGISTER_PREFIX__
3193 // I386-NETBSD:#define __SCHAR_MAX__ 127
3194 // I386-NETBSD:#define __SHRT_MAX__ 32767
3195 // I386-NETBSD:#define __SIG_ATOMIC_MAX__ 2147483647
3196 // I386-NETBSD:#define __SIG_ATOMIC_WIDTH__ 32
3197 // I386-NETBSD:#define __SIZEOF_DOUBLE__ 8
3198 // I386-NETBSD:#define __SIZEOF_FLOAT__ 4
3199 // I386-NETBSD:#define __SIZEOF_INT__ 4
3200 // I386-NETBSD:#define __SIZEOF_LONG_DOUBLE__ 12
3201 // I386-NETBSD:#define __SIZEOF_LONG_LONG__ 8
3202 // I386-NETBSD:#define __SIZEOF_LONG__ 4
3203 // I386-NETBSD:#define __SIZEOF_POINTER__ 4
3204 // I386-NETBSD:#define __SIZEOF_PTRDIFF_T__ 4
3205 // I386-NETBSD:#define __SIZEOF_SHORT__ 2
3206 // I386-NETBSD:#define __SIZEOF_SIZE_T__ 4
3207 // I386-NETBSD:#define __SIZEOF_WCHAR_T__ 4
3208 // I386-NETBSD:#define __SIZEOF_WINT_T__ 4
3209 // I386-NETBSD:#define __SIZE_MAX__ 4294967295U
3210 // I386-NETBSD:#define __SIZE_TYPE__ unsigned int
3211 // I386-NETBSD:#define __SIZE_WIDTH__ 32
3212 // I386-NETBSD-CXX:#define __STDCPP_DEFAULT_NEW_ALIGNMENT__ 4U
3213 // I386-NETBSD:#define __UINT16_C_SUFFIX__
3214 // I386-NETBSD:#define __UINT16_MAX__ 65535
3215 // I386-NETBSD:#define __UINT16_TYPE__ unsigned short
3216 // I386-NETBSD:#define __UINT32_C_SUFFIX__ U
3217 // I386-NETBSD:#define __UINT32_MAX__ 4294967295U
3218 // I386-NETBSD:#define __UINT32_TYPE__ unsigned int
3219 // I386-NETBSD:#define __UINT64_C_SUFFIX__ ULL
3220 // I386-NETBSD:#define __UINT64_MAX__ 18446744073709551615ULL
3221 // I386-NETBSD:#define __UINT64_TYPE__ long long unsigned int
3222 // I386-NETBSD:#define __UINT8_C_SUFFIX__
3223 // I386-NETBSD:#define __UINT8_MAX__ 255
3224 // I386-NETBSD:#define __UINT8_TYPE__ unsigned char
3225 // I386-NETBSD:#define __UINTMAX_C_SUFFIX__ ULL
3226 // I386-NETBSD:#define __UINTMAX_MAX__ 18446744073709551615ULL
3227 // I386-NETBSD:#define __UINTMAX_TYPE__ long long unsigned int
3228 // I386-NETBSD:#define __UINTMAX_WIDTH__ 64
3229 // I386-NETBSD:#define __UINTPTR_MAX__ 4294967295U
3230 // I386-NETBSD:#define __UINTPTR_TYPE__ unsigned int
3231 // I386-NETBSD:#define __UINTPTR_WIDTH__ 32
3232 // I386-NETBSD:#define __UINT_FAST16_MAX__ 65535
3233 // I386-NETBSD:#define __UINT_FAST16_TYPE__ unsigned short
3234 // I386-NETBSD:#define __UINT_FAST32_MAX__ 4294967295U
3235 // I386-NETBSD:#define __UINT_FAST32_TYPE__ unsigned int
3236 // I386-NETBSD:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
3237 // I386-NETBSD:#define __UINT_FAST64_TYPE__ long long unsigned int
3238 // I386-NETBSD:#define __UINT_FAST8_MAX__ 255
3239 // I386-NETBSD:#define __UINT_FAST8_TYPE__ unsigned char
3240 // I386-NETBSD:#define __UINT_LEAST16_MAX__ 65535
3241 // I386-NETBSD:#define __UINT_LEAST16_TYPE__ unsigned short
3242 // I386-NETBSD:#define __UINT_LEAST32_MAX__ 4294967295U
3243 // I386-NETBSD:#define __UINT_LEAST32_TYPE__ unsigned int
3244 // I386-NETBSD:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
3245 // I386-NETBSD:#define __UINT_LEAST64_TYPE__ long long unsigned int
3246 // I386-NETBSD:#define __UINT_LEAST8_MAX__ 255
3247 // I386-NETBSD:#define __UINT_LEAST8_TYPE__ unsigned char
3248 // I386-NETBSD:#define __USER_LABEL_PREFIX__
3249 // I386-NETBSD:#define __WCHAR_MAX__ 2147483647
3250 // I386-NETBSD:#define __WCHAR_TYPE__ int
3251 // I386-NETBSD:#define __WCHAR_WIDTH__ 32
3252 // I386-NETBSD:#define __WINT_TYPE__ int
3253 // I386-NETBSD:#define __WINT_WIDTH__ 32
3254 // I386-NETBSD:#define __i386 1
3255 // I386-NETBSD:#define __i386__ 1
3256 // I386-NETBSD:#define i386 1
3257 //
3258 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=i386-netbsd -target-feature +sse2 < /dev/null | FileCheck -match-full-lines -check-prefix I386-NETBSD-SSE %s
3259 // I386-NETBSD-SSE:#define __FLT_EVAL_METHOD__ 0
3260 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=i386-netbsd6  < /dev/null | FileCheck -match-full-lines -check-prefix I386-NETBSD6 %s
3261 // I386-NETBSD6:#define __FLT_EVAL_METHOD__ 1
3262 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=i386-netbsd6 -target-feature +sse2 < /dev/null | FileCheck -match-full-lines -check-prefix I386-NETBSD6-SSE %s
3263 // I386-NETBSD6-SSE:#define __FLT_EVAL_METHOD__ 1
3264 
3265 // RUN: %clang_cc1 -E -dM -triple=i686-pc-mingw32 < /dev/null | FileCheck -match-full-lines -check-prefix I386-DECLSPEC %s
3266 // RUN: %clang_cc1 -E -dM -fms-extensions -triple=i686-pc-mingw32 < /dev/null | FileCheck -match-full-lines -check-prefix I386-DECLSPEC %s
3267 // RUN: %clang_cc1 -E -dM -triple=i686-unknown-cygwin < /dev/null | FileCheck -match-full-lines -check-prefix I386-DECLSPEC %s
3268 // RUN: %clang_cc1 -E -dM -fms-extensions -triple=i686-unknown-cygwin < /dev/null | FileCheck -match-full-lines -check-prefix I386-DECLSPEC %s
3269 // I386-DECLSPEC: #define __declspec{{.*}}
3270 
3271 //
3272 // RUN: %clang_cc1 -E -dM -ffreestanding -fgnuc-version=4.2.1 -triple=mips-none-none < /dev/null | FileCheck -match-full-lines -check-prefix MIPS32BE -check-prefix MIPS32BE-C %s
3273 // RUN: %clang_cc1 -x c++ -E -dM -ffreestanding -fgnuc-version=4.2.1 -triple=mips-none-none < /dev/null | FileCheck -match-full-lines -check-prefix MIPS32BE -check-prefix MIPS32BE-CXX %s
3274 //
3275 // MIPS32BE:#define MIPSEB 1
3276 // MIPS32BE:#define _ABIO32 1
3277 // MIPS32BE-NOT:#define _LP64
3278 // MIPS32BE:#define _MIPSEB 1
3279 // MIPS32BE:#define _MIPS_ARCH "mips32r2"
3280 // MIPS32BE:#define _MIPS_ARCH_MIPS32R2 1
3281 // MIPS32BE:#define _MIPS_FPSET 16
3282 // MIPS32BE:#define _MIPS_SIM _ABIO32
3283 // MIPS32BE:#define _MIPS_SZINT 32
3284 // MIPS32BE:#define _MIPS_SZLONG 32
3285 // MIPS32BE:#define _MIPS_SZPTR 32
3286 // MIPS32BE:#define __BIGGEST_ALIGNMENT__ 8
3287 // MIPS32BE:#define __BIG_ENDIAN__ 1
3288 // MIPS32BE:#define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__
3289 // MIPS32BE:#define __CHAR16_TYPE__ unsigned short
3290 // MIPS32BE:#define __CHAR32_TYPE__ unsigned int
3291 // MIPS32BE:#define __CHAR_BIT__ 8
3292 // MIPS32BE:#define __CONSTANT_CFSTRINGS__ 1
3293 // MIPS32BE:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
3294 // MIPS32BE:#define __DBL_DIG__ 15
3295 // MIPS32BE:#define __DBL_EPSILON__ 2.2204460492503131e-16
3296 // MIPS32BE:#define __DBL_HAS_DENORM__ 1
3297 // MIPS32BE:#define __DBL_HAS_INFINITY__ 1
3298 // MIPS32BE:#define __DBL_HAS_QUIET_NAN__ 1
3299 // MIPS32BE:#define __DBL_MANT_DIG__ 53
3300 // MIPS32BE:#define __DBL_MAX_10_EXP__ 308
3301 // MIPS32BE:#define __DBL_MAX_EXP__ 1024
3302 // MIPS32BE:#define __DBL_MAX__ 1.7976931348623157e+308
3303 // MIPS32BE:#define __DBL_MIN_10_EXP__ (-307)
3304 // MIPS32BE:#define __DBL_MIN_EXP__ (-1021)
3305 // MIPS32BE:#define __DBL_MIN__ 2.2250738585072014e-308
3306 // MIPS32BE:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
3307 // MIPS32BE:#define __FLT_DENORM_MIN__ 1.40129846e-45F
3308 // MIPS32BE:#define __FLT_DIG__ 6
3309 // MIPS32BE:#define __FLT_EPSILON__ 1.19209290e-7F
3310 // MIPS32BE:#define __FLT_EVAL_METHOD__ 0
3311 // MIPS32BE:#define __FLT_HAS_DENORM__ 1
3312 // MIPS32BE:#define __FLT_HAS_INFINITY__ 1
3313 // MIPS32BE:#define __FLT_HAS_QUIET_NAN__ 1
3314 // MIPS32BE:#define __FLT_MANT_DIG__ 24
3315 // MIPS32BE:#define __FLT_MAX_10_EXP__ 38
3316 // MIPS32BE:#define __FLT_MAX_EXP__ 128
3317 // MIPS32BE:#define __FLT_MAX__ 3.40282347e+38F
3318 // MIPS32BE:#define __FLT_MIN_10_EXP__ (-37)
3319 // MIPS32BE:#define __FLT_MIN_EXP__ (-125)
3320 // MIPS32BE:#define __FLT_MIN__ 1.17549435e-38F
3321 // MIPS32BE:#define __FLT_RADIX__ 2
3322 // MIPS32BE:#define __INT16_C_SUFFIX__
3323 // MIPS32BE:#define __INT16_FMTd__ "hd"
3324 // MIPS32BE:#define __INT16_FMTi__ "hi"
3325 // MIPS32BE:#define __INT16_MAX__ 32767
3326 // MIPS32BE:#define __INT16_TYPE__ short
3327 // MIPS32BE:#define __INT32_C_SUFFIX__
3328 // MIPS32BE:#define __INT32_FMTd__ "d"
3329 // MIPS32BE:#define __INT32_FMTi__ "i"
3330 // MIPS32BE:#define __INT32_MAX__ 2147483647
3331 // MIPS32BE:#define __INT32_TYPE__ int
3332 // MIPS32BE:#define __INT64_C_SUFFIX__ LL
3333 // MIPS32BE:#define __INT64_FMTd__ "lld"
3334 // MIPS32BE:#define __INT64_FMTi__ "lli"
3335 // MIPS32BE:#define __INT64_MAX__ 9223372036854775807LL
3336 // MIPS32BE:#define __INT64_TYPE__ long long int
3337 // MIPS32BE:#define __INT8_C_SUFFIX__
3338 // MIPS32BE:#define __INT8_FMTd__ "hhd"
3339 // MIPS32BE:#define __INT8_FMTi__ "hhi"
3340 // MIPS32BE:#define __INT8_MAX__ 127
3341 // MIPS32BE:#define __INT8_TYPE__ signed char
3342 // MIPS32BE:#define __INTMAX_C_SUFFIX__ LL
3343 // MIPS32BE:#define __INTMAX_FMTd__ "lld"
3344 // MIPS32BE:#define __INTMAX_FMTi__ "lli"
3345 // MIPS32BE:#define __INTMAX_MAX__ 9223372036854775807LL
3346 // MIPS32BE:#define __INTMAX_TYPE__ long long int
3347 // MIPS32BE:#define __INTMAX_WIDTH__ 64
3348 // MIPS32BE:#define __INTPTR_FMTd__ "ld"
3349 // MIPS32BE:#define __INTPTR_FMTi__ "li"
3350 // MIPS32BE:#define __INTPTR_MAX__ 2147483647L
3351 // MIPS32BE:#define __INTPTR_TYPE__ long int
3352 // MIPS32BE:#define __INTPTR_WIDTH__ 32
3353 // MIPS32BE:#define __INT_FAST16_FMTd__ "hd"
3354 // MIPS32BE:#define __INT_FAST16_FMTi__ "hi"
3355 // MIPS32BE:#define __INT_FAST16_MAX__ 32767
3356 // MIPS32BE:#define __INT_FAST16_TYPE__ short
3357 // MIPS32BE:#define __INT_FAST32_FMTd__ "d"
3358 // MIPS32BE:#define __INT_FAST32_FMTi__ "i"
3359 // MIPS32BE:#define __INT_FAST32_MAX__ 2147483647
3360 // MIPS32BE:#define __INT_FAST32_TYPE__ int
3361 // MIPS32BE:#define __INT_FAST64_FMTd__ "lld"
3362 // MIPS32BE:#define __INT_FAST64_FMTi__ "lli"
3363 // MIPS32BE:#define __INT_FAST64_MAX__ 9223372036854775807LL
3364 // MIPS32BE:#define __INT_FAST64_TYPE__ long long int
3365 // MIPS32BE:#define __INT_FAST8_FMTd__ "hhd"
3366 // MIPS32BE:#define __INT_FAST8_FMTi__ "hhi"
3367 // MIPS32BE:#define __INT_FAST8_MAX__ 127
3368 // MIPS32BE:#define __INT_FAST8_TYPE__ signed char
3369 // MIPS32BE:#define __INT_LEAST16_FMTd__ "hd"
3370 // MIPS32BE:#define __INT_LEAST16_FMTi__ "hi"
3371 // MIPS32BE:#define __INT_LEAST16_MAX__ 32767
3372 // MIPS32BE:#define __INT_LEAST16_TYPE__ short
3373 // MIPS32BE:#define __INT_LEAST32_FMTd__ "d"
3374 // MIPS32BE:#define __INT_LEAST32_FMTi__ "i"
3375 // MIPS32BE:#define __INT_LEAST32_MAX__ 2147483647
3376 // MIPS32BE:#define __INT_LEAST32_TYPE__ int
3377 // MIPS32BE:#define __INT_LEAST64_FMTd__ "lld"
3378 // MIPS32BE:#define __INT_LEAST64_FMTi__ "lli"
3379 // MIPS32BE:#define __INT_LEAST64_MAX__ 9223372036854775807LL
3380 // MIPS32BE:#define __INT_LEAST64_TYPE__ long long int
3381 // MIPS32BE:#define __INT_LEAST8_FMTd__ "hhd"
3382 // MIPS32BE:#define __INT_LEAST8_FMTi__ "hhi"
3383 // MIPS32BE:#define __INT_LEAST8_MAX__ 127
3384 // MIPS32BE:#define __INT_LEAST8_TYPE__ signed char
3385 // MIPS32BE:#define __INT_MAX__ 2147483647
3386 // MIPS32BE:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
3387 // MIPS32BE:#define __LDBL_DIG__ 15
3388 // MIPS32BE:#define __LDBL_EPSILON__ 2.2204460492503131e-16L
3389 // MIPS32BE:#define __LDBL_HAS_DENORM__ 1
3390 // MIPS32BE:#define __LDBL_HAS_INFINITY__ 1
3391 // MIPS32BE:#define __LDBL_HAS_QUIET_NAN__ 1
3392 // MIPS32BE:#define __LDBL_MANT_DIG__ 53
3393 // MIPS32BE:#define __LDBL_MAX_10_EXP__ 308
3394 // MIPS32BE:#define __LDBL_MAX_EXP__ 1024
3395 // MIPS32BE:#define __LDBL_MAX__ 1.7976931348623157e+308L
3396 // MIPS32BE:#define __LDBL_MIN_10_EXP__ (-307)
3397 // MIPS32BE:#define __LDBL_MIN_EXP__ (-1021)
3398 // MIPS32BE:#define __LDBL_MIN__ 2.2250738585072014e-308L
3399 // MIPS32BE:#define __LONG_LONG_MAX__ 9223372036854775807LL
3400 // MIPS32BE:#define __LONG_MAX__ 2147483647L
3401 // MIPS32BE-NOT:#define __LP64__
3402 // MIPS32BE:#define __MIPSEB 1
3403 // MIPS32BE:#define __MIPSEB__ 1
3404 // MIPS32BE:#define __POINTER_WIDTH__ 32
3405 // MIPS32BE:#define __PRAGMA_REDEFINE_EXTNAME 1
3406 // MIPS32BE:#define __PTRDIFF_TYPE__ int
3407 // MIPS32BE:#define __PTRDIFF_WIDTH__ 32
3408 // MIPS32BE:#define __REGISTER_PREFIX__
3409 // MIPS32BE:#define __SCHAR_MAX__ 127
3410 // MIPS32BE:#define __SHRT_MAX__ 32767
3411 // MIPS32BE:#define __SIG_ATOMIC_MAX__ 2147483647
3412 // MIPS32BE:#define __SIG_ATOMIC_WIDTH__ 32
3413 // MIPS32BE:#define __SIZEOF_DOUBLE__ 8
3414 // MIPS32BE:#define __SIZEOF_FLOAT__ 4
3415 // MIPS32BE:#define __SIZEOF_INT__ 4
3416 // MIPS32BE:#define __SIZEOF_LONG_DOUBLE__ 8
3417 // MIPS32BE:#define __SIZEOF_LONG_LONG__ 8
3418 // MIPS32BE:#define __SIZEOF_LONG__ 4
3419 // MIPS32BE:#define __SIZEOF_POINTER__ 4
3420 // MIPS32BE:#define __SIZEOF_PTRDIFF_T__ 4
3421 // MIPS32BE:#define __SIZEOF_SHORT__ 2
3422 // MIPS32BE:#define __SIZEOF_SIZE_T__ 4
3423 // MIPS32BE:#define __SIZEOF_WCHAR_T__ 4
3424 // MIPS32BE:#define __SIZEOF_WINT_T__ 4
3425 // MIPS32BE:#define __SIZE_MAX__ 4294967295U
3426 // MIPS32BE:#define __SIZE_TYPE__ unsigned int
3427 // MIPS32BE:#define __SIZE_WIDTH__ 32
3428 // MIPS32BE-CXX:#define __STDCPP_DEFAULT_NEW_ALIGNMENT__ 8U
3429 // MIPS32BE:#define __STDC_HOSTED__ 0
3430 // MIPS32BE-C:#define __STDC_VERSION__ 201112L
3431 // MIPS32BE:#define __STDC__ 1
3432 // MIPS32BE:#define __UINT16_C_SUFFIX__
3433 // MIPS32BE:#define __UINT16_MAX__ 65535
3434 // MIPS32BE:#define __UINT16_TYPE__ unsigned short
3435 // MIPS32BE:#define __UINT32_C_SUFFIX__ U
3436 // MIPS32BE:#define __UINT32_MAX__ 4294967295U
3437 // MIPS32BE:#define __UINT32_TYPE__ unsigned int
3438 // MIPS32BE:#define __UINT64_C_SUFFIX__ ULL
3439 // MIPS32BE:#define __UINT64_MAX__ 18446744073709551615ULL
3440 // MIPS32BE:#define __UINT64_TYPE__ long long unsigned int
3441 // MIPS32BE:#define __UINT8_C_SUFFIX__
3442 // MIPS32BE:#define __UINT8_MAX__ 255
3443 // MIPS32BE:#define __UINT8_TYPE__ unsigned char
3444 // MIPS32BE:#define __UINTMAX_C_SUFFIX__ ULL
3445 // MIPS32BE:#define __UINTMAX_MAX__ 18446744073709551615ULL
3446 // MIPS32BE:#define __UINTMAX_TYPE__ long long unsigned int
3447 // MIPS32BE:#define __UINTMAX_WIDTH__ 64
3448 // MIPS32BE:#define __UINTPTR_MAX__ 4294967295UL
3449 // MIPS32BE:#define __UINTPTR_TYPE__ long unsigned int
3450 // MIPS32BE:#define __UINTPTR_WIDTH__ 32
3451 // MIPS32BE:#define __UINT_FAST16_MAX__ 65535
3452 // MIPS32BE:#define __UINT_FAST16_TYPE__ unsigned short
3453 // MIPS32BE:#define __UINT_FAST32_MAX__ 4294967295U
3454 // MIPS32BE:#define __UINT_FAST32_TYPE__ unsigned int
3455 // MIPS32BE:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
3456 // MIPS32BE:#define __UINT_FAST64_TYPE__ long long unsigned int
3457 // MIPS32BE:#define __UINT_FAST8_MAX__ 255
3458 // MIPS32BE:#define __UINT_FAST8_TYPE__ unsigned char
3459 // MIPS32BE:#define __UINT_LEAST16_MAX__ 65535
3460 // MIPS32BE:#define __UINT_LEAST16_TYPE__ unsigned short
3461 // MIPS32BE:#define __UINT_LEAST32_MAX__ 4294967295U
3462 // MIPS32BE:#define __UINT_LEAST32_TYPE__ unsigned int
3463 // MIPS32BE:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
3464 // MIPS32BE:#define __UINT_LEAST64_TYPE__ long long unsigned int
3465 // MIPS32BE:#define __UINT_LEAST8_MAX__ 255
3466 // MIPS32BE:#define __UINT_LEAST8_TYPE__ unsigned char
3467 // MIPS32BE:#define __USER_LABEL_PREFIX__
3468 // MIPS32BE:#define __WCHAR_MAX__ 2147483647
3469 // MIPS32BE:#define __WCHAR_TYPE__ int
3470 // MIPS32BE:#define __WCHAR_WIDTH__ 32
3471 // MIPS32BE:#define __WINT_TYPE__ int
3472 // MIPS32BE:#define __WINT_WIDTH__ 32
3473 // MIPS32BE:#define __clang__ 1
3474 // MIPS32BE:#define __llvm__ 1
3475 // MIPS32BE:#define __mips 32
3476 // MIPS32BE:#define __mips__ 1
3477 // MIPS32BE:#define __mips_abicalls 1
3478 // MIPS32BE:#define __mips_fpr 0
3479 // MIPS32BE:#define __mips_hard_float 1
3480 // MIPS32BE:#define __mips_o32 1
3481 // MIPS32BE:#define _mips 1
3482 // MIPS32BE:#define mips 1
3483 //
3484 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mipsel-none-none < /dev/null | FileCheck -match-full-lines -check-prefix MIPS32EL %s
3485 //
3486 // MIPS32EL:#define MIPSEL 1
3487 // MIPS32EL:#define _ABIO32 1
3488 // MIPS32EL-NOT:#define _LP64
3489 // MIPS32EL:#define _MIPSEL 1
3490 // MIPS32EL:#define _MIPS_ARCH "mips32r2"
3491 // MIPS32EL:#define _MIPS_ARCH_MIPS32R2 1
3492 // MIPS32EL:#define _MIPS_FPSET 16
3493 // MIPS32EL:#define _MIPS_SIM _ABIO32
3494 // MIPS32EL:#define _MIPS_SZINT 32
3495 // MIPS32EL:#define _MIPS_SZLONG 32
3496 // MIPS32EL:#define _MIPS_SZPTR 32
3497 // MIPS32EL:#define __BIGGEST_ALIGNMENT__ 8
3498 // MIPS32EL:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
3499 // MIPS32EL:#define __CHAR16_TYPE__ unsigned short
3500 // MIPS32EL:#define __CHAR32_TYPE__ unsigned int
3501 // MIPS32EL:#define __CHAR_BIT__ 8
3502 // MIPS32EL:#define __CONSTANT_CFSTRINGS__ 1
3503 // MIPS32EL:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
3504 // MIPS32EL:#define __DBL_DIG__ 15
3505 // MIPS32EL:#define __DBL_EPSILON__ 2.2204460492503131e-16
3506 // MIPS32EL:#define __DBL_HAS_DENORM__ 1
3507 // MIPS32EL:#define __DBL_HAS_INFINITY__ 1
3508 // MIPS32EL:#define __DBL_HAS_QUIET_NAN__ 1
3509 // MIPS32EL:#define __DBL_MANT_DIG__ 53
3510 // MIPS32EL:#define __DBL_MAX_10_EXP__ 308
3511 // MIPS32EL:#define __DBL_MAX_EXP__ 1024
3512 // MIPS32EL:#define __DBL_MAX__ 1.7976931348623157e+308
3513 // MIPS32EL:#define __DBL_MIN_10_EXP__ (-307)
3514 // MIPS32EL:#define __DBL_MIN_EXP__ (-1021)
3515 // MIPS32EL:#define __DBL_MIN__ 2.2250738585072014e-308
3516 // MIPS32EL:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
3517 // MIPS32EL:#define __FLT_DENORM_MIN__ 1.40129846e-45F
3518 // MIPS32EL:#define __FLT_DIG__ 6
3519 // MIPS32EL:#define __FLT_EPSILON__ 1.19209290e-7F
3520 // MIPS32EL:#define __FLT_EVAL_METHOD__ 0
3521 // MIPS32EL:#define __FLT_HAS_DENORM__ 1
3522 // MIPS32EL:#define __FLT_HAS_INFINITY__ 1
3523 // MIPS32EL:#define __FLT_HAS_QUIET_NAN__ 1
3524 // MIPS32EL:#define __FLT_MANT_DIG__ 24
3525 // MIPS32EL:#define __FLT_MAX_10_EXP__ 38
3526 // MIPS32EL:#define __FLT_MAX_EXP__ 128
3527 // MIPS32EL:#define __FLT_MAX__ 3.40282347e+38F
3528 // MIPS32EL:#define __FLT_MIN_10_EXP__ (-37)
3529 // MIPS32EL:#define __FLT_MIN_EXP__ (-125)
3530 // MIPS32EL:#define __FLT_MIN__ 1.17549435e-38F
3531 // MIPS32EL:#define __FLT_RADIX__ 2
3532 // MIPS32EL:#define __INT16_C_SUFFIX__
3533 // MIPS32EL:#define __INT16_FMTd__ "hd"
3534 // MIPS32EL:#define __INT16_FMTi__ "hi"
3535 // MIPS32EL:#define __INT16_MAX__ 32767
3536 // MIPS32EL:#define __INT16_TYPE__ short
3537 // MIPS32EL:#define __INT32_C_SUFFIX__
3538 // MIPS32EL:#define __INT32_FMTd__ "d"
3539 // MIPS32EL:#define __INT32_FMTi__ "i"
3540 // MIPS32EL:#define __INT32_MAX__ 2147483647
3541 // MIPS32EL:#define __INT32_TYPE__ int
3542 // MIPS32EL:#define __INT64_C_SUFFIX__ LL
3543 // MIPS32EL:#define __INT64_FMTd__ "lld"
3544 // MIPS32EL:#define __INT64_FMTi__ "lli"
3545 // MIPS32EL:#define __INT64_MAX__ 9223372036854775807LL
3546 // MIPS32EL:#define __INT64_TYPE__ long long int
3547 // MIPS32EL:#define __INT8_C_SUFFIX__
3548 // MIPS32EL:#define __INT8_FMTd__ "hhd"
3549 // MIPS32EL:#define __INT8_FMTi__ "hhi"
3550 // MIPS32EL:#define __INT8_MAX__ 127
3551 // MIPS32EL:#define __INT8_TYPE__ signed char
3552 // MIPS32EL:#define __INTMAX_C_SUFFIX__ LL
3553 // MIPS32EL:#define __INTMAX_FMTd__ "lld"
3554 // MIPS32EL:#define __INTMAX_FMTi__ "lli"
3555 // MIPS32EL:#define __INTMAX_MAX__ 9223372036854775807LL
3556 // MIPS32EL:#define __INTMAX_TYPE__ long long int
3557 // MIPS32EL:#define __INTMAX_WIDTH__ 64
3558 // MIPS32EL:#define __INTPTR_FMTd__ "ld"
3559 // MIPS32EL:#define __INTPTR_FMTi__ "li"
3560 // MIPS32EL:#define __INTPTR_MAX__ 2147483647L
3561 // MIPS32EL:#define __INTPTR_TYPE__ long int
3562 // MIPS32EL:#define __INTPTR_WIDTH__ 32
3563 // MIPS32EL:#define __INT_FAST16_FMTd__ "hd"
3564 // MIPS32EL:#define __INT_FAST16_FMTi__ "hi"
3565 // MIPS32EL:#define __INT_FAST16_MAX__ 32767
3566 // MIPS32EL:#define __INT_FAST16_TYPE__ short
3567 // MIPS32EL:#define __INT_FAST32_FMTd__ "d"
3568 // MIPS32EL:#define __INT_FAST32_FMTi__ "i"
3569 // MIPS32EL:#define __INT_FAST32_MAX__ 2147483647
3570 // MIPS32EL:#define __INT_FAST32_TYPE__ int
3571 // MIPS32EL:#define __INT_FAST64_FMTd__ "lld"
3572 // MIPS32EL:#define __INT_FAST64_FMTi__ "lli"
3573 // MIPS32EL:#define __INT_FAST64_MAX__ 9223372036854775807LL
3574 // MIPS32EL:#define __INT_FAST64_TYPE__ long long int
3575 // MIPS32EL:#define __INT_FAST8_FMTd__ "hhd"
3576 // MIPS32EL:#define __INT_FAST8_FMTi__ "hhi"
3577 // MIPS32EL:#define __INT_FAST8_MAX__ 127
3578 // MIPS32EL:#define __INT_FAST8_TYPE__ signed char
3579 // MIPS32EL:#define __INT_LEAST16_FMTd__ "hd"
3580 // MIPS32EL:#define __INT_LEAST16_FMTi__ "hi"
3581 // MIPS32EL:#define __INT_LEAST16_MAX__ 32767
3582 // MIPS32EL:#define __INT_LEAST16_TYPE__ short
3583 // MIPS32EL:#define __INT_LEAST32_FMTd__ "d"
3584 // MIPS32EL:#define __INT_LEAST32_FMTi__ "i"
3585 // MIPS32EL:#define __INT_LEAST32_MAX__ 2147483647
3586 // MIPS32EL:#define __INT_LEAST32_TYPE__ int
3587 // MIPS32EL:#define __INT_LEAST64_FMTd__ "lld"
3588 // MIPS32EL:#define __INT_LEAST64_FMTi__ "lli"
3589 // MIPS32EL:#define __INT_LEAST64_MAX__ 9223372036854775807LL
3590 // MIPS32EL:#define __INT_LEAST64_TYPE__ long long int
3591 // MIPS32EL:#define __INT_LEAST8_FMTd__ "hhd"
3592 // MIPS32EL:#define __INT_LEAST8_FMTi__ "hhi"
3593 // MIPS32EL:#define __INT_LEAST8_MAX__ 127
3594 // MIPS32EL:#define __INT_LEAST8_TYPE__ signed char
3595 // MIPS32EL:#define __INT_MAX__ 2147483647
3596 // MIPS32EL:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
3597 // MIPS32EL:#define __LDBL_DIG__ 15
3598 // MIPS32EL:#define __LDBL_EPSILON__ 2.2204460492503131e-16L
3599 // MIPS32EL:#define __LDBL_HAS_DENORM__ 1
3600 // MIPS32EL:#define __LDBL_HAS_INFINITY__ 1
3601 // MIPS32EL:#define __LDBL_HAS_QUIET_NAN__ 1
3602 // MIPS32EL:#define __LDBL_MANT_DIG__ 53
3603 // MIPS32EL:#define __LDBL_MAX_10_EXP__ 308
3604 // MIPS32EL:#define __LDBL_MAX_EXP__ 1024
3605 // MIPS32EL:#define __LDBL_MAX__ 1.7976931348623157e+308L
3606 // MIPS32EL:#define __LDBL_MIN_10_EXP__ (-307)
3607 // MIPS32EL:#define __LDBL_MIN_EXP__ (-1021)
3608 // MIPS32EL:#define __LDBL_MIN__ 2.2250738585072014e-308L
3609 // MIPS32EL:#define __LITTLE_ENDIAN__ 1
3610 // MIPS32EL:#define __LONG_LONG_MAX__ 9223372036854775807LL
3611 // MIPS32EL:#define __LONG_MAX__ 2147483647L
3612 // MIPS32EL-NOT:#define __LP64__
3613 // MIPS32EL:#define __MIPSEL 1
3614 // MIPS32EL:#define __MIPSEL__ 1
3615 // MIPS32EL:#define __POINTER_WIDTH__ 32
3616 // MIPS32EL:#define __PRAGMA_REDEFINE_EXTNAME 1
3617 // MIPS32EL:#define __PTRDIFF_TYPE__ int
3618 // MIPS32EL:#define __PTRDIFF_WIDTH__ 32
3619 // MIPS32EL:#define __REGISTER_PREFIX__
3620 // MIPS32EL:#define __SCHAR_MAX__ 127
3621 // MIPS32EL:#define __SHRT_MAX__ 32767
3622 // MIPS32EL:#define __SIG_ATOMIC_MAX__ 2147483647
3623 // MIPS32EL:#define __SIG_ATOMIC_WIDTH__ 32
3624 // MIPS32EL:#define __SIZEOF_DOUBLE__ 8
3625 // MIPS32EL:#define __SIZEOF_FLOAT__ 4
3626 // MIPS32EL:#define __SIZEOF_INT__ 4
3627 // MIPS32EL:#define __SIZEOF_LONG_DOUBLE__ 8
3628 // MIPS32EL:#define __SIZEOF_LONG_LONG__ 8
3629 // MIPS32EL:#define __SIZEOF_LONG__ 4
3630 // MIPS32EL:#define __SIZEOF_POINTER__ 4
3631 // MIPS32EL:#define __SIZEOF_PTRDIFF_T__ 4
3632 // MIPS32EL:#define __SIZEOF_SHORT__ 2
3633 // MIPS32EL:#define __SIZEOF_SIZE_T__ 4
3634 // MIPS32EL:#define __SIZEOF_WCHAR_T__ 4
3635 // MIPS32EL:#define __SIZEOF_WINT_T__ 4
3636 // MIPS32EL:#define __SIZE_MAX__ 4294967295U
3637 // MIPS32EL:#define __SIZE_TYPE__ unsigned int
3638 // MIPS32EL:#define __SIZE_WIDTH__ 32
3639 // MIPS32EL:#define __UINT16_C_SUFFIX__
3640 // MIPS32EL:#define __UINT16_MAX__ 65535
3641 // MIPS32EL:#define __UINT16_TYPE__ unsigned short
3642 // MIPS32EL:#define __UINT32_C_SUFFIX__ U
3643 // MIPS32EL:#define __UINT32_MAX__ 4294967295U
3644 // MIPS32EL:#define __UINT32_TYPE__ unsigned int
3645 // MIPS32EL:#define __UINT64_C_SUFFIX__ ULL
3646 // MIPS32EL:#define __UINT64_MAX__ 18446744073709551615ULL
3647 // MIPS32EL:#define __UINT64_TYPE__ long long unsigned int
3648 // MIPS32EL:#define __UINT8_C_SUFFIX__
3649 // MIPS32EL:#define __UINT8_MAX__ 255
3650 // MIPS32EL:#define __UINT8_TYPE__ unsigned char
3651 // MIPS32EL:#define __UINTMAX_C_SUFFIX__ ULL
3652 // MIPS32EL:#define __UINTMAX_MAX__ 18446744073709551615ULL
3653 // MIPS32EL:#define __UINTMAX_TYPE__ long long unsigned int
3654 // MIPS32EL:#define __UINTMAX_WIDTH__ 64
3655 // MIPS32EL:#define __UINTPTR_MAX__ 4294967295UL
3656 // MIPS32EL:#define __UINTPTR_TYPE__ long unsigned int
3657 // MIPS32EL:#define __UINTPTR_WIDTH__ 32
3658 // MIPS32EL:#define __UINT_FAST16_MAX__ 65535
3659 // MIPS32EL:#define __UINT_FAST16_TYPE__ unsigned short
3660 // MIPS32EL:#define __UINT_FAST32_MAX__ 4294967295U
3661 // MIPS32EL:#define __UINT_FAST32_TYPE__ unsigned int
3662 // MIPS32EL:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
3663 // MIPS32EL:#define __UINT_FAST64_TYPE__ long long unsigned int
3664 // MIPS32EL:#define __UINT_FAST8_MAX__ 255
3665 // MIPS32EL:#define __UINT_FAST8_TYPE__ unsigned char
3666 // MIPS32EL:#define __UINT_LEAST16_MAX__ 65535
3667 // MIPS32EL:#define __UINT_LEAST16_TYPE__ unsigned short
3668 // MIPS32EL:#define __UINT_LEAST32_MAX__ 4294967295U
3669 // MIPS32EL:#define __UINT_LEAST32_TYPE__ unsigned int
3670 // MIPS32EL:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
3671 // MIPS32EL:#define __UINT_LEAST64_TYPE__ long long unsigned int
3672 // MIPS32EL:#define __UINT_LEAST8_MAX__ 255
3673 // MIPS32EL:#define __UINT_LEAST8_TYPE__ unsigned char
3674 // MIPS32EL:#define __USER_LABEL_PREFIX__
3675 // MIPS32EL:#define __WCHAR_MAX__ 2147483647
3676 // MIPS32EL:#define __WCHAR_TYPE__ int
3677 // MIPS32EL:#define __WCHAR_WIDTH__ 32
3678 // MIPS32EL:#define __WINT_TYPE__ int
3679 // MIPS32EL:#define __WINT_WIDTH__ 32
3680 // MIPS32EL:#define __clang__ 1
3681 // MIPS32EL:#define __llvm__ 1
3682 // MIPS32EL:#define __mips 32
3683 // MIPS32EL:#define __mips__ 1
3684 // MIPS32EL:#define __mips_abicalls 1
3685 // MIPS32EL:#define __mips_fpr 0
3686 // MIPS32EL:#define __mips_hard_float 1
3687 // MIPS32EL:#define __mips_o32 1
3688 // MIPS32EL:#define _mips 1
3689 // MIPS32EL:#define mips 1
3690 //
3691 // RUN: %clang_cc1 -E -dM -ffreestanding -fgnuc-version=4.2.1 \
3692 // RUN:            -triple=mips64-none-none -target-abi n32 < /dev/null \
3693 // RUN:   | FileCheck -match-full-lines -check-prefix MIPSN32BE -check-prefix MIPSN32BE-C %s
3694 // RUN: %clang_cc1 -x c++ -E -dM -ffreestanding -fgnuc-version=4.2.1 \
3695 // RUN:            -triple=mips64-none-none -target-abi n32 < /dev/null \
3696 // RUN:   | FileCheck -match-full-lines -check-prefix MIPSN32BE -check-prefix MIPSN32BE-CXX %s
3697 //
3698 // MIPSN32BE: #define MIPSEB 1
3699 // MIPSN32BE: #define _ABIN32 2
3700 // MIPSN32BE: #define _ILP32 1
3701 // MIPSN32BE: #define _MIPSEB 1
3702 // MIPSN32BE: #define _MIPS_ARCH "mips64r2"
3703 // MIPSN32BE: #define _MIPS_ARCH_MIPS64R2 1
3704 // MIPSN32BE: #define _MIPS_FPSET 32
3705 // MIPSN32BE: #define _MIPS_ISA _MIPS_ISA_MIPS64
3706 // MIPSN32BE: #define _MIPS_SIM _ABIN32
3707 // MIPSN32BE: #define _MIPS_SZINT 32
3708 // MIPSN32BE: #define _MIPS_SZLONG 32
3709 // MIPSN32BE: #define _MIPS_SZPTR 32
3710 // MIPSN32BE: #define __ATOMIC_ACQUIRE 2
3711 // MIPSN32BE: #define __ATOMIC_ACQ_REL 4
3712 // MIPSN32BE: #define __ATOMIC_CONSUME 1
3713 // MIPSN32BE: #define __ATOMIC_RELAXED 0
3714 // MIPSN32BE: #define __ATOMIC_RELEASE 3
3715 // MIPSN32BE: #define __ATOMIC_SEQ_CST 5
3716 // MIPSN32BE: #define __BIG_ENDIAN__ 1
3717 // MIPSN32BE: #define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__
3718 // MIPSN32BE: #define __CHAR16_TYPE__ unsigned short
3719 // MIPSN32BE: #define __CHAR32_TYPE__ unsigned int
3720 // MIPSN32BE: #define __CHAR_BIT__ 8
3721 // MIPSN32BE: #define __CONSTANT_CFSTRINGS__ 1
3722 // MIPSN32BE: #define __DBL_DENORM_MIN__ 4.9406564584124654e-324
3723 // MIPSN32BE: #define __DBL_DIG__ 15
3724 // MIPSN32BE: #define __DBL_EPSILON__ 2.2204460492503131e-16
3725 // MIPSN32BE: #define __DBL_HAS_DENORM__ 1
3726 // MIPSN32BE: #define __DBL_HAS_INFINITY__ 1
3727 // MIPSN32BE: #define __DBL_HAS_QUIET_NAN__ 1
3728 // MIPSN32BE: #define __DBL_MANT_DIG__ 53
3729 // MIPSN32BE: #define __DBL_MAX_10_EXP__ 308
3730 // MIPSN32BE: #define __DBL_MAX_EXP__ 1024
3731 // MIPSN32BE: #define __DBL_MAX__ 1.7976931348623157e+308
3732 // MIPSN32BE: #define __DBL_MIN_10_EXP__ (-307)
3733 // MIPSN32BE: #define __DBL_MIN_EXP__ (-1021)
3734 // MIPSN32BE: #define __DBL_MIN__ 2.2250738585072014e-308
3735 // MIPSN32BE: #define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
3736 // MIPSN32BE: #define __FINITE_MATH_ONLY__ 0
3737 // MIPSN32BE: #define __FLT_DENORM_MIN__ 1.40129846e-45F
3738 // MIPSN32BE: #define __FLT_DIG__ 6
3739 // MIPSN32BE: #define __FLT_EPSILON__ 1.19209290e-7F
3740 // MIPSN32BE: #define __FLT_EVAL_METHOD__ 0
3741 // MIPSN32BE: #define __FLT_HAS_DENORM__ 1
3742 // MIPSN32BE: #define __FLT_HAS_INFINITY__ 1
3743 // MIPSN32BE: #define __FLT_HAS_QUIET_NAN__ 1
3744 // MIPSN32BE: #define __FLT_MANT_DIG__ 24
3745 // MIPSN32BE: #define __FLT_MAX_10_EXP__ 38
3746 // MIPSN32BE: #define __FLT_MAX_EXP__ 128
3747 // MIPSN32BE: #define __FLT_MAX__ 3.40282347e+38F
3748 // MIPSN32BE: #define __FLT_MIN_10_EXP__ (-37)
3749 // MIPSN32BE: #define __FLT_MIN_EXP__ (-125)
3750 // MIPSN32BE: #define __FLT_MIN__ 1.17549435e-38F
3751 // MIPSN32BE: #define __FLT_RADIX__ 2
3752 // MIPSN32BE: #define __GCC_ATOMIC_BOOL_LOCK_FREE 2
3753 // MIPSN32BE: #define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2
3754 // MIPSN32BE: #define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2
3755 // MIPSN32BE: #define __GCC_ATOMIC_CHAR_LOCK_FREE 2
3756 // MIPSN32BE: #define __GCC_ATOMIC_INT_LOCK_FREE 2
3757 // MIPSN32BE: #define __GCC_ATOMIC_LLONG_LOCK_FREE 2
3758 // MIPSN32BE: #define __GCC_ATOMIC_LONG_LOCK_FREE 2
3759 // MIPSN32BE: #define __GCC_ATOMIC_POINTER_LOCK_FREE 2
3760 // MIPSN32BE: #define __GCC_ATOMIC_SHORT_LOCK_FREE 2
3761 // MIPSN32BE: #define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1
3762 // MIPSN32BE: #define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2
3763 // MIPSN32BE: #define __GNUC_MINOR__ 2
3764 // MIPSN32BE: #define __GNUC_PATCHLEVEL__ 1
3765 // MIPSN32BE-C: #define __GNUC_STDC_INLINE__ 1
3766 // MIPSN32BE: #define __GNUC__ 4
3767 // MIPSN32BE: #define __GXX_ABI_VERSION 1002
3768 // MIPSN32BE: #define __ILP32__ 1
3769 // MIPSN32BE: #define __INT16_C_SUFFIX__
3770 // MIPSN32BE: #define __INT16_FMTd__ "hd"
3771 // MIPSN32BE: #define __INT16_FMTi__ "hi"
3772 // MIPSN32BE: #define __INT16_MAX__ 32767
3773 // MIPSN32BE: #define __INT16_TYPE__ short
3774 // MIPSN32BE: #define __INT32_C_SUFFIX__
3775 // MIPSN32BE: #define __INT32_FMTd__ "d"
3776 // MIPSN32BE: #define __INT32_FMTi__ "i"
3777 // MIPSN32BE: #define __INT32_MAX__ 2147483647
3778 // MIPSN32BE: #define __INT32_TYPE__ int
3779 // MIPSN32BE: #define __INT64_C_SUFFIX__ LL
3780 // MIPSN32BE: #define __INT64_FMTd__ "lld"
3781 // MIPSN32BE: #define __INT64_FMTi__ "lli"
3782 // MIPSN32BE: #define __INT64_MAX__ 9223372036854775807LL
3783 // MIPSN32BE: #define __INT64_TYPE__ long long int
3784 // MIPSN32BE: #define __INT8_C_SUFFIX__
3785 // MIPSN32BE: #define __INT8_FMTd__ "hhd"
3786 // MIPSN32BE: #define __INT8_FMTi__ "hhi"
3787 // MIPSN32BE: #define __INT8_MAX__ 127
3788 // MIPSN32BE: #define __INT8_TYPE__ signed char
3789 // MIPSN32BE: #define __INTMAX_C_SUFFIX__ LL
3790 // MIPSN32BE: #define __INTMAX_FMTd__ "lld"
3791 // MIPSN32BE: #define __INTMAX_FMTi__ "lli"
3792 // MIPSN32BE: #define __INTMAX_MAX__ 9223372036854775807LL
3793 // MIPSN32BE: #define __INTMAX_TYPE__ long long int
3794 // MIPSN32BE: #define __INTMAX_WIDTH__ 64
3795 // MIPSN32BE: #define __INTPTR_FMTd__ "ld"
3796 // MIPSN32BE: #define __INTPTR_FMTi__ "li"
3797 // MIPSN32BE: #define __INTPTR_MAX__ 2147483647L
3798 // MIPSN32BE: #define __INTPTR_TYPE__ long int
3799 // MIPSN32BE: #define __INTPTR_WIDTH__ 32
3800 // MIPSN32BE: #define __INT_FAST16_FMTd__ "hd"
3801 // MIPSN32BE: #define __INT_FAST16_FMTi__ "hi"
3802 // MIPSN32BE: #define __INT_FAST16_MAX__ 32767
3803 // MIPSN32BE: #define __INT_FAST16_TYPE__ short
3804 // MIPSN32BE: #define __INT_FAST32_FMTd__ "d"
3805 // MIPSN32BE: #define __INT_FAST32_FMTi__ "i"
3806 // MIPSN32BE: #define __INT_FAST32_MAX__ 2147483647
3807 // MIPSN32BE: #define __INT_FAST32_TYPE__ int
3808 // MIPSN32BE: #define __INT_FAST64_FMTd__ "lld"
3809 // MIPSN32BE: #define __INT_FAST64_FMTi__ "lli"
3810 // MIPSN32BE: #define __INT_FAST64_MAX__ 9223372036854775807LL
3811 // MIPSN32BE: #define __INT_FAST64_TYPE__ long long int
3812 // MIPSN32BE: #define __INT_FAST8_FMTd__ "hhd"
3813 // MIPSN32BE: #define __INT_FAST8_FMTi__ "hhi"
3814 // MIPSN32BE: #define __INT_FAST8_MAX__ 127
3815 // MIPSN32BE: #define __INT_FAST8_TYPE__ signed char
3816 // MIPSN32BE: #define __INT_LEAST16_FMTd__ "hd"
3817 // MIPSN32BE: #define __INT_LEAST16_FMTi__ "hi"
3818 // MIPSN32BE: #define __INT_LEAST16_MAX__ 32767
3819 // MIPSN32BE: #define __INT_LEAST16_TYPE__ short
3820 // MIPSN32BE: #define __INT_LEAST32_FMTd__ "d"
3821 // MIPSN32BE: #define __INT_LEAST32_FMTi__ "i"
3822 // MIPSN32BE: #define __INT_LEAST32_MAX__ 2147483647
3823 // MIPSN32BE: #define __INT_LEAST32_TYPE__ int
3824 // MIPSN32BE: #define __INT_LEAST64_FMTd__ "lld"
3825 // MIPSN32BE: #define __INT_LEAST64_FMTi__ "lli"
3826 // MIPSN32BE: #define __INT_LEAST64_MAX__ 9223372036854775807LL
3827 // MIPSN32BE: #define __INT_LEAST64_TYPE__ long long int
3828 // MIPSN32BE: #define __INT_LEAST8_FMTd__ "hhd"
3829 // MIPSN32BE: #define __INT_LEAST8_FMTi__ "hhi"
3830 // MIPSN32BE: #define __INT_LEAST8_MAX__ 127
3831 // MIPSN32BE: #define __INT_LEAST8_TYPE__ signed char
3832 // MIPSN32BE: #define __INT_MAX__ 2147483647
3833 // MIPSN32BE: #define __LDBL_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966L
3834 // MIPSN32BE: #define __LDBL_DIG__ 33
3835 // MIPSN32BE: #define __LDBL_EPSILON__ 1.92592994438723585305597794258492732e-34L
3836 // MIPSN32BE: #define __LDBL_HAS_DENORM__ 1
3837 // MIPSN32BE: #define __LDBL_HAS_INFINITY__ 1
3838 // MIPSN32BE: #define __LDBL_HAS_QUIET_NAN__ 1
3839 // MIPSN32BE: #define __LDBL_MANT_DIG__ 113
3840 // MIPSN32BE: #define __LDBL_MAX_10_EXP__ 4932
3841 // MIPSN32BE: #define __LDBL_MAX_EXP__ 16384
3842 // MIPSN32BE: #define __LDBL_MAX__ 1.18973149535723176508575932662800702e+4932L
3843 // MIPSN32BE: #define __LDBL_MIN_10_EXP__ (-4931)
3844 // MIPSN32BE: #define __LDBL_MIN_EXP__ (-16381)
3845 // MIPSN32BE: #define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L
3846 // MIPSN32BE: #define __LONG_LONG_MAX__ 9223372036854775807LL
3847 // MIPSN32BE: #define __LONG_MAX__ 2147483647L
3848 // MIPSN32BE: #define __MIPSEB 1
3849 // MIPSN32BE: #define __MIPSEB__ 1
3850 // MIPSN32BE: #define __NO_INLINE__ 1
3851 // MIPSN32BE: #define __ORDER_BIG_ENDIAN__ 4321
3852 // MIPSN32BE: #define __ORDER_LITTLE_ENDIAN__ 1234
3853 // MIPSN32BE: #define __ORDER_PDP_ENDIAN__ 3412
3854 // MIPSN32BE: #define __POINTER_WIDTH__ 32
3855 // MIPSN32BE: #define __PRAGMA_REDEFINE_EXTNAME 1
3856 // MIPSN32BE: #define __PTRDIFF_FMTd__ "d"
3857 // MIPSN32BE: #define __PTRDIFF_FMTi__ "i"
3858 // MIPSN32BE: #define __PTRDIFF_MAX__ 2147483647
3859 // MIPSN32BE: #define __PTRDIFF_TYPE__ int
3860 // MIPSN32BE: #define __PTRDIFF_WIDTH__ 32
3861 // MIPSN32BE: #define __REGISTER_PREFIX__
3862 // MIPSN32BE: #define __SCHAR_MAX__ 127
3863 // MIPSN32BE: #define __SHRT_MAX__ 32767
3864 // MIPSN32BE: #define __SIG_ATOMIC_MAX__ 2147483647
3865 // MIPSN32BE: #define __SIG_ATOMIC_WIDTH__ 32
3866 // MIPSN32BE: #define __SIZEOF_DOUBLE__ 8
3867 // MIPSN32BE: #define __SIZEOF_FLOAT__ 4
3868 // MIPSN32BE: #define __SIZEOF_INT__ 4
3869 // MIPSN32BE: #define __SIZEOF_LONG_DOUBLE__ 16
3870 // MIPSN32BE: #define __SIZEOF_LONG_LONG__ 8
3871 // MIPSN32BE: #define __SIZEOF_LONG__ 4
3872 // MIPSN32BE: #define __SIZEOF_POINTER__ 4
3873 // MIPSN32BE: #define __SIZEOF_PTRDIFF_T__ 4
3874 // MIPSN32BE: #define __SIZEOF_SHORT__ 2
3875 // MIPSN32BE: #define __SIZEOF_SIZE_T__ 4
3876 // MIPSN32BE: #define __SIZEOF_WCHAR_T__ 4
3877 // MIPSN32BE: #define __SIZEOF_WINT_T__ 4
3878 // MIPSN32BE: #define __SIZE_FMTX__ "X"
3879 // MIPSN32BE: #define __SIZE_FMTo__ "o"
3880 // MIPSN32BE: #define __SIZE_FMTu__ "u"
3881 // MIPSN32BE: #define __SIZE_FMTx__ "x"
3882 // MIPSN32BE: #define __SIZE_MAX__ 4294967295U
3883 // MIPSN32BE: #define __SIZE_TYPE__ unsigned int
3884 // MIPSN32BE: #define __SIZE_WIDTH__ 32
3885 // MIPSN32BE-CXX: #define __STDCPP_DEFAULT_NEW_ALIGNMENT__ 16U
3886 // MIPSN32BE: #define __STDC_HOSTED__ 0
3887 // MIPSN32BE: #define __STDC_UTF_16__ 1
3888 // MIPSN32BE: #define __STDC_UTF_32__ 1
3889 // MIPSN32BE-C: #define __STDC_VERSION__ 201112L
3890 // MIPSN32BE: #define __STDC__ 1
3891 // MIPSN32BE: #define __UINT16_C_SUFFIX__
3892 // MIPSN32BE: #define __UINT16_FMTX__ "hX"
3893 // MIPSN32BE: #define __UINT16_FMTo__ "ho"
3894 // MIPSN32BE: #define __UINT16_FMTu__ "hu"
3895 // MIPSN32BE: #define __UINT16_FMTx__ "hx"
3896 // MIPSN32BE: #define __UINT16_MAX__ 65535
3897 // MIPSN32BE: #define __UINT16_TYPE__ unsigned short
3898 // MIPSN32BE: #define __UINT32_C_SUFFIX__ U
3899 // MIPSN32BE: #define __UINT32_FMTX__ "X"
3900 // MIPSN32BE: #define __UINT32_FMTo__ "o"
3901 // MIPSN32BE: #define __UINT32_FMTu__ "u"
3902 // MIPSN32BE: #define __UINT32_FMTx__ "x"
3903 // MIPSN32BE: #define __UINT32_MAX__ 4294967295U
3904 // MIPSN32BE: #define __UINT32_TYPE__ unsigned int
3905 // MIPSN32BE: #define __UINT64_C_SUFFIX__ ULL
3906 // MIPSN32BE: #define __UINT64_FMTX__ "llX"
3907 // MIPSN32BE: #define __UINT64_FMTo__ "llo"
3908 // MIPSN32BE: #define __UINT64_FMTu__ "llu"
3909 // MIPSN32BE: #define __UINT64_FMTx__ "llx"
3910 // MIPSN32BE: #define __UINT64_MAX__ 18446744073709551615ULL
3911 // MIPSN32BE: #define __UINT64_TYPE__ long long unsigned int
3912 // MIPSN32BE: #define __UINT8_C_SUFFIX__
3913 // MIPSN32BE: #define __UINT8_FMTX__ "hhX"
3914 // MIPSN32BE: #define __UINT8_FMTo__ "hho"
3915 // MIPSN32BE: #define __UINT8_FMTu__ "hhu"
3916 // MIPSN32BE: #define __UINT8_FMTx__ "hhx"
3917 // MIPSN32BE: #define __UINT8_MAX__ 255
3918 // MIPSN32BE: #define __UINT8_TYPE__ unsigned char
3919 // MIPSN32BE: #define __UINTMAX_C_SUFFIX__ ULL
3920 // MIPSN32BE: #define __UINTMAX_FMTX__ "llX"
3921 // MIPSN32BE: #define __UINTMAX_FMTo__ "llo"
3922 // MIPSN32BE: #define __UINTMAX_FMTu__ "llu"
3923 // MIPSN32BE: #define __UINTMAX_FMTx__ "llx"
3924 // MIPSN32BE: #define __UINTMAX_MAX__ 18446744073709551615ULL
3925 // MIPSN32BE: #define __UINTMAX_TYPE__ long long unsigned int
3926 // MIPSN32BE: #define __UINTMAX_WIDTH__ 64
3927 // MIPSN32BE: #define __UINTPTR_FMTX__ "lX"
3928 // MIPSN32BE: #define __UINTPTR_FMTo__ "lo"
3929 // MIPSN32BE: #define __UINTPTR_FMTu__ "lu"
3930 // MIPSN32BE: #define __UINTPTR_FMTx__ "lx"
3931 // MIPSN32BE: #define __UINTPTR_MAX__ 4294967295UL
3932 // MIPSN32BE: #define __UINTPTR_TYPE__ long unsigned int
3933 // MIPSN32BE: #define __UINTPTR_WIDTH__ 32
3934 // MIPSN32BE: #define __UINT_FAST16_FMTX__ "hX"
3935 // MIPSN32BE: #define __UINT_FAST16_FMTo__ "ho"
3936 // MIPSN32BE: #define __UINT_FAST16_FMTu__ "hu"
3937 // MIPSN32BE: #define __UINT_FAST16_FMTx__ "hx"
3938 // MIPSN32BE: #define __UINT_FAST16_MAX__ 65535
3939 // MIPSN32BE: #define __UINT_FAST16_TYPE__ unsigned short
3940 // MIPSN32BE: #define __UINT_FAST32_FMTX__ "X"
3941 // MIPSN32BE: #define __UINT_FAST32_FMTo__ "o"
3942 // MIPSN32BE: #define __UINT_FAST32_FMTu__ "u"
3943 // MIPSN32BE: #define __UINT_FAST32_FMTx__ "x"
3944 // MIPSN32BE: #define __UINT_FAST32_MAX__ 4294967295U
3945 // MIPSN32BE: #define __UINT_FAST32_TYPE__ unsigned int
3946 // MIPSN32BE: #define __UINT_FAST64_FMTX__ "llX"
3947 // MIPSN32BE: #define __UINT_FAST64_FMTo__ "llo"
3948 // MIPSN32BE: #define __UINT_FAST64_FMTu__ "llu"
3949 // MIPSN32BE: #define __UINT_FAST64_FMTx__ "llx"
3950 // MIPSN32BE: #define __UINT_FAST64_MAX__ 18446744073709551615ULL
3951 // MIPSN32BE: #define __UINT_FAST64_TYPE__ long long unsigned int
3952 // MIPSN32BE: #define __UINT_FAST8_FMTX__ "hhX"
3953 // MIPSN32BE: #define __UINT_FAST8_FMTo__ "hho"
3954 // MIPSN32BE: #define __UINT_FAST8_FMTu__ "hhu"
3955 // MIPSN32BE: #define __UINT_FAST8_FMTx__ "hhx"
3956 // MIPSN32BE: #define __UINT_FAST8_MAX__ 255
3957 // MIPSN32BE: #define __UINT_FAST8_TYPE__ unsigned char
3958 // MIPSN32BE: #define __UINT_LEAST16_FMTX__ "hX"
3959 // MIPSN32BE: #define __UINT_LEAST16_FMTo__ "ho"
3960 // MIPSN32BE: #define __UINT_LEAST16_FMTu__ "hu"
3961 // MIPSN32BE: #define __UINT_LEAST16_FMTx__ "hx"
3962 // MIPSN32BE: #define __UINT_LEAST16_MAX__ 65535
3963 // MIPSN32BE: #define __UINT_LEAST16_TYPE__ unsigned short
3964 // MIPSN32BE: #define __UINT_LEAST32_FMTX__ "X"
3965 // MIPSN32BE: #define __UINT_LEAST32_FMTo__ "o"
3966 // MIPSN32BE: #define __UINT_LEAST32_FMTu__ "u"
3967 // MIPSN32BE: #define __UINT_LEAST32_FMTx__ "x"
3968 // MIPSN32BE: #define __UINT_LEAST32_MAX__ 4294967295U
3969 // MIPSN32BE: #define __UINT_LEAST32_TYPE__ unsigned int
3970 // MIPSN32BE: #define __UINT_LEAST64_FMTX__ "llX"
3971 // MIPSN32BE: #define __UINT_LEAST64_FMTo__ "llo"
3972 // MIPSN32BE: #define __UINT_LEAST64_FMTu__ "llu"
3973 // MIPSN32BE: #define __UINT_LEAST64_FMTx__ "llx"
3974 // MIPSN32BE: #define __UINT_LEAST64_MAX__ 18446744073709551615ULL
3975 // MIPSN32BE: #define __UINT_LEAST64_TYPE__ long long unsigned int
3976 // MIPSN32BE: #define __UINT_LEAST8_FMTX__ "hhX"
3977 // MIPSN32BE: #define __UINT_LEAST8_FMTo__ "hho"
3978 // MIPSN32BE: #define __UINT_LEAST8_FMTu__ "hhu"
3979 // MIPSN32BE: #define __UINT_LEAST8_FMTx__ "hhx"
3980 // MIPSN32BE: #define __UINT_LEAST8_MAX__ 255
3981 // MIPSN32BE: #define __UINT_LEAST8_TYPE__ unsigned char
3982 // MIPSN32BE: #define __USER_LABEL_PREFIX__
3983 // MIPSN32BE: #define __WCHAR_MAX__ 2147483647
3984 // MIPSN32BE: #define __WCHAR_TYPE__ int
3985 // MIPSN32BE: #define __WCHAR_WIDTH__ 32
3986 // MIPSN32BE: #define __WINT_TYPE__ int
3987 // MIPSN32BE: #define __WINT_WIDTH__ 32
3988 // MIPSN32BE: #define __clang__ 1
3989 // MIPSN32BE: #define __llvm__ 1
3990 // MIPSN32BE: #define __mips 64
3991 // MIPSN32BE: #define __mips64 1
3992 // MIPSN32BE: #define __mips64__ 1
3993 // MIPSN32BE: #define __mips__ 1
3994 // MIPSN32BE: #define __mips_abicalls 1
3995 // MIPSN32BE: #define __mips_fpr 64
3996 // MIPSN32BE: #define __mips_hard_float 1
3997 // MIPSN32BE: #define __mips_isa_rev 2
3998 // MIPSN32BE: #define __mips_n32 1
3999 // MIPSN32BE: #define _mips 1
4000 // MIPSN32BE: #define mips 1
4001 //
4002 // RUN: %clang_cc1 -E -dM -ffreestanding -fgnuc-version=4.2.1 \
4003 // RUN:            -triple=mips64el-none-none -target-abi n32 < /dev/null \
4004 // RUN:   | FileCheck -match-full-lines -check-prefix MIPSN32EL %s
4005 //
4006 // MIPSN32EL: #define MIPSEL 1
4007 // MIPSN32EL: #define _ABIN32 2
4008 // MIPSN32EL: #define _ILP32 1
4009 // MIPSN32EL: #define _MIPSEL 1
4010 // MIPSN32EL: #define _MIPS_ARCH "mips64r2"
4011 // MIPSN32EL: #define _MIPS_ARCH_MIPS64R2 1
4012 // MIPSN32EL: #define _MIPS_FPSET 32
4013 // MIPSN32EL: #define _MIPS_ISA _MIPS_ISA_MIPS64
4014 // MIPSN32EL: #define _MIPS_SIM _ABIN32
4015 // MIPSN32EL: #define _MIPS_SZINT 32
4016 // MIPSN32EL: #define _MIPS_SZLONG 32
4017 // MIPSN32EL: #define _MIPS_SZPTR 32
4018 // MIPSN32EL: #define __ATOMIC_ACQUIRE 2
4019 // MIPSN32EL: #define __ATOMIC_ACQ_REL 4
4020 // MIPSN32EL: #define __ATOMIC_CONSUME 1
4021 // MIPSN32EL: #define __ATOMIC_RELAXED 0
4022 // MIPSN32EL: #define __ATOMIC_RELEASE 3
4023 // MIPSN32EL: #define __ATOMIC_SEQ_CST 5
4024 // MIPSN32EL: #define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
4025 // MIPSN32EL: #define __CHAR16_TYPE__ unsigned short
4026 // MIPSN32EL: #define __CHAR32_TYPE__ unsigned int
4027 // MIPSN32EL: #define __CHAR_BIT__ 8
4028 // MIPSN32EL: #define __CONSTANT_CFSTRINGS__ 1
4029 // MIPSN32EL: #define __DBL_DENORM_MIN__ 4.9406564584124654e-324
4030 // MIPSN32EL: #define __DBL_DIG__ 15
4031 // MIPSN32EL: #define __DBL_EPSILON__ 2.2204460492503131e-16
4032 // MIPSN32EL: #define __DBL_HAS_DENORM__ 1
4033 // MIPSN32EL: #define __DBL_HAS_INFINITY__ 1
4034 // MIPSN32EL: #define __DBL_HAS_QUIET_NAN__ 1
4035 // MIPSN32EL: #define __DBL_MANT_DIG__ 53
4036 // MIPSN32EL: #define __DBL_MAX_10_EXP__ 308
4037 // MIPSN32EL: #define __DBL_MAX_EXP__ 1024
4038 // MIPSN32EL: #define __DBL_MAX__ 1.7976931348623157e+308
4039 // MIPSN32EL: #define __DBL_MIN_10_EXP__ (-307)
4040 // MIPSN32EL: #define __DBL_MIN_EXP__ (-1021)
4041 // MIPSN32EL: #define __DBL_MIN__ 2.2250738585072014e-308
4042 // MIPSN32EL: #define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
4043 // MIPSN32EL: #define __FINITE_MATH_ONLY__ 0
4044 // MIPSN32EL: #define __FLT_DENORM_MIN__ 1.40129846e-45F
4045 // MIPSN32EL: #define __FLT_DIG__ 6
4046 // MIPSN32EL: #define __FLT_EPSILON__ 1.19209290e-7F
4047 // MIPSN32EL: #define __FLT_EVAL_METHOD__ 0
4048 // MIPSN32EL: #define __FLT_HAS_DENORM__ 1
4049 // MIPSN32EL: #define __FLT_HAS_INFINITY__ 1
4050 // MIPSN32EL: #define __FLT_HAS_QUIET_NAN__ 1
4051 // MIPSN32EL: #define __FLT_MANT_DIG__ 24
4052 // MIPSN32EL: #define __FLT_MAX_10_EXP__ 38
4053 // MIPSN32EL: #define __FLT_MAX_EXP__ 128
4054 // MIPSN32EL: #define __FLT_MAX__ 3.40282347e+38F
4055 // MIPSN32EL: #define __FLT_MIN_10_EXP__ (-37)
4056 // MIPSN32EL: #define __FLT_MIN_EXP__ (-125)
4057 // MIPSN32EL: #define __FLT_MIN__ 1.17549435e-38F
4058 // MIPSN32EL: #define __FLT_RADIX__ 2
4059 // MIPSN32EL: #define __GCC_ATOMIC_BOOL_LOCK_FREE 2
4060 // MIPSN32EL: #define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2
4061 // MIPSN32EL: #define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2
4062 // MIPSN32EL: #define __GCC_ATOMIC_CHAR_LOCK_FREE 2
4063 // MIPSN32EL: #define __GCC_ATOMIC_INT_LOCK_FREE 2
4064 // MIPSN32EL: #define __GCC_ATOMIC_LLONG_LOCK_FREE 2
4065 // MIPSN32EL: #define __GCC_ATOMIC_LONG_LOCK_FREE 2
4066 // MIPSN32EL: #define __GCC_ATOMIC_POINTER_LOCK_FREE 2
4067 // MIPSN32EL: #define __GCC_ATOMIC_SHORT_LOCK_FREE 2
4068 // MIPSN32EL: #define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1
4069 // MIPSN32EL: #define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2
4070 // MIPSN32EL: #define __GNUC_MINOR__ 2
4071 // MIPSN32EL: #define __GNUC_PATCHLEVEL__ 1
4072 // MIPSN32EL: #define __GNUC_STDC_INLINE__ 1
4073 // MIPSN32EL: #define __GNUC__ 4
4074 // MIPSN32EL: #define __GXX_ABI_VERSION 1002
4075 // MIPSN32EL: #define __ILP32__ 1
4076 // MIPSN32EL: #define __INT16_C_SUFFIX__
4077 // MIPSN32EL: #define __INT16_FMTd__ "hd"
4078 // MIPSN32EL: #define __INT16_FMTi__ "hi"
4079 // MIPSN32EL: #define __INT16_MAX__ 32767
4080 // MIPSN32EL: #define __INT16_TYPE__ short
4081 // MIPSN32EL: #define __INT32_C_SUFFIX__
4082 // MIPSN32EL: #define __INT32_FMTd__ "d"
4083 // MIPSN32EL: #define __INT32_FMTi__ "i"
4084 // MIPSN32EL: #define __INT32_MAX__ 2147483647
4085 // MIPSN32EL: #define __INT32_TYPE__ int
4086 // MIPSN32EL: #define __INT64_C_SUFFIX__ LL
4087 // MIPSN32EL: #define __INT64_FMTd__ "lld"
4088 // MIPSN32EL: #define __INT64_FMTi__ "lli"
4089 // MIPSN32EL: #define __INT64_MAX__ 9223372036854775807LL
4090 // MIPSN32EL: #define __INT64_TYPE__ long long int
4091 // MIPSN32EL: #define __INT8_C_SUFFIX__
4092 // MIPSN32EL: #define __INT8_FMTd__ "hhd"
4093 // MIPSN32EL: #define __INT8_FMTi__ "hhi"
4094 // MIPSN32EL: #define __INT8_MAX__ 127
4095 // MIPSN32EL: #define __INT8_TYPE__ signed char
4096 // MIPSN32EL: #define __INTMAX_C_SUFFIX__ LL
4097 // MIPSN32EL: #define __INTMAX_FMTd__ "lld"
4098 // MIPSN32EL: #define __INTMAX_FMTi__ "lli"
4099 // MIPSN32EL: #define __INTMAX_MAX__ 9223372036854775807LL
4100 // MIPSN32EL: #define __INTMAX_TYPE__ long long int
4101 // MIPSN32EL: #define __INTMAX_WIDTH__ 64
4102 // MIPSN32EL: #define __INTPTR_FMTd__ "ld"
4103 // MIPSN32EL: #define __INTPTR_FMTi__ "li"
4104 // MIPSN32EL: #define __INTPTR_MAX__ 2147483647L
4105 // MIPSN32EL: #define __INTPTR_TYPE__ long int
4106 // MIPSN32EL: #define __INTPTR_WIDTH__ 32
4107 // MIPSN32EL: #define __INT_FAST16_FMTd__ "hd"
4108 // MIPSN32EL: #define __INT_FAST16_FMTi__ "hi"
4109 // MIPSN32EL: #define __INT_FAST16_MAX__ 32767
4110 // MIPSN32EL: #define __INT_FAST16_TYPE__ short
4111 // MIPSN32EL: #define __INT_FAST32_FMTd__ "d"
4112 // MIPSN32EL: #define __INT_FAST32_FMTi__ "i"
4113 // MIPSN32EL: #define __INT_FAST32_MAX__ 2147483647
4114 // MIPSN32EL: #define __INT_FAST32_TYPE__ int
4115 // MIPSN32EL: #define __INT_FAST64_FMTd__ "lld"
4116 // MIPSN32EL: #define __INT_FAST64_FMTi__ "lli"
4117 // MIPSN32EL: #define __INT_FAST64_MAX__ 9223372036854775807LL
4118 // MIPSN32EL: #define __INT_FAST64_TYPE__ long long int
4119 // MIPSN32EL: #define __INT_FAST8_FMTd__ "hhd"
4120 // MIPSN32EL: #define __INT_FAST8_FMTi__ "hhi"
4121 // MIPSN32EL: #define __INT_FAST8_MAX__ 127
4122 // MIPSN32EL: #define __INT_FAST8_TYPE__ signed char
4123 // MIPSN32EL: #define __INT_LEAST16_FMTd__ "hd"
4124 // MIPSN32EL: #define __INT_LEAST16_FMTi__ "hi"
4125 // MIPSN32EL: #define __INT_LEAST16_MAX__ 32767
4126 // MIPSN32EL: #define __INT_LEAST16_TYPE__ short
4127 // MIPSN32EL: #define __INT_LEAST32_FMTd__ "d"
4128 // MIPSN32EL: #define __INT_LEAST32_FMTi__ "i"
4129 // MIPSN32EL: #define __INT_LEAST32_MAX__ 2147483647
4130 // MIPSN32EL: #define __INT_LEAST32_TYPE__ int
4131 // MIPSN32EL: #define __INT_LEAST64_FMTd__ "lld"
4132 // MIPSN32EL: #define __INT_LEAST64_FMTi__ "lli"
4133 // MIPSN32EL: #define __INT_LEAST64_MAX__ 9223372036854775807LL
4134 // MIPSN32EL: #define __INT_LEAST64_TYPE__ long long int
4135 // MIPSN32EL: #define __INT_LEAST8_FMTd__ "hhd"
4136 // MIPSN32EL: #define __INT_LEAST8_FMTi__ "hhi"
4137 // MIPSN32EL: #define __INT_LEAST8_MAX__ 127
4138 // MIPSN32EL: #define __INT_LEAST8_TYPE__ signed char
4139 // MIPSN32EL: #define __INT_MAX__ 2147483647
4140 // MIPSN32EL: #define __LDBL_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966L
4141 // MIPSN32EL: #define __LDBL_DIG__ 33
4142 // MIPSN32EL: #define __LDBL_EPSILON__ 1.92592994438723585305597794258492732e-34L
4143 // MIPSN32EL: #define __LDBL_HAS_DENORM__ 1
4144 // MIPSN32EL: #define __LDBL_HAS_INFINITY__ 1
4145 // MIPSN32EL: #define __LDBL_HAS_QUIET_NAN__ 1
4146 // MIPSN32EL: #define __LDBL_MANT_DIG__ 113
4147 // MIPSN32EL: #define __LDBL_MAX_10_EXP__ 4932
4148 // MIPSN32EL: #define __LDBL_MAX_EXP__ 16384
4149 // MIPSN32EL: #define __LDBL_MAX__ 1.18973149535723176508575932662800702e+4932L
4150 // MIPSN32EL: #define __LDBL_MIN_10_EXP__ (-4931)
4151 // MIPSN32EL: #define __LDBL_MIN_EXP__ (-16381)
4152 // MIPSN32EL: #define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L
4153 // MIPSN32EL: #define __LITTLE_ENDIAN__ 1
4154 // MIPSN32EL: #define __LONG_LONG_MAX__ 9223372036854775807LL
4155 // MIPSN32EL: #define __LONG_MAX__ 2147483647L
4156 // MIPSN32EL: #define __MIPSEL 1
4157 // MIPSN32EL: #define __MIPSEL__ 1
4158 // MIPSN32EL: #define __NO_INLINE__ 1
4159 // MIPSN32EL: #define __ORDER_BIG_ENDIAN__ 4321
4160 // MIPSN32EL: #define __ORDER_LITTLE_ENDIAN__ 1234
4161 // MIPSN32EL: #define __ORDER_PDP_ENDIAN__ 3412
4162 // MIPSN32EL: #define __POINTER_WIDTH__ 32
4163 // MIPSN32EL: #define __PRAGMA_REDEFINE_EXTNAME 1
4164 // MIPSN32EL: #define __PTRDIFF_FMTd__ "d"
4165 // MIPSN32EL: #define __PTRDIFF_FMTi__ "i"
4166 // MIPSN32EL: #define __PTRDIFF_MAX__ 2147483647
4167 // MIPSN32EL: #define __PTRDIFF_TYPE__ int
4168 // MIPSN32EL: #define __PTRDIFF_WIDTH__ 32
4169 // MIPSN32EL: #define __REGISTER_PREFIX__
4170 // MIPSN32EL: #define __SCHAR_MAX__ 127
4171 // MIPSN32EL: #define __SHRT_MAX__ 32767
4172 // MIPSN32EL: #define __SIG_ATOMIC_MAX__ 2147483647
4173 // MIPSN32EL: #define __SIG_ATOMIC_WIDTH__ 32
4174 // MIPSN32EL: #define __SIZEOF_DOUBLE__ 8
4175 // MIPSN32EL: #define __SIZEOF_FLOAT__ 4
4176 // MIPSN32EL: #define __SIZEOF_INT__ 4
4177 // MIPSN32EL: #define __SIZEOF_LONG_DOUBLE__ 16
4178 // MIPSN32EL: #define __SIZEOF_LONG_LONG__ 8
4179 // MIPSN32EL: #define __SIZEOF_LONG__ 4
4180 // MIPSN32EL: #define __SIZEOF_POINTER__ 4
4181 // MIPSN32EL: #define __SIZEOF_PTRDIFF_T__ 4
4182 // MIPSN32EL: #define __SIZEOF_SHORT__ 2
4183 // MIPSN32EL: #define __SIZEOF_SIZE_T__ 4
4184 // MIPSN32EL: #define __SIZEOF_WCHAR_T__ 4
4185 // MIPSN32EL: #define __SIZEOF_WINT_T__ 4
4186 // MIPSN32EL: #define __SIZE_FMTX__ "X"
4187 // MIPSN32EL: #define __SIZE_FMTo__ "o"
4188 // MIPSN32EL: #define __SIZE_FMTu__ "u"
4189 // MIPSN32EL: #define __SIZE_FMTx__ "x"
4190 // MIPSN32EL: #define __SIZE_MAX__ 4294967295U
4191 // MIPSN32EL: #define __SIZE_TYPE__ unsigned int
4192 // MIPSN32EL: #define __SIZE_WIDTH__ 32
4193 // MIPSN32EL: #define __STDC_HOSTED__ 0
4194 // MIPSN32EL: #define __STDC_UTF_16__ 1
4195 // MIPSN32EL: #define __STDC_UTF_32__ 1
4196 // MIPSN32EL: #define __STDC_VERSION__ 201112L
4197 // MIPSN32EL: #define __STDC__ 1
4198 // MIPSN32EL: #define __UINT16_C_SUFFIX__
4199 // MIPSN32EL: #define __UINT16_FMTX__ "hX"
4200 // MIPSN32EL: #define __UINT16_FMTo__ "ho"
4201 // MIPSN32EL: #define __UINT16_FMTu__ "hu"
4202 // MIPSN32EL: #define __UINT16_FMTx__ "hx"
4203 // MIPSN32EL: #define __UINT16_MAX__ 65535
4204 // MIPSN32EL: #define __UINT16_TYPE__ unsigned short
4205 // MIPSN32EL: #define __UINT32_C_SUFFIX__ U
4206 // MIPSN32EL: #define __UINT32_FMTX__ "X"
4207 // MIPSN32EL: #define __UINT32_FMTo__ "o"
4208 // MIPSN32EL: #define __UINT32_FMTu__ "u"
4209 // MIPSN32EL: #define __UINT32_FMTx__ "x"
4210 // MIPSN32EL: #define __UINT32_MAX__ 4294967295U
4211 // MIPSN32EL: #define __UINT32_TYPE__ unsigned int
4212 // MIPSN32EL: #define __UINT64_C_SUFFIX__ ULL
4213 // MIPSN32EL: #define __UINT64_FMTX__ "llX"
4214 // MIPSN32EL: #define __UINT64_FMTo__ "llo"
4215 // MIPSN32EL: #define __UINT64_FMTu__ "llu"
4216 // MIPSN32EL: #define __UINT64_FMTx__ "llx"
4217 // MIPSN32EL: #define __UINT64_MAX__ 18446744073709551615ULL
4218 // MIPSN32EL: #define __UINT64_TYPE__ long long unsigned int
4219 // MIPSN32EL: #define __UINT8_C_SUFFIX__
4220 // MIPSN32EL: #define __UINT8_FMTX__ "hhX"
4221 // MIPSN32EL: #define __UINT8_FMTo__ "hho"
4222 // MIPSN32EL: #define __UINT8_FMTu__ "hhu"
4223 // MIPSN32EL: #define __UINT8_FMTx__ "hhx"
4224 // MIPSN32EL: #define __UINT8_MAX__ 255
4225 // MIPSN32EL: #define __UINT8_TYPE__ unsigned char
4226 // MIPSN32EL: #define __UINTMAX_C_SUFFIX__ ULL
4227 // MIPSN32EL: #define __UINTMAX_FMTX__ "llX"
4228 // MIPSN32EL: #define __UINTMAX_FMTo__ "llo"
4229 // MIPSN32EL: #define __UINTMAX_FMTu__ "llu"
4230 // MIPSN32EL: #define __UINTMAX_FMTx__ "llx"
4231 // MIPSN32EL: #define __UINTMAX_MAX__ 18446744073709551615ULL
4232 // MIPSN32EL: #define __UINTMAX_TYPE__ long long unsigned int
4233 // MIPSN32EL: #define __UINTMAX_WIDTH__ 64
4234 // MIPSN32EL: #define __UINTPTR_FMTX__ "lX"
4235 // MIPSN32EL: #define __UINTPTR_FMTo__ "lo"
4236 // MIPSN32EL: #define __UINTPTR_FMTu__ "lu"
4237 // MIPSN32EL: #define __UINTPTR_FMTx__ "lx"
4238 // MIPSN32EL: #define __UINTPTR_MAX__ 4294967295UL
4239 // MIPSN32EL: #define __UINTPTR_TYPE__ long unsigned int
4240 // MIPSN32EL: #define __UINTPTR_WIDTH__ 32
4241 // MIPSN32EL: #define __UINT_FAST16_FMTX__ "hX"
4242 // MIPSN32EL: #define __UINT_FAST16_FMTo__ "ho"
4243 // MIPSN32EL: #define __UINT_FAST16_FMTu__ "hu"
4244 // MIPSN32EL: #define __UINT_FAST16_FMTx__ "hx"
4245 // MIPSN32EL: #define __UINT_FAST16_MAX__ 65535
4246 // MIPSN32EL: #define __UINT_FAST16_TYPE__ unsigned short
4247 // MIPSN32EL: #define __UINT_FAST32_FMTX__ "X"
4248 // MIPSN32EL: #define __UINT_FAST32_FMTo__ "o"
4249 // MIPSN32EL: #define __UINT_FAST32_FMTu__ "u"
4250 // MIPSN32EL: #define __UINT_FAST32_FMTx__ "x"
4251 // MIPSN32EL: #define __UINT_FAST32_MAX__ 4294967295U
4252 // MIPSN32EL: #define __UINT_FAST32_TYPE__ unsigned int
4253 // MIPSN32EL: #define __UINT_FAST64_FMTX__ "llX"
4254 // MIPSN32EL: #define __UINT_FAST64_FMTo__ "llo"
4255 // MIPSN32EL: #define __UINT_FAST64_FMTu__ "llu"
4256 // MIPSN32EL: #define __UINT_FAST64_FMTx__ "llx"
4257 // MIPSN32EL: #define __UINT_FAST64_MAX__ 18446744073709551615ULL
4258 // MIPSN32EL: #define __UINT_FAST64_TYPE__ long long unsigned int
4259 // MIPSN32EL: #define __UINT_FAST8_FMTX__ "hhX"
4260 // MIPSN32EL: #define __UINT_FAST8_FMTo__ "hho"
4261 // MIPSN32EL: #define __UINT_FAST8_FMTu__ "hhu"
4262 // MIPSN32EL: #define __UINT_FAST8_FMTx__ "hhx"
4263 // MIPSN32EL: #define __UINT_FAST8_MAX__ 255
4264 // MIPSN32EL: #define __UINT_FAST8_TYPE__ unsigned char
4265 // MIPSN32EL: #define __UINT_LEAST16_FMTX__ "hX"
4266 // MIPSN32EL: #define __UINT_LEAST16_FMTo__ "ho"
4267 // MIPSN32EL: #define __UINT_LEAST16_FMTu__ "hu"
4268 // MIPSN32EL: #define __UINT_LEAST16_FMTx__ "hx"
4269 // MIPSN32EL: #define __UINT_LEAST16_MAX__ 65535
4270 // MIPSN32EL: #define __UINT_LEAST16_TYPE__ unsigned short
4271 // MIPSN32EL: #define __UINT_LEAST32_FMTX__ "X"
4272 // MIPSN32EL: #define __UINT_LEAST32_FMTo__ "o"
4273 // MIPSN32EL: #define __UINT_LEAST32_FMTu__ "u"
4274 // MIPSN32EL: #define __UINT_LEAST32_FMTx__ "x"
4275 // MIPSN32EL: #define __UINT_LEAST32_MAX__ 4294967295U
4276 // MIPSN32EL: #define __UINT_LEAST32_TYPE__ unsigned int
4277 // MIPSN32EL: #define __UINT_LEAST64_FMTX__ "llX"
4278 // MIPSN32EL: #define __UINT_LEAST64_FMTo__ "llo"
4279 // MIPSN32EL: #define __UINT_LEAST64_FMTu__ "llu"
4280 // MIPSN32EL: #define __UINT_LEAST64_FMTx__ "llx"
4281 // MIPSN32EL: #define __UINT_LEAST64_MAX__ 18446744073709551615ULL
4282 // MIPSN32EL: #define __UINT_LEAST64_TYPE__ long long unsigned int
4283 // MIPSN32EL: #define __UINT_LEAST8_FMTX__ "hhX"
4284 // MIPSN32EL: #define __UINT_LEAST8_FMTo__ "hho"
4285 // MIPSN32EL: #define __UINT_LEAST8_FMTu__ "hhu"
4286 // MIPSN32EL: #define __UINT_LEAST8_FMTx__ "hhx"
4287 // MIPSN32EL: #define __UINT_LEAST8_MAX__ 255
4288 // MIPSN32EL: #define __UINT_LEAST8_TYPE__ unsigned char
4289 // MIPSN32EL: #define __USER_LABEL_PREFIX__
4290 // MIPSN32EL: #define __WCHAR_MAX__ 2147483647
4291 // MIPSN32EL: #define __WCHAR_TYPE__ int
4292 // MIPSN32EL: #define __WCHAR_WIDTH__ 32
4293 // MIPSN32EL: #define __WINT_TYPE__ int
4294 // MIPSN32EL: #define __WINT_WIDTH__ 32
4295 // MIPSN32EL: #define __clang__ 1
4296 // MIPSN32EL: #define __llvm__ 1
4297 // MIPSN32EL: #define __mips 64
4298 // MIPSN32EL: #define __mips64 1
4299 // MIPSN32EL: #define __mips64__ 1
4300 // MIPSN32EL: #define __mips__ 1
4301 // MIPSN32EL: #define __mips_abicalls 1
4302 // MIPSN32EL: #define __mips_fpr 64
4303 // MIPSN32EL: #define __mips_hard_float 1
4304 // MIPSN32EL: #define __mips_isa_rev 2
4305 // MIPSN32EL: #define __mips_n32 1
4306 // MIPSN32EL: #define _mips 1
4307 // MIPSN32EL: #define mips 1
4308 //
4309 // RUN: %clang_cc1 -E -dM -ffreestanding -fgnuc-version=4.2.1 -triple=mips64-none-none < /dev/null | FileCheck -match-full-lines -check-prefix MIPS64BE %s
4310 // RUN: %clang_cc1 -x c++ -E -dM -ffreestanding -fgnuc-version=4.2.1 -triple=mips64-none-none < /dev/null | FileCheck -match-full-lines -check-prefix MIPS64BE -check-prefix MIPS64BE-CXX %s
4311 //
4312 // MIPS64BE:#define MIPSEB 1
4313 // MIPS64BE:#define _ABI64 3
4314 // MIPS64BE:#define _LP64 1
4315 // MIPS64BE:#define _MIPSEB 1
4316 // MIPS64BE:#define _MIPS_ARCH "mips64r2"
4317 // MIPS64BE:#define _MIPS_ARCH_MIPS64R2 1
4318 // MIPS64BE:#define _MIPS_FPSET 32
4319 // MIPS64BE:#define _MIPS_SIM _ABI64
4320 // MIPS64BE:#define _MIPS_SZINT 32
4321 // MIPS64BE:#define _MIPS_SZLONG 64
4322 // MIPS64BE:#define _MIPS_SZPTR 64
4323 // MIPS64BE:#define __BIGGEST_ALIGNMENT__ 16
4324 // MIPS64BE:#define __BIG_ENDIAN__ 1
4325 // MIPS64BE:#define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__
4326 // MIPS64BE:#define __CHAR16_TYPE__ unsigned short
4327 // MIPS64BE:#define __CHAR32_TYPE__ unsigned int
4328 // MIPS64BE:#define __CHAR_BIT__ 8
4329 // MIPS64BE:#define __CONSTANT_CFSTRINGS__ 1
4330 // MIPS64BE:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
4331 // MIPS64BE:#define __DBL_DIG__ 15
4332 // MIPS64BE:#define __DBL_EPSILON__ 2.2204460492503131e-16
4333 // MIPS64BE:#define __DBL_HAS_DENORM__ 1
4334 // MIPS64BE:#define __DBL_HAS_INFINITY__ 1
4335 // MIPS64BE:#define __DBL_HAS_QUIET_NAN__ 1
4336 // MIPS64BE:#define __DBL_MANT_DIG__ 53
4337 // MIPS64BE:#define __DBL_MAX_10_EXP__ 308
4338 // MIPS64BE:#define __DBL_MAX_EXP__ 1024
4339 // MIPS64BE:#define __DBL_MAX__ 1.7976931348623157e+308
4340 // MIPS64BE:#define __DBL_MIN_10_EXP__ (-307)
4341 // MIPS64BE:#define __DBL_MIN_EXP__ (-1021)
4342 // MIPS64BE:#define __DBL_MIN__ 2.2250738585072014e-308
4343 // MIPS64BE:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
4344 // MIPS64BE:#define __FLT_DENORM_MIN__ 1.40129846e-45F
4345 // MIPS64BE:#define __FLT_DIG__ 6
4346 // MIPS64BE:#define __FLT_EPSILON__ 1.19209290e-7F
4347 // MIPS64BE:#define __FLT_EVAL_METHOD__ 0
4348 // MIPS64BE:#define __FLT_HAS_DENORM__ 1
4349 // MIPS64BE:#define __FLT_HAS_INFINITY__ 1
4350 // MIPS64BE:#define __FLT_HAS_QUIET_NAN__ 1
4351 // MIPS64BE:#define __FLT_MANT_DIG__ 24
4352 // MIPS64BE:#define __FLT_MAX_10_EXP__ 38
4353 // MIPS64BE:#define __FLT_MAX_EXP__ 128
4354 // MIPS64BE:#define __FLT_MAX__ 3.40282347e+38F
4355 // MIPS64BE:#define __FLT_MIN_10_EXP__ (-37)
4356 // MIPS64BE:#define __FLT_MIN_EXP__ (-125)
4357 // MIPS64BE:#define __FLT_MIN__ 1.17549435e-38F
4358 // MIPS64BE:#define __FLT_RADIX__ 2
4359 // MIPS64BE:#define __INT16_C_SUFFIX__
4360 // MIPS64BE:#define __INT16_FMTd__ "hd"
4361 // MIPS64BE:#define __INT16_FMTi__ "hi"
4362 // MIPS64BE:#define __INT16_MAX__ 32767
4363 // MIPS64BE:#define __INT16_TYPE__ short
4364 // MIPS64BE:#define __INT32_C_SUFFIX__
4365 // MIPS64BE:#define __INT32_FMTd__ "d"
4366 // MIPS64BE:#define __INT32_FMTi__ "i"
4367 // MIPS64BE:#define __INT32_MAX__ 2147483647
4368 // MIPS64BE:#define __INT32_TYPE__ int
4369 // MIPS64BE:#define __INT64_C_SUFFIX__ L
4370 // MIPS64BE:#define __INT64_FMTd__ "ld"
4371 // MIPS64BE:#define __INT64_FMTi__ "li"
4372 // MIPS64BE:#define __INT64_MAX__ 9223372036854775807L
4373 // MIPS64BE:#define __INT64_TYPE__ long int
4374 // MIPS64BE:#define __INT8_C_SUFFIX__
4375 // MIPS64BE:#define __INT8_FMTd__ "hhd"
4376 // MIPS64BE:#define __INT8_FMTi__ "hhi"
4377 // MIPS64BE:#define __INT8_MAX__ 127
4378 // MIPS64BE:#define __INT8_TYPE__ signed char
4379 // MIPS64BE:#define __INTMAX_C_SUFFIX__ L
4380 // MIPS64BE:#define __INTMAX_FMTd__ "ld"
4381 // MIPS64BE:#define __INTMAX_FMTi__ "li"
4382 // MIPS64BE:#define __INTMAX_MAX__ 9223372036854775807L
4383 // MIPS64BE:#define __INTMAX_TYPE__ long int
4384 // MIPS64BE:#define __INTMAX_WIDTH__ 64
4385 // MIPS64BE:#define __INTPTR_FMTd__ "ld"
4386 // MIPS64BE:#define __INTPTR_FMTi__ "li"
4387 // MIPS64BE:#define __INTPTR_MAX__ 9223372036854775807L
4388 // MIPS64BE:#define __INTPTR_TYPE__ long int
4389 // MIPS64BE:#define __INTPTR_WIDTH__ 64
4390 // MIPS64BE:#define __INT_FAST16_FMTd__ "hd"
4391 // MIPS64BE:#define __INT_FAST16_FMTi__ "hi"
4392 // MIPS64BE:#define __INT_FAST16_MAX__ 32767
4393 // MIPS64BE:#define __INT_FAST16_TYPE__ short
4394 // MIPS64BE:#define __INT_FAST32_FMTd__ "d"
4395 // MIPS64BE:#define __INT_FAST32_FMTi__ "i"
4396 // MIPS64BE:#define __INT_FAST32_MAX__ 2147483647
4397 // MIPS64BE:#define __INT_FAST32_TYPE__ int
4398 // MIPS64BE:#define __INT_FAST64_FMTd__ "ld"
4399 // MIPS64BE:#define __INT_FAST64_FMTi__ "li"
4400 // MIPS64BE:#define __INT_FAST64_MAX__ 9223372036854775807L
4401 // MIPS64BE:#define __INT_FAST64_TYPE__ long int
4402 // MIPS64BE:#define __INT_FAST8_FMTd__ "hhd"
4403 // MIPS64BE:#define __INT_FAST8_FMTi__ "hhi"
4404 // MIPS64BE:#define __INT_FAST8_MAX__ 127
4405 // MIPS64BE:#define __INT_FAST8_TYPE__ signed char
4406 // MIPS64BE:#define __INT_LEAST16_FMTd__ "hd"
4407 // MIPS64BE:#define __INT_LEAST16_FMTi__ "hi"
4408 // MIPS64BE:#define __INT_LEAST16_MAX__ 32767
4409 // MIPS64BE:#define __INT_LEAST16_TYPE__ short
4410 // MIPS64BE:#define __INT_LEAST32_FMTd__ "d"
4411 // MIPS64BE:#define __INT_LEAST32_FMTi__ "i"
4412 // MIPS64BE:#define __INT_LEAST32_MAX__ 2147483647
4413 // MIPS64BE:#define __INT_LEAST32_TYPE__ int
4414 // MIPS64BE:#define __INT_LEAST64_FMTd__ "ld"
4415 // MIPS64BE:#define __INT_LEAST64_FMTi__ "li"
4416 // MIPS64BE:#define __INT_LEAST64_MAX__ 9223372036854775807L
4417 // MIPS64BE:#define __INT_LEAST64_TYPE__ long int
4418 // MIPS64BE:#define __INT_LEAST8_FMTd__ "hhd"
4419 // MIPS64BE:#define __INT_LEAST8_FMTi__ "hhi"
4420 // MIPS64BE:#define __INT_LEAST8_MAX__ 127
4421 // MIPS64BE:#define __INT_LEAST8_TYPE__ signed char
4422 // MIPS64BE:#define __INT_MAX__ 2147483647
4423 // MIPS64BE:#define __LDBL_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966L
4424 // MIPS64BE:#define __LDBL_DIG__ 33
4425 // MIPS64BE:#define __LDBL_EPSILON__ 1.92592994438723585305597794258492732e-34L
4426 // MIPS64BE:#define __LDBL_HAS_DENORM__ 1
4427 // MIPS64BE:#define __LDBL_HAS_INFINITY__ 1
4428 // MIPS64BE:#define __LDBL_HAS_QUIET_NAN__ 1
4429 // MIPS64BE:#define __LDBL_MANT_DIG__ 113
4430 // MIPS64BE:#define __LDBL_MAX_10_EXP__ 4932
4431 // MIPS64BE:#define __LDBL_MAX_EXP__ 16384
4432 // MIPS64BE:#define __LDBL_MAX__ 1.18973149535723176508575932662800702e+4932L
4433 // MIPS64BE:#define __LDBL_MIN_10_EXP__ (-4931)
4434 // MIPS64BE:#define __LDBL_MIN_EXP__ (-16381)
4435 // MIPS64BE:#define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L
4436 // MIPS64BE:#define __LONG_LONG_MAX__ 9223372036854775807LL
4437 // MIPS64BE:#define __LONG_MAX__ 9223372036854775807L
4438 // MIPS64BE:#define __LP64__ 1
4439 // MIPS64BE:#define __MIPSEB 1
4440 // MIPS64BE:#define __MIPSEB__ 1
4441 // MIPS64BE:#define __POINTER_WIDTH__ 64
4442 // MIPS64BE:#define __PRAGMA_REDEFINE_EXTNAME 1
4443 // MIPS64BE:#define __PTRDIFF_TYPE__ long int
4444 // MIPS64BE:#define __PTRDIFF_WIDTH__ 64
4445 // MIPS64BE:#define __REGISTER_PREFIX__
4446 // MIPS64BE:#define __SCHAR_MAX__ 127
4447 // MIPS64BE:#define __SHRT_MAX__ 32767
4448 // MIPS64BE:#define __SIG_ATOMIC_MAX__ 2147483647
4449 // MIPS64BE:#define __SIG_ATOMIC_WIDTH__ 32
4450 // MIPS64BE:#define __SIZEOF_DOUBLE__ 8
4451 // MIPS64BE:#define __SIZEOF_FLOAT__ 4
4452 // MIPS64BE:#define __SIZEOF_INT128__ 16
4453 // MIPS64BE:#define __SIZEOF_INT__ 4
4454 // MIPS64BE:#define __SIZEOF_LONG_DOUBLE__ 16
4455 // MIPS64BE:#define __SIZEOF_LONG_LONG__ 8
4456 // MIPS64BE:#define __SIZEOF_LONG__ 8
4457 // MIPS64BE:#define __SIZEOF_POINTER__ 8
4458 // MIPS64BE:#define __SIZEOF_PTRDIFF_T__ 8
4459 // MIPS64BE:#define __SIZEOF_SHORT__ 2
4460 // MIPS64BE:#define __SIZEOF_SIZE_T__ 8
4461 // MIPS64BE:#define __SIZEOF_WCHAR_T__ 4
4462 // MIPS64BE:#define __SIZEOF_WINT_T__ 4
4463 // MIPS64BE:#define __SIZE_MAX__ 18446744073709551615UL
4464 // MIPS64BE:#define __SIZE_TYPE__ long unsigned int
4465 // MIPS64BE:#define __SIZE_WIDTH__ 64
4466 // MIPS64BE-CXX:#define __STDCPP_DEFAULT_NEW_ALIGNMENT__ 16UL
4467 // MIPS64BE:#define __UINT16_C_SUFFIX__
4468 // MIPS64BE:#define __UINT16_MAX__ 65535
4469 // MIPS64BE:#define __UINT16_TYPE__ unsigned short
4470 // MIPS64BE:#define __UINT32_C_SUFFIX__ U
4471 // MIPS64BE:#define __UINT32_MAX__ 4294967295U
4472 // MIPS64BE:#define __UINT32_TYPE__ unsigned int
4473 // MIPS64BE:#define __UINT64_C_SUFFIX__ UL
4474 // MIPS64BE:#define __UINT64_MAX__ 18446744073709551615UL
4475 // MIPS64BE:#define __UINT64_TYPE__ long unsigned int
4476 // MIPS64BE:#define __UINT8_C_SUFFIX__
4477 // MIPS64BE:#define __UINT8_MAX__ 255
4478 // MIPS64BE:#define __UINT8_TYPE__ unsigned char
4479 // MIPS64BE:#define __UINTMAX_C_SUFFIX__ UL
4480 // MIPS64BE:#define __UINTMAX_MAX__ 18446744073709551615UL
4481 // MIPS64BE:#define __UINTMAX_TYPE__ long unsigned int
4482 // MIPS64BE:#define __UINTMAX_WIDTH__ 64
4483 // MIPS64BE:#define __UINTPTR_MAX__ 18446744073709551615UL
4484 // MIPS64BE:#define __UINTPTR_TYPE__ long unsigned int
4485 // MIPS64BE:#define __UINTPTR_WIDTH__ 64
4486 // MIPS64BE:#define __UINT_FAST16_MAX__ 65535
4487 // MIPS64BE:#define __UINT_FAST16_TYPE__ unsigned short
4488 // MIPS64BE:#define __UINT_FAST32_MAX__ 4294967295U
4489 // MIPS64BE:#define __UINT_FAST32_TYPE__ unsigned int
4490 // MIPS64BE:#define __UINT_FAST64_MAX__ 18446744073709551615UL
4491 // MIPS64BE:#define __UINT_FAST64_TYPE__ long unsigned int
4492 // MIPS64BE:#define __UINT_FAST8_MAX__ 255
4493 // MIPS64BE:#define __UINT_FAST8_TYPE__ unsigned char
4494 // MIPS64BE:#define __UINT_LEAST16_MAX__ 65535
4495 // MIPS64BE:#define __UINT_LEAST16_TYPE__ unsigned short
4496 // MIPS64BE:#define __UINT_LEAST32_MAX__ 4294967295U
4497 // MIPS64BE:#define __UINT_LEAST32_TYPE__ unsigned int
4498 // MIPS64BE:#define __UINT_LEAST64_MAX__ 18446744073709551615UL
4499 // MIPS64BE:#define __UINT_LEAST64_TYPE__ long unsigned int
4500 // MIPS64BE:#define __UINT_LEAST8_MAX__ 255
4501 // MIPS64BE:#define __UINT_LEAST8_TYPE__ unsigned char
4502 // MIPS64BE:#define __USER_LABEL_PREFIX__
4503 // MIPS64BE:#define __WCHAR_MAX__ 2147483647
4504 // MIPS64BE:#define __WCHAR_TYPE__ int
4505 // MIPS64BE:#define __WCHAR_WIDTH__ 32
4506 // MIPS64BE:#define __WINT_TYPE__ int
4507 // MIPS64BE:#define __WINT_WIDTH__ 32
4508 // MIPS64BE:#define __clang__ 1
4509 // MIPS64BE:#define __llvm__ 1
4510 // MIPS64BE:#define __mips 64
4511 // MIPS64BE:#define __mips64 1
4512 // MIPS64BE:#define __mips64__ 1
4513 // MIPS64BE:#define __mips__ 1
4514 // MIPS64BE:#define __mips_abicalls 1
4515 // MIPS64BE:#define __mips_fpr 64
4516 // MIPS64BE:#define __mips_hard_float 1
4517 // MIPS64BE:#define __mips_n64 1
4518 // MIPS64BE:#define _mips 1
4519 // MIPS64BE:#define mips 1
4520 //
4521 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mips64el-none-none < /dev/null | FileCheck -match-full-lines -check-prefix MIPS64EL %s
4522 //
4523 // MIPS64EL:#define MIPSEL 1
4524 // MIPS64EL:#define _ABI64 3
4525 // MIPS64EL:#define _LP64 1
4526 // MIPS64EL:#define _MIPSEL 1
4527 // MIPS64EL:#define _MIPS_ARCH "mips64r2"
4528 // MIPS64EL:#define _MIPS_ARCH_MIPS64R2 1
4529 // MIPS64EL:#define _MIPS_FPSET 32
4530 // MIPS64EL:#define _MIPS_SIM _ABI64
4531 // MIPS64EL:#define _MIPS_SZINT 32
4532 // MIPS64EL:#define _MIPS_SZLONG 64
4533 // MIPS64EL:#define _MIPS_SZPTR 64
4534 // MIPS64EL:#define __BIGGEST_ALIGNMENT__ 16
4535 // MIPS64EL:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
4536 // MIPS64EL:#define __CHAR16_TYPE__ unsigned short
4537 // MIPS64EL:#define __CHAR32_TYPE__ unsigned int
4538 // MIPS64EL:#define __CHAR_BIT__ 8
4539 // MIPS64EL:#define __CONSTANT_CFSTRINGS__ 1
4540 // MIPS64EL:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
4541 // MIPS64EL:#define __DBL_DIG__ 15
4542 // MIPS64EL:#define __DBL_EPSILON__ 2.2204460492503131e-16
4543 // MIPS64EL:#define __DBL_HAS_DENORM__ 1
4544 // MIPS64EL:#define __DBL_HAS_INFINITY__ 1
4545 // MIPS64EL:#define __DBL_HAS_QUIET_NAN__ 1
4546 // MIPS64EL:#define __DBL_MANT_DIG__ 53
4547 // MIPS64EL:#define __DBL_MAX_10_EXP__ 308
4548 // MIPS64EL:#define __DBL_MAX_EXP__ 1024
4549 // MIPS64EL:#define __DBL_MAX__ 1.7976931348623157e+308
4550 // MIPS64EL:#define __DBL_MIN_10_EXP__ (-307)
4551 // MIPS64EL:#define __DBL_MIN_EXP__ (-1021)
4552 // MIPS64EL:#define __DBL_MIN__ 2.2250738585072014e-308
4553 // MIPS64EL:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
4554 // MIPS64EL:#define __FLT_DENORM_MIN__ 1.40129846e-45F
4555 // MIPS64EL:#define __FLT_DIG__ 6
4556 // MIPS64EL:#define __FLT_EPSILON__ 1.19209290e-7F
4557 // MIPS64EL:#define __FLT_EVAL_METHOD__ 0
4558 // MIPS64EL:#define __FLT_HAS_DENORM__ 1
4559 // MIPS64EL:#define __FLT_HAS_INFINITY__ 1
4560 // MIPS64EL:#define __FLT_HAS_QUIET_NAN__ 1
4561 // MIPS64EL:#define __FLT_MANT_DIG__ 24
4562 // MIPS64EL:#define __FLT_MAX_10_EXP__ 38
4563 // MIPS64EL:#define __FLT_MAX_EXP__ 128
4564 // MIPS64EL:#define __FLT_MAX__ 3.40282347e+38F
4565 // MIPS64EL:#define __FLT_MIN_10_EXP__ (-37)
4566 // MIPS64EL:#define __FLT_MIN_EXP__ (-125)
4567 // MIPS64EL:#define __FLT_MIN__ 1.17549435e-38F
4568 // MIPS64EL:#define __FLT_RADIX__ 2
4569 // MIPS64EL:#define __INT16_C_SUFFIX__
4570 // MIPS64EL:#define __INT16_FMTd__ "hd"
4571 // MIPS64EL:#define __INT16_FMTi__ "hi"
4572 // MIPS64EL:#define __INT16_MAX__ 32767
4573 // MIPS64EL:#define __INT16_TYPE__ short
4574 // MIPS64EL:#define __INT32_C_SUFFIX__
4575 // MIPS64EL:#define __INT32_FMTd__ "d"
4576 // MIPS64EL:#define __INT32_FMTi__ "i"
4577 // MIPS64EL:#define __INT32_MAX__ 2147483647
4578 // MIPS64EL:#define __INT32_TYPE__ int
4579 // MIPS64EL:#define __INT64_C_SUFFIX__ L
4580 // MIPS64EL:#define __INT64_FMTd__ "ld"
4581 // MIPS64EL:#define __INT64_FMTi__ "li"
4582 // MIPS64EL:#define __INT64_MAX__ 9223372036854775807L
4583 // MIPS64EL:#define __INT64_TYPE__ long int
4584 // MIPS64EL:#define __INT8_C_SUFFIX__
4585 // MIPS64EL:#define __INT8_FMTd__ "hhd"
4586 // MIPS64EL:#define __INT8_FMTi__ "hhi"
4587 // MIPS64EL:#define __INT8_MAX__ 127
4588 // MIPS64EL:#define __INT8_TYPE__ signed char
4589 // MIPS64EL:#define __INTMAX_C_SUFFIX__ L
4590 // MIPS64EL:#define __INTMAX_FMTd__ "ld"
4591 // MIPS64EL:#define __INTMAX_FMTi__ "li"
4592 // MIPS64EL:#define __INTMAX_MAX__ 9223372036854775807L
4593 // MIPS64EL:#define __INTMAX_TYPE__ long int
4594 // MIPS64EL:#define __INTMAX_WIDTH__ 64
4595 // MIPS64EL:#define __INTPTR_FMTd__ "ld"
4596 // MIPS64EL:#define __INTPTR_FMTi__ "li"
4597 // MIPS64EL:#define __INTPTR_MAX__ 9223372036854775807L
4598 // MIPS64EL:#define __INTPTR_TYPE__ long int
4599 // MIPS64EL:#define __INTPTR_WIDTH__ 64
4600 // MIPS64EL:#define __INT_FAST16_FMTd__ "hd"
4601 // MIPS64EL:#define __INT_FAST16_FMTi__ "hi"
4602 // MIPS64EL:#define __INT_FAST16_MAX__ 32767
4603 // MIPS64EL:#define __INT_FAST16_TYPE__ short
4604 // MIPS64EL:#define __INT_FAST32_FMTd__ "d"
4605 // MIPS64EL:#define __INT_FAST32_FMTi__ "i"
4606 // MIPS64EL:#define __INT_FAST32_MAX__ 2147483647
4607 // MIPS64EL:#define __INT_FAST32_TYPE__ int
4608 // MIPS64EL:#define __INT_FAST64_FMTd__ "ld"
4609 // MIPS64EL:#define __INT_FAST64_FMTi__ "li"
4610 // MIPS64EL:#define __INT_FAST64_MAX__ 9223372036854775807L
4611 // MIPS64EL:#define __INT_FAST64_TYPE__ long int
4612 // MIPS64EL:#define __INT_FAST8_FMTd__ "hhd"
4613 // MIPS64EL:#define __INT_FAST8_FMTi__ "hhi"
4614 // MIPS64EL:#define __INT_FAST8_MAX__ 127
4615 // MIPS64EL:#define __INT_FAST8_TYPE__ signed char
4616 // MIPS64EL:#define __INT_LEAST16_FMTd__ "hd"
4617 // MIPS64EL:#define __INT_LEAST16_FMTi__ "hi"
4618 // MIPS64EL:#define __INT_LEAST16_MAX__ 32767
4619 // MIPS64EL:#define __INT_LEAST16_TYPE__ short
4620 // MIPS64EL:#define __INT_LEAST32_FMTd__ "d"
4621 // MIPS64EL:#define __INT_LEAST32_FMTi__ "i"
4622 // MIPS64EL:#define __INT_LEAST32_MAX__ 2147483647
4623 // MIPS64EL:#define __INT_LEAST32_TYPE__ int
4624 // MIPS64EL:#define __INT_LEAST64_FMTd__ "ld"
4625 // MIPS64EL:#define __INT_LEAST64_FMTi__ "li"
4626 // MIPS64EL:#define __INT_LEAST64_MAX__ 9223372036854775807L
4627 // MIPS64EL:#define __INT_LEAST64_TYPE__ long int
4628 // MIPS64EL:#define __INT_LEAST8_FMTd__ "hhd"
4629 // MIPS64EL:#define __INT_LEAST8_FMTi__ "hhi"
4630 // MIPS64EL:#define __INT_LEAST8_MAX__ 127
4631 // MIPS64EL:#define __INT_LEAST8_TYPE__ signed char
4632 // MIPS64EL:#define __INT_MAX__ 2147483647
4633 // MIPS64EL:#define __LDBL_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966L
4634 // MIPS64EL:#define __LDBL_DIG__ 33
4635 // MIPS64EL:#define __LDBL_EPSILON__ 1.92592994438723585305597794258492732e-34L
4636 // MIPS64EL:#define __LDBL_HAS_DENORM__ 1
4637 // MIPS64EL:#define __LDBL_HAS_INFINITY__ 1
4638 // MIPS64EL:#define __LDBL_HAS_QUIET_NAN__ 1
4639 // MIPS64EL:#define __LDBL_MANT_DIG__ 113
4640 // MIPS64EL:#define __LDBL_MAX_10_EXP__ 4932
4641 // MIPS64EL:#define __LDBL_MAX_EXP__ 16384
4642 // MIPS64EL:#define __LDBL_MAX__ 1.18973149535723176508575932662800702e+4932L
4643 // MIPS64EL:#define __LDBL_MIN_10_EXP__ (-4931)
4644 // MIPS64EL:#define __LDBL_MIN_EXP__ (-16381)
4645 // MIPS64EL:#define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L
4646 // MIPS64EL:#define __LITTLE_ENDIAN__ 1
4647 // MIPS64EL:#define __LONG_LONG_MAX__ 9223372036854775807LL
4648 // MIPS64EL:#define __LONG_MAX__ 9223372036854775807L
4649 // MIPS64EL:#define __LP64__ 1
4650 // MIPS64EL:#define __MIPSEL 1
4651 // MIPS64EL:#define __MIPSEL__ 1
4652 // MIPS64EL:#define __POINTER_WIDTH__ 64
4653 // MIPS64EL:#define __PRAGMA_REDEFINE_EXTNAME 1
4654 // MIPS64EL:#define __PTRDIFF_TYPE__ long int
4655 // MIPS64EL:#define __PTRDIFF_WIDTH__ 64
4656 // MIPS64EL:#define __REGISTER_PREFIX__
4657 // MIPS64EL:#define __SCHAR_MAX__ 127
4658 // MIPS64EL:#define __SHRT_MAX__ 32767
4659 // MIPS64EL:#define __SIG_ATOMIC_MAX__ 2147483647
4660 // MIPS64EL:#define __SIG_ATOMIC_WIDTH__ 32
4661 // MIPS64EL:#define __SIZEOF_DOUBLE__ 8
4662 // MIPS64EL:#define __SIZEOF_FLOAT__ 4
4663 // MIPS64EL:#define __SIZEOF_INT128__ 16
4664 // MIPS64EL:#define __SIZEOF_INT__ 4
4665 // MIPS64EL:#define __SIZEOF_LONG_DOUBLE__ 16
4666 // MIPS64EL:#define __SIZEOF_LONG_LONG__ 8
4667 // MIPS64EL:#define __SIZEOF_LONG__ 8
4668 // MIPS64EL:#define __SIZEOF_POINTER__ 8
4669 // MIPS64EL:#define __SIZEOF_PTRDIFF_T__ 8
4670 // MIPS64EL:#define __SIZEOF_SHORT__ 2
4671 // MIPS64EL:#define __SIZEOF_SIZE_T__ 8
4672 // MIPS64EL:#define __SIZEOF_WCHAR_T__ 4
4673 // MIPS64EL:#define __SIZEOF_WINT_T__ 4
4674 // MIPS64EL:#define __SIZE_MAX__ 18446744073709551615UL
4675 // MIPS64EL:#define __SIZE_TYPE__ long unsigned int
4676 // MIPS64EL:#define __SIZE_WIDTH__ 64
4677 // MIPS64EL:#define __UINT16_C_SUFFIX__
4678 // MIPS64EL:#define __UINT16_MAX__ 65535
4679 // MIPS64EL:#define __UINT16_TYPE__ unsigned short
4680 // MIPS64EL:#define __UINT32_C_SUFFIX__ U
4681 // MIPS64EL:#define __UINT32_MAX__ 4294967295U
4682 // MIPS64EL:#define __UINT32_TYPE__ unsigned int
4683 // MIPS64EL:#define __UINT64_C_SUFFIX__ UL
4684 // MIPS64EL:#define __UINT64_MAX__ 18446744073709551615UL
4685 // MIPS64EL:#define __UINT64_TYPE__ long unsigned int
4686 // MIPS64EL:#define __UINT8_C_SUFFIX__
4687 // MIPS64EL:#define __UINT8_MAX__ 255
4688 // MIPS64EL:#define __UINT8_TYPE__ unsigned char
4689 // MIPS64EL:#define __UINTMAX_C_SUFFIX__ UL
4690 // MIPS64EL:#define __UINTMAX_MAX__ 18446744073709551615UL
4691 // MIPS64EL:#define __UINTMAX_TYPE__ long unsigned int
4692 // MIPS64EL:#define __UINTMAX_WIDTH__ 64
4693 // MIPS64EL:#define __UINTPTR_MAX__ 18446744073709551615UL
4694 // MIPS64EL:#define __UINTPTR_TYPE__ long unsigned int
4695 // MIPS64EL:#define __UINTPTR_WIDTH__ 64
4696 // MIPS64EL:#define __UINT_FAST16_MAX__ 65535
4697 // MIPS64EL:#define __UINT_FAST16_TYPE__ unsigned short
4698 // MIPS64EL:#define __UINT_FAST32_MAX__ 4294967295U
4699 // MIPS64EL:#define __UINT_FAST32_TYPE__ unsigned int
4700 // MIPS64EL:#define __UINT_FAST64_MAX__ 18446744073709551615UL
4701 // MIPS64EL:#define __UINT_FAST64_TYPE__ long unsigned int
4702 // MIPS64EL:#define __UINT_FAST8_MAX__ 255
4703 // MIPS64EL:#define __UINT_FAST8_TYPE__ unsigned char
4704 // MIPS64EL:#define __UINT_LEAST16_MAX__ 65535
4705 // MIPS64EL:#define __UINT_LEAST16_TYPE__ unsigned short
4706 // MIPS64EL:#define __UINT_LEAST32_MAX__ 4294967295U
4707 // MIPS64EL:#define __UINT_LEAST32_TYPE__ unsigned int
4708 // MIPS64EL:#define __UINT_LEAST64_MAX__ 18446744073709551615UL
4709 // MIPS64EL:#define __UINT_LEAST64_TYPE__ long unsigned int
4710 // MIPS64EL:#define __UINT_LEAST8_MAX__ 255
4711 // MIPS64EL:#define __UINT_LEAST8_TYPE__ unsigned char
4712 // MIPS64EL:#define __USER_LABEL_PREFIX__
4713 // MIPS64EL:#define __WCHAR_MAX__ 2147483647
4714 // MIPS64EL:#define __WCHAR_TYPE__ int
4715 // MIPS64EL:#define __WCHAR_WIDTH__ 32
4716 // MIPS64EL:#define __WINT_TYPE__ int
4717 // MIPS64EL:#define __WINT_WIDTH__ 32
4718 // MIPS64EL:#define __clang__ 1
4719 // MIPS64EL:#define __llvm__ 1
4720 // MIPS64EL:#define __mips 64
4721 // MIPS64EL:#define __mips64 1
4722 // MIPS64EL:#define __mips64__ 1
4723 // MIPS64EL:#define __mips__ 1
4724 // MIPS64EL:#define __mips_abicalls 1
4725 // MIPS64EL:#define __mips_fpr 64
4726 // MIPS64EL:#define __mips_hard_float 1
4727 // MIPS64EL:#define __mips_n64 1
4728 // MIPS64EL:#define _mips 1
4729 // MIPS64EL:#define mips 1
4730 //
4731 // Check MIPS arch and isa macros
4732 //
4733 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mips-none-none \
4734 // RUN:            < /dev/null \
4735 // RUN:   | FileCheck -match-full-lines -check-prefix MIPS-ARCH-DEF32 %s
4736 //
4737 // MIPS-ARCH-DEF32:#define _MIPS_ARCH "mips32r2"
4738 // MIPS-ARCH-DEF32:#define _MIPS_ARCH_MIPS32R2 1
4739 // MIPS-ARCH-DEF32:#define _MIPS_ISA _MIPS_ISA_MIPS32
4740 // MIPS-ARCH-DEF32:#define __mips_isa_rev 2
4741 //
4742 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mips-none-nones \
4743 // RUN:            -target-cpu mips32 < /dev/null \
4744 // RUN:   | FileCheck -match-full-lines -check-prefix MIPS-ARCH-32 %s
4745 //
4746 // MIPS-ARCH-32:#define _MIPS_ARCH "mips32"
4747 // MIPS-ARCH-32:#define _MIPS_ARCH_MIPS32 1
4748 // MIPS-ARCH-32:#define _MIPS_ISA _MIPS_ISA_MIPS32
4749 // MIPS-ARCH-32:#define __mips_isa_rev 1
4750 //
4751 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mips-none-none \
4752 // RUN:            -target-cpu mips32r2 < /dev/null \
4753 // RUN:   | FileCheck -match-full-lines -check-prefix MIPS-ARCH-32R2 %s
4754 //
4755 // MIPS-ARCH-32R2:#define _MIPS_ARCH "mips32r2"
4756 // MIPS-ARCH-32R2:#define _MIPS_ARCH_MIPS32R2 1
4757 // MIPS-ARCH-32R2:#define _MIPS_ISA _MIPS_ISA_MIPS32
4758 // MIPS-ARCH-32R2:#define __mips_isa_rev 2
4759 //
4760 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mips-none-none \
4761 // RUN:            -target-cpu mips32r3 < /dev/null \
4762 // RUN:   | FileCheck -match-full-lines -check-prefix MIPS-ARCH-32R3 %s
4763 //
4764 // MIPS-ARCH-32R3:#define _MIPS_ARCH "mips32r3"
4765 // MIPS-ARCH-32R3:#define _MIPS_ARCH_MIPS32R3 1
4766 // MIPS-ARCH-32R3:#define _MIPS_ISA _MIPS_ISA_MIPS32
4767 // MIPS-ARCH-32R3:#define __mips_isa_rev 3
4768 //
4769 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mips-none-none \
4770 // RUN:            -target-cpu mips32r5 < /dev/null \
4771 // RUN:   | FileCheck -match-full-lines -check-prefix MIPS-ARCH-32R5 %s
4772 //
4773 // MIPS-ARCH-32R5:#define _MIPS_ARCH "mips32r5"
4774 // MIPS-ARCH-32R5:#define _MIPS_ARCH_MIPS32R5 1
4775 // MIPS-ARCH-32R5:#define _MIPS_ISA _MIPS_ISA_MIPS32
4776 // MIPS-ARCH-32R5:#define __mips_isa_rev 5
4777 //
4778 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mips-none-none \
4779 // RUN:            -target-cpu mips32r6 < /dev/null \
4780 // RUN:   | FileCheck -match-full-lines -check-prefix MIPS-ARCH-32R6 %s
4781 //
4782 // MIPS-ARCH-32R6:#define _MIPS_ARCH "mips32r6"
4783 // MIPS-ARCH-32R6:#define _MIPS_ARCH_MIPS32R6 1
4784 // MIPS-ARCH-32R6:#define _MIPS_ISA _MIPS_ISA_MIPS32
4785 // MIPS-ARCH-32R6:#define __mips_isa_rev 6
4786 //
4787 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mips64-none-none \
4788 // RUN:            < /dev/null \
4789 // RUN:   | FileCheck -match-full-lines -check-prefix MIPS-ARCH-DEF64 %s
4790 //
4791 // MIPS-ARCH-DEF64:#define _MIPS_ARCH "mips64r2"
4792 // MIPS-ARCH-DEF64:#define _MIPS_ARCH_MIPS64R2 1
4793 // MIPS-ARCH-DEF64:#define _MIPS_ISA _MIPS_ISA_MIPS64
4794 // MIPS-ARCH-DEF64:#define __mips_isa_rev 2
4795 //
4796 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mips64-none-none \
4797 // RUN:            -target-cpu mips64 < /dev/null \
4798 // RUN:   | FileCheck -match-full-lines -check-prefix MIPS-ARCH-64 %s
4799 //
4800 // MIPS-ARCH-64:#define _MIPS_ARCH "mips64"
4801 // MIPS-ARCH-64:#define _MIPS_ARCH_MIPS64 1
4802 // MIPS-ARCH-64:#define _MIPS_ISA _MIPS_ISA_MIPS64
4803 // MIPS-ARCH-64:#define __mips_isa_rev 1
4804 //
4805 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mips64-none-none \
4806 // RUN:            -target-cpu mips64r2 < /dev/null \
4807 // RUN:   | FileCheck -match-full-lines -check-prefix MIPS-ARCH-64R2 %s
4808 //
4809 // MIPS-ARCH-64R2:#define _MIPS_ARCH "mips64r2"
4810 // MIPS-ARCH-64R2:#define _MIPS_ARCH_MIPS64R2 1
4811 // MIPS-ARCH-64R2:#define _MIPS_ISA _MIPS_ISA_MIPS64
4812 // MIPS-ARCH-64R2:#define __mips_isa_rev 2
4813 //
4814 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mips64-none-none \
4815 // RUN:            -target-cpu mips64r3 < /dev/null \
4816 // RUN:   | FileCheck -match-full-lines -check-prefix MIPS-ARCH-64R3 %s
4817 //
4818 // MIPS-ARCH-64R3:#define _MIPS_ARCH "mips64r3"
4819 // MIPS-ARCH-64R3:#define _MIPS_ARCH_MIPS64R3 1
4820 // MIPS-ARCH-64R3:#define _MIPS_ISA _MIPS_ISA_MIPS64
4821 // MIPS-ARCH-64R3:#define __mips_isa_rev 3
4822 //
4823 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mips64-none-none \
4824 // RUN:            -target-cpu mips64r5 < /dev/null \
4825 // RUN:   | FileCheck -match-full-lines -check-prefix MIPS-ARCH-64R5 %s
4826 //
4827 // MIPS-ARCH-64R5:#define _MIPS_ARCH "mips64r5"
4828 // MIPS-ARCH-64R5:#define _MIPS_ARCH_MIPS64R5 1
4829 // MIPS-ARCH-64R5:#define _MIPS_ISA _MIPS_ISA_MIPS64
4830 // MIPS-ARCH-64R5:#define __mips_isa_rev 5
4831 //
4832 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mips64-none-none \
4833 // RUN:            -target-cpu mips64r6 < /dev/null \
4834 // RUN:   | FileCheck -match-full-lines -check-prefix MIPS-ARCH-64R6 %s
4835 //
4836 // MIPS-ARCH-64R6:#define _MIPS_ARCH "mips64r6"
4837 // MIPS-ARCH-64R6:#define _MIPS_ARCH_MIPS64R6 1
4838 // MIPS-ARCH-64R6:#define _MIPS_ISA _MIPS_ISA_MIPS64
4839 // MIPS-ARCH-64R6:#define __mips_isa_rev 6
4840 //
4841 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mips64-none-none \
4842 // RUN:            -target-cpu octeon < /dev/null \
4843 // RUN:   | FileCheck -match-full-lines -check-prefix MIPS-ARCH-OCTEON %s
4844 //
4845 // MIPS-ARCH-OCTEON:#define _MIPS_ARCH "octeon"
4846 // MIPS-ARCH-OCTEON:#define _MIPS_ARCH_OCTEON 1
4847 // MIPS-ARCH-OCTEON:#define _MIPS_ISA _MIPS_ISA_MIPS64
4848 // MIPS-ARCH-OCTEON:#define __OCTEON__ 1
4849 // MIPS-ARCH-OCTEON:#define __mips_isa_rev 2
4850 //
4851 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mips64-none-none \
4852 // RUN:            -target-cpu octeon+ < /dev/null \
4853 // RUN:   | FileCheck -match-full-lines -check-prefix MIPS-ARCH-OCTEONP %s
4854 //
4855 // MIPS-ARCH-OCTEONP:#define _MIPS_ARCH "octeon+"
4856 // MIPS-ARCH-OCTEONP:#define _MIPS_ARCH_OCTEONP 1
4857 // MIPS-ARCH-OCTEONP:#define _MIPS_ISA _MIPS_ISA_MIPS64
4858 // MIPS-ARCH-OCTEONP:#define __OCTEON__ 1
4859 // MIPS-ARCH-OCTEONP:#define __mips_isa_rev 2
4860 //
4861 // Check MIPS float ABI macros
4862 //
4863 // RUN: %clang_cc1 -E -dM -ffreestanding \
4864 // RUN:   -triple=mips-none-none < /dev/null \
4865 // RUN:   | FileCheck -match-full-lines -check-prefix MIPS-FABI-HARD %s
4866 // MIPS-FABI-HARD:#define __mips_hard_float 1
4867 //
4868 // RUN: %clang_cc1 -target-feature +soft-float -E -dM -ffreestanding \
4869 // RUN:   -triple=mips-none-none < /dev/null \
4870 // RUN:   | FileCheck -match-full-lines -check-prefix MIPS-FABI-SOFT %s
4871 // MIPS-FABI-SOFT:#define __mips_soft_float 1
4872 //
4873 // RUN: %clang_cc1 -target-feature +single-float -E -dM -ffreestanding \
4874 // RUN:   -triple=mips-none-none < /dev/null \
4875 // RUN:   | FileCheck -match-full-lines -check-prefix MIPS-FABI-SINGLE %s
4876 // MIPS-FABI-SINGLE:#define __mips_hard_float 1
4877 // MIPS-FABI-SINGLE:#define __mips_single_float 1
4878 //
4879 // RUN: %clang_cc1 -target-feature +soft-float -target-feature +single-float \
4880 // RUN:   -E -dM -ffreestanding -triple=mips-none-none < /dev/null \
4881 // RUN:   | FileCheck -match-full-lines -check-prefix MIPS-FABI-SINGLE-SOFT %s
4882 // MIPS-FABI-SINGLE-SOFT:#define __mips_single_float 1
4883 // MIPS-FABI-SINGLE-SOFT:#define __mips_soft_float 1
4884 //
4885 // Check MIPS features macros
4886 //
4887 // RUN: %clang_cc1 -target-feature +mips16 \
4888 // RUN:   -E -dM -triple=mips-none-none < /dev/null \
4889 // RUN:   | FileCheck -match-full-lines -check-prefix MIPS16 %s
4890 // MIPS16:#define __mips16 1
4891 //
4892 // RUN: %clang_cc1 -target-feature -mips16 \
4893 // RUN:   -E -dM -triple=mips-none-none < /dev/null \
4894 // RUN:   | FileCheck -match-full-lines -check-prefix NOMIPS16 %s
4895 // NOMIPS16-NOT:#define __mips16 1
4896 //
4897 // RUN: %clang_cc1 -target-feature +micromips \
4898 // RUN:   -E -dM -triple=mips-none-none < /dev/null \
4899 // RUN:   | FileCheck -match-full-lines -check-prefix MICROMIPS %s
4900 // MICROMIPS:#define __mips_micromips 1
4901 //
4902 // RUN: %clang_cc1 -target-feature -micromips \
4903 // RUN:   -E -dM -triple=mips-none-none < /dev/null \
4904 // RUN:   | FileCheck -match-full-lines -check-prefix NOMICROMIPS %s
4905 // NOMICROMIPS-NOT:#define __mips_micromips 1
4906 //
4907 // RUN: %clang_cc1 -target-feature +dsp \
4908 // RUN:   -E -dM -triple=mips-none-none < /dev/null \
4909 // RUN:   | FileCheck -match-full-lines -check-prefix MIPS-DSP %s
4910 // MIPS-DSP:#define __mips_dsp 1
4911 // MIPS-DSP:#define __mips_dsp_rev 1
4912 // MIPS-DSP-NOT:#define __mips_dspr2 1
4913 //
4914 // RUN: %clang_cc1 -target-feature +dspr2 \
4915 // RUN:   -E -dM -triple=mips-none-none < /dev/null \
4916 // RUN:   | FileCheck -match-full-lines -check-prefix MIPS-DSPR2 %s
4917 // MIPS-DSPR2:#define __mips_dsp 1
4918 // MIPS-DSPR2:#define __mips_dsp_rev 2
4919 // MIPS-DSPR2:#define __mips_dspr2 1
4920 //
4921 // RUN: %clang_cc1 -target-feature +msa \
4922 // RUN:   -E -dM -triple=mips-none-none < /dev/null \
4923 // RUN:   | FileCheck -match-full-lines -check-prefix MIPS-MSA %s
4924 // MIPS-MSA:#define __mips_msa 1
4925 //
4926 // RUN: %clang_cc1 -target-feature +nomadd4 \
4927 // RUN:   -E -dM -triple=mips-none-none < /dev/null \
4928 // RUN:   | FileCheck -match-full-lines -check-prefix MIPS-NOMADD4 %s
4929 // MIPS-NOMADD4:#define __mips_no_madd4 1
4930 //
4931 // RUN: %clang_cc1 \
4932 // RUN:   -E -dM -triple=mips-none-none < /dev/null \
4933 // RUN:   | FileCheck -match-full-lines -check-prefix MIPS-MADD4 %s
4934 // MIPS-MADD4-NOT:#define __mips_no_madd4 1
4935 //
4936 // RUN: %clang_cc1 -target-cpu mips32r3 -target-feature +nan2008 \
4937 // RUN:   -E -dM -triple=mips-none-none < /dev/null \
4938 // RUN:   | FileCheck -match-full-lines -check-prefix MIPS-NAN2008 %s
4939 // MIPS-NAN2008:#define __mips_nan2008 1
4940 //
4941 // RUN: %clang_cc1 -target-cpu mips32r3 -target-feature -nan2008 \
4942 // RUN:   -E -dM -triple=mips-none-none < /dev/null \
4943 // RUN:   | FileCheck -match-full-lines -check-prefix NOMIPS-NAN2008 %s
4944 // NOMIPS-NAN2008-NOT:#define __mips_nan2008 1
4945 //
4946 // RUN: %clang_cc1 -target-cpu mips32r3 -target-feature +abs2008 \
4947 // RUN:   -E -dM -triple=mips-none-none < /dev/null \
4948 // RUN:   | FileCheck -match-full-lines -check-prefix MIPS-ABS2008 %s
4949 // MIPS-ABS2008:#define __mips_abs2008 1
4950 //
4951 // RUN: %clang_cc1 -target-cpu mips32r3 -target-feature -abs2008 \
4952 // RUN:   -E -dM -triple=mips-none-none < /dev/null \
4953 // RUN:   | FileCheck -match-full-lines -check-prefix NOMIPS-ABS2008 %s
4954 // NOMIPS-ABS2008-NOT:#define __mips_abs2008 1
4955 //
4956 // RUN: %clang_cc1  \
4957 // RUN:   -E -dM -triple=mips-none-none < /dev/null \
4958 // RUN:   | FileCheck -match-full-lines -check-prefix MIPS32-NOFP %s
4959 // MIPS32-NOFP:#define __mips_fpr 0
4960 //
4961 // RUN: %clang_cc1 -target-feature +fpxx \
4962 // RUN:   -E -dM -triple=mips-none-none < /dev/null \
4963 // RUN:   | FileCheck -match-full-lines -check-prefix MIPS32-MFPXX %s
4964 // MIPS32-MFPXX:#define __mips_fpr 0
4965 //
4966 // RUN: %clang_cc1 -target-cpu mips32r6 -target-feature +fpxx \
4967 // RUN:   -E -dM -triple=mips-none-none < /dev/null \
4968 // RUN:   | FileCheck -match-full-lines -check-prefix MIPS32R6-MFPXX %s
4969 // MIPS32R6-MFPXX:#define __mips_fpr 0
4970 //
4971 // RUN: %clang_cc1  \
4972 // RUN:   -E -dM -triple=mips64-none-none < /dev/null \
4973 // RUN:   | FileCheck -match-full-lines -check-prefix MIPS64-NOFP %s
4974 // MIPS64-NOFP:#define __mips_fpr 64
4975 //
4976 // RUN: not %clang_cc1 -target-feature -fp64 \
4977 // RUN:   -E -dM -triple=mips64-none-none < /dev/null 2>&1 \
4978 // RUN:   | FileCheck -match-full-lines -check-prefix MIPS64-MFP32 %s
4979 // MIPS64-MFP32:error: option '-mfpxx' cannot be specified with 'mips64r2'
4980 //
4981 // RUN: not %clang_cc1 -target-feature +fpxx \
4982 // RUN:   -E -dM -triple=mips64-none-none < /dev/null 2>&1 \
4983 // RUN:   | FileCheck -match-full-lines -check-prefix MIPS64-MFPXX %s
4984 // MIPS64-MFPXX:error: '-mfpxx' can only be used with the 'o32' ABI
4985 //
4986 // RUN: not %clang_cc1 -target-cpu mips64r6 -target-feature +fpxx \
4987 // RUN:   -E -dM -triple=mips64-none-none < /dev/null 2>&1 \
4988 // RUN:   | FileCheck -match-full-lines -check-prefix MIPS64R6-MFPXX %s
4989 // MIPS64R6-MFPXX:error: '-mfpxx' can only be used with the 'o32' ABI
4990 //
4991 // RUN: %clang_cc1 -target-feature -fp64 \
4992 // RUN:   -E -dM -triple=mips-none-none < /dev/null \
4993 // RUN:   | FileCheck -match-full-lines -check-prefix MIPS32-MFP32 %s
4994 // MIPS32-MFP32:#define _MIPS_FPSET 16
4995 // MIPS32-MFP32:#define __mips_fpr 32
4996 //
4997 // RUN: %clang_cc1 -target-feature +fp64 \
4998 // RUN:   -E -dM -triple=mips-none-none < /dev/null \
4999 // RUN:   | FileCheck -match-full-lines -check-prefix MIPS32-MFP64 %s
5000 // MIPS32-MFP64:#define _MIPS_FPSET 32
5001 // MIPS32-MFP64:#define __mips_fpr 64
5002 //
5003 // RUN: %clang_cc1 -target-feature +single-float \
5004 // RUN:   -E -dM -triple=mips-none-none < /dev/null \
5005 // RUN:   | FileCheck -match-full-lines -check-prefix MIPS32-MFP32SF %s
5006 // MIPS32-MFP32SF:#define _MIPS_FPSET 32
5007 // MIPS32-MFP32SF:#define __mips_fpr 0
5008 //
5009 // RUN: %clang_cc1 -target-feature +fp64 \
5010 // RUN:   -E -dM -triple=mips64-none-none < /dev/null \
5011 // RUN:   | FileCheck -match-full-lines -check-prefix MIPS64-MFP64 %s
5012 // MIPS64-MFP64:#define _MIPS_FPSET 32
5013 // MIPS64-MFP64:#define __mips_fpr 64
5014 //
5015 // RUN: %clang_cc1 -target-feature -fp64 -target-feature +single-float \
5016 // RUN:   -E -dM -triple=mips64-none-none < /dev/null \
5017 // RUN:   | FileCheck -match-full-lines -check-prefix MIPS64-NOMFP64 %s
5018 // MIPS64-NOMFP64:#define _MIPS_FPSET 32
5019 // MIPS64-NOMFP64:#define __mips_fpr 32
5020 //
5021 // RUN: %clang_cc1 -target-cpu mips32r6 \
5022 // RUN:   -E -dM -triple=mips-none-none < /dev/null \
5023 // RUN:   | FileCheck -match-full-lines -check-prefix MIPS-XXR6 %s
5024 // RUN: %clang_cc1 -target-cpu mips64r6 \
5025 // RUN:   -E -dM -triple=mips64-none-none < /dev/null \
5026 // RUN:   | FileCheck -match-full-lines -check-prefix MIPS-XXR6 %s
5027 // MIPS-XXR6:#define _MIPS_FPSET 32
5028 // MIPS-XXR6:#define __mips_fpr 64
5029 // MIPS-XXR6:#define __mips_nan2008 1
5030 //
5031 // RUN: %clang_cc1 -target-cpu mips32 \
5032 // RUN:   -E -dM -triple=mips-unknown-netbsd -mrelocation-model pic < /dev/null \
5033 // RUN:   | FileCheck -match-full-lines -check-prefix MIPS-ABICALLS-NETBSD %s
5034 // MIPS-ABICALLS-NETBSD-NOT: #define __ABICALLS__ 1
5035 // MIPS-ABICALLS-NETBSD: #define __mips_abicalls 1
5036 //
5037 // RUN: %clang_cc1 -target-cpu mips64 \
5038 // RUN:   -E -dM -triple=mips64-unknown-netbsd -mrelocation-model pic < \
5039 // RUN:   /dev/null | FileCheck -match-full-lines \
5040 // RUN:   -check-prefix MIPS-ABICALLS-NETBSD64 %s
5041 // MIPS-ABICALLS-NETBSD64-NOT: #define __ABICALLS__ 1
5042 // MIPS-ABICALLS-NETBSD64: #define __mips_abicalls 1
5043 //
5044 // RUN: %clang_cc1 -target-cpu mips32 \
5045 // RUN:   -E -dM -triple=mips-unknown-freebsd -mrelocation-model pic < /dev/null \
5046 // RUN:   | FileCheck -match-full-lines -check-prefix MIPS-ABICALLS-FREEBSD %s
5047 // MIPS-ABICALLS-FREEBSD: #define __ABICALLS__ 1
5048 // MIPS-ABICALLS-FREEBSD: #define __mips_abicalls 1
5049 //
5050 // RUN: %clang_cc1 -target-cpu mips64 \
5051 // RUN:   -E -dM -triple=mips64-unknown-freebsd -mrelocation-model pic < \
5052 // RUN:   /dev/null | FileCheck -match-full-lines \
5053 // RUN:   -check-prefix MIPS-ABICALLS-FREEBSD64 %s
5054 // MIPS-ABICALLS-FREEBSD64: #define __ABICALLS__ 1
5055 // MIPS-ABICALLS-FREEBSD64: #define __mips_abicalls 1
5056 //
5057 // RUN: %clang_cc1 -target-cpu mips32 \
5058 // RUN:   -E -dM -triple=mips-unknown-openbsd -mrelocation-model pic < /dev/null \
5059 // RUN:   | FileCheck -match-full-lines -check-prefix MIPS-ABICALLS-OPENBSD %s
5060 // MIPS-ABICALLS-OPENBSD: #define __ABICALLS__ 1
5061 // MIPS-ABICALLS-OPENBSD: #define __mips_abicalls 1
5062 //
5063 // RUN: %clang_cc1 -target-cpu mips64 \
5064 // RUN:   -E -dM -triple=mips64-unknown-openbsd -mrelocation-model pic < \
5065 // RUN:   /dev/null | FileCheck -match-full-lines \
5066 // RUN:   -check-prefix MIPS-ABICALLS-OPENBSD64 %s
5067 // MIPS-ABICALLS-OPENBSD64: #define __ABICALLS__ 1
5068 // MIPS-ABICALLS-OPENBSD64: #define __mips_abicalls 1
5069 //
5070 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=msp430-none-none < /dev/null | FileCheck -match-full-lines -check-prefix MSP430 %s
5071 // RUN: %clang_cc1 -x c++ -E -dM -ffreestanding -triple=msp430-none-none < /dev/null | FileCheck -match-full-lines -check-prefix MSP430 -check-prefix MSP430-CXX %s
5072 //
5073 // MSP430:#define MSP430 1
5074 // MSP430-NOT:#define _LP64
5075 // MSP430:#define __BIGGEST_ALIGNMENT__ 2
5076 // MSP430:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
5077 // MSP430:#define __CHAR16_TYPE__ unsigned short
5078 // MSP430:#define __CHAR32_TYPE__ unsigned int
5079 // MSP430:#define __CHAR_BIT__ 8
5080 // MSP430:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
5081 // MSP430:#define __DBL_DIG__ 15
5082 // MSP430:#define __DBL_EPSILON__ 2.2204460492503131e-16
5083 // MSP430:#define __DBL_HAS_DENORM__ 1
5084 // MSP430:#define __DBL_HAS_INFINITY__ 1
5085 // MSP430:#define __DBL_HAS_QUIET_NAN__ 1
5086 // MSP430:#define __DBL_MANT_DIG__ 53
5087 // MSP430:#define __DBL_MAX_10_EXP__ 308
5088 // MSP430:#define __DBL_MAX_EXP__ 1024
5089 // MSP430:#define __DBL_MAX__ 1.7976931348623157e+308
5090 // MSP430:#define __DBL_MIN_10_EXP__ (-307)
5091 // MSP430:#define __DBL_MIN_EXP__ (-1021)
5092 // MSP430:#define __DBL_MIN__ 2.2250738585072014e-308
5093 // MSP430:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
5094 // MSP430:#define __FLT_DENORM_MIN__ 1.40129846e-45F
5095 // MSP430:#define __FLT_DIG__ 6
5096 // MSP430:#define __FLT_EPSILON__ 1.19209290e-7F
5097 // MSP430:#define __FLT_EVAL_METHOD__ 0
5098 // MSP430:#define __FLT_HAS_DENORM__ 1
5099 // MSP430:#define __FLT_HAS_INFINITY__ 1
5100 // MSP430:#define __FLT_HAS_QUIET_NAN__ 1
5101 // MSP430:#define __FLT_MANT_DIG__ 24
5102 // MSP430:#define __FLT_MAX_10_EXP__ 38
5103 // MSP430:#define __FLT_MAX_EXP__ 128
5104 // MSP430:#define __FLT_MAX__ 3.40282347e+38F
5105 // MSP430:#define __FLT_MIN_10_EXP__ (-37)
5106 // MSP430:#define __FLT_MIN_EXP__ (-125)
5107 // MSP430:#define __FLT_MIN__ 1.17549435e-38F
5108 // MSP430:#define __FLT_RADIX__ 2
5109 // MSP430:#define __INT16_C_SUFFIX__
5110 // MSP430:#define __INT16_FMTd__ "hd"
5111 // MSP430:#define __INT16_FMTi__ "hi"
5112 // MSP430:#define __INT16_MAX__ 32767
5113 // MSP430:#define __INT16_TYPE__ short
5114 // MSP430:#define __INT32_C_SUFFIX__ L
5115 // MSP430:#define __INT32_FMTd__ "ld"
5116 // MSP430:#define __INT32_FMTi__ "li"
5117 // MSP430:#define __INT32_MAX__ 2147483647L
5118 // MSP430:#define __INT32_TYPE__ long int
5119 // MSP430:#define __INT64_C_SUFFIX__ LL
5120 // MSP430:#define __INT64_FMTd__ "lld"
5121 // MSP430:#define __INT64_FMTi__ "lli"
5122 // MSP430:#define __INT64_MAX__ 9223372036854775807LL
5123 // MSP430:#define __INT64_TYPE__ long long int
5124 // MSP430:#define __INT8_C_SUFFIX__
5125 // MSP430:#define __INT8_FMTd__ "hhd"
5126 // MSP430:#define __INT8_FMTi__ "hhi"
5127 // MSP430:#define __INT8_MAX__ 127
5128 // MSP430:#define __INT8_TYPE__ signed char
5129 // MSP430:#define __INTMAX_C_SUFFIX__ LL
5130 // MSP430:#define __INTMAX_FMTd__ "lld"
5131 // MSP430:#define __INTMAX_FMTi__ "lli"
5132 // MSP430:#define __INTMAX_MAX__ 9223372036854775807LL
5133 // MSP430:#define __INTMAX_TYPE__ long long int
5134 // MSP430:#define __INTMAX_WIDTH__ 64
5135 // MSP430:#define __INTPTR_FMTd__ "d"
5136 // MSP430:#define __INTPTR_FMTi__ "i"
5137 // MSP430:#define __INTPTR_MAX__ 32767
5138 // MSP430:#define __INTPTR_TYPE__ int
5139 // MSP430:#define __INTPTR_WIDTH__ 16
5140 // MSP430:#define __INT_FAST16_FMTd__ "hd"
5141 // MSP430:#define __INT_FAST16_FMTi__ "hi"
5142 // MSP430:#define __INT_FAST16_MAX__ 32767
5143 // MSP430:#define __INT_FAST16_TYPE__ short
5144 // MSP430:#define __INT_FAST32_FMTd__ "ld"
5145 // MSP430:#define __INT_FAST32_FMTi__ "li"
5146 // MSP430:#define __INT_FAST32_MAX__ 2147483647L
5147 // MSP430:#define __INT_FAST32_TYPE__ long int
5148 // MSP430:#define __INT_FAST64_FMTd__ "lld"
5149 // MSP430:#define __INT_FAST64_FMTi__ "lli"
5150 // MSP430:#define __INT_FAST64_MAX__ 9223372036854775807LL
5151 // MSP430:#define __INT_FAST64_TYPE__ long long int
5152 // MSP430:#define __INT_FAST8_FMTd__ "hhd"
5153 // MSP430:#define __INT_FAST8_FMTi__ "hhi"
5154 // MSP430:#define __INT_FAST8_MAX__ 127
5155 // MSP430:#define __INT_FAST8_TYPE__ signed char
5156 // MSP430:#define __INT_LEAST16_FMTd__ "hd"
5157 // MSP430:#define __INT_LEAST16_FMTi__ "hi"
5158 // MSP430:#define __INT_LEAST16_MAX__ 32767
5159 // MSP430:#define __INT_LEAST16_TYPE__ short
5160 // MSP430:#define __INT_LEAST32_FMTd__ "ld"
5161 // MSP430:#define __INT_LEAST32_FMTi__ "li"
5162 // MSP430:#define __INT_LEAST32_MAX__ 2147483647L
5163 // MSP430:#define __INT_LEAST32_TYPE__ long int
5164 // MSP430:#define __INT_LEAST64_FMTd__ "lld"
5165 // MSP430:#define __INT_LEAST64_FMTi__ "lli"
5166 // MSP430:#define __INT_LEAST64_MAX__ 9223372036854775807LL
5167 // MSP430:#define __INT_LEAST64_TYPE__ long long int
5168 // MSP430:#define __INT_LEAST8_FMTd__ "hhd"
5169 // MSP430:#define __INT_LEAST8_FMTi__ "hhi"
5170 // MSP430:#define __INT_LEAST8_MAX__ 127
5171 // MSP430:#define __INT_LEAST8_TYPE__ signed char
5172 // MSP430:#define __INT_MAX__ 32767
5173 // MSP430:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
5174 // MSP430:#define __LDBL_DIG__ 15
5175 // MSP430:#define __LDBL_EPSILON__ 2.2204460492503131e-16L
5176 // MSP430:#define __LDBL_HAS_DENORM__ 1
5177 // MSP430:#define __LDBL_HAS_INFINITY__ 1
5178 // MSP430:#define __LDBL_HAS_QUIET_NAN__ 1
5179 // MSP430:#define __LDBL_MANT_DIG__ 53
5180 // MSP430:#define __LDBL_MAX_10_EXP__ 308
5181 // MSP430:#define __LDBL_MAX_EXP__ 1024
5182 // MSP430:#define __LDBL_MAX__ 1.7976931348623157e+308L
5183 // MSP430:#define __LDBL_MIN_10_EXP__ (-307)
5184 // MSP430:#define __LDBL_MIN_EXP__ (-1021)
5185 // MSP430:#define __LDBL_MIN__ 2.2250738585072014e-308L
5186 // MSP430:#define __LITTLE_ENDIAN__ 1
5187 // MSP430:#define __LONG_LONG_MAX__ 9223372036854775807LL
5188 // MSP430:#define __LONG_MAX__ 2147483647L
5189 // MSP430-NOT:#define __LP64__
5190 // MSP430:#define __MSP430__ 1
5191 // MSP430:#define __POINTER_WIDTH__ 16
5192 // MSP430:#define __PTRDIFF_TYPE__ int
5193 // MSP430:#define __PTRDIFF_WIDTH__ 16
5194 // MSP430:#define __SCHAR_MAX__ 127
5195 // MSP430:#define __SHRT_MAX__ 32767
5196 // MSP430:#define __SIG_ATOMIC_MAX__ 2147483647L
5197 // MSP430:#define __SIG_ATOMIC_WIDTH__ 32
5198 // MSP430:#define __SIZEOF_DOUBLE__ 8
5199 // MSP430:#define __SIZEOF_FLOAT__ 4
5200 // MSP430:#define __SIZEOF_INT__ 2
5201 // MSP430:#define __SIZEOF_LONG_DOUBLE__ 8
5202 // MSP430:#define __SIZEOF_LONG_LONG__ 8
5203 // MSP430:#define __SIZEOF_LONG__ 4
5204 // MSP430:#define __SIZEOF_POINTER__ 2
5205 // MSP430:#define __SIZEOF_PTRDIFF_T__ 2
5206 // MSP430:#define __SIZEOF_SHORT__ 2
5207 // MSP430:#define __SIZEOF_SIZE_T__ 2
5208 // MSP430:#define __SIZEOF_WCHAR_T__ 2
5209 // MSP430:#define __SIZEOF_WINT_T__ 2
5210 // MSP430:#define __SIZE_MAX__ 65535U
5211 // MSP430:#define __SIZE_TYPE__ unsigned int
5212 // MSP430:#define __SIZE_WIDTH__ 16
5213 // MSP430-CXX:#define __STDCPP_DEFAULT_NEW_ALIGNMENT__ 2U
5214 // MSP430:#define __UINT16_C_SUFFIX__ U
5215 // MSP430:#define __UINT16_MAX__ 65535U
5216 // MSP430:#define __UINT16_TYPE__ unsigned short
5217 // MSP430:#define __UINT32_C_SUFFIX__ UL
5218 // MSP430:#define __UINT32_MAX__ 4294967295UL
5219 // MSP430:#define __UINT32_TYPE__ long unsigned int
5220 // MSP430:#define __UINT64_C_SUFFIX__ ULL
5221 // MSP430:#define __UINT64_MAX__ 18446744073709551615ULL
5222 // MSP430:#define __UINT64_TYPE__ long long unsigned int
5223 // MSP430:#define __UINT8_C_SUFFIX__
5224 // MSP430:#define __UINT8_MAX__ 255
5225 // MSP430:#define __UINT8_TYPE__ unsigned char
5226 // MSP430:#define __UINTMAX_C_SUFFIX__ ULL
5227 // MSP430:#define __UINTMAX_MAX__ 18446744073709551615ULL
5228 // MSP430:#define __UINTMAX_TYPE__ long long unsigned int
5229 // MSP430:#define __UINTMAX_WIDTH__ 64
5230 // MSP430:#define __UINTPTR_MAX__ 65535U
5231 // MSP430:#define __UINTPTR_TYPE__ unsigned int
5232 // MSP430:#define __UINTPTR_WIDTH__ 16
5233 // MSP430:#define __UINT_FAST16_MAX__ 65535U
5234 // MSP430:#define __UINT_FAST16_TYPE__ unsigned short
5235 // MSP430:#define __UINT_FAST32_MAX__ 4294967295UL
5236 // MSP430:#define __UINT_FAST32_TYPE__ long unsigned int
5237 // MSP430:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
5238 // MSP430:#define __UINT_FAST64_TYPE__ long long unsigned int
5239 // MSP430:#define __UINT_FAST8_MAX__ 255
5240 // MSP430:#define __UINT_FAST8_TYPE__ unsigned char
5241 // MSP430:#define __UINT_LEAST16_MAX__ 65535U
5242 // MSP430:#define __UINT_LEAST16_TYPE__ unsigned short
5243 // MSP430:#define __UINT_LEAST32_MAX__ 4294967295UL
5244 // MSP430:#define __UINT_LEAST32_TYPE__ long unsigned int
5245 // MSP430:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
5246 // MSP430:#define __UINT_LEAST64_TYPE__ long long unsigned int
5247 // MSP430:#define __UINT_LEAST8_MAX__ 255
5248 // MSP430:#define __UINT_LEAST8_TYPE__ unsigned char
5249 // MSP430:#define __USER_LABEL_PREFIX__
5250 // MSP430:#define __WCHAR_MAX__ 32767
5251 // MSP430:#define __WCHAR_TYPE__ int
5252 // MSP430:#define __WCHAR_WIDTH__ 16
5253 // MSP430:#define __WINT_TYPE__ int
5254 // MSP430:#define __WINT_WIDTH__ 16
5255 // MSP430:#define __clang__ 1
5256 //
5257 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=nvptx-none-none < /dev/null | FileCheck -match-full-lines -check-prefix NVPTX32 %s
5258 // RUN: %clang_cc1 -x c++ -E -dM -ffreestanding -triple=nvptx-none-none < /dev/null | FileCheck -match-full-lines -check-prefix NVPTX32 -check-prefix NVPTX32-CXX %s
5259 //
5260 // NVPTX32-NOT:#define _LP64
5261 // NVPTX32:#define __BIGGEST_ALIGNMENT__ 8
5262 // NVPTX32:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
5263 // NVPTX32:#define __CHAR16_TYPE__ unsigned short
5264 // NVPTX32:#define __CHAR32_TYPE__ unsigned int
5265 // NVPTX32:#define __CHAR_BIT__ 8
5266 // NVPTX32:#define __CONSTANT_CFSTRINGS__ 1
5267 // NVPTX32:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
5268 // NVPTX32:#define __DBL_DIG__ 15
5269 // NVPTX32:#define __DBL_EPSILON__ 2.2204460492503131e-16
5270 // NVPTX32:#define __DBL_HAS_DENORM__ 1
5271 // NVPTX32:#define __DBL_HAS_INFINITY__ 1
5272 // NVPTX32:#define __DBL_HAS_QUIET_NAN__ 1
5273 // NVPTX32:#define __DBL_MANT_DIG__ 53
5274 // NVPTX32:#define __DBL_MAX_10_EXP__ 308
5275 // NVPTX32:#define __DBL_MAX_EXP__ 1024
5276 // NVPTX32:#define __DBL_MAX__ 1.7976931348623157e+308
5277 // NVPTX32:#define __DBL_MIN_10_EXP__ (-307)
5278 // NVPTX32:#define __DBL_MIN_EXP__ (-1021)
5279 // NVPTX32:#define __DBL_MIN__ 2.2250738585072014e-308
5280 // NVPTX32:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
5281 // NVPTX32:#define __FINITE_MATH_ONLY__ 0
5282 // NVPTX32:#define __FLT_DENORM_MIN__ 1.40129846e-45F
5283 // NVPTX32:#define __FLT_DIG__ 6
5284 // NVPTX32:#define __FLT_EPSILON__ 1.19209290e-7F
5285 // NVPTX32:#define __FLT_EVAL_METHOD__ 0
5286 // NVPTX32:#define __FLT_HAS_DENORM__ 1
5287 // NVPTX32:#define __FLT_HAS_INFINITY__ 1
5288 // NVPTX32:#define __FLT_HAS_QUIET_NAN__ 1
5289 // NVPTX32:#define __FLT_MANT_DIG__ 24
5290 // NVPTX32:#define __FLT_MAX_10_EXP__ 38
5291 // NVPTX32:#define __FLT_MAX_EXP__ 128
5292 // NVPTX32:#define __FLT_MAX__ 3.40282347e+38F
5293 // NVPTX32:#define __FLT_MIN_10_EXP__ (-37)
5294 // NVPTX32:#define __FLT_MIN_EXP__ (-125)
5295 // NVPTX32:#define __FLT_MIN__ 1.17549435e-38F
5296 // NVPTX32:#define __FLT_RADIX__ 2
5297 // NVPTX32:#define __INT16_C_SUFFIX__
5298 // NVPTX32:#define __INT16_FMTd__ "hd"
5299 // NVPTX32:#define __INT16_FMTi__ "hi"
5300 // NVPTX32:#define __INT16_MAX__ 32767
5301 // NVPTX32:#define __INT16_TYPE__ short
5302 // NVPTX32:#define __INT32_C_SUFFIX__
5303 // NVPTX32:#define __INT32_FMTd__ "d"
5304 // NVPTX32:#define __INT32_FMTi__ "i"
5305 // NVPTX32:#define __INT32_MAX__ 2147483647
5306 // NVPTX32:#define __INT32_TYPE__ int
5307 // NVPTX32:#define __INT64_C_SUFFIX__ LL
5308 // NVPTX32:#define __INT64_FMTd__ "lld"
5309 // NVPTX32:#define __INT64_FMTi__ "lli"
5310 // NVPTX32:#define __INT64_MAX__ 9223372036854775807LL
5311 // NVPTX32:#define __INT64_TYPE__ long long int
5312 // NVPTX32:#define __INT8_C_SUFFIX__
5313 // NVPTX32:#define __INT8_FMTd__ "hhd"
5314 // NVPTX32:#define __INT8_FMTi__ "hhi"
5315 // NVPTX32:#define __INT8_MAX__ 127
5316 // NVPTX32:#define __INT8_TYPE__ signed char
5317 // NVPTX32:#define __INTMAX_C_SUFFIX__ LL
5318 // NVPTX32:#define __INTMAX_FMTd__ "lld"
5319 // NVPTX32:#define __INTMAX_FMTi__ "lli"
5320 // NVPTX32:#define __INTMAX_MAX__ 9223372036854775807LL
5321 // NVPTX32:#define __INTMAX_TYPE__ long long int
5322 // NVPTX32:#define __INTMAX_WIDTH__ 64
5323 // NVPTX32:#define __INTPTR_FMTd__ "d"
5324 // NVPTX32:#define __INTPTR_FMTi__ "i"
5325 // NVPTX32:#define __INTPTR_MAX__ 2147483647
5326 // NVPTX32:#define __INTPTR_TYPE__ int
5327 // NVPTX32:#define __INTPTR_WIDTH__ 32
5328 // NVPTX32:#define __INT_FAST16_FMTd__ "hd"
5329 // NVPTX32:#define __INT_FAST16_FMTi__ "hi"
5330 // NVPTX32:#define __INT_FAST16_MAX__ 32767
5331 // NVPTX32:#define __INT_FAST16_TYPE__ short
5332 // NVPTX32:#define __INT_FAST32_FMTd__ "d"
5333 // NVPTX32:#define __INT_FAST32_FMTi__ "i"
5334 // NVPTX32:#define __INT_FAST32_MAX__ 2147483647
5335 // NVPTX32:#define __INT_FAST32_TYPE__ int
5336 // NVPTX32:#define __INT_FAST64_FMTd__ "lld"
5337 // NVPTX32:#define __INT_FAST64_FMTi__ "lli"
5338 // NVPTX32:#define __INT_FAST64_MAX__ 9223372036854775807LL
5339 // NVPTX32:#define __INT_FAST64_TYPE__ long long int
5340 // NVPTX32:#define __INT_FAST8_FMTd__ "hhd"
5341 // NVPTX32:#define __INT_FAST8_FMTi__ "hhi"
5342 // NVPTX32:#define __INT_FAST8_MAX__ 127
5343 // NVPTX32:#define __INT_FAST8_TYPE__ signed char
5344 // NVPTX32:#define __INT_LEAST16_FMTd__ "hd"
5345 // NVPTX32:#define __INT_LEAST16_FMTi__ "hi"
5346 // NVPTX32:#define __INT_LEAST16_MAX__ 32767
5347 // NVPTX32:#define __INT_LEAST16_TYPE__ short
5348 // NVPTX32:#define __INT_LEAST32_FMTd__ "d"
5349 // NVPTX32:#define __INT_LEAST32_FMTi__ "i"
5350 // NVPTX32:#define __INT_LEAST32_MAX__ 2147483647
5351 // NVPTX32:#define __INT_LEAST32_TYPE__ int
5352 // NVPTX32:#define __INT_LEAST64_FMTd__ "lld"
5353 // NVPTX32:#define __INT_LEAST64_FMTi__ "lli"
5354 // NVPTX32:#define __INT_LEAST64_MAX__ 9223372036854775807LL
5355 // NVPTX32:#define __INT_LEAST64_TYPE__ long long int
5356 // NVPTX32:#define __INT_LEAST8_FMTd__ "hhd"
5357 // NVPTX32:#define __INT_LEAST8_FMTi__ "hhi"
5358 // NVPTX32:#define __INT_LEAST8_MAX__ 127
5359 // NVPTX32:#define __INT_LEAST8_TYPE__ signed char
5360 // NVPTX32:#define __INT_MAX__ 2147483647
5361 // NVPTX32:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
5362 // NVPTX32:#define __LDBL_DIG__ 15
5363 // NVPTX32:#define __LDBL_EPSILON__ 2.2204460492503131e-16L
5364 // NVPTX32:#define __LDBL_HAS_DENORM__ 1
5365 // NVPTX32:#define __LDBL_HAS_INFINITY__ 1
5366 // NVPTX32:#define __LDBL_HAS_QUIET_NAN__ 1
5367 // NVPTX32:#define __LDBL_MANT_DIG__ 53
5368 // NVPTX32:#define __LDBL_MAX_10_EXP__ 308
5369 // NVPTX32:#define __LDBL_MAX_EXP__ 1024
5370 // NVPTX32:#define __LDBL_MAX__ 1.7976931348623157e+308L
5371 // NVPTX32:#define __LDBL_MIN_10_EXP__ (-307)
5372 // NVPTX32:#define __LDBL_MIN_EXP__ (-1021)
5373 // NVPTX32:#define __LDBL_MIN__ 2.2250738585072014e-308L
5374 // NVPTX32:#define __LITTLE_ENDIAN__ 1
5375 // NVPTX32:#define __LONG_LONG_MAX__ 9223372036854775807LL
5376 // NVPTX32:#define __LONG_MAX__ 2147483647L
5377 // NVPTX32-NOT:#define __LP64__
5378 // NVPTX32:#define __NVPTX__ 1
5379 // NVPTX32:#define __POINTER_WIDTH__ 32
5380 // NVPTX32:#define __PRAGMA_REDEFINE_EXTNAME 1
5381 // NVPTX32:#define __PTRDIFF_TYPE__ int
5382 // NVPTX32:#define __PTRDIFF_WIDTH__ 32
5383 // NVPTX32:#define __PTX__ 1
5384 // NVPTX32:#define __SCHAR_MAX__ 127
5385 // NVPTX32:#define __SHRT_MAX__ 32767
5386 // NVPTX32:#define __SIG_ATOMIC_MAX__ 2147483647
5387 // NVPTX32:#define __SIG_ATOMIC_WIDTH__ 32
5388 // NVPTX32:#define __SIZEOF_DOUBLE__ 8
5389 // NVPTX32:#define __SIZEOF_FLOAT__ 4
5390 // NVPTX32:#define __SIZEOF_INT__ 4
5391 // NVPTX32:#define __SIZEOF_LONG_DOUBLE__ 8
5392 // NVPTX32:#define __SIZEOF_LONG_LONG__ 8
5393 // NVPTX32:#define __SIZEOF_LONG__ 4
5394 // NVPTX32:#define __SIZEOF_POINTER__ 4
5395 // NVPTX32:#define __SIZEOF_PTRDIFF_T__ 4
5396 // NVPTX32:#define __SIZEOF_SHORT__ 2
5397 // NVPTX32:#define __SIZEOF_SIZE_T__ 4
5398 // NVPTX32:#define __SIZEOF_WCHAR_T__ 4
5399 // NVPTX32:#define __SIZEOF_WINT_T__ 4
5400 // NVPTX32:#define __SIZE_MAX__ 4294967295U
5401 // NVPTX32:#define __SIZE_TYPE__ unsigned int
5402 // NVPTX32:#define __SIZE_WIDTH__ 32
5403 // NVPTX32-CXX:#define __STDCPP_DEFAULT_NEW_ALIGNMENT__ 8U
5404 // NVPTX32:#define __UINT16_C_SUFFIX__
5405 // NVPTX32:#define __UINT16_MAX__ 65535
5406 // NVPTX32:#define __UINT16_TYPE__ unsigned short
5407 // NVPTX32:#define __UINT32_C_SUFFIX__ U
5408 // NVPTX32:#define __UINT32_MAX__ 4294967295U
5409 // NVPTX32:#define __UINT32_TYPE__ unsigned int
5410 // NVPTX32:#define __UINT64_C_SUFFIX__ ULL
5411 // NVPTX32:#define __UINT64_MAX__ 18446744073709551615ULL
5412 // NVPTX32:#define __UINT64_TYPE__ long long unsigned int
5413 // NVPTX32:#define __UINT8_C_SUFFIX__
5414 // NVPTX32:#define __UINT8_MAX__ 255
5415 // NVPTX32:#define __UINT8_TYPE__ unsigned char
5416 // NVPTX32:#define __UINTMAX_C_SUFFIX__ ULL
5417 // NVPTX32:#define __UINTMAX_MAX__ 18446744073709551615ULL
5418 // NVPTX32:#define __UINTMAX_TYPE__ long long unsigned int
5419 // NVPTX32:#define __UINTMAX_WIDTH__ 64
5420 // NVPTX32:#define __UINTPTR_MAX__ 4294967295U
5421 // NVPTX32:#define __UINTPTR_TYPE__ unsigned int
5422 // NVPTX32:#define __UINTPTR_WIDTH__ 32
5423 // NVPTX32:#define __UINT_FAST16_MAX__ 65535
5424 // NVPTX32:#define __UINT_FAST16_TYPE__ unsigned short
5425 // NVPTX32:#define __UINT_FAST32_MAX__ 4294967295U
5426 // NVPTX32:#define __UINT_FAST32_TYPE__ unsigned int
5427 // NVPTX32:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
5428 // NVPTX32:#define __UINT_FAST64_TYPE__ long long unsigned int
5429 // NVPTX32:#define __UINT_FAST8_MAX__ 255
5430 // NVPTX32:#define __UINT_FAST8_TYPE__ unsigned char
5431 // NVPTX32:#define __UINT_LEAST16_MAX__ 65535
5432 // NVPTX32:#define __UINT_LEAST16_TYPE__ unsigned short
5433 // NVPTX32:#define __UINT_LEAST32_MAX__ 4294967295U
5434 // NVPTX32:#define __UINT_LEAST32_TYPE__ unsigned int
5435 // NVPTX32:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
5436 // NVPTX32:#define __UINT_LEAST64_TYPE__ long long unsigned int
5437 // NVPTX32:#define __UINT_LEAST8_MAX__ 255
5438 // NVPTX32:#define __UINT_LEAST8_TYPE__ unsigned char
5439 // NVPTX32:#define __USER_LABEL_PREFIX__
5440 // NVPTX32:#define __WCHAR_MAX__ 2147483647
5441 // NVPTX32:#define __WCHAR_TYPE__ int
5442 // NVPTX32:#define __WCHAR_WIDTH__ 32
5443 // NVPTX32:#define __WINT_TYPE__ int
5444 // NVPTX32:#define __WINT_WIDTH__ 32
5445 //
5446 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=nvptx64-none-none < /dev/null | FileCheck -match-full-lines -check-prefix NVPTX64 %s
5447 // RUN: %clang_cc1 -x c++ -E -dM -ffreestanding -triple=nvptx64-none-none < /dev/null | FileCheck -match-full-lines -check-prefix NVPTX64 -check-prefix NVPTX64-CXX %s
5448 //
5449 // NVPTX64:#define _LP64 1
5450 // NVPTX64:#define __BIGGEST_ALIGNMENT__ 8
5451 // NVPTX64:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
5452 // NVPTX64:#define __CHAR16_TYPE__ unsigned short
5453 // NVPTX64:#define __CHAR32_TYPE__ unsigned int
5454 // NVPTX64:#define __CHAR_BIT__ 8
5455 // NVPTX64:#define __CONSTANT_CFSTRINGS__ 1
5456 // NVPTX64:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
5457 // NVPTX64:#define __DBL_DIG__ 15
5458 // NVPTX64:#define __DBL_EPSILON__ 2.2204460492503131e-16
5459 // NVPTX64:#define __DBL_HAS_DENORM__ 1
5460 // NVPTX64:#define __DBL_HAS_INFINITY__ 1
5461 // NVPTX64:#define __DBL_HAS_QUIET_NAN__ 1
5462 // NVPTX64:#define __DBL_MANT_DIG__ 53
5463 // NVPTX64:#define __DBL_MAX_10_EXP__ 308
5464 // NVPTX64:#define __DBL_MAX_EXP__ 1024
5465 // NVPTX64:#define __DBL_MAX__ 1.7976931348623157e+308
5466 // NVPTX64:#define __DBL_MIN_10_EXP__ (-307)
5467 // NVPTX64:#define __DBL_MIN_EXP__ (-1021)
5468 // NVPTX64:#define __DBL_MIN__ 2.2250738585072014e-308
5469 // NVPTX64:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
5470 // NVPTX64:#define __FINITE_MATH_ONLY__ 0
5471 // NVPTX64:#define __FLT_DENORM_MIN__ 1.40129846e-45F
5472 // NVPTX64:#define __FLT_DIG__ 6
5473 // NVPTX64:#define __FLT_EPSILON__ 1.19209290e-7F
5474 // NVPTX64:#define __FLT_EVAL_METHOD__ 0
5475 // NVPTX64:#define __FLT_HAS_DENORM__ 1
5476 // NVPTX64:#define __FLT_HAS_INFINITY__ 1
5477 // NVPTX64:#define __FLT_HAS_QUIET_NAN__ 1
5478 // NVPTX64:#define __FLT_MANT_DIG__ 24
5479 // NVPTX64:#define __FLT_MAX_10_EXP__ 38
5480 // NVPTX64:#define __FLT_MAX_EXP__ 128
5481 // NVPTX64:#define __FLT_MAX__ 3.40282347e+38F
5482 // NVPTX64:#define __FLT_MIN_10_EXP__ (-37)
5483 // NVPTX64:#define __FLT_MIN_EXP__ (-125)
5484 // NVPTX64:#define __FLT_MIN__ 1.17549435e-38F
5485 // NVPTX64:#define __FLT_RADIX__ 2
5486 // NVPTX64:#define __INT16_C_SUFFIX__
5487 // NVPTX64:#define __INT16_FMTd__ "hd"
5488 // NVPTX64:#define __INT16_FMTi__ "hi"
5489 // NVPTX64:#define __INT16_MAX__ 32767
5490 // NVPTX64:#define __INT16_TYPE__ short
5491 // NVPTX64:#define __INT32_C_SUFFIX__
5492 // NVPTX64:#define __INT32_FMTd__ "d"
5493 // NVPTX64:#define __INT32_FMTi__ "i"
5494 // NVPTX64:#define __INT32_MAX__ 2147483647
5495 // NVPTX64:#define __INT32_TYPE__ int
5496 // NVPTX64:#define __INT64_C_SUFFIX__ LL
5497 // NVPTX64:#define __INT64_FMTd__ "lld"
5498 // NVPTX64:#define __INT64_FMTi__ "lli"
5499 // NVPTX64:#define __INT64_MAX__ 9223372036854775807LL
5500 // NVPTX64:#define __INT64_TYPE__ long long int
5501 // NVPTX64:#define __INT8_C_SUFFIX__
5502 // NVPTX64:#define __INT8_FMTd__ "hhd"
5503 // NVPTX64:#define __INT8_FMTi__ "hhi"
5504 // NVPTX64:#define __INT8_MAX__ 127
5505 // NVPTX64:#define __INT8_TYPE__ signed char
5506 // NVPTX64:#define __INTMAX_C_SUFFIX__ LL
5507 // NVPTX64:#define __INTMAX_FMTd__ "lld"
5508 // NVPTX64:#define __INTMAX_FMTi__ "lli"
5509 // NVPTX64:#define __INTMAX_MAX__ 9223372036854775807LL
5510 // NVPTX64:#define __INTMAX_TYPE__ long long int
5511 // NVPTX64:#define __INTMAX_WIDTH__ 64
5512 // NVPTX64:#define __INTPTR_FMTd__ "ld"
5513 // NVPTX64:#define __INTPTR_FMTi__ "li"
5514 // NVPTX64:#define __INTPTR_MAX__ 9223372036854775807L
5515 // NVPTX64:#define __INTPTR_TYPE__ long int
5516 // NVPTX64:#define __INTPTR_WIDTH__ 64
5517 // NVPTX64:#define __INT_FAST16_FMTd__ "hd"
5518 // NVPTX64:#define __INT_FAST16_FMTi__ "hi"
5519 // NVPTX64:#define __INT_FAST16_MAX__ 32767
5520 // NVPTX64:#define __INT_FAST16_TYPE__ short
5521 // NVPTX64:#define __INT_FAST32_FMTd__ "d"
5522 // NVPTX64:#define __INT_FAST32_FMTi__ "i"
5523 // NVPTX64:#define __INT_FAST32_MAX__ 2147483647
5524 // NVPTX64:#define __INT_FAST32_TYPE__ int
5525 // NVPTX64:#define __INT_FAST64_FMTd__ "ld"
5526 // NVPTX64:#define __INT_FAST64_FMTi__ "li"
5527 // NVPTX64:#define __INT_FAST64_MAX__ 9223372036854775807L
5528 // NVPTX64:#define __INT_FAST64_TYPE__ long int
5529 // NVPTX64:#define __INT_FAST8_FMTd__ "hhd"
5530 // NVPTX64:#define __INT_FAST8_FMTi__ "hhi"
5531 // NVPTX64:#define __INT_FAST8_MAX__ 127
5532 // NVPTX64:#define __INT_FAST8_TYPE__ signed char
5533 // NVPTX64:#define __INT_LEAST16_FMTd__ "hd"
5534 // NVPTX64:#define __INT_LEAST16_FMTi__ "hi"
5535 // NVPTX64:#define __INT_LEAST16_MAX__ 32767
5536 // NVPTX64:#define __INT_LEAST16_TYPE__ short
5537 // NVPTX64:#define __INT_LEAST32_FMTd__ "d"
5538 // NVPTX64:#define __INT_LEAST32_FMTi__ "i"
5539 // NVPTX64:#define __INT_LEAST32_MAX__ 2147483647
5540 // NVPTX64:#define __INT_LEAST32_TYPE__ int
5541 // NVPTX64:#define __INT_LEAST64_FMTd__ "ld"
5542 // NVPTX64:#define __INT_LEAST64_FMTi__ "li"
5543 // NVPTX64:#define __INT_LEAST64_MAX__ 9223372036854775807L
5544 // NVPTX64:#define __INT_LEAST64_TYPE__ long int
5545 // NVPTX64:#define __INT_LEAST8_FMTd__ "hhd"
5546 // NVPTX64:#define __INT_LEAST8_FMTi__ "hhi"
5547 // NVPTX64:#define __INT_LEAST8_MAX__ 127
5548 // NVPTX64:#define __INT_LEAST8_TYPE__ signed char
5549 // NVPTX64:#define __INT_MAX__ 2147483647
5550 // NVPTX64:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
5551 // NVPTX64:#define __LDBL_DIG__ 15
5552 // NVPTX64:#define __LDBL_EPSILON__ 2.2204460492503131e-16L
5553 // NVPTX64:#define __LDBL_HAS_DENORM__ 1
5554 // NVPTX64:#define __LDBL_HAS_INFINITY__ 1
5555 // NVPTX64:#define __LDBL_HAS_QUIET_NAN__ 1
5556 // NVPTX64:#define __LDBL_MANT_DIG__ 53
5557 // NVPTX64:#define __LDBL_MAX_10_EXP__ 308
5558 // NVPTX64:#define __LDBL_MAX_EXP__ 1024
5559 // NVPTX64:#define __LDBL_MAX__ 1.7976931348623157e+308L
5560 // NVPTX64:#define __LDBL_MIN_10_EXP__ (-307)
5561 // NVPTX64:#define __LDBL_MIN_EXP__ (-1021)
5562 // NVPTX64:#define __LDBL_MIN__ 2.2250738585072014e-308L
5563 // NVPTX64:#define __LITTLE_ENDIAN__ 1
5564 // NVPTX64:#define __LONG_LONG_MAX__ 9223372036854775807LL
5565 // NVPTX64:#define __LONG_MAX__ 9223372036854775807L
5566 // NVPTX64:#define __LP64__ 1
5567 // NVPTX64:#define __NVPTX__ 1
5568 // NVPTX64:#define __POINTER_WIDTH__ 64
5569 // NVPTX64:#define __PRAGMA_REDEFINE_EXTNAME 1
5570 // NVPTX64:#define __PTRDIFF_TYPE__ long int
5571 // NVPTX64:#define __PTRDIFF_WIDTH__ 64
5572 // NVPTX64:#define __PTX__ 1
5573 // NVPTX64:#define __SCHAR_MAX__ 127
5574 // NVPTX64:#define __SHRT_MAX__ 32767
5575 // NVPTX64:#define __SIG_ATOMIC_MAX__ 2147483647
5576 // NVPTX64:#define __SIG_ATOMIC_WIDTH__ 32
5577 // NVPTX64:#define __SIZEOF_DOUBLE__ 8
5578 // NVPTX64:#define __SIZEOF_FLOAT__ 4
5579 // NVPTX64:#define __SIZEOF_INT__ 4
5580 // NVPTX64:#define __SIZEOF_LONG_DOUBLE__ 8
5581 // NVPTX64:#define __SIZEOF_LONG_LONG__ 8
5582 // NVPTX64:#define __SIZEOF_LONG__ 8
5583 // NVPTX64:#define __SIZEOF_POINTER__ 8
5584 // NVPTX64:#define __SIZEOF_PTRDIFF_T__ 8
5585 // NVPTX64:#define __SIZEOF_SHORT__ 2
5586 // NVPTX64:#define __SIZEOF_SIZE_T__ 8
5587 // NVPTX64:#define __SIZEOF_WCHAR_T__ 4
5588 // NVPTX64:#define __SIZEOF_WINT_T__ 4
5589 // NVPTX64:#define __SIZE_MAX__ 18446744073709551615UL
5590 // NVPTX64:#define __SIZE_TYPE__ long unsigned int
5591 // NVPTX64:#define __SIZE_WIDTH__ 64
5592 // NVPTX64-CXX:#define __STDCPP_DEFAULT_NEW_ALIGNMENT__ 8UL
5593 // NVPTX64:#define __UINT16_C_SUFFIX__
5594 // NVPTX64:#define __UINT16_MAX__ 65535
5595 // NVPTX64:#define __UINT16_TYPE__ unsigned short
5596 // NVPTX64:#define __UINT32_C_SUFFIX__ U
5597 // NVPTX64:#define __UINT32_MAX__ 4294967295U
5598 // NVPTX64:#define __UINT32_TYPE__ unsigned int
5599 // NVPTX64:#define __UINT64_C_SUFFIX__ ULL
5600 // NVPTX64:#define __UINT64_MAX__ 18446744073709551615ULL
5601 // NVPTX64:#define __UINT64_TYPE__ long long unsigned int
5602 // NVPTX64:#define __UINT8_C_SUFFIX__
5603 // NVPTX64:#define __UINT8_MAX__ 255
5604 // NVPTX64:#define __UINT8_TYPE__ unsigned char
5605 // NVPTX64:#define __UINTMAX_C_SUFFIX__ ULL
5606 // NVPTX64:#define __UINTMAX_MAX__ 18446744073709551615ULL
5607 // NVPTX64:#define __UINTMAX_TYPE__ long long unsigned int
5608 // NVPTX64:#define __UINTMAX_WIDTH__ 64
5609 // NVPTX64:#define __UINTPTR_MAX__ 18446744073709551615UL
5610 // NVPTX64:#define __UINTPTR_TYPE__ long unsigned int
5611 // NVPTX64:#define __UINTPTR_WIDTH__ 64
5612 // NVPTX64:#define __UINT_FAST16_MAX__ 65535
5613 // NVPTX64:#define __UINT_FAST16_TYPE__ unsigned short
5614 // NVPTX64:#define __UINT_FAST32_MAX__ 4294967295U
5615 // NVPTX64:#define __UINT_FAST32_TYPE__ unsigned int
5616 // NVPTX64:#define __UINT_FAST64_MAX__ 18446744073709551615UL
5617 // NVPTX64:#define __UINT_FAST64_TYPE__ long unsigned int
5618 // NVPTX64:#define __UINT_FAST8_MAX__ 255
5619 // NVPTX64:#define __UINT_FAST8_TYPE__ unsigned char
5620 // NVPTX64:#define __UINT_LEAST16_MAX__ 65535
5621 // NVPTX64:#define __UINT_LEAST16_TYPE__ unsigned short
5622 // NVPTX64:#define __UINT_LEAST32_MAX__ 4294967295U
5623 // NVPTX64:#define __UINT_LEAST32_TYPE__ unsigned int
5624 // NVPTX64:#define __UINT_LEAST64_MAX__ 18446744073709551615UL
5625 // NVPTX64:#define __UINT_LEAST64_TYPE__ long unsigned int
5626 // NVPTX64:#define __UINT_LEAST8_MAX__ 255
5627 // NVPTX64:#define __UINT_LEAST8_TYPE__ unsigned char
5628 // NVPTX64:#define __USER_LABEL_PREFIX__
5629 // NVPTX64:#define __WCHAR_MAX__ 2147483647
5630 // NVPTX64:#define __WCHAR_TYPE__ int
5631 // NVPTX64:#define __WCHAR_WIDTH__ 32
5632 // NVPTX64:#define __WINT_TYPE__ int
5633 // NVPTX64:#define __WINT_WIDTH__ 32
5634 //
5635 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc-none-none -target-cpu 603e < /dev/null | FileCheck -match-full-lines -check-prefix PPC603E %s
5636 // RUN: %clang_cc1 -x c++ -E -dM -ffreestanding -triple=powerpc-none-none -target-cpu 603e < /dev/null | FileCheck -match-full-lines -check-prefix PPC603E-CXX %s
5637 //
5638 // PPC603E:#define _ARCH_603 1
5639 // PPC603E:#define _ARCH_603E 1
5640 // PPC603E:#define _ARCH_PPC 1
5641 // PPC603E:#define _ARCH_PPCGR 1
5642 // PPC603E:#define _BIG_ENDIAN 1
5643 // PPC603E-NOT:#define _LP64
5644 // PPC603E:#define __BIGGEST_ALIGNMENT__ 16
5645 // PPC603E:#define __BIG_ENDIAN__ 1
5646 // PPC603E:#define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__
5647 // PPC603E:#define __CHAR16_TYPE__ unsigned short
5648 // PPC603E:#define __CHAR32_TYPE__ unsigned int
5649 // PPC603E:#define __CHAR_BIT__ 8
5650 // PPC603E:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
5651 // PPC603E:#define __DBL_DIG__ 15
5652 // PPC603E:#define __DBL_EPSILON__ 2.2204460492503131e-16
5653 // PPC603E:#define __DBL_HAS_DENORM__ 1
5654 // PPC603E:#define __DBL_HAS_INFINITY__ 1
5655 // PPC603E:#define __DBL_HAS_QUIET_NAN__ 1
5656 // PPC603E:#define __DBL_MANT_DIG__ 53
5657 // PPC603E:#define __DBL_MAX_10_EXP__ 308
5658 // PPC603E:#define __DBL_MAX_EXP__ 1024
5659 // PPC603E:#define __DBL_MAX__ 1.7976931348623157e+308
5660 // PPC603E:#define __DBL_MIN_10_EXP__ (-307)
5661 // PPC603E:#define __DBL_MIN_EXP__ (-1021)
5662 // PPC603E:#define __DBL_MIN__ 2.2250738585072014e-308
5663 // PPC603E:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
5664 // PPC603E:#define __FLT_DENORM_MIN__ 1.40129846e-45F
5665 // PPC603E:#define __FLT_DIG__ 6
5666 // PPC603E:#define __FLT_EPSILON__ 1.19209290e-7F
5667 // PPC603E:#define __FLT_EVAL_METHOD__ 0
5668 // PPC603E:#define __FLT_HAS_DENORM__ 1
5669 // PPC603E:#define __FLT_HAS_INFINITY__ 1
5670 // PPC603E:#define __FLT_HAS_QUIET_NAN__ 1
5671 // PPC603E:#define __FLT_MANT_DIG__ 24
5672 // PPC603E:#define __FLT_MAX_10_EXP__ 38
5673 // PPC603E:#define __FLT_MAX_EXP__ 128
5674 // PPC603E:#define __FLT_MAX__ 3.40282347e+38F
5675 // PPC603E:#define __FLT_MIN_10_EXP__ (-37)
5676 // PPC603E:#define __FLT_MIN_EXP__ (-125)
5677 // PPC603E:#define __FLT_MIN__ 1.17549435e-38F
5678 // PPC603E:#define __FLT_RADIX__ 2
5679 // PPC603E:#define __INT16_C_SUFFIX__
5680 // PPC603E:#define __INT16_FMTd__ "hd"
5681 // PPC603E:#define __INT16_FMTi__ "hi"
5682 // PPC603E:#define __INT16_MAX__ 32767
5683 // PPC603E:#define __INT16_TYPE__ short
5684 // PPC603E:#define __INT32_C_SUFFIX__
5685 // PPC603E:#define __INT32_FMTd__ "d"
5686 // PPC603E:#define __INT32_FMTi__ "i"
5687 // PPC603E:#define __INT32_MAX__ 2147483647
5688 // PPC603E:#define __INT32_TYPE__ int
5689 // PPC603E:#define __INT64_C_SUFFIX__ LL
5690 // PPC603E:#define __INT64_FMTd__ "lld"
5691 // PPC603E:#define __INT64_FMTi__ "lli"
5692 // PPC603E:#define __INT64_MAX__ 9223372036854775807LL
5693 // PPC603E:#define __INT64_TYPE__ long long int
5694 // PPC603E:#define __INT8_C_SUFFIX__
5695 // PPC603E:#define __INT8_FMTd__ "hhd"
5696 // PPC603E:#define __INT8_FMTi__ "hhi"
5697 // PPC603E:#define __INT8_MAX__ 127
5698 // PPC603E:#define __INT8_TYPE__ signed char
5699 // PPC603E:#define __INTMAX_C_SUFFIX__ LL
5700 // PPC603E:#define __INTMAX_FMTd__ "lld"
5701 // PPC603E:#define __INTMAX_FMTi__ "lli"
5702 // PPC603E:#define __INTMAX_MAX__ 9223372036854775807LL
5703 // PPC603E:#define __INTMAX_TYPE__ long long int
5704 // PPC603E:#define __INTMAX_WIDTH__ 64
5705 // PPC603E:#define __INTPTR_FMTd__ "ld"
5706 // PPC603E:#define __INTPTR_FMTi__ "li"
5707 // PPC603E:#define __INTPTR_MAX__ 2147483647L
5708 // PPC603E:#define __INTPTR_TYPE__ long int
5709 // PPC603E:#define __INTPTR_WIDTH__ 32
5710 // PPC603E:#define __INT_FAST16_FMTd__ "hd"
5711 // PPC603E:#define __INT_FAST16_FMTi__ "hi"
5712 // PPC603E:#define __INT_FAST16_MAX__ 32767
5713 // PPC603E:#define __INT_FAST16_TYPE__ short
5714 // PPC603E:#define __INT_FAST32_FMTd__ "d"
5715 // PPC603E:#define __INT_FAST32_FMTi__ "i"
5716 // PPC603E:#define __INT_FAST32_MAX__ 2147483647
5717 // PPC603E:#define __INT_FAST32_TYPE__ int
5718 // PPC603E:#define __INT_FAST64_FMTd__ "lld"
5719 // PPC603E:#define __INT_FAST64_FMTi__ "lli"
5720 // PPC603E:#define __INT_FAST64_MAX__ 9223372036854775807LL
5721 // PPC603E:#define __INT_FAST64_TYPE__ long long int
5722 // PPC603E:#define __INT_FAST8_FMTd__ "hhd"
5723 // PPC603E:#define __INT_FAST8_FMTi__ "hhi"
5724 // PPC603E:#define __INT_FAST8_MAX__ 127
5725 // PPC603E:#define __INT_FAST8_TYPE__ signed char
5726 // PPC603E:#define __INT_LEAST16_FMTd__ "hd"
5727 // PPC603E:#define __INT_LEAST16_FMTi__ "hi"
5728 // PPC603E:#define __INT_LEAST16_MAX__ 32767
5729 // PPC603E:#define __INT_LEAST16_TYPE__ short
5730 // PPC603E:#define __INT_LEAST32_FMTd__ "d"
5731 // PPC603E:#define __INT_LEAST32_FMTi__ "i"
5732 // PPC603E:#define __INT_LEAST32_MAX__ 2147483647
5733 // PPC603E:#define __INT_LEAST32_TYPE__ int
5734 // PPC603E:#define __INT_LEAST64_FMTd__ "lld"
5735 // PPC603E:#define __INT_LEAST64_FMTi__ "lli"
5736 // PPC603E:#define __INT_LEAST64_MAX__ 9223372036854775807LL
5737 // PPC603E:#define __INT_LEAST64_TYPE__ long long int
5738 // PPC603E:#define __INT_LEAST8_FMTd__ "hhd"
5739 // PPC603E:#define __INT_LEAST8_FMTi__ "hhi"
5740 // PPC603E:#define __INT_LEAST8_MAX__ 127
5741 // PPC603E:#define __INT_LEAST8_TYPE__ signed char
5742 // PPC603E:#define __INT_MAX__ 2147483647
5743 // PPC603E:#define __LDBL_DENORM_MIN__ 4.94065645841246544176568792868221e-324L
5744 // PPC603E:#define __LDBL_DIG__ 31
5745 // PPC603E:#define __LDBL_EPSILON__ 4.94065645841246544176568792868221e-324L
5746 // PPC603E:#define __LDBL_HAS_DENORM__ 1
5747 // PPC603E:#define __LDBL_HAS_INFINITY__ 1
5748 // PPC603E:#define __LDBL_HAS_QUIET_NAN__ 1
5749 // PPC603E:#define __LDBL_MANT_DIG__ 106
5750 // PPC603E:#define __LDBL_MAX_10_EXP__ 308
5751 // PPC603E:#define __LDBL_MAX_EXP__ 1024
5752 // PPC603E:#define __LDBL_MAX__ 1.79769313486231580793728971405301e+308L
5753 // PPC603E:#define __LDBL_MIN_10_EXP__ (-291)
5754 // PPC603E:#define __LDBL_MIN_EXP__ (-968)
5755 // PPC603E:#define __LDBL_MIN__ 2.00416836000897277799610805135016e-292L
5756 // PPC603E:#define __LONGDOUBLE128 1
5757 // PPC603E:#define __LONG_DOUBLE_128__ 1
5758 // PPC603E:#define __LONG_LONG_MAX__ 9223372036854775807LL
5759 // PPC603E:#define __LONG_MAX__ 2147483647L
5760 // PPC603E-NOT:#define __LP64__
5761 // PPC603E:#define __NATURAL_ALIGNMENT__ 1
5762 // PPC603E:#define __POINTER_WIDTH__ 32
5763 // PPC603E:#define __POWERPC__ 1
5764 // PPC603E:#define __PPC__ 1
5765 // PPC603E:#define __PTRDIFF_TYPE__ long int
5766 // PPC603E:#define __PTRDIFF_WIDTH__ 32
5767 // PPC603E:#define __REGISTER_PREFIX__
5768 // PPC603E:#define __SCHAR_MAX__ 127
5769 // PPC603E:#define __SHRT_MAX__ 32767
5770 // PPC603E:#define __SIG_ATOMIC_MAX__ 2147483647
5771 // PPC603E:#define __SIG_ATOMIC_WIDTH__ 32
5772 // PPC603E:#define __SIZEOF_DOUBLE__ 8
5773 // PPC603E:#define __SIZEOF_FLOAT__ 4
5774 // PPC603E:#define __SIZEOF_INT__ 4
5775 // PPC603E:#define __SIZEOF_LONG_DOUBLE__ 16
5776 // PPC603E:#define __SIZEOF_LONG_LONG__ 8
5777 // PPC603E:#define __SIZEOF_LONG__ 4
5778 // PPC603E:#define __SIZEOF_POINTER__ 4
5779 // PPC603E:#define __SIZEOF_PTRDIFF_T__ 4
5780 // PPC603E:#define __SIZEOF_SHORT__ 2
5781 // PPC603E:#define __SIZEOF_SIZE_T__ 4
5782 // PPC603E:#define __SIZEOF_WCHAR_T__ 4
5783 // PPC603E:#define __SIZEOF_WINT_T__ 4
5784 // PPC603E:#define __SIZE_MAX__ 4294967295UL
5785 // PPC603E:#define __SIZE_TYPE__ long unsigned int
5786 // PPC603E:#define __SIZE_WIDTH__ 32
5787 // PPC603E-CXX:#define __STDCPP_DEFAULT_NEW_ALIGNMENT__ 16UL
5788 // PPC603E:#define __UINT16_C_SUFFIX__
5789 // PPC603E:#define __UINT16_MAX__ 65535
5790 // PPC603E:#define __UINT16_TYPE__ unsigned short
5791 // PPC603E:#define __UINT32_C_SUFFIX__ U
5792 // PPC603E:#define __UINT32_MAX__ 4294967295U
5793 // PPC603E:#define __UINT32_TYPE__ unsigned int
5794 // PPC603E:#define __UINT64_C_SUFFIX__ ULL
5795 // PPC603E:#define __UINT64_MAX__ 18446744073709551615ULL
5796 // PPC603E:#define __UINT64_TYPE__ long long unsigned int
5797 // PPC603E:#define __UINT8_C_SUFFIX__
5798 // PPC603E:#define __UINT8_MAX__ 255
5799 // PPC603E:#define __UINT8_TYPE__ unsigned char
5800 // PPC603E:#define __UINTMAX_C_SUFFIX__ ULL
5801 // PPC603E:#define __UINTMAX_MAX__ 18446744073709551615ULL
5802 // PPC603E:#define __UINTMAX_TYPE__ long long unsigned int
5803 // PPC603E:#define __UINTMAX_WIDTH__ 64
5804 // PPC603E:#define __UINTPTR_MAX__ 4294967295UL
5805 // PPC603E:#define __UINTPTR_TYPE__ long unsigned int
5806 // PPC603E:#define __UINTPTR_WIDTH__ 32
5807 // PPC603E:#define __UINT_FAST16_MAX__ 65535
5808 // PPC603E:#define __UINT_FAST16_TYPE__ unsigned short
5809 // PPC603E:#define __UINT_FAST32_MAX__ 4294967295U
5810 // PPC603E:#define __UINT_FAST32_TYPE__ unsigned int
5811 // PPC603E:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
5812 // PPC603E:#define __UINT_FAST64_TYPE__ long long unsigned int
5813 // PPC603E:#define __UINT_FAST8_MAX__ 255
5814 // PPC603E:#define __UINT_FAST8_TYPE__ unsigned char
5815 // PPC603E:#define __UINT_LEAST16_MAX__ 65535
5816 // PPC603E:#define __UINT_LEAST16_TYPE__ unsigned short
5817 // PPC603E:#define __UINT_LEAST32_MAX__ 4294967295U
5818 // PPC603E:#define __UINT_LEAST32_TYPE__ unsigned int
5819 // PPC603E:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
5820 // PPC603E:#define __UINT_LEAST64_TYPE__ long long unsigned int
5821 // PPC603E:#define __UINT_LEAST8_MAX__ 255
5822 // PPC603E:#define __UINT_LEAST8_TYPE__ unsigned char
5823 // PPC603E:#define __USER_LABEL_PREFIX__
5824 // PPC603E:#define __WCHAR_MAX__ 2147483647
5825 // PPC603E:#define __WCHAR_TYPE__ int
5826 // PPC603E:#define __WCHAR_WIDTH__ 32
5827 // PPC603E:#define __WINT_TYPE__ int
5828 // PPC603E:#define __WINT_WIDTH__ 32
5829 // PPC603E:#define __powerpc__ 1
5830 // PPC603E:#define __ppc__ 1
5831 //
5832 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc-none-none -fno-signed-char < /dev/null | FileCheck -match-full-lines -check-prefix PPC %s
5833 //
5834 // PPC:#define _ARCH_PPC 1
5835 // PPC:#define _BIG_ENDIAN 1
5836 // PPC-NOT:#define _LP64
5837 // PPC:#define __BIGGEST_ALIGNMENT__ 16
5838 // PPC:#define __BIG_ENDIAN__ 1
5839 // PPC:#define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__
5840 // PPC:#define __CHAR16_TYPE__ unsigned short
5841 // PPC:#define __CHAR32_TYPE__ unsigned int
5842 // PPC:#define __CHAR_BIT__ 8
5843 // PPC:#define __CHAR_UNSIGNED__ 1
5844 // PPC:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
5845 // PPC:#define __DBL_DIG__ 15
5846 // PPC:#define __DBL_EPSILON__ 2.2204460492503131e-16
5847 // PPC:#define __DBL_HAS_DENORM__ 1
5848 // PPC:#define __DBL_HAS_INFINITY__ 1
5849 // PPC:#define __DBL_HAS_QUIET_NAN__ 1
5850 // PPC:#define __DBL_MANT_DIG__ 53
5851 // PPC:#define __DBL_MAX_10_EXP__ 308
5852 // PPC:#define __DBL_MAX_EXP__ 1024
5853 // PPC:#define __DBL_MAX__ 1.7976931348623157e+308
5854 // PPC:#define __DBL_MIN_10_EXP__ (-307)
5855 // PPC:#define __DBL_MIN_EXP__ (-1021)
5856 // PPC:#define __DBL_MIN__ 2.2250738585072014e-308
5857 // PPC:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
5858 // PPC:#define __FLT_DENORM_MIN__ 1.40129846e-45F
5859 // PPC:#define __FLT_DIG__ 6
5860 // PPC:#define __FLT_EPSILON__ 1.19209290e-7F
5861 // PPC:#define __FLT_EVAL_METHOD__ 0
5862 // PPC:#define __FLT_HAS_DENORM__ 1
5863 // PPC:#define __FLT_HAS_INFINITY__ 1
5864 // PPC:#define __FLT_HAS_QUIET_NAN__ 1
5865 // PPC:#define __FLT_MANT_DIG__ 24
5866 // PPC:#define __FLT_MAX_10_EXP__ 38
5867 // PPC:#define __FLT_MAX_EXP__ 128
5868 // PPC:#define __FLT_MAX__ 3.40282347e+38F
5869 // PPC:#define __FLT_MIN_10_EXP__ (-37)
5870 // PPC:#define __FLT_MIN_EXP__ (-125)
5871 // PPC:#define __FLT_MIN__ 1.17549435e-38F
5872 // PPC:#define __FLT_RADIX__ 2
5873 // PPC:#define __HAVE_BSWAP__ 1
5874 // PPC:#define __INT16_C_SUFFIX__
5875 // PPC:#define __INT16_FMTd__ "hd"
5876 // PPC:#define __INT16_FMTi__ "hi"
5877 // PPC:#define __INT16_MAX__ 32767
5878 // PPC:#define __INT16_TYPE__ short
5879 // PPC:#define __INT32_C_SUFFIX__
5880 // PPC:#define __INT32_FMTd__ "d"
5881 // PPC:#define __INT32_FMTi__ "i"
5882 // PPC:#define __INT32_MAX__ 2147483647
5883 // PPC:#define __INT32_TYPE__ int
5884 // PPC:#define __INT64_C_SUFFIX__ LL
5885 // PPC:#define __INT64_FMTd__ "lld"
5886 // PPC:#define __INT64_FMTi__ "lli"
5887 // PPC:#define __INT64_MAX__ 9223372036854775807LL
5888 // PPC:#define __INT64_TYPE__ long long int
5889 // PPC:#define __INT8_C_SUFFIX__
5890 // PPC:#define __INT8_FMTd__ "hhd"
5891 // PPC:#define __INT8_FMTi__ "hhi"
5892 // PPC:#define __INT8_MAX__ 127
5893 // PPC:#define __INT8_TYPE__ signed char
5894 // PPC:#define __INTMAX_C_SUFFIX__ LL
5895 // PPC:#define __INTMAX_FMTd__ "lld"
5896 // PPC:#define __INTMAX_FMTi__ "lli"
5897 // PPC:#define __INTMAX_MAX__ 9223372036854775807LL
5898 // PPC:#define __INTMAX_TYPE__ long long int
5899 // PPC:#define __INTMAX_WIDTH__ 64
5900 // PPC:#define __INTPTR_FMTd__ "ld"
5901 // PPC:#define __INTPTR_FMTi__ "li"
5902 // PPC:#define __INTPTR_MAX__ 2147483647L
5903 // PPC:#define __INTPTR_TYPE__ long int
5904 // PPC:#define __INTPTR_WIDTH__ 32
5905 // PPC:#define __INT_FAST16_FMTd__ "hd"
5906 // PPC:#define __INT_FAST16_FMTi__ "hi"
5907 // PPC:#define __INT_FAST16_MAX__ 32767
5908 // PPC:#define __INT_FAST16_TYPE__ short
5909 // PPC:#define __INT_FAST32_FMTd__ "d"
5910 // PPC:#define __INT_FAST32_FMTi__ "i"
5911 // PPC:#define __INT_FAST32_MAX__ 2147483647
5912 // PPC:#define __INT_FAST32_TYPE__ int
5913 // PPC:#define __INT_FAST64_FMTd__ "lld"
5914 // PPC:#define __INT_FAST64_FMTi__ "lli"
5915 // PPC:#define __INT_FAST64_MAX__ 9223372036854775807LL
5916 // PPC:#define __INT_FAST64_TYPE__ long long int
5917 // PPC:#define __INT_FAST8_FMTd__ "hhd"
5918 // PPC:#define __INT_FAST8_FMTi__ "hhi"
5919 // PPC:#define __INT_FAST8_MAX__ 127
5920 // PPC:#define __INT_FAST8_TYPE__ signed char
5921 // PPC:#define __INT_LEAST16_FMTd__ "hd"
5922 // PPC:#define __INT_LEAST16_FMTi__ "hi"
5923 // PPC:#define __INT_LEAST16_MAX__ 32767
5924 // PPC:#define __INT_LEAST16_TYPE__ short
5925 // PPC:#define __INT_LEAST32_FMTd__ "d"
5926 // PPC:#define __INT_LEAST32_FMTi__ "i"
5927 // PPC:#define __INT_LEAST32_MAX__ 2147483647
5928 // PPC:#define __INT_LEAST32_TYPE__ int
5929 // PPC:#define __INT_LEAST64_FMTd__ "lld"
5930 // PPC:#define __INT_LEAST64_FMTi__ "lli"
5931 // PPC:#define __INT_LEAST64_MAX__ 9223372036854775807LL
5932 // PPC:#define __INT_LEAST64_TYPE__ long long int
5933 // PPC:#define __INT_LEAST8_FMTd__ "hhd"
5934 // PPC:#define __INT_LEAST8_FMTi__ "hhi"
5935 // PPC:#define __INT_LEAST8_MAX__ 127
5936 // PPC:#define __INT_LEAST8_TYPE__ signed char
5937 // PPC:#define __INT_MAX__ 2147483647
5938 // PPC:#define __LDBL_DENORM_MIN__ 4.94065645841246544176568792868221e-324L
5939 // PPC:#define __LDBL_DIG__ 31
5940 // PPC:#define __LDBL_EPSILON__ 4.94065645841246544176568792868221e-324L
5941 // PPC:#define __LDBL_HAS_DENORM__ 1
5942 // PPC:#define __LDBL_HAS_INFINITY__ 1
5943 // PPC:#define __LDBL_HAS_QUIET_NAN__ 1
5944 // PPC:#define __LDBL_MANT_DIG__ 106
5945 // PPC:#define __LDBL_MAX_10_EXP__ 308
5946 // PPC:#define __LDBL_MAX_EXP__ 1024
5947 // PPC:#define __LDBL_MAX__ 1.79769313486231580793728971405301e+308L
5948 // PPC:#define __LDBL_MIN_10_EXP__ (-291)
5949 // PPC:#define __LDBL_MIN_EXP__ (-968)
5950 // PPC:#define __LDBL_MIN__ 2.00416836000897277799610805135016e-292L
5951 // PPC:#define __LONGDOUBLE128 1
5952 // PPC:#define __LONG_DOUBLE_128__ 1
5953 // PPC:#define __LONG_LONG_MAX__ 9223372036854775807LL
5954 // PPC:#define __LONG_MAX__ 2147483647L
5955 // PPC-NOT:#define __LP64__
5956 // PPC:#define __NATURAL_ALIGNMENT__ 1
5957 // PPC:#define __POINTER_WIDTH__ 32
5958 // PPC:#define __POWERPC__ 1
5959 // PPC:#define __PPC__ 1
5960 // PPC:#define __PTRDIFF_TYPE__ long int
5961 // PPC:#define __PTRDIFF_WIDTH__ 32
5962 // PPC:#define __REGISTER_PREFIX__
5963 // PPC:#define __SCHAR_MAX__ 127
5964 // PPC:#define __SHRT_MAX__ 32767
5965 // PPC:#define __SIG_ATOMIC_MAX__ 2147483647
5966 // PPC:#define __SIG_ATOMIC_WIDTH__ 32
5967 // PPC:#define __SIZEOF_DOUBLE__ 8
5968 // PPC:#define __SIZEOF_FLOAT__ 4
5969 // PPC:#define __SIZEOF_INT__ 4
5970 // PPC:#define __SIZEOF_LONG_DOUBLE__ 16
5971 // PPC:#define __SIZEOF_LONG_LONG__ 8
5972 // PPC:#define __SIZEOF_LONG__ 4
5973 // PPC:#define __SIZEOF_POINTER__ 4
5974 // PPC:#define __SIZEOF_PTRDIFF_T__ 4
5975 // PPC:#define __SIZEOF_SHORT__ 2
5976 // PPC:#define __SIZEOF_SIZE_T__ 4
5977 // PPC:#define __SIZEOF_WCHAR_T__ 4
5978 // PPC:#define __SIZEOF_WINT_T__ 4
5979 // PPC:#define __SIZE_MAX__ 4294967295UL
5980 // PPC:#define __SIZE_TYPE__ long unsigned int
5981 // PPC:#define __SIZE_WIDTH__ 32
5982 // PPC:#define __UINT16_C_SUFFIX__
5983 // PPC:#define __UINT16_MAX__ 65535
5984 // PPC:#define __UINT16_TYPE__ unsigned short
5985 // PPC:#define __UINT32_C_SUFFIX__ U
5986 // PPC:#define __UINT32_MAX__ 4294967295U
5987 // PPC:#define __UINT32_TYPE__ unsigned int
5988 // PPC:#define __UINT64_C_SUFFIX__ ULL
5989 // PPC:#define __UINT64_MAX__ 18446744073709551615ULL
5990 // PPC:#define __UINT64_TYPE__ long long unsigned int
5991 // PPC:#define __UINT8_C_SUFFIX__
5992 // PPC:#define __UINT8_MAX__ 255
5993 // PPC:#define __UINT8_TYPE__ unsigned char
5994 // PPC:#define __UINTMAX_C_SUFFIX__ ULL
5995 // PPC:#define __UINTMAX_MAX__ 18446744073709551615ULL
5996 // PPC:#define __UINTMAX_TYPE__ long long unsigned int
5997 // PPC:#define __UINTMAX_WIDTH__ 64
5998 // PPC:#define __UINTPTR_MAX__ 4294967295UL
5999 // PPC:#define __UINTPTR_TYPE__ long unsigned int
6000 // PPC:#define __UINTPTR_WIDTH__ 32
6001 // PPC:#define __UINT_FAST16_MAX__ 65535
6002 // PPC:#define __UINT_FAST16_TYPE__ unsigned short
6003 // PPC:#define __UINT_FAST32_MAX__ 4294967295U
6004 // PPC:#define __UINT_FAST32_TYPE__ unsigned int
6005 // PPC:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
6006 // PPC:#define __UINT_FAST64_TYPE__ long long unsigned int
6007 // PPC:#define __UINT_FAST8_MAX__ 255
6008 // PPC:#define __UINT_FAST8_TYPE__ unsigned char
6009 // PPC:#define __UINT_LEAST16_MAX__ 65535
6010 // PPC:#define __UINT_LEAST16_TYPE__ unsigned short
6011 // PPC:#define __UINT_LEAST32_MAX__ 4294967295U
6012 // PPC:#define __UINT_LEAST32_TYPE__ unsigned int
6013 // PPC:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
6014 // PPC:#define __UINT_LEAST64_TYPE__ long long unsigned int
6015 // PPC:#define __UINT_LEAST8_MAX__ 255
6016 // PPC:#define __UINT_LEAST8_TYPE__ unsigned char
6017 // PPC:#define __USER_LABEL_PREFIX__
6018 // PPC:#define __WCHAR_MAX__ 2147483647
6019 // PPC:#define __WCHAR_TYPE__ int
6020 // PPC:#define __WCHAR_WIDTH__ 32
6021 // PPC:#define __WINT_TYPE__ int
6022 // PPC:#define __WINT_WIDTH__ 32
6023 // PPC:#define __ppc__ 1
6024 //
6025 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc-ibm-aix7.1.0.0 -fno-signed-char < /dev/null | FileCheck -match-full-lines -check-prefix PPC-AIX %s
6026 //
6027 // PPC-AIX-NOT:#define __64BIT__ 1
6028 // PPC-AIX:#define _AIX 1
6029 // PPC-AIX:#define _ARCH_PPC 1
6030 // PPC-AIX:#define _BIG_ENDIAN 1
6031 // PPC-AIX:#define _IBMR2 1
6032 // PPC-AIX:#define _LONG_LONG 1
6033 // PPC-AIX-NOT:#define _LP64 1
6034 // PPC-AIX:#define _POWER 1
6035 // PPC-AIX:#define __BIGGEST_ALIGNMENT__ 8
6036 // PPC-AIX:#define __BIG_ENDIAN__ 1
6037 // PPC-AIX:#define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__
6038 // PPC-AIX:#define __CHAR16_TYPE__ unsigned short
6039 // PPC-AIX:#define __CHAR32_TYPE__ unsigned int
6040 // PPC-AIX:#define __CHAR_BIT__ 8
6041 // PPC-AIX:#define __CHAR_UNSIGNED__ 1
6042 // PPC-AIX:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
6043 // PPC-AIX:#define __DBL_DIG__ 15
6044 // PPC-AIX:#define __DBL_EPSILON__ 2.2204460492503131e-16
6045 // PPC-AIX:#define __DBL_HAS_DENORM__ 1
6046 // PPC-AIX:#define __DBL_HAS_INFINITY__ 1
6047 // PPC-AIX:#define __DBL_HAS_QUIET_NAN__ 1
6048 // PPC-AIX:#define __DBL_MANT_DIG__ 53
6049 // PPC-AIX:#define __DBL_MAX_10_EXP__ 308
6050 // PPC-AIX:#define __DBL_MAX_EXP__ 1024
6051 // PPC-AIX:#define __DBL_MAX__ 1.7976931348623157e+308
6052 // PPC-AIX:#define __DBL_MIN_10_EXP__ (-307)
6053 // PPC-AIX:#define __DBL_MIN_EXP__ (-1021)
6054 // PPC-AIX:#define __DBL_MIN__ 2.2250738585072014e-308
6055 // PPC-AIX:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
6056 // PPC-AIX:#define __FLT_DENORM_MIN__ 1.40129846e-45F
6057 // PPC-AIX:#define __FLT_DIG__ 6
6058 // PPC-AIX:#define __FLT_EPSILON__ 1.19209290e-7F
6059 // PPC-AIX:#define __FLT_EVAL_METHOD__ 1
6060 // PPC-AIX:#define __FLT_HAS_DENORM__ 1
6061 // PPC-AIX:#define __FLT_HAS_INFINITY__ 1
6062 // PPC-AIX:#define __FLT_HAS_QUIET_NAN__ 1
6063 // PPC-AIX:#define __FLT_MANT_DIG__ 24
6064 // PPC-AIX:#define __FLT_MAX_10_EXP__ 38
6065 // PPC-AIX:#define __FLT_MAX_EXP__ 128
6066 // PPC-AIX:#define __FLT_MAX__ 3.40282347e+38F
6067 // PPC-AIX:#define __FLT_MIN_10_EXP__ (-37)
6068 // PPC-AIX:#define __FLT_MIN_EXP__ (-125)
6069 // PPC-AIX:#define __FLT_MIN__ 1.17549435e-38F
6070 // PPC-AIX:#define __FLT_RADIX__ 2
6071 // PPC-AIX:#define __INT16_C_SUFFIX__
6072 // PPC-AIX:#define __INT16_FMTd__ "hd"
6073 // PPC-AIX:#define __INT16_FMTi__ "hi"
6074 // PPC-AIX:#define __INT16_MAX__ 32767
6075 // PPC-AIX:#define __INT16_TYPE__ short
6076 // PPC-AIX:#define __INT32_C_SUFFIX__
6077 // PPC-AIX:#define __INT32_FMTd__ "d"
6078 // PPC-AIX:#define __INT32_FMTi__ "i"
6079 // PPC-AIX:#define __INT32_MAX__ 2147483647
6080 // PPC-AIX:#define __INT32_TYPE__ int
6081 // PPC-AIX:#define __INT64_C_SUFFIX__ LL
6082 // PPC-AIX:#define __INT64_FMTd__ "lld"
6083 // PPC-AIX:#define __INT64_FMTi__ "lli"
6084 // PPC-AIX:#define __INT64_MAX__ 9223372036854775807LL
6085 // PPC-AIX:#define __INT64_TYPE__ long long int
6086 // PPC-AIX:#define __INT8_C_SUFFIX__
6087 // PPC-AIX:#define __INT8_FMTd__ "hhd"
6088 // PPC-AIX:#define __INT8_FMTi__ "hhi"
6089 // PPC-AIX:#define __INT8_MAX__ 127
6090 // PPC-AIX:#define __INT8_TYPE__ signed char
6091 // PPC-AIX:#define __INTMAX_C_SUFFIX__ LL
6092 // PPC-AIX:#define __INTMAX_FMTd__ "lld"
6093 // PPC-AIX:#define __INTMAX_FMTi__ "lli"
6094 // PPC-AIX:#define __INTMAX_MAX__ 9223372036854775807LL
6095 // PPC-AIX:#define __INTMAX_TYPE__ long long int
6096 // PPC-AIX:#define __INTMAX_WIDTH__ 64
6097 // PPC-AIX:#define __INTPTR_FMTd__ "ld"
6098 // PPC-AIX:#define __INTPTR_FMTi__ "li"
6099 // PPC-AIX:#define __INTPTR_MAX__ 2147483647L
6100 // PPC-AIX:#define __INTPTR_TYPE__ long int
6101 // PPC-AIX:#define __INTPTR_WIDTH__ 32
6102 // PPC-AIX:#define __INT_FAST16_FMTd__ "hd"
6103 // PPC-AIX:#define __INT_FAST16_FMTi__ "hi"
6104 // PPC-AIX:#define __INT_FAST16_MAX__ 32767
6105 // PPC-AIX:#define __INT_FAST16_TYPE__ short
6106 // PPC-AIX:#define __INT_FAST32_FMTd__ "d"
6107 // PPC-AIX:#define __INT_FAST32_FMTi__ "i"
6108 // PPC-AIX:#define __INT_FAST32_MAX__ 2147483647
6109 // PPC-AIX:#define __INT_FAST32_TYPE__ int
6110 // PPC-AIX:#define __INT_FAST64_FMTd__ "lld"
6111 // PPC-AIX:#define __INT_FAST64_FMTi__ "lli"
6112 // PPC-AIX:#define __INT_FAST64_MAX__ 9223372036854775807LL
6113 // PPC-AIX:#define __INT_FAST64_TYPE__ long long int
6114 // PPC-AIX:#define __INT_FAST8_FMTd__ "hhd"
6115 // PPC-AIX:#define __INT_FAST8_FMTi__ "hhi"
6116 // PPC-AIX:#define __INT_FAST8_MAX__ 127
6117 // PPC-AIX:#define __INT_FAST8_TYPE__ signed char
6118 // PPC-AIX:#define __INT_LEAST16_FMTd__ "hd"
6119 // PPC-AIX:#define __INT_LEAST16_FMTi__ "hi"
6120 // PPC-AIX:#define __INT_LEAST16_MAX__ 32767
6121 // PPC-AIX:#define __INT_LEAST16_TYPE__ short
6122 // PPC-AIX:#define __INT_LEAST32_FMTd__ "d"
6123 // PPC-AIX:#define __INT_LEAST32_FMTi__ "i"
6124 // PPC-AIX:#define __INT_LEAST32_MAX__ 2147483647
6125 // PPC-AIX:#define __INT_LEAST32_TYPE__ int
6126 // PPC-AIX:#define __INT_LEAST64_FMTd__ "lld"
6127 // PPC-AIX:#define __INT_LEAST64_FMTi__ "lli"
6128 // PPC-AIX:#define __INT_LEAST64_MAX__ 9223372036854775807LL
6129 // PPC-AIX:#define __INT_LEAST64_TYPE__ long long int
6130 // PPC-AIX:#define __INT_LEAST8_FMTd__ "hhd"
6131 // PPC-AIX:#define __INT_LEAST8_FMTi__ "hhi"
6132 // PPC-AIX:#define __INT_LEAST8_MAX__ 127
6133 // PPC-AIX:#define __INT_LEAST8_TYPE__ signed char
6134 // PPC-AIX:#define __INT_MAX__ 2147483647
6135 // PPC-AIX:#define __LDBL_DECIMAL_DIG__ 17
6136 // PPC-AIX:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
6137 // PPC-AIX:#define __LDBL_DIG__ 15
6138 // PPC-AIX:#define __LDBL_EPSILON__ 2.2204460492503131e-16L
6139 // PPC-AIX:#define __LDBL_HAS_DENORM__ 1
6140 // PPC-AIX:#define __LDBL_HAS_INFINITY__ 1
6141 // PPC-AIX:#define __LDBL_HAS_QUIET_NAN__ 1
6142 // PPC-AIX:#define __LDBL_MANT_DIG__ 53
6143 // PPC-AIX:#define __LDBL_MAX_10_EXP__ 308
6144 // PPC-AIX:#define __LDBL_MAX_EXP__ 1024
6145 // PPC-AIX:#define __LDBL_MAX__ 1.7976931348623157e+308L
6146 // PPC-AIX:#define __LDBL_MIN_10_EXP__ (-307)
6147 // PPC-AIX:#define __LDBL_MIN_EXP__ (-1021)
6148 // PPC-AIX:#define __LDBL_MIN__ 2.2250738585072014e-308L
6149 // PPC-AIX:#define __LONG_LONG_MAX__ 9223372036854775807LL
6150 // PPC-AIX:#define __LONG_MAX__ 2147483647L
6151 // PPC-AIX-NOT:#define __LP64__ 1
6152 // PPC-AIX-NOT:#define __NATURAL_ALIGNMENT__ 1
6153 // PPC-AIX:#define __POINTER_WIDTH__ 32
6154 // PPC-AIX:#define __POWERPC__ 1
6155 // PPC-AIX:#define __PPC__ 1
6156 // PPC-AIX:#define __PTRDIFF_TYPE__ long int
6157 // PPC-AIX:#define __PTRDIFF_WIDTH__ 32
6158 // PPC-AIX:#define __REGISTER_PREFIX__
6159 // PPC-AIX:#define __SCHAR_MAX__ 127
6160 // PPC-AIX:#define __SHRT_MAX__ 32767
6161 // PPC-AIX:#define __SIG_ATOMIC_MAX__ 2147483647
6162 // PPC-AIX:#define __SIG_ATOMIC_WIDTH__ 32
6163 // PPC-AIX:#define __SIZEOF_DOUBLE__ 8
6164 // PPC-AIX:#define __SIZEOF_FLOAT__ 4
6165 // PPC-AIX:#define __SIZEOF_INT__ 4
6166 // PPC-AIX:#define __SIZEOF_LONG_DOUBLE__ 8
6167 // PPC-AIX:#define __SIZEOF_LONG_LONG__ 8
6168 // PPC-AIX:#define __SIZEOF_LONG__ 4
6169 // PPC-AIX:#define __SIZEOF_POINTER__ 4
6170 // PPC-AIX:#define __SIZEOF_PTRDIFF_T__ 4
6171 // PPC-AIX:#define __SIZEOF_SHORT__ 2
6172 // PPC-AIX:#define __SIZEOF_SIZE_T__ 4
6173 // PPC-AIX:#define __SIZEOF_WCHAR_T__ 2
6174 // PPC-AIX:#define __SIZEOF_WINT_T__ 4
6175 // PPC-AIX:#define __SIZE_MAX__ 4294967295UL
6176 // PPC-AIX:#define __SIZE_TYPE__ long unsigned int
6177 // PPC-AIX:#define __SIZE_WIDTH__ 32
6178 // PPC-AIX:#define __UINT16_C_SUFFIX__
6179 // PPC-AIX:#define __UINT16_MAX__ 65535
6180 // PPC-AIX:#define __UINT16_TYPE__ unsigned short
6181 // PPC-AIX:#define __UINT32_C_SUFFIX__ U
6182 // PPC-AIX:#define __UINT32_MAX__ 4294967295U
6183 // PPC-AIX:#define __UINT32_TYPE__ unsigned int
6184 // PPC-AIX:#define __UINT64_C_SUFFIX__ ULL
6185 // PPC-AIX:#define __UINT64_MAX__ 18446744073709551615ULL
6186 // PPC-AIX:#define __UINT64_TYPE__ long long unsigned int
6187 // PPC-AIX:#define __UINT8_C_SUFFIX__
6188 // PPC-AIX:#define __UINT8_MAX__ 255
6189 // PPC-AIX:#define __UINT8_TYPE__ unsigned char
6190 // PPC-AIX:#define __UINTMAX_C_SUFFIX__ ULL
6191 // PPC-AIX:#define __UINTMAX_MAX__ 18446744073709551615ULL
6192 // PPC-AIX:#define __UINTMAX_TYPE__ long long unsigned int
6193 // PPC-AIX:#define __UINTMAX_WIDTH__ 64
6194 // PPC-AIX:#define __UINTPTR_MAX__ 4294967295UL
6195 // PPC-AIX:#define __UINTPTR_TYPE__ long unsigned int
6196 // PPC-AIX:#define __UINTPTR_WIDTH__ 32
6197 // PPC-AIX:#define __UINT_FAST16_MAX__ 65535
6198 // PPC-AIX:#define __UINT_FAST16_TYPE__ unsigned short
6199 // PPC-AIX:#define __UINT_FAST32_MAX__ 4294967295U
6200 // PPC-AIX:#define __UINT_FAST32_TYPE__ unsigned int
6201 // PPC-AIX:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
6202 // PPC-AIX:#define __UINT_FAST64_TYPE__ long long unsigned int
6203 // PPC-AIX:#define __UINT_FAST8_MAX__ 255
6204 // PPC-AIX:#define __UINT_FAST8_TYPE__ unsigned char
6205 // PPC-AIX:#define __UINT_LEAST16_MAX__ 65535
6206 // PPC-AIX:#define __UINT_LEAST16_TYPE__ unsigned short
6207 // PPC-AIX:#define __UINT_LEAST32_MAX__ 4294967295U
6208 // PPC-AIX:#define __UINT_LEAST32_TYPE__ unsigned int
6209 // PPC-AIX:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
6210 // PPC-AIX:#define __UINT_LEAST64_TYPE__ long long unsigned int
6211 // PPC-AIX:#define __UINT_LEAST8_MAX__ 255
6212 // PPC-AIX:#define __UINT_LEAST8_TYPE__ unsigned char
6213 // PPC-AIX:#define __USER_LABEL_PREFIX__
6214 // PPC-AIX:#define __WCHAR_MAX__ 65535
6215 // PPC-AIX:#define __WCHAR_TYPE__ unsigned short
6216 // PPC-AIX:#define __WCHAR_WIDTH__ 16
6217 // PPC-AIX:#define __WINT_TYPE__ int
6218 // PPC-AIX:#define __WINT_WIDTH__ 32
6219 // PPC-AIX:#define __powerpc__ 1
6220 // PPC-AIX:#define __ppc__ 1
6221 //
6222 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc-ibm-aix7.2.0.0 < /dev/null | FileCheck -match-full-lines -check-prefix PPC-AIX72 %s
6223 //
6224 // PPC-AIX72:#define _AIX32 1
6225 // PPC-AIX72:#define _AIX41 1
6226 // PPC-AIX72:#define _AIX43 1
6227 // PPC-AIX72:#define _AIX50 1
6228 // PPC-AIX72:#define _AIX51 1
6229 // PPC-AIX72:#define _AIX52 1
6230 // PPC-AIX72:#define _AIX53 1
6231 // PPC-AIX72:#define _AIX61 1
6232 // PPC-AIX72:#define _AIX71 1
6233 // PPC-AIX72:#define _AIX72 1
6234 //
6235 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc-ibm-aix7.1.0.0 < /dev/null | FileCheck -match-full-lines -check-prefix PPC-AIX71 %s
6236 //
6237 // PPC-AIX71:#define _AIX32 1
6238 // PPC-AIX71:#define _AIX41 1
6239 // PPC-AIX71:#define _AIX43 1
6240 // PPC-AIX71:#define _AIX50 1
6241 // PPC-AIX71:#define _AIX51 1
6242 // PPC-AIX71:#define _AIX52 1
6243 // PPC-AIX71:#define _AIX53 1
6244 // PPC-AIX71:#define _AIX61 1
6245 // PPC-AIX71:#define _AIX71 1
6246 // PPC-AIX71-NOT:#define _AIX72 1
6247 //
6248 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc-ibm-aix6.1.0.0 < /dev/null | FileCheck -match-full-lines -check-prefix PPC-AIX61 %s
6249 //
6250 // PPC-AIX61:#define _AIX32 1
6251 // PPC-AIX61:#define _AIX41 1
6252 // PPC-AIX61:#define _AIX43 1
6253 // PPC-AIX61:#define _AIX50 1
6254 // PPC-AIX61:#define _AIX51 1
6255 // PPC-AIX61:#define _AIX52 1
6256 // PPC-AIX61:#define _AIX53 1
6257 // PPC-AIX61:#define _AIX61 1
6258 // PPC-AIX61-NOT:#define _AIX71 1
6259 // PPC-AIX61-NOT:#define _AIX72 1
6260 //
6261 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc-ibm-aix5.3.0.0 < /dev/null | FileCheck -match-full-lines -check-prefix PPC-AIX53 %s
6262 // PPC-AIX53:#define _AIX32 1
6263 // PPC-AIX53:#define _AIX41 1
6264 // PPC-AIX53:#define _AIX43 1
6265 // PPC-AIX53:#define _AIX50 1
6266 // PPC-AIX53:#define _AIX51 1
6267 // PPC-AIX53:#define _AIX52 1
6268 // PPC-AIX53:#define _AIX53 1
6269 // PPC-AIX53-NOT:#define _AIX61 1
6270 // PPC-AIX53-NOT:#define _AIX71 1
6271 // PPC-AIX53-NOT:#define _AIX72 1
6272 //
6273 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc-ibm-aix5.2.0.0 < /dev/null | FileCheck -match-full-lines -check-prefix PPC-AIX52 %s
6274 // PPC-AIX52:#define _AIX32 1
6275 // PPC-AIX52:#define _AIX41 1
6276 // PPC-AIX52:#define _AIX43 1
6277 // PPC-AIX52:#define _AIX50 1
6278 // PPC-AIX52:#define _AIX51 1
6279 // PPC-AIX52:#define _AIX52 1
6280 // PPC-AIX52-NOT:#define _AIX53 1
6281 // PPC-AIX52-NOT:#define _AIX61 1
6282 // PPC-AIX52-NOT:#define _AIX71 1
6283 // PPC-AIX52-NOT:#define _AIX72 1
6284 //
6285 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc-ibm-aix5.1.0.0 < /dev/null | FileCheck -match-full-lines -check-prefix PPC-AIX51 %s
6286 // PPC-AIX51:#define _AIX32 1
6287 // PPC-AIX51:#define _AIX41 1
6288 // PPC-AIX51:#define _AIX43 1
6289 // PPC-AIX51:#define _AIX50 1
6290 // PPC-AIX51:#define _AIX51 1
6291 // PPC-AIX51-NOT:#define _AIX52 1
6292 // PPC-AIX51-NOT:#define _AIX53 1
6293 // PPC-AIX51-NOT:#define _AIX61 1
6294 // PPC-AIX51-NOT:#define _AIX71 1
6295 // PPC-AIX51-NOT:#define _AIX72 1
6296 //
6297 //RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc-ibm-aix5.0.0.0 < /dev/null | FileCheck -match-full-lines -check-prefix PPC-AIX50 %s
6298 // PPC-AIX50:#define _AIX32 1
6299 // PPC-AIX50:#define _AIX41 1
6300 // PPC-AIX50:#define _AIX43 1
6301 // PPC-AIX50:#define _AIX50 1
6302 // PPC-AIX50-NOT:#define _AIX51 1
6303 // PPC-AIX50-NOT:#define _AIX52 1
6304 // PPC-AIX50-NOT:#define _AIX53 1
6305 // PPC-AIX50-NOT:#define _AIX61 1
6306 // PPC-AIX50-NOT:#define _AIX71 1
6307 // PPC-AIX50-NOT:#define _AIX72 1
6308 //
6309 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc-ibm-aix4.3.0.0 < /dev/null | FileCheck -match-full-lines -check-prefix PPC-AIX43 %s
6310 // PPC-AIX43:#define _AIX32 1
6311 // PPC-AIX43:#define _AIX41 1
6312 // PPC-AIX43:#define _AIX43 1
6313 // PPC-AIX43-NOT:#define _AIX50 1
6314 // PPC-AIX43-NOT:#define _AIX51 1
6315 // PPC-AIX43-NOT:#define _AIX52 1
6316 // PPC-AIX43-NOT:#define _AIX53 1
6317 // PPC-AIX43-NOT:#define _AIX61 1
6318 // PPC-AIX43-NOT:#define _AIX71 1
6319 // PPC-AIX43-NOT:#define _AIX72 1
6320 //
6321 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc-ibm-aix4.1.0.0 < /dev/null | FileCheck -match-full-lines -check-prefix PPC-AIX41 %s
6322 // PPC-AIX41:#define _AIX32 1
6323 // PPC-AIX41:#define _AIX41 1
6324 // PPC-AIX41-NOT:#define _AIX43 1
6325 // PPC-AIX41-NOT:#define _AIX50 1
6326 // PPC-AIX41-NOT:#define _AIX51 1
6327 // PPC-AIX41-NOT:#define _AIX52 1
6328 // PPC-AIX41-NOT:#define _AIX53 1
6329 // PPC-AIX41-NOT:#define _AIX61 1
6330 // PPC-AIX41-NOT:#define _AIX71 1
6331 // PPC-AIX41-NOT:#define _AIX72 1
6332 //
6333 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc-ibm-aix3.2.0.0 < /dev/null | FileCheck -match-full-lines -check-prefix PPC-AIX32 %s
6334 // PPC-AIX32:#define _AIX32 1
6335 // PPC-AIX32-NOT:#define _AIX41 1
6336 // PPC-AIX32-NOT:#define _AIX43 1
6337 // PPC-AIX32-NOT:#define _AIX50 1
6338 // PPC-AIX32-NOT:#define _AIX51 1
6339 // PPC-AIX32-NOT:#define _AIX52 1
6340 // PPC-AIX32-NOT:#define _AIX53 1
6341 // PPC-AIX32-NOT:#define _AIX61 1
6342 // PPC-AIX32-NOT:#define _AIX71 1
6343 // PPC-AIX32-NOT:#define _AIX72 1
6344 //
6345 // RUN: %clang_cc1 -x c++ -E -dM -ffreestanding -triple=powerpc-ibm-aix7.1.0.0 -fno-signed-char < /dev/null | FileCheck -match-full-lines -check-prefix PPC-AIX-CXX %s
6346 //
6347 // PPC-AIX-CXX:#define _WCHAR_T 1
6348 //
6349 // RUN: %clang_cc1 -x c++ -fno-wchar -E -dM -ffreestanding -triple=powerpc-ibm-aix7.1.0.0 < /dev/null | FileCheck -match-full-lines -check-prefix PPC-AIX-NOWCHAR %s
6350 // RUN: %clang_cc1 -x c -E -dM -ffreestanding -triple=powerpc-ibm-aix7.1.0.0 < /dev/null | FileCheck -match-full-lines -check-prefix PPC-AIX-NOWCHAR %s
6351 //
6352 // PPC-AIX-NOWCHAR-NOT:#define _WCHAR_T 1
6353 //
6354 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc-ibm-aix7.1.0.0 -fno-signed-char -pthread < /dev/null | FileCheck -match-full-lines -check-prefix PPC-AIX-THREADSAFE %s
6355 // PPC-AIX-THREADSAFE:#define _THREAD_SAFE 1
6356 //
6357 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc-ibm-aix7.1.0.0 -fno-signed-char < /dev/null | FileCheck -match-full-lines -check-prefix PPC-AIX-NOTHREADSAFE %s
6358 // PPC-AIX-NOTHREADSAFE-NOT:#define _THREAD_SAFE 1
6359 //
6360 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc-unknown-linux-gnu -fno-signed-char < /dev/null | FileCheck -match-full-lines -check-prefix PPC-LINUX %s
6361 //
6362 // PPC-LINUX:#define _ARCH_PPC 1
6363 // PPC-LINUX:#define _BIG_ENDIAN 1
6364 // PPC-LINUX-NOT:#define _LP64
6365 // PPC-LINUX:#define __BIGGEST_ALIGNMENT__ 16
6366 // PPC-LINUX:#define __BIG_ENDIAN__ 1
6367 // PPC-LINUX:#define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__
6368 // PPC-LINUX:#define __CHAR16_TYPE__ unsigned short
6369 // PPC-LINUX:#define __CHAR32_TYPE__ unsigned int
6370 // PPC-LINUX:#define __CHAR_BIT__ 8
6371 // PPC-LINUX:#define __CHAR_UNSIGNED__ 1
6372 // PPC-LINUX:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
6373 // PPC-LINUX:#define __DBL_DIG__ 15
6374 // PPC-LINUX:#define __DBL_EPSILON__ 2.2204460492503131e-16
6375 // PPC-LINUX:#define __DBL_HAS_DENORM__ 1
6376 // PPC-LINUX:#define __DBL_HAS_INFINITY__ 1
6377 // PPC-LINUX:#define __DBL_HAS_QUIET_NAN__ 1
6378 // PPC-LINUX:#define __DBL_MANT_DIG__ 53
6379 // PPC-LINUX:#define __DBL_MAX_10_EXP__ 308
6380 // PPC-LINUX:#define __DBL_MAX_EXP__ 1024
6381 // PPC-LINUX:#define __DBL_MAX__ 1.7976931348623157e+308
6382 // PPC-LINUX:#define __DBL_MIN_10_EXP__ (-307)
6383 // PPC-LINUX:#define __DBL_MIN_EXP__ (-1021)
6384 // PPC-LINUX:#define __DBL_MIN__ 2.2250738585072014e-308
6385 // PPC-LINUX:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
6386 // PPC-LINUX:#define __FLT_DENORM_MIN__ 1.40129846e-45F
6387 // PPC-LINUX:#define __FLT_DIG__ 6
6388 // PPC-LINUX:#define __FLT_EPSILON__ 1.19209290e-7F
6389 // PPC-LINUX:#define __FLT_EVAL_METHOD__ 0
6390 // PPC-LINUX:#define __FLT_HAS_DENORM__ 1
6391 // PPC-LINUX:#define __FLT_HAS_INFINITY__ 1
6392 // PPC-LINUX:#define __FLT_HAS_QUIET_NAN__ 1
6393 // PPC-LINUX:#define __FLT_MANT_DIG__ 24
6394 // PPC-LINUX:#define __FLT_MAX_10_EXP__ 38
6395 // PPC-LINUX:#define __FLT_MAX_EXP__ 128
6396 // PPC-LINUX:#define __FLT_MAX__ 3.40282347e+38F
6397 // PPC-LINUX:#define __FLT_MIN_10_EXP__ (-37)
6398 // PPC-LINUX:#define __FLT_MIN_EXP__ (-125)
6399 // PPC-LINUX:#define __FLT_MIN__ 1.17549435e-38F
6400 // PPC-LINUX:#define __FLT_RADIX__ 2
6401 // PPC-LINUX:#define __HAVE_BSWAP__ 1
6402 // PPC-LINUX:#define __INT16_C_SUFFIX__
6403 // PPC-LINUX:#define __INT16_FMTd__ "hd"
6404 // PPC-LINUX:#define __INT16_FMTi__ "hi"
6405 // PPC-LINUX:#define __INT16_MAX__ 32767
6406 // PPC-LINUX:#define __INT16_TYPE__ short
6407 // PPC-LINUX:#define __INT32_C_SUFFIX__
6408 // PPC-LINUX:#define __INT32_FMTd__ "d"
6409 // PPC-LINUX:#define __INT32_FMTi__ "i"
6410 // PPC-LINUX:#define __INT32_MAX__ 2147483647
6411 // PPC-LINUX:#define __INT32_TYPE__ int
6412 // PPC-LINUX:#define __INT64_C_SUFFIX__ LL
6413 // PPC-LINUX:#define __INT64_FMTd__ "lld"
6414 // PPC-LINUX:#define __INT64_FMTi__ "lli"
6415 // PPC-LINUX:#define __INT64_MAX__ 9223372036854775807LL
6416 // PPC-LINUX:#define __INT64_TYPE__ long long int
6417 // PPC-LINUX:#define __INT8_C_SUFFIX__
6418 // PPC-LINUX:#define __INT8_FMTd__ "hhd"
6419 // PPC-LINUX:#define __INT8_FMTi__ "hhi"
6420 // PPC-LINUX:#define __INT8_MAX__ 127
6421 // PPC-LINUX:#define __INT8_TYPE__ signed char
6422 // PPC-LINUX:#define __INTMAX_C_SUFFIX__ LL
6423 // PPC-LINUX:#define __INTMAX_FMTd__ "lld"
6424 // PPC-LINUX:#define __INTMAX_FMTi__ "lli"
6425 // PPC-LINUX:#define __INTMAX_MAX__ 9223372036854775807LL
6426 // PPC-LINUX:#define __INTMAX_TYPE__ long long int
6427 // PPC-LINUX:#define __INTMAX_WIDTH__ 64
6428 // PPC-LINUX:#define __INTPTR_FMTd__ "d"
6429 // PPC-LINUX:#define __INTPTR_FMTi__ "i"
6430 // PPC-LINUX:#define __INTPTR_MAX__ 2147483647
6431 // PPC-LINUX:#define __INTPTR_TYPE__ int
6432 // PPC-LINUX:#define __INTPTR_WIDTH__ 32
6433 // PPC-LINUX:#define __INT_FAST16_FMTd__ "hd"
6434 // PPC-LINUX:#define __INT_FAST16_FMTi__ "hi"
6435 // PPC-LINUX:#define __INT_FAST16_MAX__ 32767
6436 // PPC-LINUX:#define __INT_FAST16_TYPE__ short
6437 // PPC-LINUX:#define __INT_FAST32_FMTd__ "d"
6438 // PPC-LINUX:#define __INT_FAST32_FMTi__ "i"
6439 // PPC-LINUX:#define __INT_FAST32_MAX__ 2147483647
6440 // PPC-LINUX:#define __INT_FAST32_TYPE__ int
6441 // PPC-LINUX:#define __INT_FAST64_FMTd__ "lld"
6442 // PPC-LINUX:#define __INT_FAST64_FMTi__ "lli"
6443 // PPC-LINUX:#define __INT_FAST64_MAX__ 9223372036854775807LL
6444 // PPC-LINUX:#define __INT_FAST64_TYPE__ long long int
6445 // PPC-LINUX:#define __INT_FAST8_FMTd__ "hhd"
6446 // PPC-LINUX:#define __INT_FAST8_FMTi__ "hhi"
6447 // PPC-LINUX:#define __INT_FAST8_MAX__ 127
6448 // PPC-LINUX:#define __INT_FAST8_TYPE__ signed char
6449 // PPC-LINUX:#define __INT_LEAST16_FMTd__ "hd"
6450 // PPC-LINUX:#define __INT_LEAST16_FMTi__ "hi"
6451 // PPC-LINUX:#define __INT_LEAST16_MAX__ 32767
6452 // PPC-LINUX:#define __INT_LEAST16_TYPE__ short
6453 // PPC-LINUX:#define __INT_LEAST32_FMTd__ "d"
6454 // PPC-LINUX:#define __INT_LEAST32_FMTi__ "i"
6455 // PPC-LINUX:#define __INT_LEAST32_MAX__ 2147483647
6456 // PPC-LINUX:#define __INT_LEAST32_TYPE__ int
6457 // PPC-LINUX:#define __INT_LEAST64_FMTd__ "lld"
6458 // PPC-LINUX:#define __INT_LEAST64_FMTi__ "lli"
6459 // PPC-LINUX:#define __INT_LEAST64_MAX__ 9223372036854775807LL
6460 // PPC-LINUX:#define __INT_LEAST64_TYPE__ long long int
6461 // PPC-LINUX:#define __INT_LEAST8_FMTd__ "hhd"
6462 // PPC-LINUX:#define __INT_LEAST8_FMTi__ "hhi"
6463 // PPC-LINUX:#define __INT_LEAST8_MAX__ 127
6464 // PPC-LINUX:#define __INT_LEAST8_TYPE__ signed char
6465 // PPC-LINUX:#define __INT_MAX__ 2147483647
6466 // PPC-LINUX:#define __LDBL_DENORM_MIN__ 4.94065645841246544176568792868221e-324L
6467 // PPC-LINUX:#define __LDBL_DIG__ 31
6468 // PPC-LINUX:#define __LDBL_EPSILON__ 4.94065645841246544176568792868221e-324L
6469 // PPC-LINUX:#define __LDBL_HAS_DENORM__ 1
6470 // PPC-LINUX:#define __LDBL_HAS_INFINITY__ 1
6471 // PPC-LINUX:#define __LDBL_HAS_QUIET_NAN__ 1
6472 // PPC-LINUX:#define __LDBL_MANT_DIG__ 106
6473 // PPC-LINUX:#define __LDBL_MAX_10_EXP__ 308
6474 // PPC-LINUX:#define __LDBL_MAX_EXP__ 1024
6475 // PPC-LINUX:#define __LDBL_MAX__ 1.79769313486231580793728971405301e+308L
6476 // PPC-LINUX:#define __LDBL_MIN_10_EXP__ (-291)
6477 // PPC-LINUX:#define __LDBL_MIN_EXP__ (-968)
6478 // PPC-LINUX:#define __LDBL_MIN__ 2.00416836000897277799610805135016e-292L
6479 // PPC-LINUX:#define __LONGDOUBLE128 1
6480 // PPC-LINUX:#define __LONG_DOUBLE_128__ 1
6481 // PPC-LINUX:#define __LONG_LONG_MAX__ 9223372036854775807LL
6482 // PPC-LINUX:#define __LONG_MAX__ 2147483647L
6483 // PPC-LINUX-NOT:#define __LP64__
6484 // PPC-LINUX:#define __NATURAL_ALIGNMENT__ 1
6485 // PPC-LINUX:#define __POINTER_WIDTH__ 32
6486 // PPC-LINUX:#define __POWERPC__ 1
6487 // PPC-LINUX:#define __PPC__ 1
6488 // PPC-LINUX:#define __PTRDIFF_TYPE__ int
6489 // PPC-LINUX:#define __PTRDIFF_WIDTH__ 32
6490 // PPC-LINUX:#define __REGISTER_PREFIX__
6491 // PPC-LINUX:#define __SCHAR_MAX__ 127
6492 // PPC-LINUX:#define __SHRT_MAX__ 32767
6493 // PPC-LINUX:#define __SIG_ATOMIC_MAX__ 2147483647
6494 // PPC-LINUX:#define __SIG_ATOMIC_WIDTH__ 32
6495 // PPC-LINUX:#define __SIZEOF_DOUBLE__ 8
6496 // PPC-LINUX:#define __SIZEOF_FLOAT__ 4
6497 // PPC-LINUX:#define __SIZEOF_INT__ 4
6498 // PPC-LINUX:#define __SIZEOF_LONG_DOUBLE__ 16
6499 // PPC-LINUX:#define __SIZEOF_LONG_LONG__ 8
6500 // PPC-LINUX:#define __SIZEOF_LONG__ 4
6501 // PPC-LINUX:#define __SIZEOF_POINTER__ 4
6502 // PPC-LINUX:#define __SIZEOF_PTRDIFF_T__ 4
6503 // PPC-LINUX:#define __SIZEOF_SHORT__ 2
6504 // PPC-LINUX:#define __SIZEOF_SIZE_T__ 4
6505 // PPC-LINUX:#define __SIZEOF_WCHAR_T__ 4
6506 // PPC-LINUX:#define __SIZEOF_WINT_T__ 4
6507 // PPC-LINUX:#define __SIZE_MAX__ 4294967295U
6508 // PPC-LINUX:#define __SIZE_TYPE__ unsigned int
6509 // PPC-LINUX:#define __SIZE_WIDTH__ 32
6510 // PPC-LINUX:#define __UINT16_C_SUFFIX__
6511 // PPC-LINUX:#define __UINT16_MAX__ 65535
6512 // PPC-LINUX:#define __UINT16_TYPE__ unsigned short
6513 // PPC-LINUX:#define __UINT32_C_SUFFIX__ U
6514 // PPC-LINUX:#define __UINT32_MAX__ 4294967295U
6515 // PPC-LINUX:#define __UINT32_TYPE__ unsigned int
6516 // PPC-LINUX:#define __UINT64_C_SUFFIX__ ULL
6517 // PPC-LINUX:#define __UINT64_MAX__ 18446744073709551615ULL
6518 // PPC-LINUX:#define __UINT64_TYPE__ long long unsigned int
6519 // PPC-LINUX:#define __UINT8_C_SUFFIX__
6520 // PPC-LINUX:#define __UINT8_MAX__ 255
6521 // PPC-LINUX:#define __UINT8_TYPE__ unsigned char
6522 // PPC-LINUX:#define __UINTMAX_C_SUFFIX__ ULL
6523 // PPC-LINUX:#define __UINTMAX_MAX__ 18446744073709551615ULL
6524 // PPC-LINUX:#define __UINTMAX_TYPE__ long long unsigned int
6525 // PPC-LINUX:#define __UINTMAX_WIDTH__ 64
6526 // PPC-LINUX:#define __UINTPTR_MAX__ 4294967295U
6527 // PPC-LINUX:#define __UINTPTR_TYPE__ unsigned int
6528 // PPC-LINUX:#define __UINTPTR_WIDTH__ 32
6529 // PPC-LINUX:#define __UINT_FAST16_MAX__ 65535
6530 // PPC-LINUX:#define __UINT_FAST16_TYPE__ unsigned short
6531 // PPC-LINUX:#define __UINT_FAST32_MAX__ 4294967295U
6532 // PPC-LINUX:#define __UINT_FAST32_TYPE__ unsigned int
6533 // PPC-LINUX:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
6534 // PPC-LINUX:#define __UINT_FAST64_TYPE__ long long unsigned int
6535 // PPC-LINUX:#define __UINT_FAST8_MAX__ 255
6536 // PPC-LINUX:#define __UINT_FAST8_TYPE__ unsigned char
6537 // PPC-LINUX:#define __UINT_LEAST16_MAX__ 65535
6538 // PPC-LINUX:#define __UINT_LEAST16_TYPE__ unsigned short
6539 // PPC-LINUX:#define __UINT_LEAST32_MAX__ 4294967295U
6540 // PPC-LINUX:#define __UINT_LEAST32_TYPE__ unsigned int
6541 // PPC-LINUX:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
6542 // PPC-LINUX:#define __UINT_LEAST64_TYPE__ long long unsigned int
6543 // PPC-LINUX:#define __UINT_LEAST8_MAX__ 255
6544 // PPC-LINUX:#define __UINT_LEAST8_TYPE__ unsigned char
6545 // PPC-LINUX:#define __USER_LABEL_PREFIX__
6546 // PPC-LINUX:#define __WCHAR_MAX__ 2147483647
6547 // PPC-LINUX:#define __WCHAR_TYPE__ int
6548 // PPC-LINUX:#define __WCHAR_WIDTH__ 32
6549 // PPC-LINUX:#define __WINT_TYPE__ unsigned int
6550 // PPC-LINUX:#define __WINT_UNSIGNED__ 1
6551 // PPC-LINUX:#define __WINT_WIDTH__ 32
6552 // PPC-LINUX:#define __powerpc__ 1
6553 // PPC-LINUX:#define __ppc__ 1
6554 //
6555 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc-unknown-linux-gnu -fno-signed-char < /dev/null | FileCheck -match-full-lines -check-prefix PPC32-LINUX %s
6556 //
6557 // PPC32-LINUX-NOT: _CALL_LINUX
6558 //
6559 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc-unknown-linux-gnu -target-feature +spe < /dev/null | FileCheck -match-full-lines -check-prefix PPC32-SPE %s
6560 //
6561 // PPC32-SPE:#define __NO_FPRS__ 1
6562 // PPC32-SPE:#define __SPE__ 1
6563 //
6564 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc-unknown-linux-gnu -target-cpu 8548 < /dev/null | FileCheck -match-full-lines -check-prefix PPC8548 %s
6565 //
6566 // PPC8548:#define __NO_FPRS__ 1
6567 // PPC8548:#define __NO_LWSYNC__ 1
6568 // PPC8548:#define __SPE__ 1
6569 //
6570 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc-apple-darwin8 < /dev/null | FileCheck -match-full-lines -check-prefix PPC-DARWIN %s
6571 //
6572 // PPC-DARWIN:#define _ARCH_PPC 1
6573 // PPC-DARWIN:#define _BIG_ENDIAN 1
6574 // PPC-DARWIN:#define __BIGGEST_ALIGNMENT__ 16
6575 // PPC-DARWIN:#define __BIG_ENDIAN__ 1
6576 // PPC-DARWIN:#define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__
6577 // PPC-DARWIN:#define __CHAR16_TYPE__ unsigned short
6578 // PPC-DARWIN:#define __CHAR32_TYPE__ unsigned int
6579 // PPC-DARWIN:#define __CHAR_BIT__ 8
6580 // PPC-DARWIN:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
6581 // PPC-DARWIN:#define __DBL_DIG__ 15
6582 // PPC-DARWIN:#define __DBL_EPSILON__ 2.2204460492503131e-16
6583 // PPC-DARWIN:#define __DBL_HAS_DENORM__ 1
6584 // PPC-DARWIN:#define __DBL_HAS_INFINITY__ 1
6585 // PPC-DARWIN:#define __DBL_HAS_QUIET_NAN__ 1
6586 // PPC-DARWIN:#define __DBL_MANT_DIG__ 53
6587 // PPC-DARWIN:#define __DBL_MAX_10_EXP__ 308
6588 // PPC-DARWIN:#define __DBL_MAX_EXP__ 1024
6589 // PPC-DARWIN:#define __DBL_MAX__ 1.7976931348623157e+308
6590 // PPC-DARWIN:#define __DBL_MIN_10_EXP__ (-307)
6591 // PPC-DARWIN:#define __DBL_MIN_EXP__ (-1021)
6592 // PPC-DARWIN:#define __DBL_MIN__ 2.2250738585072014e-308
6593 // PPC-DARWIN:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
6594 // PPC-DARWIN:#define __FLT_DENORM_MIN__ 1.40129846e-45F
6595 // PPC-DARWIN:#define __FLT_DIG__ 6
6596 // PPC-DARWIN:#define __FLT_EPSILON__ 1.19209290e-7F
6597 // PPC-DARWIN:#define __FLT_EVAL_METHOD__ 0
6598 // PPC-DARWIN:#define __FLT_HAS_DENORM__ 1
6599 // PPC-DARWIN:#define __FLT_HAS_INFINITY__ 1
6600 // PPC-DARWIN:#define __FLT_HAS_QUIET_NAN__ 1
6601 // PPC-DARWIN:#define __FLT_MANT_DIG__ 24
6602 // PPC-DARWIN:#define __FLT_MAX_10_EXP__ 38
6603 // PPC-DARWIN:#define __FLT_MAX_EXP__ 128
6604 // PPC-DARWIN:#define __FLT_MAX__ 3.40282347e+38F
6605 // PPC-DARWIN:#define __FLT_MIN_10_EXP__ (-37)
6606 // PPC-DARWIN:#define __FLT_MIN_EXP__ (-125)
6607 // PPC-DARWIN:#define __FLT_MIN__ 1.17549435e-38F
6608 // PPC-DARWIN:#define __FLT_RADIX__ 2
6609 // PPC-DARWIN:#define __HAVE_BSWAP__ 1
6610 // PPC-DARWIN:#define __INT16_C_SUFFIX__
6611 // PPC-DARWIN:#define __INT16_FMTd__ "hd"
6612 // PPC-DARWIN:#define __INT16_FMTi__ "hi"
6613 // PPC-DARWIN:#define __INT16_MAX__ 32767
6614 // PPC-DARWIN:#define __INT16_TYPE__ short
6615 // PPC-DARWIN:#define __INT32_C_SUFFIX__
6616 // PPC-DARWIN:#define __INT32_FMTd__ "d"
6617 // PPC-DARWIN:#define __INT32_FMTi__ "i"
6618 // PPC-DARWIN:#define __INT32_MAX__ 2147483647
6619 // PPC-DARWIN:#define __INT32_TYPE__ int
6620 // PPC-DARWIN:#define __INT64_C_SUFFIX__ LL
6621 // PPC-DARWIN:#define __INT64_FMTd__ "lld"
6622 // PPC-DARWIN:#define __INT64_FMTi__ "lli"
6623 // PPC-DARWIN:#define __INT64_MAX__ 9223372036854775807LL
6624 // PPC-DARWIN:#define __INT64_TYPE__ long long int
6625 // PPC-DARWIN:#define __INT8_C_SUFFIX__
6626 // PPC-DARWIN:#define __INT8_FMTd__ "hhd"
6627 // PPC-DARWIN:#define __INT8_FMTi__ "hhi"
6628 // PPC-DARWIN:#define __INT8_MAX__ 127
6629 // PPC-DARWIN:#define __INT8_TYPE__ signed char
6630 // PPC-DARWIN:#define __INTMAX_C_SUFFIX__ LL
6631 // PPC-DARWIN:#define __INTMAX_FMTd__ "lld"
6632 // PPC-DARWIN:#define __INTMAX_FMTi__ "lli"
6633 // PPC-DARWIN:#define __INTMAX_MAX__ 9223372036854775807LL
6634 // PPC-DARWIN:#define __INTMAX_TYPE__ long long int
6635 // PPC-DARWIN:#define __INTMAX_WIDTH__ 64
6636 // PPC-DARWIN:#define __INTPTR_FMTd__ "ld"
6637 // PPC-DARWIN:#define __INTPTR_FMTi__ "li"
6638 // PPC-DARWIN:#define __INTPTR_MAX__ 2147483647L
6639 // PPC-DARWIN:#define __INTPTR_TYPE__ long int
6640 // PPC-DARWIN:#define __INTPTR_WIDTH__ 32
6641 // PPC-DARWIN:#define __INT_FAST16_FMTd__ "hd"
6642 // PPC-DARWIN:#define __INT_FAST16_FMTi__ "hi"
6643 // PPC-DARWIN:#define __INT_FAST16_MAX__ 32767
6644 // PPC-DARWIN:#define __INT_FAST16_TYPE__ short
6645 // PPC-DARWIN:#define __INT_FAST32_FMTd__ "d"
6646 // PPC-DARWIN:#define __INT_FAST32_FMTi__ "i"
6647 // PPC-DARWIN:#define __INT_FAST32_MAX__ 2147483647
6648 // PPC-DARWIN:#define __INT_FAST32_TYPE__ int
6649 // PPC-DARWIN:#define __INT_FAST64_FMTd__ "lld"
6650 // PPC-DARWIN:#define __INT_FAST64_FMTi__ "lli"
6651 // PPC-DARWIN:#define __INT_FAST64_MAX__ 9223372036854775807LL
6652 // PPC-DARWIN:#define __INT_FAST64_TYPE__ long long int
6653 // PPC-DARWIN:#define __INT_FAST8_FMTd__ "hhd"
6654 // PPC-DARWIN:#define __INT_FAST8_FMTi__ "hhi"
6655 // PPC-DARWIN:#define __INT_FAST8_MAX__ 127
6656 // PPC-DARWIN:#define __INT_FAST8_TYPE__ signed char
6657 // PPC-DARWIN:#define __INT_LEAST16_FMTd__ "hd"
6658 // PPC-DARWIN:#define __INT_LEAST16_FMTi__ "hi"
6659 // PPC-DARWIN:#define __INT_LEAST16_MAX__ 32767
6660 // PPC-DARWIN:#define __INT_LEAST16_TYPE__ short
6661 // PPC-DARWIN:#define __INT_LEAST32_FMTd__ "d"
6662 // PPC-DARWIN:#define __INT_LEAST32_FMTi__ "i"
6663 // PPC-DARWIN:#define __INT_LEAST32_MAX__ 2147483647
6664 // PPC-DARWIN:#define __INT_LEAST32_TYPE__ int
6665 // PPC-DARWIN:#define __INT_LEAST64_FMTd__ "lld"
6666 // PPC-DARWIN:#define __INT_LEAST64_FMTi__ "lli"
6667 // PPC-DARWIN:#define __INT_LEAST64_MAX__ 9223372036854775807LL
6668 // PPC-DARWIN:#define __INT_LEAST64_TYPE__ long long int
6669 // PPC-DARWIN:#define __INT_LEAST8_FMTd__ "hhd"
6670 // PPC-DARWIN:#define __INT_LEAST8_FMTi__ "hhi"
6671 // PPC-DARWIN:#define __INT_LEAST8_MAX__ 127
6672 // PPC-DARWIN:#define __INT_LEAST8_TYPE__ signed char
6673 // PPC-DARWIN:#define __INT_MAX__ 2147483647
6674 // PPC-DARWIN:#define __LDBL_DENORM_MIN__ 4.94065645841246544176568792868221e-324L
6675 // PPC-DARWIN:#define __LDBL_DIG__ 31
6676 // PPC-DARWIN:#define __LDBL_EPSILON__ 4.94065645841246544176568792868221e-324L
6677 // PPC-DARWIN:#define __LDBL_HAS_DENORM__ 1
6678 // PPC-DARWIN:#define __LDBL_HAS_INFINITY__ 1
6679 // PPC-DARWIN:#define __LDBL_HAS_QUIET_NAN__ 1
6680 // PPC-DARWIN:#define __LDBL_MANT_DIG__ 106
6681 // PPC-DARWIN:#define __LDBL_MAX_10_EXP__ 308
6682 // PPC-DARWIN:#define __LDBL_MAX_EXP__ 1024
6683 // PPC-DARWIN:#define __LDBL_MAX__ 1.79769313486231580793728971405301e+308L
6684 // PPC-DARWIN:#define __LDBL_MIN_10_EXP__ (-291)
6685 // PPC-DARWIN:#define __LDBL_MIN_EXP__ (-968)
6686 // PPC-DARWIN:#define __LDBL_MIN__ 2.00416836000897277799610805135016e-292L
6687 // PPC-DARWIN:#define __LONGDOUBLE128 1
6688 // PPC-DARWIN:#define __LONG_DOUBLE_128__ 1
6689 // PPC-DARWIN:#define __LONG_LONG_MAX__ 9223372036854775807LL
6690 // PPC-DARWIN:#define __LONG_MAX__ 2147483647L
6691 // PPC-DARWIN:#define __MACH__ 1
6692 // PPC-DARWIN:#define __NATURAL_ALIGNMENT__ 1
6693 // PPC-DARWIN:#define __ORDER_BIG_ENDIAN__ 4321
6694 // PPC-DARWIN:#define __ORDER_LITTLE_ENDIAN__ 1234
6695 // PPC-DARWIN:#define __ORDER_PDP_ENDIAN__ 3412
6696 // PPC-DARWIN:#define __POINTER_WIDTH__ 32
6697 // PPC-DARWIN:#define __POWERPC__ 1
6698 // PPC-DARWIN:#define __PPC__ 1
6699 // PPC-DARWIN:#define __PTRDIFF_TYPE__ int
6700 // PPC-DARWIN:#define __PTRDIFF_WIDTH__ 32
6701 // PPC-DARWIN:#define __REGISTER_PREFIX__
6702 // PPC-DARWIN:#define __SCHAR_MAX__ 127
6703 // PPC-DARWIN:#define __SHRT_MAX__ 32767
6704 // PPC-DARWIN:#define __SIG_ATOMIC_MAX__ 2147483647
6705 // PPC-DARWIN:#define __SIG_ATOMIC_WIDTH__ 32
6706 // PPC-DARWIN:#define __SIZEOF_DOUBLE__ 8
6707 // PPC-DARWIN:#define __SIZEOF_FLOAT__ 4
6708 // PPC-DARWIN:#define __SIZEOF_INT__ 4
6709 // PPC-DARWIN:#define __SIZEOF_LONG_DOUBLE__ 16
6710 // PPC-DARWIN:#define __SIZEOF_LONG_LONG__ 8
6711 // PPC-DARWIN:#define __SIZEOF_LONG__ 4
6712 // PPC-DARWIN:#define __SIZEOF_POINTER__ 4
6713 // PPC-DARWIN:#define __SIZEOF_PTRDIFF_T__ 4
6714 // PPC-DARWIN:#define __SIZEOF_SHORT__ 2
6715 // PPC-DARWIN:#define __SIZEOF_SIZE_T__ 4
6716 // PPC-DARWIN:#define __SIZEOF_WCHAR_T__ 4
6717 // PPC-DARWIN:#define __SIZEOF_WINT_T__ 4
6718 // PPC-DARWIN:#define __SIZE_MAX__ 4294967295UL
6719 // PPC-DARWIN:#define __SIZE_TYPE__ long unsigned int
6720 // PPC-DARWIN:#define __SIZE_WIDTH__ 32
6721 // PPC-DARWIN:#define __STDC_HOSTED__ 0
6722 // PPC-DARWIN:#define __STDC_VERSION__ 201112L
6723 // PPC-DARWIN:#define __STDC__ 1
6724 // PPC-DARWIN:#define __UINT16_C_SUFFIX__
6725 // PPC-DARWIN:#define __UINT16_MAX__ 65535
6726 // PPC-DARWIN:#define __UINT16_TYPE__ unsigned short
6727 // PPC-DARWIN:#define __UINT32_C_SUFFIX__ U
6728 // PPC-DARWIN:#define __UINT32_MAX__ 4294967295U
6729 // PPC-DARWIN:#define __UINT32_TYPE__ unsigned int
6730 // PPC-DARWIN:#define __UINT64_C_SUFFIX__ ULL
6731 // PPC-DARWIN:#define __UINT64_MAX__ 18446744073709551615ULL
6732 // PPC-DARWIN:#define __UINT64_TYPE__ long long unsigned int
6733 // PPC-DARWIN:#define __UINT8_C_SUFFIX__
6734 // PPC-DARWIN:#define __UINT8_MAX__ 255
6735 // PPC-DARWIN:#define __UINT8_TYPE__ unsigned char
6736 // PPC-DARWIN:#define __UINTMAX_C_SUFFIX__ ULL
6737 // PPC-DARWIN:#define __UINTMAX_MAX__ 18446744073709551615ULL
6738 // PPC-DARWIN:#define __UINTMAX_TYPE__ long long unsigned int
6739 // PPC-DARWIN:#define __UINTMAX_WIDTH__ 64
6740 // PPC-DARWIN:#define __UINTPTR_MAX__ 4294967295UL
6741 // PPC-DARWIN:#define __UINTPTR_TYPE__ long unsigned int
6742 // PPC-DARWIN:#define __UINTPTR_WIDTH__ 32
6743 // PPC-DARWIN:#define __UINT_FAST16_MAX__ 65535
6744 // PPC-DARWIN:#define __UINT_FAST16_TYPE__ unsigned short
6745 // PPC-DARWIN:#define __UINT_FAST32_MAX__ 4294967295U
6746 // PPC-DARWIN:#define __UINT_FAST32_TYPE__ unsigned int
6747 // PPC-DARWIN:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
6748 // PPC-DARWIN:#define __UINT_FAST64_TYPE__ long long unsigned int
6749 // PPC-DARWIN:#define __UINT_FAST8_MAX__ 255
6750 // PPC-DARWIN:#define __UINT_FAST8_TYPE__ unsigned char
6751 // PPC-DARWIN:#define __UINT_LEAST16_MAX__ 65535
6752 // PPC-DARWIN:#define __UINT_LEAST16_TYPE__ unsigned short
6753 // PPC-DARWIN:#define __UINT_LEAST32_MAX__ 4294967295U
6754 // PPC-DARWIN:#define __UINT_LEAST32_TYPE__ unsigned int
6755 // PPC-DARWIN:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
6756 // PPC-DARWIN:#define __UINT_LEAST64_TYPE__ long long unsigned int
6757 // PPC-DARWIN:#define __UINT_LEAST8_MAX__ 255
6758 // PPC-DARWIN:#define __UINT_LEAST8_TYPE__ unsigned char
6759 // PPC-DARWIN:#define __USER_LABEL_PREFIX__ _
6760 // PPC-DARWIN:#define __WCHAR_MAX__ 2147483647
6761 // PPC-DARWIN:#define __WCHAR_TYPE__ int
6762 // PPC-DARWIN:#define __WCHAR_WIDTH__ 32
6763 // PPC-DARWIN:#define __WINT_TYPE__ int
6764 // PPC-DARWIN:#define __WINT_WIDTH__ 32
6765 // PPC-DARWIN:#define __powerpc__ 1
6766 // PPC-DARWIN:#define __ppc__ 1
6767 
6768 // RUN: %clang_cc1 -x cl -E -dM -ffreestanding -triple=amdgcn < /dev/null | FileCheck -match-full-lines -check-prefix AMDGCN --check-prefix AMDGPU %s
6769 // RUN: %clang_cc1 -x cl -E -dM -ffreestanding -triple=r600 -target-cpu caicos < /dev/null | FileCheck -match-full-lines --check-prefix AMDGPU %s
6770 //
6771 // AMDGPU:#define __ENDIAN_LITTLE__ 1
6772 // AMDGPU:#define cl_khr_byte_addressable_store 1
6773 // AMDGCN:#define cl_khr_fp64 1
6774 // AMDGPU:#define cl_khr_global_int32_base_atomics 1
6775 // AMDGPU:#define cl_khr_global_int32_extended_atomics 1
6776 // AMDGPU:#define cl_khr_local_int32_base_atomics 1
6777 // AMDGPU:#define cl_khr_local_int32_extended_atomics 1
6778 
6779 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=s390x-none-none -fno-signed-char < /dev/null | FileCheck -match-full-lines -check-prefix S390X %s
6780 // RUN: %clang_cc1 -x c++ -E -dM -ffreestanding -triple=s390x-none-none -fno-signed-char < /dev/null | FileCheck -match-full-lines -check-prefix S390X -check-prefix S390X-CXX %s
6781 //
6782 // S390X:#define __BIGGEST_ALIGNMENT__ 8
6783 // S390X:#define __CHAR16_TYPE__ unsigned short
6784 // S390X:#define __CHAR32_TYPE__ unsigned int
6785 // S390X:#define __CHAR_BIT__ 8
6786 // S390X:#define __CHAR_UNSIGNED__ 1
6787 // S390X:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
6788 // S390X:#define __DBL_DIG__ 15
6789 // S390X:#define __DBL_EPSILON__ 2.2204460492503131e-16
6790 // S390X:#define __DBL_HAS_DENORM__ 1
6791 // S390X:#define __DBL_HAS_INFINITY__ 1
6792 // S390X:#define __DBL_HAS_QUIET_NAN__ 1
6793 // S390X:#define __DBL_MANT_DIG__ 53
6794 // S390X:#define __DBL_MAX_10_EXP__ 308
6795 // S390X:#define __DBL_MAX_EXP__ 1024
6796 // S390X:#define __DBL_MAX__ 1.7976931348623157e+308
6797 // S390X:#define __DBL_MIN_10_EXP__ (-307)
6798 // S390X:#define __DBL_MIN_EXP__ (-1021)
6799 // S390X:#define __DBL_MIN__ 2.2250738585072014e-308
6800 // S390X:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
6801 // S390X:#define __FLT_DENORM_MIN__ 1.40129846e-45F
6802 // S390X:#define __FLT_DIG__ 6
6803 // S390X:#define __FLT_EPSILON__ 1.19209290e-7F
6804 // S390X:#define __FLT_EVAL_METHOD__ 0
6805 // S390X:#define __FLT_HAS_DENORM__ 1
6806 // S390X:#define __FLT_HAS_INFINITY__ 1
6807 // S390X:#define __FLT_HAS_QUIET_NAN__ 1
6808 // S390X:#define __FLT_MANT_DIG__ 24
6809 // S390X:#define __FLT_MAX_10_EXP__ 38
6810 // S390X:#define __FLT_MAX_EXP__ 128
6811 // S390X:#define __FLT_MAX__ 3.40282347e+38F
6812 // S390X:#define __FLT_MIN_10_EXP__ (-37)
6813 // S390X:#define __FLT_MIN_EXP__ (-125)
6814 // S390X:#define __FLT_MIN__ 1.17549435e-38F
6815 // S390X:#define __FLT_RADIX__ 2
6816 // S390X:#define __INT16_C_SUFFIX__
6817 // S390X:#define __INT16_FMTd__ "hd"
6818 // S390X:#define __INT16_FMTi__ "hi"
6819 // S390X:#define __INT16_MAX__ 32767
6820 // S390X:#define __INT16_TYPE__ short
6821 // S390X:#define __INT32_C_SUFFIX__
6822 // S390X:#define __INT32_FMTd__ "d"
6823 // S390X:#define __INT32_FMTi__ "i"
6824 // S390X:#define __INT32_MAX__ 2147483647
6825 // S390X:#define __INT32_TYPE__ int
6826 // S390X:#define __INT64_C_SUFFIX__ L
6827 // S390X:#define __INT64_FMTd__ "ld"
6828 // S390X:#define __INT64_FMTi__ "li"
6829 // S390X:#define __INT64_MAX__ 9223372036854775807L
6830 // S390X:#define __INT64_TYPE__ long int
6831 // S390X:#define __INT8_C_SUFFIX__
6832 // S390X:#define __INT8_FMTd__ "hhd"
6833 // S390X:#define __INT8_FMTi__ "hhi"
6834 // S390X:#define __INT8_MAX__ 127
6835 // S390X:#define __INT8_TYPE__ signed char
6836 // S390X:#define __INTMAX_C_SUFFIX__ L
6837 // S390X:#define __INTMAX_FMTd__ "ld"
6838 // S390X:#define __INTMAX_FMTi__ "li"
6839 // S390X:#define __INTMAX_MAX__ 9223372036854775807L
6840 // S390X:#define __INTMAX_TYPE__ long int
6841 // S390X:#define __INTMAX_WIDTH__ 64
6842 // S390X:#define __INTPTR_FMTd__ "ld"
6843 // S390X:#define __INTPTR_FMTi__ "li"
6844 // S390X:#define __INTPTR_MAX__ 9223372036854775807L
6845 // S390X:#define __INTPTR_TYPE__ long int
6846 // S390X:#define __INTPTR_WIDTH__ 64
6847 // S390X:#define __INT_FAST16_FMTd__ "hd"
6848 // S390X:#define __INT_FAST16_FMTi__ "hi"
6849 // S390X:#define __INT_FAST16_MAX__ 32767
6850 // S390X:#define __INT_FAST16_TYPE__ short
6851 // S390X:#define __INT_FAST32_FMTd__ "d"
6852 // S390X:#define __INT_FAST32_FMTi__ "i"
6853 // S390X:#define __INT_FAST32_MAX__ 2147483647
6854 // S390X:#define __INT_FAST32_TYPE__ int
6855 // S390X:#define __INT_FAST64_FMTd__ "ld"
6856 // S390X:#define __INT_FAST64_FMTi__ "li"
6857 // S390X:#define __INT_FAST64_MAX__ 9223372036854775807L
6858 // S390X:#define __INT_FAST64_TYPE__ long int
6859 // S390X:#define __INT_FAST8_FMTd__ "hhd"
6860 // S390X:#define __INT_FAST8_FMTi__ "hhi"
6861 // S390X:#define __INT_FAST8_MAX__ 127
6862 // S390X:#define __INT_FAST8_TYPE__ signed char
6863 // S390X:#define __INT_LEAST16_FMTd__ "hd"
6864 // S390X:#define __INT_LEAST16_FMTi__ "hi"
6865 // S390X:#define __INT_LEAST16_MAX__ 32767
6866 // S390X:#define __INT_LEAST16_TYPE__ short
6867 // S390X:#define __INT_LEAST32_FMTd__ "d"
6868 // S390X:#define __INT_LEAST32_FMTi__ "i"
6869 // S390X:#define __INT_LEAST32_MAX__ 2147483647
6870 // S390X:#define __INT_LEAST32_TYPE__ int
6871 // S390X:#define __INT_LEAST64_FMTd__ "ld"
6872 // S390X:#define __INT_LEAST64_FMTi__ "li"
6873 // S390X:#define __INT_LEAST64_MAX__ 9223372036854775807L
6874 // S390X:#define __INT_LEAST64_TYPE__ long int
6875 // S390X:#define __INT_LEAST8_FMTd__ "hhd"
6876 // S390X:#define __INT_LEAST8_FMTi__ "hhi"
6877 // S390X:#define __INT_LEAST8_MAX__ 127
6878 // S390X:#define __INT_LEAST8_TYPE__ signed char
6879 // S390X:#define __INT_MAX__ 2147483647
6880 // S390X:#define __LDBL_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966L
6881 // S390X:#define __LDBL_DIG__ 33
6882 // S390X:#define __LDBL_EPSILON__ 1.92592994438723585305597794258492732e-34L
6883 // S390X:#define __LDBL_HAS_DENORM__ 1
6884 // S390X:#define __LDBL_HAS_INFINITY__ 1
6885 // S390X:#define __LDBL_HAS_QUIET_NAN__ 1
6886 // S390X:#define __LDBL_MANT_DIG__ 113
6887 // S390X:#define __LDBL_MAX_10_EXP__ 4932
6888 // S390X:#define __LDBL_MAX_EXP__ 16384
6889 // S390X:#define __LDBL_MAX__ 1.18973149535723176508575932662800702e+4932L
6890 // S390X:#define __LDBL_MIN_10_EXP__ (-4931)
6891 // S390X:#define __LDBL_MIN_EXP__ (-16381)
6892 // S390X:#define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L
6893 // S390X:#define __LONG_LONG_MAX__ 9223372036854775807LL
6894 // S390X:#define __LONG_MAX__ 9223372036854775807L
6895 // S390X:#define __NO_INLINE__ 1
6896 // S390X:#define __POINTER_WIDTH__ 64
6897 // S390X:#define __PTRDIFF_TYPE__ long int
6898 // S390X:#define __PTRDIFF_WIDTH__ 64
6899 // S390X:#define __SCHAR_MAX__ 127
6900 // S390X:#define __SHRT_MAX__ 32767
6901 // S390X:#define __SIG_ATOMIC_MAX__ 2147483647
6902 // S390X:#define __SIG_ATOMIC_WIDTH__ 32
6903 // S390X:#define __SIZEOF_DOUBLE__ 8
6904 // S390X:#define __SIZEOF_FLOAT__ 4
6905 // S390X:#define __SIZEOF_INT__ 4
6906 // S390X:#define __SIZEOF_LONG_DOUBLE__ 16
6907 // S390X:#define __SIZEOF_LONG_LONG__ 8
6908 // S390X:#define __SIZEOF_LONG__ 8
6909 // S390X:#define __SIZEOF_POINTER__ 8
6910 // S390X:#define __SIZEOF_PTRDIFF_T__ 8
6911 // S390X:#define __SIZEOF_SHORT__ 2
6912 // S390X:#define __SIZEOF_SIZE_T__ 8
6913 // S390X:#define __SIZEOF_WCHAR_T__ 4
6914 // S390X:#define __SIZEOF_WINT_T__ 4
6915 // S390X:#define __SIZE_TYPE__ long unsigned int
6916 // S390X:#define __SIZE_WIDTH__ 64
6917 // S390X-CXX:#define __STDCPP_DEFAULT_NEW_ALIGNMENT__ 8UL
6918 // S390X:#define __UINT16_C_SUFFIX__
6919 // S390X:#define __UINT16_MAX__ 65535
6920 // S390X:#define __UINT16_TYPE__ unsigned short
6921 // S390X:#define __UINT32_C_SUFFIX__ U
6922 // S390X:#define __UINT32_MAX__ 4294967295U
6923 // S390X:#define __UINT32_TYPE__ unsigned int
6924 // S390X:#define __UINT64_C_SUFFIX__ UL
6925 // S390X:#define __UINT64_MAX__ 18446744073709551615UL
6926 // S390X:#define __UINT64_TYPE__ long unsigned int
6927 // S390X:#define __UINT8_C_SUFFIX__
6928 // S390X:#define __UINT8_MAX__ 255
6929 // S390X:#define __UINT8_TYPE__ unsigned char
6930 // S390X:#define __UINTMAX_C_SUFFIX__ UL
6931 // S390X:#define __UINTMAX_MAX__ 18446744073709551615UL
6932 // S390X:#define __UINTMAX_TYPE__ long unsigned int
6933 // S390X:#define __UINTMAX_WIDTH__ 64
6934 // S390X:#define __UINTPTR_MAX__ 18446744073709551615UL
6935 // S390X:#define __UINTPTR_TYPE__ long unsigned int
6936 // S390X:#define __UINTPTR_WIDTH__ 64
6937 // S390X:#define __UINT_FAST16_MAX__ 65535
6938 // S390X:#define __UINT_FAST16_TYPE__ unsigned short
6939 // S390X:#define __UINT_FAST32_MAX__ 4294967295U
6940 // S390X:#define __UINT_FAST32_TYPE__ unsigned int
6941 // S390X:#define __UINT_FAST64_MAX__ 18446744073709551615UL
6942 // S390X:#define __UINT_FAST64_TYPE__ long unsigned int
6943 // S390X:#define __UINT_FAST8_MAX__ 255
6944 // S390X:#define __UINT_FAST8_TYPE__ unsigned char
6945 // S390X:#define __UINT_LEAST16_MAX__ 65535
6946 // S390X:#define __UINT_LEAST16_TYPE__ unsigned short
6947 // S390X:#define __UINT_LEAST32_MAX__ 4294967295U
6948 // S390X:#define __UINT_LEAST32_TYPE__ unsigned int
6949 // S390X:#define __UINT_LEAST64_MAX__ 18446744073709551615UL
6950 // S390X:#define __UINT_LEAST64_TYPE__ long unsigned int
6951 // S390X:#define __UINT_LEAST8_MAX__ 255
6952 // S390X:#define __UINT_LEAST8_TYPE__ unsigned char
6953 // S390X:#define __USER_LABEL_PREFIX__
6954 // S390X:#define __WCHAR_MAX__ 2147483647
6955 // S390X:#define __WCHAR_TYPE__ int
6956 // S390X:#define __WCHAR_WIDTH__ 32
6957 // S390X:#define __WINT_TYPE__ int
6958 // S390X:#define __WINT_WIDTH__ 32
6959 // S390X:#define __s390__ 1
6960 // S390X:#define __s390x__ 1
6961 //
6962 // RUN: %clang_cc1 -E -dM -ffreestanding -fgnuc-version=4.2.1 -triple=sparc-none-none < /dev/null | FileCheck -match-full-lines -check-prefix SPARC -check-prefix SPARC-DEFAULT %s
6963 // RUN: %clang_cc1 -E -dM -ffreestanding -fgnuc-version=4.2.1 -triple=sparc-rtems-elf < /dev/null | FileCheck -match-full-lines -check-prefix SPARC -check-prefix SPARC-DEFAULT %s
6964 // RUN: %clang_cc1 -E -dM -ffreestanding -fgnuc-version=4.2.1 -triple=sparc-none-netbsd < /dev/null | FileCheck -match-full-lines -check-prefix SPARC -check-prefix SPARC-NETOPENBSD %s
6965 // RUN: %clang_cc1 -E -dM -ffreestanding -fgnuc-version=4.2.1 -triple=sparc-none-openbsd < /dev/null | FileCheck -match-full-lines -check-prefix SPARC -check-prefix SPARC-NETOPENBSD %s
6966 // RUN: %clang_cc1 -x c++ -E -dM -ffreestanding -fgnuc-version=4.2.1 -triple=sparc-none-none < /dev/null | FileCheck -match-full-lines -check-prefix SPARC -check-prefix SPARC-DEFAULT -check-prefix SPARC-DEFAULT-CXX %s
6967 // RUN: %clang_cc1 -x c++ -E -dM -ffreestanding -fgnuc-version=4.2.1 -triple=sparc-none-openbsd < /dev/null | FileCheck -match-full-lines -check-prefix SPARC -check-prefix SPARC-NETOPENBSD -check-prefix SPARC-NETOPENBSD-CXX %s
6968 //
6969 // SPARC-NOT:#define _LP64
6970 // SPARC:#define __BIGGEST_ALIGNMENT__ 8
6971 // SPARC:#define __BIG_ENDIAN__ 1
6972 // SPARC:#define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__
6973 // SPARC:#define __CHAR16_TYPE__ unsigned short
6974 // SPARC:#define __CHAR32_TYPE__ unsigned int
6975 // SPARC:#define __CHAR_BIT__ 8
6976 // SPARC:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
6977 // SPARC:#define __DBL_DIG__ 15
6978 // SPARC:#define __DBL_EPSILON__ 2.2204460492503131e-16
6979 // SPARC:#define __DBL_HAS_DENORM__ 1
6980 // SPARC:#define __DBL_HAS_INFINITY__ 1
6981 // SPARC:#define __DBL_HAS_QUIET_NAN__ 1
6982 // SPARC:#define __DBL_MANT_DIG__ 53
6983 // SPARC:#define __DBL_MAX_10_EXP__ 308
6984 // SPARC:#define __DBL_MAX_EXP__ 1024
6985 // SPARC:#define __DBL_MAX__ 1.7976931348623157e+308
6986 // SPARC:#define __DBL_MIN_10_EXP__ (-307)
6987 // SPARC:#define __DBL_MIN_EXP__ (-1021)
6988 // SPARC:#define __DBL_MIN__ 2.2250738585072014e-308
6989 // SPARC:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
6990 // SPARC:#define __FLT_DENORM_MIN__ 1.40129846e-45F
6991 // SPARC:#define __FLT_DIG__ 6
6992 // SPARC:#define __FLT_EPSILON__ 1.19209290e-7F
6993 // SPARC:#define __FLT_EVAL_METHOD__ 0
6994 // SPARC:#define __FLT_HAS_DENORM__ 1
6995 // SPARC:#define __FLT_HAS_INFINITY__ 1
6996 // SPARC:#define __FLT_HAS_QUIET_NAN__ 1
6997 // SPARC:#define __FLT_MANT_DIG__ 24
6998 // SPARC:#define __FLT_MAX_10_EXP__ 38
6999 // SPARC:#define __FLT_MAX_EXP__ 128
7000 // SPARC:#define __FLT_MAX__ 3.40282347e+38F
7001 // SPARC:#define __FLT_MIN_10_EXP__ (-37)
7002 // SPARC:#define __FLT_MIN_EXP__ (-125)
7003 // SPARC:#define __FLT_MIN__ 1.17549435e-38F
7004 // SPARC:#define __FLT_RADIX__ 2
7005 // SPARC:#define __GCC_ATOMIC_LLONG_LOCK_FREE 1
7006 // SPARC:#define __INT16_C_SUFFIX__
7007 // SPARC:#define __INT16_FMTd__ "hd"
7008 // SPARC:#define __INT16_FMTi__ "hi"
7009 // SPARC:#define __INT16_MAX__ 32767
7010 // SPARC:#define __INT16_TYPE__ short
7011 // SPARC:#define __INT32_C_SUFFIX__
7012 // SPARC:#define __INT32_FMTd__ "d"
7013 // SPARC:#define __INT32_FMTi__ "i"
7014 // SPARC:#define __INT32_MAX__ 2147483647
7015 // SPARC:#define __INT32_TYPE__ int
7016 // SPARC:#define __INT64_C_SUFFIX__ LL
7017 // SPARC:#define __INT64_FMTd__ "lld"
7018 // SPARC:#define __INT64_FMTi__ "lli"
7019 // SPARC:#define __INT64_MAX__ 9223372036854775807LL
7020 // SPARC:#define __INT64_TYPE__ long long int
7021 // SPARC:#define __INT8_C_SUFFIX__
7022 // SPARC:#define __INT8_FMTd__ "hhd"
7023 // SPARC:#define __INT8_FMTi__ "hhi"
7024 // SPARC:#define __INT8_MAX__ 127
7025 // SPARC:#define __INT8_TYPE__ signed char
7026 // SPARC:#define __INTMAX_C_SUFFIX__ LL
7027 // SPARC:#define __INTMAX_FMTd__ "lld"
7028 // SPARC:#define __INTMAX_FMTi__ "lli"
7029 // SPARC:#define __INTMAX_MAX__ 9223372036854775807LL
7030 // SPARC:#define __INTMAX_TYPE__ long long int
7031 // SPARC:#define __INTMAX_WIDTH__ 64
7032 // SPARC-DEFAULT:#define __INTPTR_FMTd__ "d"
7033 // SPARC-DEFAULT:#define __INTPTR_FMTi__ "i"
7034 // SPARC-DEFAULT:#define __INTPTR_MAX__ 2147483647
7035 // SPARC-DEFAULT:#define __INTPTR_TYPE__ int
7036 // SPARC-NETOPENBSD:#define __INTPTR_FMTd__ "ld"
7037 // SPARC-NETOPENBSD:#define __INTPTR_FMTi__ "li"
7038 // SPARC-NETOPENBSD:#define __INTPTR_MAX__ 2147483647L
7039 // SPARC-NETOPENBSD:#define __INTPTR_TYPE__ long int
7040 // SPARC:#define __INTPTR_WIDTH__ 32
7041 // SPARC:#define __INT_FAST16_FMTd__ "hd"
7042 // SPARC:#define __INT_FAST16_FMTi__ "hi"
7043 // SPARC:#define __INT_FAST16_MAX__ 32767
7044 // SPARC:#define __INT_FAST16_TYPE__ short
7045 // SPARC:#define __INT_FAST32_FMTd__ "d"
7046 // SPARC:#define __INT_FAST32_FMTi__ "i"
7047 // SPARC:#define __INT_FAST32_MAX__ 2147483647
7048 // SPARC:#define __INT_FAST32_TYPE__ int
7049 // SPARC:#define __INT_FAST64_FMTd__ "lld"
7050 // SPARC:#define __INT_FAST64_FMTi__ "lli"
7051 // SPARC:#define __INT_FAST64_MAX__ 9223372036854775807LL
7052 // SPARC:#define __INT_FAST64_TYPE__ long long int
7053 // SPARC:#define __INT_FAST8_FMTd__ "hhd"
7054 // SPARC:#define __INT_FAST8_FMTi__ "hhi"
7055 // SPARC:#define __INT_FAST8_MAX__ 127
7056 // SPARC:#define __INT_FAST8_TYPE__ signed char
7057 // SPARC:#define __INT_LEAST16_FMTd__ "hd"
7058 // SPARC:#define __INT_LEAST16_FMTi__ "hi"
7059 // SPARC:#define __INT_LEAST16_MAX__ 32767
7060 // SPARC:#define __INT_LEAST16_TYPE__ short
7061 // SPARC:#define __INT_LEAST32_FMTd__ "d"
7062 // SPARC:#define __INT_LEAST32_FMTi__ "i"
7063 // SPARC:#define __INT_LEAST32_MAX__ 2147483647
7064 // SPARC:#define __INT_LEAST32_TYPE__ int
7065 // SPARC:#define __INT_LEAST64_FMTd__ "lld"
7066 // SPARC:#define __INT_LEAST64_FMTi__ "lli"
7067 // SPARC:#define __INT_LEAST64_MAX__ 9223372036854775807LL
7068 // SPARC:#define __INT_LEAST64_TYPE__ long long int
7069 // SPARC:#define __INT_LEAST8_FMTd__ "hhd"
7070 // SPARC:#define __INT_LEAST8_FMTi__ "hhi"
7071 // SPARC:#define __INT_LEAST8_MAX__ 127
7072 // SPARC:#define __INT_LEAST8_TYPE__ signed char
7073 // SPARC:#define __INT_MAX__ 2147483647
7074 // SPARC:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
7075 // SPARC:#define __LDBL_DIG__ 15
7076 // SPARC:#define __LDBL_EPSILON__ 2.2204460492503131e-16L
7077 // SPARC:#define __LDBL_HAS_DENORM__ 1
7078 // SPARC:#define __LDBL_HAS_INFINITY__ 1
7079 // SPARC:#define __LDBL_HAS_QUIET_NAN__ 1
7080 // SPARC:#define __LDBL_MANT_DIG__ 53
7081 // SPARC:#define __LDBL_MAX_10_EXP__ 308
7082 // SPARC:#define __LDBL_MAX_EXP__ 1024
7083 // SPARC:#define __LDBL_MAX__ 1.7976931348623157e+308L
7084 // SPARC:#define __LDBL_MIN_10_EXP__ (-307)
7085 // SPARC:#define __LDBL_MIN_EXP__ (-1021)
7086 // SPARC:#define __LDBL_MIN__ 2.2250738585072014e-308L
7087 // SPARC:#define __LONG_LONG_MAX__ 9223372036854775807LL
7088 // SPARC:#define __LONG_MAX__ 2147483647L
7089 // SPARC-NOT:#define __LP64__
7090 // SPARC:#define __POINTER_WIDTH__ 32
7091 // SPARC-DEFAULT:#define __PTRDIFF_TYPE__ int
7092 // SPARC-NETOPENBSD:#define __PTRDIFF_TYPE__ long int
7093 // SPARC:#define __PTRDIFF_WIDTH__ 32
7094 // SPARC:#define __REGISTER_PREFIX__
7095 // SPARC:#define __SCHAR_MAX__ 127
7096 // SPARC:#define __SHRT_MAX__ 32767
7097 // SPARC:#define __SIG_ATOMIC_MAX__ 2147483647
7098 // SPARC:#define __SIG_ATOMIC_WIDTH__ 32
7099 // SPARC:#define __SIZEOF_DOUBLE__ 8
7100 // SPARC:#define __SIZEOF_FLOAT__ 4
7101 // SPARC:#define __SIZEOF_INT__ 4
7102 // SPARC:#define __SIZEOF_LONG_DOUBLE__ 8
7103 // SPARC:#define __SIZEOF_LONG_LONG__ 8
7104 // SPARC:#define __SIZEOF_LONG__ 4
7105 // SPARC:#define __SIZEOF_POINTER__ 4
7106 // SPARC:#define __SIZEOF_PTRDIFF_T__ 4
7107 // SPARC:#define __SIZEOF_SHORT__ 2
7108 // SPARC:#define __SIZEOF_SIZE_T__ 4
7109 // SPARC:#define __SIZEOF_WCHAR_T__ 4
7110 // SPARC:#define __SIZEOF_WINT_T__ 4
7111 // SPARC-DEFAULT:#define __SIZE_MAX__ 4294967295U
7112 // SPARC-DEFAULT:#define __SIZE_TYPE__ unsigned int
7113 // SPARC-NETOPENBSD:#define __SIZE_MAX__ 4294967295UL
7114 // SPARC-NETOPENBSD:#define __SIZE_TYPE__ long unsigned int
7115 // SPARC:#define __SIZE_WIDTH__ 32
7116 // SPARC-DEFAULT-CXX:#define __STDCPP_DEFAULT_NEW_ALIGNMENT__ 8U
7117 // SPARC-NETOPENBSD-CXX:#define __STDCPP_DEFAULT_NEW_ALIGNMENT__ 8UL
7118 // SPARC:#define __UINT16_C_SUFFIX__
7119 // SPARC:#define __UINT16_MAX__ 65535
7120 // SPARC:#define __UINT16_TYPE__ unsigned short
7121 // SPARC:#define __UINT32_C_SUFFIX__ U
7122 // SPARC:#define __UINT32_MAX__ 4294967295U
7123 // SPARC:#define __UINT32_TYPE__ unsigned int
7124 // SPARC:#define __UINT64_C_SUFFIX__ ULL
7125 // SPARC:#define __UINT64_MAX__ 18446744073709551615ULL
7126 // SPARC:#define __UINT64_TYPE__ long long unsigned int
7127 // SPARC:#define __UINT8_C_SUFFIX__
7128 // SPARC:#define __UINT8_MAX__ 255
7129 // SPARC:#define __UINT8_TYPE__ unsigned char
7130 // SPARC:#define __UINTMAX_C_SUFFIX__ ULL
7131 // SPARC:#define __UINTMAX_MAX__ 18446744073709551615ULL
7132 // SPARC:#define __UINTMAX_TYPE__ long long unsigned int
7133 // SPARC:#define __UINTMAX_WIDTH__ 64
7134 // SPARC-DEFAULT:#define __UINTPTR_MAX__ 4294967295U
7135 // SPARC-DEFAULT:#define __UINTPTR_TYPE__ unsigned int
7136 // SPARC-NETOPENBSD:#define __UINTPTR_MAX__ 4294967295UL
7137 // SPARC-NETOPENBSD:#define __UINTPTR_TYPE__ long unsigned int
7138 // SPARC:#define __UINTPTR_WIDTH__ 32
7139 // SPARC:#define __UINT_FAST16_MAX__ 65535
7140 // SPARC:#define __UINT_FAST16_TYPE__ unsigned short
7141 // SPARC:#define __UINT_FAST32_MAX__ 4294967295U
7142 // SPARC:#define __UINT_FAST32_TYPE__ unsigned int
7143 // SPARC:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
7144 // SPARC:#define __UINT_FAST64_TYPE__ long long unsigned int
7145 // SPARC:#define __UINT_FAST8_MAX__ 255
7146 // SPARC:#define __UINT_FAST8_TYPE__ unsigned char
7147 // SPARC:#define __UINT_LEAST16_MAX__ 65535
7148 // SPARC:#define __UINT_LEAST16_TYPE__ unsigned short
7149 // SPARC:#define __UINT_LEAST32_MAX__ 4294967295U
7150 // SPARC:#define __UINT_LEAST32_TYPE__ unsigned int
7151 // SPARC:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
7152 // SPARC:#define __UINT_LEAST64_TYPE__ long long unsigned int
7153 // SPARC:#define __UINT_LEAST8_MAX__ 255
7154 // SPARC:#define __UINT_LEAST8_TYPE__ unsigned char
7155 // SPARC:#define __USER_LABEL_PREFIX__
7156 // SPARC:#define __VERSION__ "{{.*}}Clang{{.*}}
7157 // SPARC:#define __WCHAR_MAX__ 2147483647
7158 // SPARC:#define __WCHAR_TYPE__ int
7159 // SPARC:#define __WCHAR_WIDTH__ 32
7160 // SPARC:#define __WINT_TYPE__ int
7161 // SPARC:#define __WINT_WIDTH__ 32
7162 // SPARC:#define __sparc 1
7163 // SPARC:#define __sparc__ 1
7164 // SPARC:#define __sparcv8 1
7165 // SPARC:#define sparc 1
7166 
7167 // RUN: %clang_cc1 -E -dM -ffreestanding -fgnuc-version=4.2.1 -triple=tce-none-none < /dev/null | FileCheck -match-full-lines -check-prefix TCE %s
7168 // RUN: %clang_cc1 -x c++ -E -dM -ffreestanding -fgnuc-version=4.2.1 -triple=tce-none-none < /dev/null | FileCheck -match-full-lines -check-prefix TCE -check-prefix TCE-CXX %s
7169 //
7170 // TCE-NOT:#define _LP64
7171 // TCE:#define __BIGGEST_ALIGNMENT__ 4
7172 // TCE:#define __BIG_ENDIAN__ 1
7173 // TCE:#define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__
7174 // TCE:#define __CHAR16_TYPE__ unsigned short
7175 // TCE:#define __CHAR32_TYPE__ unsigned int
7176 // TCE:#define __CHAR_BIT__ 8
7177 // TCE:#define __DBL_DENORM_MIN__ 1.40129846e-45
7178 // TCE:#define __DBL_DIG__ 6
7179 // TCE:#define __DBL_EPSILON__ 1.19209290e-7
7180 // TCE:#define __DBL_HAS_DENORM__ 1
7181 // TCE:#define __DBL_HAS_INFINITY__ 1
7182 // TCE:#define __DBL_HAS_QUIET_NAN__ 1
7183 // TCE:#define __DBL_MANT_DIG__ 24
7184 // TCE:#define __DBL_MAX_10_EXP__ 38
7185 // TCE:#define __DBL_MAX_EXP__ 128
7186 // TCE:#define __DBL_MAX__ 3.40282347e+38
7187 // TCE:#define __DBL_MIN_10_EXP__ (-37)
7188 // TCE:#define __DBL_MIN_EXP__ (-125)
7189 // TCE:#define __DBL_MIN__ 1.17549435e-38
7190 // TCE:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
7191 // TCE:#define __FLT_DENORM_MIN__ 1.40129846e-45F
7192 // TCE:#define __FLT_DIG__ 6
7193 // TCE:#define __FLT_EPSILON__ 1.19209290e-7F
7194 // TCE:#define __FLT_EVAL_METHOD__ 0
7195 // TCE:#define __FLT_HAS_DENORM__ 1
7196 // TCE:#define __FLT_HAS_INFINITY__ 1
7197 // TCE:#define __FLT_HAS_QUIET_NAN__ 1
7198 // TCE:#define __FLT_MANT_DIG__ 24
7199 // TCE:#define __FLT_MAX_10_EXP__ 38
7200 // TCE:#define __FLT_MAX_EXP__ 128
7201 // TCE:#define __FLT_MAX__ 3.40282347e+38F
7202 // TCE:#define __FLT_MIN_10_EXP__ (-37)
7203 // TCE:#define __FLT_MIN_EXP__ (-125)
7204 // TCE:#define __FLT_MIN__ 1.17549435e-38F
7205 // TCE:#define __FLT_RADIX__ 2
7206 // TCE:#define __INT16_C_SUFFIX__
7207 // TCE:#define __INT16_FMTd__ "hd"
7208 // TCE:#define __INT16_FMTi__ "hi"
7209 // TCE:#define __INT16_MAX__ 32767
7210 // TCE:#define __INT16_TYPE__ short
7211 // TCE:#define __INT32_C_SUFFIX__
7212 // TCE:#define __INT32_FMTd__ "d"
7213 // TCE:#define __INT32_FMTi__ "i"
7214 // TCE:#define __INT32_MAX__ 2147483647
7215 // TCE:#define __INT32_TYPE__ int
7216 // TCE:#define __INT8_C_SUFFIX__
7217 // TCE:#define __INT8_FMTd__ "hhd"
7218 // TCE:#define __INT8_FMTi__ "hhi"
7219 // TCE:#define __INT8_MAX__ 127
7220 // TCE:#define __INT8_TYPE__ signed char
7221 // TCE:#define __INTMAX_C_SUFFIX__ L
7222 // TCE:#define __INTMAX_FMTd__ "ld"
7223 // TCE:#define __INTMAX_FMTi__ "li"
7224 // TCE:#define __INTMAX_MAX__ 2147483647L
7225 // TCE:#define __INTMAX_TYPE__ long int
7226 // TCE:#define __INTMAX_WIDTH__ 32
7227 // TCE:#define __INTPTR_FMTd__ "d"
7228 // TCE:#define __INTPTR_FMTi__ "i"
7229 // TCE:#define __INTPTR_MAX__ 2147483647
7230 // TCE:#define __INTPTR_TYPE__ int
7231 // TCE:#define __INTPTR_WIDTH__ 32
7232 // TCE:#define __INT_FAST16_FMTd__ "hd"
7233 // TCE:#define __INT_FAST16_FMTi__ "hi"
7234 // TCE:#define __INT_FAST16_MAX__ 32767
7235 // TCE:#define __INT_FAST16_TYPE__ short
7236 // TCE:#define __INT_FAST32_FMTd__ "d"
7237 // TCE:#define __INT_FAST32_FMTi__ "i"
7238 // TCE:#define __INT_FAST32_MAX__ 2147483647
7239 // TCE:#define __INT_FAST32_TYPE__ int
7240 // TCE:#define __INT_FAST8_FMTd__ "hhd"
7241 // TCE:#define __INT_FAST8_FMTi__ "hhi"
7242 // TCE:#define __INT_FAST8_MAX__ 127
7243 // TCE:#define __INT_FAST8_TYPE__ signed char
7244 // TCE:#define __INT_LEAST16_FMTd__ "hd"
7245 // TCE:#define __INT_LEAST16_FMTi__ "hi"
7246 // TCE:#define __INT_LEAST16_MAX__ 32767
7247 // TCE:#define __INT_LEAST16_TYPE__ short
7248 // TCE:#define __INT_LEAST32_FMTd__ "d"
7249 // TCE:#define __INT_LEAST32_FMTi__ "i"
7250 // TCE:#define __INT_LEAST32_MAX__ 2147483647
7251 // TCE:#define __INT_LEAST32_TYPE__ int
7252 // TCE:#define __INT_LEAST8_FMTd__ "hhd"
7253 // TCE:#define __INT_LEAST8_FMTi__ "hhi"
7254 // TCE:#define __INT_LEAST8_MAX__ 127
7255 // TCE:#define __INT_LEAST8_TYPE__ signed char
7256 // TCE:#define __INT_MAX__ 2147483647
7257 // TCE:#define __LDBL_DENORM_MIN__ 1.40129846e-45L
7258 // TCE:#define __LDBL_DIG__ 6
7259 // TCE:#define __LDBL_EPSILON__ 1.19209290e-7L
7260 // TCE:#define __LDBL_HAS_DENORM__ 1
7261 // TCE:#define __LDBL_HAS_INFINITY__ 1
7262 // TCE:#define __LDBL_HAS_QUIET_NAN__ 1
7263 // TCE:#define __LDBL_MANT_DIG__ 24
7264 // TCE:#define __LDBL_MAX_10_EXP__ 38
7265 // TCE:#define __LDBL_MAX_EXP__ 128
7266 // TCE:#define __LDBL_MAX__ 3.40282347e+38L
7267 // TCE:#define __LDBL_MIN_10_EXP__ (-37)
7268 // TCE:#define __LDBL_MIN_EXP__ (-125)
7269 // TCE:#define __LDBL_MIN__ 1.17549435e-38L
7270 // TCE:#define __LONG_LONG_MAX__ 2147483647LL
7271 // TCE:#define __LONG_MAX__ 2147483647L
7272 // TCE-NOT:#define __LP64__
7273 // TCE:#define __POINTER_WIDTH__ 32
7274 // TCE:#define __PTRDIFF_TYPE__ int
7275 // TCE:#define __PTRDIFF_WIDTH__ 32
7276 // TCE:#define __SCHAR_MAX__ 127
7277 // TCE:#define __SHRT_MAX__ 32767
7278 // TCE:#define __SIG_ATOMIC_MAX__ 2147483647
7279 // TCE:#define __SIG_ATOMIC_WIDTH__ 32
7280 // TCE:#define __SIZEOF_DOUBLE__ 4
7281 // TCE:#define __SIZEOF_FLOAT__ 4
7282 // TCE:#define __SIZEOF_INT__ 4
7283 // TCE:#define __SIZEOF_LONG_DOUBLE__ 4
7284 // TCE:#define __SIZEOF_LONG_LONG__ 4
7285 // TCE:#define __SIZEOF_LONG__ 4
7286 // TCE:#define __SIZEOF_POINTER__ 4
7287 // TCE:#define __SIZEOF_PTRDIFF_T__ 4
7288 // TCE:#define __SIZEOF_SHORT__ 2
7289 // TCE:#define __SIZEOF_SIZE_T__ 4
7290 // TCE:#define __SIZEOF_WCHAR_T__ 4
7291 // TCE:#define __SIZEOF_WINT_T__ 4
7292 // TCE:#define __SIZE_MAX__ 4294967295U
7293 // TCE:#define __SIZE_TYPE__ unsigned int
7294 // TCE:#define __SIZE_WIDTH__ 32
7295 // TCE-CXX:#define __STDCPP_DEFAULT_NEW_ALIGNMENT__ 4U
7296 // TCE:#define __TCE_V1__ 1
7297 // TCE:#define __TCE__ 1
7298 // TCE:#define __UINT16_C_SUFFIX__
7299 // TCE:#define __UINT16_MAX__ 65535
7300 // TCE:#define __UINT16_TYPE__ unsigned short
7301 // TCE:#define __UINT32_C_SUFFIX__ U
7302 // TCE:#define __UINT32_MAX__ 4294967295U
7303 // TCE:#define __UINT32_TYPE__ unsigned int
7304 // TCE:#define __UINT8_C_SUFFIX__
7305 // TCE:#define __UINT8_MAX__ 255
7306 // TCE:#define __UINT8_TYPE__ unsigned char
7307 // TCE:#define __UINTMAX_C_SUFFIX__ UL
7308 // TCE:#define __UINTMAX_MAX__ 4294967295UL
7309 // TCE:#define __UINTMAX_TYPE__ long unsigned int
7310 // TCE:#define __UINTMAX_WIDTH__ 32
7311 // TCE:#define __UINTPTR_MAX__ 4294967295U
7312 // TCE:#define __UINTPTR_TYPE__ unsigned int
7313 // TCE:#define __UINTPTR_WIDTH__ 32
7314 // TCE:#define __UINT_FAST16_MAX__ 65535
7315 // TCE:#define __UINT_FAST16_TYPE__ unsigned short
7316 // TCE:#define __UINT_FAST32_MAX__ 4294967295U
7317 // TCE:#define __UINT_FAST32_TYPE__ unsigned int
7318 // TCE:#define __UINT_FAST8_MAX__ 255
7319 // TCE:#define __UINT_FAST8_TYPE__ unsigned char
7320 // TCE:#define __UINT_LEAST16_MAX__ 65535
7321 // TCE:#define __UINT_LEAST16_TYPE__ unsigned short
7322 // TCE:#define __UINT_LEAST32_MAX__ 4294967295U
7323 // TCE:#define __UINT_LEAST32_TYPE__ unsigned int
7324 // TCE:#define __UINT_LEAST8_MAX__ 255
7325 // TCE:#define __UINT_LEAST8_TYPE__ unsigned char
7326 // TCE:#define __USER_LABEL_PREFIX__
7327 // TCE:#define __WCHAR_MAX__ 2147483647
7328 // TCE:#define __WCHAR_TYPE__ int
7329 // TCE:#define __WCHAR_WIDTH__ 32
7330 // TCE:#define __WINT_TYPE__ int
7331 // TCE:#define __WINT_WIDTH__ 32
7332 // TCE:#define __tce 1
7333 // TCE:#define __tce__ 1
7334 // TCE:#define tce 1
7335 //
7336 // RUN: %clang_cc1 -E -dM -ffreestanding -fgnuc-version=4.2.1 -triple=x86_64-none-none < /dev/null | FileCheck -match-full-lines -check-prefix X86_64 %s
7337 // RUN: %clang_cc1 -x c++ -E -dM -ffreestanding -fgnuc-version=4.2.1 -triple=x86_64-none-none < /dev/null | FileCheck -match-full-lines -check-prefix X86_64 -check-prefix X86_64-CXX %s
7338 //
7339 // X86_64:#define _LP64 1
7340 // X86_64-NOT:#define _LP32 1
7341 // X86_64:#define __BIGGEST_ALIGNMENT__ 16
7342 // X86_64:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
7343 // X86_64:#define __CHAR16_TYPE__ unsigned short
7344 // X86_64:#define __CHAR32_TYPE__ unsigned int
7345 // X86_64:#define __CHAR_BIT__ 8
7346 // X86_64:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
7347 // X86_64:#define __DBL_DIG__ 15
7348 // X86_64:#define __DBL_EPSILON__ 2.2204460492503131e-16
7349 // X86_64:#define __DBL_HAS_DENORM__ 1
7350 // X86_64:#define __DBL_HAS_INFINITY__ 1
7351 // X86_64:#define __DBL_HAS_QUIET_NAN__ 1
7352 // X86_64:#define __DBL_MANT_DIG__ 53
7353 // X86_64:#define __DBL_MAX_10_EXP__ 308
7354 // X86_64:#define __DBL_MAX_EXP__ 1024
7355 // X86_64:#define __DBL_MAX__ 1.7976931348623157e+308
7356 // X86_64:#define __DBL_MIN_10_EXP__ (-307)
7357 // X86_64:#define __DBL_MIN_EXP__ (-1021)
7358 // X86_64:#define __DBL_MIN__ 2.2250738585072014e-308
7359 // X86_64:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
7360 // X86_64:#define __FLT_DENORM_MIN__ 1.40129846e-45F
7361 // X86_64:#define __FLT_DIG__ 6
7362 // X86_64:#define __FLT_EPSILON__ 1.19209290e-7F
7363 // X86_64:#define __FLT_EVAL_METHOD__ 0
7364 // X86_64:#define __FLT_HAS_DENORM__ 1
7365 // X86_64:#define __FLT_HAS_INFINITY__ 1
7366 // X86_64:#define __FLT_HAS_QUIET_NAN__ 1
7367 // X86_64:#define __FLT_MANT_DIG__ 24
7368 // X86_64:#define __FLT_MAX_10_EXP__ 38
7369 // X86_64:#define __FLT_MAX_EXP__ 128
7370 // X86_64:#define __FLT_MAX__ 3.40282347e+38F
7371 // X86_64:#define __FLT_MIN_10_EXP__ (-37)
7372 // X86_64:#define __FLT_MIN_EXP__ (-125)
7373 // X86_64:#define __FLT_MIN__ 1.17549435e-38F
7374 // X86_64:#define __FLT_RADIX__ 2
7375 // X86_64:#define __INT16_C_SUFFIX__
7376 // X86_64:#define __INT16_FMTd__ "hd"
7377 // X86_64:#define __INT16_FMTi__ "hi"
7378 // X86_64:#define __INT16_MAX__ 32767
7379 // X86_64:#define __INT16_TYPE__ short
7380 // X86_64:#define __INT32_C_SUFFIX__
7381 // X86_64:#define __INT32_FMTd__ "d"
7382 // X86_64:#define __INT32_FMTi__ "i"
7383 // X86_64:#define __INT32_MAX__ 2147483647
7384 // X86_64:#define __INT32_TYPE__ int
7385 // X86_64:#define __INT64_C_SUFFIX__ L
7386 // X86_64:#define __INT64_FMTd__ "ld"
7387 // X86_64:#define __INT64_FMTi__ "li"
7388 // X86_64:#define __INT64_MAX__ 9223372036854775807L
7389 // X86_64:#define __INT64_TYPE__ long int
7390 // X86_64:#define __INT8_C_SUFFIX__
7391 // X86_64:#define __INT8_FMTd__ "hhd"
7392 // X86_64:#define __INT8_FMTi__ "hhi"
7393 // X86_64:#define __INT8_MAX__ 127
7394 // X86_64:#define __INT8_TYPE__ signed char
7395 // X86_64:#define __INTMAX_C_SUFFIX__ L
7396 // X86_64:#define __INTMAX_FMTd__ "ld"
7397 // X86_64:#define __INTMAX_FMTi__ "li"
7398 // X86_64:#define __INTMAX_MAX__ 9223372036854775807L
7399 // X86_64:#define __INTMAX_TYPE__ long int
7400 // X86_64:#define __INTMAX_WIDTH__ 64
7401 // X86_64:#define __INTPTR_FMTd__ "ld"
7402 // X86_64:#define __INTPTR_FMTi__ "li"
7403 // X86_64:#define __INTPTR_MAX__ 9223372036854775807L
7404 // X86_64:#define __INTPTR_TYPE__ long int
7405 // X86_64:#define __INTPTR_WIDTH__ 64
7406 // X86_64:#define __INT_FAST16_FMTd__ "hd"
7407 // X86_64:#define __INT_FAST16_FMTi__ "hi"
7408 // X86_64:#define __INT_FAST16_MAX__ 32767
7409 // X86_64:#define __INT_FAST16_TYPE__ short
7410 // X86_64:#define __INT_FAST32_FMTd__ "d"
7411 // X86_64:#define __INT_FAST32_FMTi__ "i"
7412 // X86_64:#define __INT_FAST32_MAX__ 2147483647
7413 // X86_64:#define __INT_FAST32_TYPE__ int
7414 // X86_64:#define __INT_FAST64_FMTd__ "ld"
7415 // X86_64:#define __INT_FAST64_FMTi__ "li"
7416 // X86_64:#define __INT_FAST64_MAX__ 9223372036854775807L
7417 // X86_64:#define __INT_FAST64_TYPE__ long int
7418 // X86_64:#define __INT_FAST8_FMTd__ "hhd"
7419 // X86_64:#define __INT_FAST8_FMTi__ "hhi"
7420 // X86_64:#define __INT_FAST8_MAX__ 127
7421 // X86_64:#define __INT_FAST8_TYPE__ signed char
7422 // X86_64:#define __INT_LEAST16_FMTd__ "hd"
7423 // X86_64:#define __INT_LEAST16_FMTi__ "hi"
7424 // X86_64:#define __INT_LEAST16_MAX__ 32767
7425 // X86_64:#define __INT_LEAST16_TYPE__ short
7426 // X86_64:#define __INT_LEAST32_FMTd__ "d"
7427 // X86_64:#define __INT_LEAST32_FMTi__ "i"
7428 // X86_64:#define __INT_LEAST32_MAX__ 2147483647
7429 // X86_64:#define __INT_LEAST32_TYPE__ int
7430 // X86_64:#define __INT_LEAST64_FMTd__ "ld"
7431 // X86_64:#define __INT_LEAST64_FMTi__ "li"
7432 // X86_64:#define __INT_LEAST64_MAX__ 9223372036854775807L
7433 // X86_64:#define __INT_LEAST64_TYPE__ long int
7434 // X86_64:#define __INT_LEAST8_FMTd__ "hhd"
7435 // X86_64:#define __INT_LEAST8_FMTi__ "hhi"
7436 // X86_64:#define __INT_LEAST8_MAX__ 127
7437 // X86_64:#define __INT_LEAST8_TYPE__ signed char
7438 // X86_64:#define __INT_MAX__ 2147483647
7439 // X86_64:#define __LDBL_DENORM_MIN__ 3.64519953188247460253e-4951L
7440 // X86_64:#define __LDBL_DIG__ 18
7441 // X86_64:#define __LDBL_EPSILON__ 1.08420217248550443401e-19L
7442 // X86_64:#define __LDBL_HAS_DENORM__ 1
7443 // X86_64:#define __LDBL_HAS_INFINITY__ 1
7444 // X86_64:#define __LDBL_HAS_QUIET_NAN__ 1
7445 // X86_64:#define __LDBL_MANT_DIG__ 64
7446 // X86_64:#define __LDBL_MAX_10_EXP__ 4932
7447 // X86_64:#define __LDBL_MAX_EXP__ 16384
7448 // X86_64:#define __LDBL_MAX__ 1.18973149535723176502e+4932L
7449 // X86_64:#define __LDBL_MIN_10_EXP__ (-4931)
7450 // X86_64:#define __LDBL_MIN_EXP__ (-16381)
7451 // X86_64:#define __LDBL_MIN__ 3.36210314311209350626e-4932L
7452 // X86_64:#define __LITTLE_ENDIAN__ 1
7453 // X86_64:#define __LONG_LONG_MAX__ 9223372036854775807LL
7454 // X86_64:#define __LONG_MAX__ 9223372036854775807L
7455 // X86_64:#define __LP64__ 1
7456 // X86_64-NOT:#define __ILP32__ 1
7457 // X86_64:#define __MMX__ 1
7458 // X86_64:#define __NO_MATH_INLINES 1
7459 // X86_64:#define __POINTER_WIDTH__ 64
7460 // X86_64:#define __PTRDIFF_TYPE__ long int
7461 // X86_64:#define __PTRDIFF_WIDTH__ 64
7462 // X86_64:#define __REGISTER_PREFIX__
7463 // X86_64:#define __SCHAR_MAX__ 127
7464 // X86_64:#define __SHRT_MAX__ 32767
7465 // X86_64:#define __SIG_ATOMIC_MAX__ 2147483647
7466 // X86_64:#define __SIG_ATOMIC_WIDTH__ 32
7467 // X86_64:#define __SIZEOF_DOUBLE__ 8
7468 // X86_64:#define __SIZEOF_FLOAT__ 4
7469 // X86_64:#define __SIZEOF_INT__ 4
7470 // X86_64:#define __SIZEOF_LONG_DOUBLE__ 16
7471 // X86_64:#define __SIZEOF_LONG_LONG__ 8
7472 // X86_64:#define __SIZEOF_LONG__ 8
7473 // X86_64:#define __SIZEOF_POINTER__ 8
7474 // X86_64:#define __SIZEOF_PTRDIFF_T__ 8
7475 // X86_64:#define __SIZEOF_SHORT__ 2
7476 // X86_64:#define __SIZEOF_SIZE_T__ 8
7477 // X86_64:#define __SIZEOF_WCHAR_T__ 4
7478 // X86_64:#define __SIZEOF_WINT_T__ 4
7479 // X86_64:#define __SIZE_MAX__ 18446744073709551615UL
7480 // X86_64:#define __SIZE_TYPE__ long unsigned int
7481 // X86_64:#define __SIZE_WIDTH__ 64
7482 // X86_64:#define __SSE2_MATH__ 1
7483 // X86_64:#define __SSE2__ 1
7484 // X86_64:#define __SSE_MATH__ 1
7485 // X86_64:#define __SSE__ 1
7486 // X86_64-CXX:#define __STDCPP_DEFAULT_NEW_ALIGNMENT__ 16UL
7487 // X86_64:#define __UINT16_C_SUFFIX__
7488 // X86_64:#define __UINT16_MAX__ 65535
7489 // X86_64:#define __UINT16_TYPE__ unsigned short
7490 // X86_64:#define __UINT32_C_SUFFIX__ U
7491 // X86_64:#define __UINT32_MAX__ 4294967295U
7492 // X86_64:#define __UINT32_TYPE__ unsigned int
7493 // X86_64:#define __UINT64_C_SUFFIX__ UL
7494 // X86_64:#define __UINT64_MAX__ 18446744073709551615UL
7495 // X86_64:#define __UINT64_TYPE__ long unsigned int
7496 // X86_64:#define __UINT8_C_SUFFIX__
7497 // X86_64:#define __UINT8_MAX__ 255
7498 // X86_64:#define __UINT8_TYPE__ unsigned char
7499 // X86_64:#define __UINTMAX_C_SUFFIX__ UL
7500 // X86_64:#define __UINTMAX_MAX__ 18446744073709551615UL
7501 // X86_64:#define __UINTMAX_TYPE__ long unsigned int
7502 // X86_64:#define __UINTMAX_WIDTH__ 64
7503 // X86_64:#define __UINTPTR_MAX__ 18446744073709551615UL
7504 // X86_64:#define __UINTPTR_TYPE__ long unsigned int
7505 // X86_64:#define __UINTPTR_WIDTH__ 64
7506 // X86_64:#define __UINT_FAST16_MAX__ 65535
7507 // X86_64:#define __UINT_FAST16_TYPE__ unsigned short
7508 // X86_64:#define __UINT_FAST32_MAX__ 4294967295U
7509 // X86_64:#define __UINT_FAST32_TYPE__ unsigned int
7510 // X86_64:#define __UINT_FAST64_MAX__ 18446744073709551615UL
7511 // X86_64:#define __UINT_FAST64_TYPE__ long unsigned int
7512 // X86_64:#define __UINT_FAST8_MAX__ 255
7513 // X86_64:#define __UINT_FAST8_TYPE__ unsigned char
7514 // X86_64:#define __UINT_LEAST16_MAX__ 65535
7515 // X86_64:#define __UINT_LEAST16_TYPE__ unsigned short
7516 // X86_64:#define __UINT_LEAST32_MAX__ 4294967295U
7517 // X86_64:#define __UINT_LEAST32_TYPE__ unsigned int
7518 // X86_64:#define __UINT_LEAST64_MAX__ 18446744073709551615UL
7519 // X86_64:#define __UINT_LEAST64_TYPE__ long unsigned int
7520 // X86_64:#define __UINT_LEAST8_MAX__ 255
7521 // X86_64:#define __UINT_LEAST8_TYPE__ unsigned char
7522 // X86_64:#define __USER_LABEL_PREFIX__
7523 // X86_64:#define __WCHAR_MAX__ 2147483647
7524 // X86_64:#define __WCHAR_TYPE__ int
7525 // X86_64:#define __WCHAR_WIDTH__ 32
7526 // X86_64:#define __WINT_TYPE__ int
7527 // X86_64:#define __WINT_WIDTH__ 32
7528 // X86_64:#define __amd64 1
7529 // X86_64:#define __amd64__ 1
7530 // X86_64:#define __code_model_small_ 1
7531 // X86_64:#define __x86_64 1
7532 // X86_64:#define __x86_64__ 1
7533 //
7534 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=x86_64h-none-none < /dev/null | FileCheck -match-full-lines -check-prefix X86_64H %s
7535 //
7536 // X86_64H:#define __x86_64 1
7537 // X86_64H:#define __x86_64__ 1
7538 // X86_64H:#define __x86_64h 1
7539 // X86_64H:#define __x86_64h__ 1
7540 //
7541 // RUN: %clang -xc - -E -dM -mcmodel=medium --target=i386-unknown-linux < /dev/null | FileCheck -match-full-lines -check-prefix X86_MEDIUM %s
7542 // X86_MEDIUM:#define __code_model_medium_ 1
7543 //
7544 // RUN: %clang_cc1 -E -dM -ffreestanding -fgnuc-version=4.2.1 -triple=x86_64-none-none-gnux32 < /dev/null | FileCheck -match-full-lines -check-prefix X32 %s
7545 // RUN: %clang_cc1 -x c++ -E -dM -ffreestanding -fgnuc-version=4.2.1 -triple=x86_64-none-none-gnux32 < /dev/null | FileCheck -match-full-lines -check-prefix X32 -check-prefix X32-CXX %s
7546 //
7547 // X32:#define _ILP32 1
7548 // X32-NOT:#define _LP64 1
7549 // X32:#define __BIGGEST_ALIGNMENT__ 16
7550 // X32:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
7551 // X32:#define __CHAR16_TYPE__ unsigned short
7552 // X32:#define __CHAR32_TYPE__ unsigned int
7553 // X32:#define __CHAR_BIT__ 8
7554 // X32:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
7555 // X32:#define __DBL_DIG__ 15
7556 // X32:#define __DBL_EPSILON__ 2.2204460492503131e-16
7557 // X32:#define __DBL_HAS_DENORM__ 1
7558 // X32:#define __DBL_HAS_INFINITY__ 1
7559 // X32:#define __DBL_HAS_QUIET_NAN__ 1
7560 // X32:#define __DBL_MANT_DIG__ 53
7561 // X32:#define __DBL_MAX_10_EXP__ 308
7562 // X32:#define __DBL_MAX_EXP__ 1024
7563 // X32:#define __DBL_MAX__ 1.7976931348623157e+308
7564 // X32:#define __DBL_MIN_10_EXP__ (-307)
7565 // X32:#define __DBL_MIN_EXP__ (-1021)
7566 // X32:#define __DBL_MIN__ 2.2250738585072014e-308
7567 // X32:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
7568 // X32:#define __FLT_DENORM_MIN__ 1.40129846e-45F
7569 // X32:#define __FLT_DIG__ 6
7570 // X32:#define __FLT_EPSILON__ 1.19209290e-7F
7571 // X32:#define __FLT_EVAL_METHOD__ 0
7572 // X32:#define __FLT_HAS_DENORM__ 1
7573 // X32:#define __FLT_HAS_INFINITY__ 1
7574 // X32:#define __FLT_HAS_QUIET_NAN__ 1
7575 // X32:#define __FLT_MANT_DIG__ 24
7576 // X32:#define __FLT_MAX_10_EXP__ 38
7577 // X32:#define __FLT_MAX_EXP__ 128
7578 // X32:#define __FLT_MAX__ 3.40282347e+38F
7579 // X32:#define __FLT_MIN_10_EXP__ (-37)
7580 // X32:#define __FLT_MIN_EXP__ (-125)
7581 // X32:#define __FLT_MIN__ 1.17549435e-38F
7582 // X32:#define __FLT_RADIX__ 2
7583 // X32:#define __ILP32__ 1
7584 // X32-NOT:#define __LP64__ 1
7585 // X32:#define __INT16_C_SUFFIX__
7586 // X32:#define __INT16_FMTd__ "hd"
7587 // X32:#define __INT16_FMTi__ "hi"
7588 // X32:#define __INT16_MAX__ 32767
7589 // X32:#define __INT16_TYPE__ short
7590 // X32:#define __INT32_C_SUFFIX__
7591 // X32:#define __INT32_FMTd__ "d"
7592 // X32:#define __INT32_FMTi__ "i"
7593 // X32:#define __INT32_MAX__ 2147483647
7594 // X32:#define __INT32_TYPE__ int
7595 // X32:#define __INT64_C_SUFFIX__ LL
7596 // X32:#define __INT64_FMTd__ "lld"
7597 // X32:#define __INT64_FMTi__ "lli"
7598 // X32:#define __INT64_MAX__ 9223372036854775807LL
7599 // X32:#define __INT64_TYPE__ long long int
7600 // X32:#define __INT8_C_SUFFIX__
7601 // X32:#define __INT8_FMTd__ "hhd"
7602 // X32:#define __INT8_FMTi__ "hhi"
7603 // X32:#define __INT8_MAX__ 127
7604 // X32:#define __INT8_TYPE__ signed char
7605 // X32:#define __INTMAX_C_SUFFIX__ LL
7606 // X32:#define __INTMAX_FMTd__ "lld"
7607 // X32:#define __INTMAX_FMTi__ "lli"
7608 // X32:#define __INTMAX_MAX__ 9223372036854775807LL
7609 // X32:#define __INTMAX_TYPE__ long long int
7610 // X32:#define __INTMAX_WIDTH__ 64
7611 // X32:#define __INTPTR_FMTd__ "d"
7612 // X32:#define __INTPTR_FMTi__ "i"
7613 // X32:#define __INTPTR_MAX__ 2147483647
7614 // X32:#define __INTPTR_TYPE__ int
7615 // X32:#define __INTPTR_WIDTH__ 32
7616 // X32:#define __INT_FAST16_FMTd__ "hd"
7617 // X32:#define __INT_FAST16_FMTi__ "hi"
7618 // X32:#define __INT_FAST16_MAX__ 32767
7619 // X32:#define __INT_FAST16_TYPE__ short
7620 // X32:#define __INT_FAST32_FMTd__ "d"
7621 // X32:#define __INT_FAST32_FMTi__ "i"
7622 // X32:#define __INT_FAST32_MAX__ 2147483647
7623 // X32:#define __INT_FAST32_TYPE__ int
7624 // X32:#define __INT_FAST64_FMTd__ "lld"
7625 // X32:#define __INT_FAST64_FMTi__ "lli"
7626 // X32:#define __INT_FAST64_MAX__ 9223372036854775807LL
7627 // X32:#define __INT_FAST64_TYPE__ long long int
7628 // X32:#define __INT_FAST8_FMTd__ "hhd"
7629 // X32:#define __INT_FAST8_FMTi__ "hhi"
7630 // X32:#define __INT_FAST8_MAX__ 127
7631 // X32:#define __INT_FAST8_TYPE__ signed char
7632 // X32:#define __INT_LEAST16_FMTd__ "hd"
7633 // X32:#define __INT_LEAST16_FMTi__ "hi"
7634 // X32:#define __INT_LEAST16_MAX__ 32767
7635 // X32:#define __INT_LEAST16_TYPE__ short
7636 // X32:#define __INT_LEAST32_FMTd__ "d"
7637 // X32:#define __INT_LEAST32_FMTi__ "i"
7638 // X32:#define __INT_LEAST32_MAX__ 2147483647
7639 // X32:#define __INT_LEAST32_TYPE__ int
7640 // X32:#define __INT_LEAST64_FMTd__ "lld"
7641 // X32:#define __INT_LEAST64_FMTi__ "lli"
7642 // X32:#define __INT_LEAST64_MAX__ 9223372036854775807LL
7643 // X32:#define __INT_LEAST64_TYPE__ long long int
7644 // X32:#define __INT_LEAST8_FMTd__ "hhd"
7645 // X32:#define __INT_LEAST8_FMTi__ "hhi"
7646 // X32:#define __INT_LEAST8_MAX__ 127
7647 // X32:#define __INT_LEAST8_TYPE__ signed char
7648 // X32:#define __INT_MAX__ 2147483647
7649 // X32:#define __LDBL_DENORM_MIN__ 3.64519953188247460253e-4951L
7650 // X32:#define __LDBL_DIG__ 18
7651 // X32:#define __LDBL_EPSILON__ 1.08420217248550443401e-19L
7652 // X32:#define __LDBL_HAS_DENORM__ 1
7653 // X32:#define __LDBL_HAS_INFINITY__ 1
7654 // X32:#define __LDBL_HAS_QUIET_NAN__ 1
7655 // X32:#define __LDBL_MANT_DIG__ 64
7656 // X32:#define __LDBL_MAX_10_EXP__ 4932
7657 // X32:#define __LDBL_MAX_EXP__ 16384
7658 // X32:#define __LDBL_MAX__ 1.18973149535723176502e+4932L
7659 // X32:#define __LDBL_MIN_10_EXP__ (-4931)
7660 // X32:#define __LDBL_MIN_EXP__ (-16381)
7661 // X32:#define __LDBL_MIN__ 3.36210314311209350626e-4932L
7662 // X32:#define __LITTLE_ENDIAN__ 1
7663 // X32:#define __LONG_LONG_MAX__ 9223372036854775807LL
7664 // X32:#define __LONG_MAX__ 2147483647L
7665 // X32:#define __MMX__ 1
7666 // X32:#define __NO_MATH_INLINES 1
7667 // X32:#define __POINTER_WIDTH__ 32
7668 // X32:#define __PTRDIFF_TYPE__ int
7669 // X32:#define __PTRDIFF_WIDTH__ 32
7670 // X32:#define __REGISTER_PREFIX__
7671 // X32:#define __SCHAR_MAX__ 127
7672 // X32:#define __SHRT_MAX__ 32767
7673 // X32:#define __SIG_ATOMIC_MAX__ 2147483647
7674 // X32:#define __SIG_ATOMIC_WIDTH__ 32
7675 // X32:#define __SIZEOF_DOUBLE__ 8
7676 // X32:#define __SIZEOF_FLOAT__ 4
7677 // X32:#define __SIZEOF_INT__ 4
7678 // X32:#define __SIZEOF_LONG_DOUBLE__ 16
7679 // X32:#define __SIZEOF_LONG_LONG__ 8
7680 // X32:#define __SIZEOF_LONG__ 4
7681 // X32:#define __SIZEOF_POINTER__ 4
7682 // X32:#define __SIZEOF_PTRDIFF_T__ 4
7683 // X32:#define __SIZEOF_SHORT__ 2
7684 // X32:#define __SIZEOF_SIZE_T__ 4
7685 // X32:#define __SIZEOF_WCHAR_T__ 4
7686 // X32:#define __SIZEOF_WINT_T__ 4
7687 // X32:#define __SIZE_MAX__ 4294967295U
7688 // X32:#define __SIZE_TYPE__ unsigned int
7689 // X32:#define __SIZE_WIDTH__ 32
7690 // X32:#define __SSE2_MATH__ 1
7691 // X32:#define __SSE2__ 1
7692 // X32:#define __SSE_MATH__ 1
7693 // X32:#define __SSE__ 1
7694 // X32-CXX:#define __STDCPP_DEFAULT_NEW_ALIGNMENT__ 16U
7695 // X32:#define __UINT16_C_SUFFIX__
7696 // X32:#define __UINT16_MAX__ 65535
7697 // X32:#define __UINT16_TYPE__ unsigned short
7698 // X32:#define __UINT32_C_SUFFIX__ U
7699 // X32:#define __UINT32_MAX__ 4294967295U
7700 // X32:#define __UINT32_TYPE__ unsigned int
7701 // X32:#define __UINT64_C_SUFFIX__ ULL
7702 // X32:#define __UINT64_MAX__ 18446744073709551615ULL
7703 // X32:#define __UINT64_TYPE__ long long unsigned int
7704 // X32:#define __UINT8_C_SUFFIX__
7705 // X32:#define __UINT8_MAX__ 255
7706 // X32:#define __UINT8_TYPE__ unsigned char
7707 // X32:#define __UINTMAX_C_SUFFIX__ ULL
7708 // X32:#define __UINTMAX_MAX__ 18446744073709551615ULL
7709 // X32:#define __UINTMAX_TYPE__ long long unsigned int
7710 // X32:#define __UINTMAX_WIDTH__ 64
7711 // X32:#define __UINTPTR_MAX__ 4294967295U
7712 // X32:#define __UINTPTR_TYPE__ unsigned int
7713 // X32:#define __UINTPTR_WIDTH__ 32
7714 // X32:#define __UINT_FAST16_MAX__ 65535
7715 // X32:#define __UINT_FAST16_TYPE__ unsigned short
7716 // X32:#define __UINT_FAST32_MAX__ 4294967295U
7717 // X32:#define __UINT_FAST32_TYPE__ unsigned int
7718 // X32:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
7719 // X32:#define __UINT_FAST64_TYPE__ long long unsigned int
7720 // X32:#define __UINT_FAST8_MAX__ 255
7721 // X32:#define __UINT_FAST8_TYPE__ unsigned char
7722 // X32:#define __UINT_LEAST16_MAX__ 65535
7723 // X32:#define __UINT_LEAST16_TYPE__ unsigned short
7724 // X32:#define __UINT_LEAST32_MAX__ 4294967295U
7725 // X32:#define __UINT_LEAST32_TYPE__ unsigned int
7726 // X32:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
7727 // X32:#define __UINT_LEAST64_TYPE__ long long unsigned int
7728 // X32:#define __UINT_LEAST8_MAX__ 255
7729 // X32:#define __UINT_LEAST8_TYPE__ unsigned char
7730 // X32:#define __USER_LABEL_PREFIX__
7731 // X32:#define __WCHAR_MAX__ 2147483647
7732 // X32:#define __WCHAR_TYPE__ int
7733 // X32:#define __WCHAR_WIDTH__ 32
7734 // X32:#define __WINT_TYPE__ int
7735 // X32:#define __WINT_WIDTH__ 32
7736 // X32:#define __amd64 1
7737 // X32:#define __amd64__ 1
7738 // X32:#define __x86_64 1
7739 // X32:#define __x86_64__ 1
7740 //
7741 // RUN: %clang_cc1 -E -dM -ffreestanding -fgnuc-version=4.2.1 -triple=x86_64-unknown-cloudabi < /dev/null | FileCheck -match-full-lines -check-prefix X86_64-CLOUDABI %s
7742 //
7743 // X86_64-CLOUDABI:#define _LP64 1
7744 // X86_64-CLOUDABI:#define __ATOMIC_ACQUIRE 2
7745 // X86_64-CLOUDABI:#define __ATOMIC_ACQ_REL 4
7746 // X86_64-CLOUDABI:#define __ATOMIC_CONSUME 1
7747 // X86_64-CLOUDABI:#define __ATOMIC_RELAXED 0
7748 // X86_64-CLOUDABI:#define __ATOMIC_RELEASE 3
7749 // X86_64-CLOUDABI:#define __ATOMIC_SEQ_CST 5
7750 // X86_64-CLOUDABI:#define __BIGGEST_ALIGNMENT__ 16
7751 // X86_64-CLOUDABI:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
7752 // X86_64-CLOUDABI:#define __CHAR16_TYPE__ unsigned short
7753 // X86_64-CLOUDABI:#define __CHAR32_TYPE__ unsigned int
7754 // X86_64-CLOUDABI:#define __CHAR_BIT__ 8
7755 // X86_64-CLOUDABI:#define __CONSTANT_CFSTRINGS__ 1
7756 // X86_64-CLOUDABI:#define __CloudABI__ 1
7757 // X86_64-CLOUDABI:#define __DBL_DECIMAL_DIG__ 17
7758 // X86_64-CLOUDABI:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
7759 // X86_64-CLOUDABI:#define __DBL_DIG__ 15
7760 // X86_64-CLOUDABI:#define __DBL_EPSILON__ 2.2204460492503131e-16
7761 // X86_64-CLOUDABI:#define __DBL_HAS_DENORM__ 1
7762 // X86_64-CLOUDABI:#define __DBL_HAS_INFINITY__ 1
7763 // X86_64-CLOUDABI:#define __DBL_HAS_QUIET_NAN__ 1
7764 // X86_64-CLOUDABI:#define __DBL_MANT_DIG__ 53
7765 // X86_64-CLOUDABI:#define __DBL_MAX_10_EXP__ 308
7766 // X86_64-CLOUDABI:#define __DBL_MAX_EXP__ 1024
7767 // X86_64-CLOUDABI:#define __DBL_MAX__ 1.7976931348623157e+308
7768 // X86_64-CLOUDABI:#define __DBL_MIN_10_EXP__ (-307)
7769 // X86_64-CLOUDABI:#define __DBL_MIN_EXP__ (-1021)
7770 // X86_64-CLOUDABI:#define __DBL_MIN__ 2.2250738585072014e-308
7771 // X86_64-CLOUDABI:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
7772 // X86_64-CLOUDABI:#define __ELF__ 1
7773 // X86_64-CLOUDABI:#define __FINITE_MATH_ONLY__ 0
7774 // X86_64-CLOUDABI:#define __FLT_DECIMAL_DIG__ 9
7775 // X86_64-CLOUDABI:#define __FLT_DENORM_MIN__ 1.40129846e-45F
7776 // X86_64-CLOUDABI:#define __FLT_DIG__ 6
7777 // X86_64-CLOUDABI:#define __FLT_EPSILON__ 1.19209290e-7F
7778 // X86_64-CLOUDABI:#define __FLT_EVAL_METHOD__ 0
7779 // X86_64-CLOUDABI:#define __FLT_HAS_DENORM__ 1
7780 // X86_64-CLOUDABI:#define __FLT_HAS_INFINITY__ 1
7781 // X86_64-CLOUDABI:#define __FLT_HAS_QUIET_NAN__ 1
7782 // X86_64-CLOUDABI:#define __FLT_MANT_DIG__ 24
7783 // X86_64-CLOUDABI:#define __FLT_MAX_10_EXP__ 38
7784 // X86_64-CLOUDABI:#define __FLT_MAX_EXP__ 128
7785 // X86_64-CLOUDABI:#define __FLT_MAX__ 3.40282347e+38F
7786 // X86_64-CLOUDABI:#define __FLT_MIN_10_EXP__ (-37)
7787 // X86_64-CLOUDABI:#define __FLT_MIN_EXP__ (-125)
7788 // X86_64-CLOUDABI:#define __FLT_MIN__ 1.17549435e-38F
7789 // X86_64-CLOUDABI:#define __FLT_RADIX__ 2
7790 // X86_64-CLOUDABI:#define __GCC_ATOMIC_BOOL_LOCK_FREE 2
7791 // X86_64-CLOUDABI:#define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2
7792 // X86_64-CLOUDABI:#define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2
7793 // X86_64-CLOUDABI:#define __GCC_ATOMIC_CHAR_LOCK_FREE 2
7794 // X86_64-CLOUDABI:#define __GCC_ATOMIC_INT_LOCK_FREE 2
7795 // X86_64-CLOUDABI:#define __GCC_ATOMIC_LLONG_LOCK_FREE 2
7796 // X86_64-CLOUDABI:#define __GCC_ATOMIC_LONG_LOCK_FREE 2
7797 // X86_64-CLOUDABI:#define __GCC_ATOMIC_POINTER_LOCK_FREE 2
7798 // X86_64-CLOUDABI:#define __GCC_ATOMIC_SHORT_LOCK_FREE 2
7799 // X86_64-CLOUDABI:#define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1
7800 // X86_64-CLOUDABI:#define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2
7801 // X86_64-CLOUDABI:#define __GNUC_MINOR__ 2
7802 // X86_64-CLOUDABI:#define __GNUC_PATCHLEVEL__ 1
7803 // X86_64-CLOUDABI:#define __GNUC_STDC_INLINE__ 1
7804 // X86_64-CLOUDABI:#define __GNUC__ 4
7805 // X86_64-CLOUDABI:#define __GXX_ABI_VERSION 1002
7806 // X86_64-CLOUDABI:#define __INT16_C_SUFFIX__
7807 // X86_64-CLOUDABI:#define __INT16_FMTd__ "hd"
7808 // X86_64-CLOUDABI:#define __INT16_FMTi__ "hi"
7809 // X86_64-CLOUDABI:#define __INT16_MAX__ 32767
7810 // X86_64-CLOUDABI:#define __INT16_TYPE__ short
7811 // X86_64-CLOUDABI:#define __INT32_C_SUFFIX__
7812 // X86_64-CLOUDABI:#define __INT32_FMTd__ "d"
7813 // X86_64-CLOUDABI:#define __INT32_FMTi__ "i"
7814 // X86_64-CLOUDABI:#define __INT32_MAX__ 2147483647
7815 // X86_64-CLOUDABI:#define __INT32_TYPE__ int
7816 // X86_64-CLOUDABI:#define __INT64_C_SUFFIX__ L
7817 // X86_64-CLOUDABI:#define __INT64_FMTd__ "ld"
7818 // X86_64-CLOUDABI:#define __INT64_FMTi__ "li"
7819 // X86_64-CLOUDABI:#define __INT64_MAX__ 9223372036854775807L
7820 // X86_64-CLOUDABI:#define __INT64_TYPE__ long int
7821 // X86_64-CLOUDABI:#define __INT8_C_SUFFIX__
7822 // X86_64-CLOUDABI:#define __INT8_FMTd__ "hhd"
7823 // X86_64-CLOUDABI:#define __INT8_FMTi__ "hhi"
7824 // X86_64-CLOUDABI:#define __INT8_MAX__ 127
7825 // X86_64-CLOUDABI:#define __INT8_TYPE__ signed char
7826 // X86_64-CLOUDABI:#define __INTMAX_C_SUFFIX__ L
7827 // X86_64-CLOUDABI:#define __INTMAX_FMTd__ "ld"
7828 // X86_64-CLOUDABI:#define __INTMAX_FMTi__ "li"
7829 // X86_64-CLOUDABI:#define __INTMAX_MAX__ 9223372036854775807L
7830 // X86_64-CLOUDABI:#define __INTMAX_TYPE__ long int
7831 // X86_64-CLOUDABI:#define __INTMAX_WIDTH__ 64
7832 // X86_64-CLOUDABI:#define __INTPTR_FMTd__ "ld"
7833 // X86_64-CLOUDABI:#define __INTPTR_FMTi__ "li"
7834 // X86_64-CLOUDABI:#define __INTPTR_MAX__ 9223372036854775807L
7835 // X86_64-CLOUDABI:#define __INTPTR_TYPE__ long int
7836 // X86_64-CLOUDABI:#define __INTPTR_WIDTH__ 64
7837 // X86_64-CLOUDABI:#define __INT_FAST16_FMTd__ "hd"
7838 // X86_64-CLOUDABI:#define __INT_FAST16_FMTi__ "hi"
7839 // X86_64-CLOUDABI:#define __INT_FAST16_MAX__ 32767
7840 // X86_64-CLOUDABI:#define __INT_FAST16_TYPE__ short
7841 // X86_64-CLOUDABI:#define __INT_FAST32_FMTd__ "d"
7842 // X86_64-CLOUDABI:#define __INT_FAST32_FMTi__ "i"
7843 // X86_64-CLOUDABI:#define __INT_FAST32_MAX__ 2147483647
7844 // X86_64-CLOUDABI:#define __INT_FAST32_TYPE__ int
7845 // X86_64-CLOUDABI:#define __INT_FAST64_FMTd__ "ld"
7846 // X86_64-CLOUDABI:#define __INT_FAST64_FMTi__ "li"
7847 // X86_64-CLOUDABI:#define __INT_FAST64_MAX__ 9223372036854775807L
7848 // X86_64-CLOUDABI:#define __INT_FAST64_TYPE__ long int
7849 // X86_64-CLOUDABI:#define __INT_FAST8_FMTd__ "hhd"
7850 // X86_64-CLOUDABI:#define __INT_FAST8_FMTi__ "hhi"
7851 // X86_64-CLOUDABI:#define __INT_FAST8_MAX__ 127
7852 // X86_64-CLOUDABI:#define __INT_FAST8_TYPE__ signed char
7853 // X86_64-CLOUDABI:#define __INT_LEAST16_FMTd__ "hd"
7854 // X86_64-CLOUDABI:#define __INT_LEAST16_FMTi__ "hi"
7855 // X86_64-CLOUDABI:#define __INT_LEAST16_MAX__ 32767
7856 // X86_64-CLOUDABI:#define __INT_LEAST16_TYPE__ short
7857 // X86_64-CLOUDABI:#define __INT_LEAST32_FMTd__ "d"
7858 // X86_64-CLOUDABI:#define __INT_LEAST32_FMTi__ "i"
7859 // X86_64-CLOUDABI:#define __INT_LEAST32_MAX__ 2147483647
7860 // X86_64-CLOUDABI:#define __INT_LEAST32_TYPE__ int
7861 // X86_64-CLOUDABI:#define __INT_LEAST64_FMTd__ "ld"
7862 // X86_64-CLOUDABI:#define __INT_LEAST64_FMTi__ "li"
7863 // X86_64-CLOUDABI:#define __INT_LEAST64_MAX__ 9223372036854775807L
7864 // X86_64-CLOUDABI:#define __INT_LEAST64_TYPE__ long int
7865 // X86_64-CLOUDABI:#define __INT_LEAST8_FMTd__ "hhd"
7866 // X86_64-CLOUDABI:#define __INT_LEAST8_FMTi__ "hhi"
7867 // X86_64-CLOUDABI:#define __INT_LEAST8_MAX__ 127
7868 // X86_64-CLOUDABI:#define __INT_LEAST8_TYPE__ signed char
7869 // X86_64-CLOUDABI:#define __INT_MAX__ 2147483647
7870 // X86_64-CLOUDABI:#define __LDBL_DECIMAL_DIG__ 21
7871 // X86_64-CLOUDABI:#define __LDBL_DENORM_MIN__ 3.64519953188247460253e-4951L
7872 // X86_64-CLOUDABI:#define __LDBL_DIG__ 18
7873 // X86_64-CLOUDABI:#define __LDBL_EPSILON__ 1.08420217248550443401e-19L
7874 // X86_64-CLOUDABI:#define __LDBL_HAS_DENORM__ 1
7875 // X86_64-CLOUDABI:#define __LDBL_HAS_INFINITY__ 1
7876 // X86_64-CLOUDABI:#define __LDBL_HAS_QUIET_NAN__ 1
7877 // X86_64-CLOUDABI:#define __LDBL_MANT_DIG__ 64
7878 // X86_64-CLOUDABI:#define __LDBL_MAX_10_EXP__ 4932
7879 // X86_64-CLOUDABI:#define __LDBL_MAX_EXP__ 16384
7880 // X86_64-CLOUDABI:#define __LDBL_MAX__ 1.18973149535723176502e+4932L
7881 // X86_64-CLOUDABI:#define __LDBL_MIN_10_EXP__ (-4931)
7882 // X86_64-CLOUDABI:#define __LDBL_MIN_EXP__ (-16381)
7883 // X86_64-CLOUDABI:#define __LDBL_MIN__ 3.36210314311209350626e-4932L
7884 // X86_64-CLOUDABI:#define __LITTLE_ENDIAN__ 1
7885 // X86_64-CLOUDABI:#define __LONG_LONG_MAX__ 9223372036854775807LL
7886 // X86_64-CLOUDABI:#define __LONG_MAX__ 9223372036854775807L
7887 // X86_64-CLOUDABI:#define __LP64__ 1
7888 // X86_64-CLOUDABI:#define __MMX__ 1
7889 // X86_64-CLOUDABI:#define __NO_INLINE__ 1
7890 // X86_64-CLOUDABI:#define __NO_MATH_INLINES 1
7891 // X86_64-CLOUDABI:#define __ORDER_BIG_ENDIAN__ 4321
7892 // X86_64-CLOUDABI:#define __ORDER_LITTLE_ENDIAN__ 1234
7893 // X86_64-CLOUDABI:#define __ORDER_PDP_ENDIAN__ 3412
7894 // X86_64-CLOUDABI:#define __POINTER_WIDTH__ 64
7895 // X86_64-CLOUDABI:#define __PRAGMA_REDEFINE_EXTNAME 1
7896 // X86_64-CLOUDABI:#define __PTRDIFF_FMTd__ "ld"
7897 // X86_64-CLOUDABI:#define __PTRDIFF_FMTi__ "li"
7898 // X86_64-CLOUDABI:#define __PTRDIFF_MAX__ 9223372036854775807L
7899 // X86_64-CLOUDABI:#define __PTRDIFF_TYPE__ long int
7900 // X86_64-CLOUDABI:#define __PTRDIFF_WIDTH__ 64
7901 // X86_64-CLOUDABI:#define __REGISTER_PREFIX__
7902 // X86_64-CLOUDABI:#define __SCHAR_MAX__ 127
7903 // X86_64-CLOUDABI:#define __SHRT_MAX__ 32767
7904 // X86_64-CLOUDABI:#define __SIG_ATOMIC_MAX__ 2147483647
7905 // X86_64-CLOUDABI:#define __SIG_ATOMIC_WIDTH__ 32
7906 // X86_64-CLOUDABI:#define __SIZEOF_DOUBLE__ 8
7907 // X86_64-CLOUDABI:#define __SIZEOF_FLOAT__ 4
7908 // X86_64-CLOUDABI:#define __SIZEOF_INT128__ 16
7909 // X86_64-CLOUDABI:#define __SIZEOF_INT__ 4
7910 // X86_64-CLOUDABI:#define __SIZEOF_LONG_DOUBLE__ 16
7911 // X86_64-CLOUDABI:#define __SIZEOF_LONG_LONG__ 8
7912 // X86_64-CLOUDABI:#define __SIZEOF_LONG__ 8
7913 // X86_64-CLOUDABI:#define __SIZEOF_POINTER__ 8
7914 // X86_64-CLOUDABI:#define __SIZEOF_PTRDIFF_T__ 8
7915 // X86_64-CLOUDABI:#define __SIZEOF_SHORT__ 2
7916 // X86_64-CLOUDABI:#define __SIZEOF_SIZE_T__ 8
7917 // X86_64-CLOUDABI:#define __SIZEOF_WCHAR_T__ 4
7918 // X86_64-CLOUDABI:#define __SIZEOF_WINT_T__ 4
7919 // X86_64-CLOUDABI:#define __SIZE_FMTX__ "lX"
7920 // X86_64-CLOUDABI:#define __SIZE_FMTo__ "lo"
7921 // X86_64-CLOUDABI:#define __SIZE_FMTu__ "lu"
7922 // X86_64-CLOUDABI:#define __SIZE_FMTx__ "lx"
7923 // X86_64-CLOUDABI:#define __SIZE_MAX__ 18446744073709551615UL
7924 // X86_64-CLOUDABI:#define __SIZE_TYPE__ long unsigned int
7925 // X86_64-CLOUDABI:#define __SIZE_WIDTH__ 64
7926 // X86_64-CLOUDABI:#define __SSE2_MATH__ 1
7927 // X86_64-CLOUDABI:#define __SSE2__ 1
7928 // X86_64-CLOUDABI:#define __SSE_MATH__ 1
7929 // X86_64-CLOUDABI:#define __SSE__ 1
7930 // X86_64-CLOUDABI:#define __STDC_HOSTED__ 0
7931 // X86_64-CLOUDABI:#define __STDC_ISO_10646__ 201206L
7932 // X86_64-CLOUDABI:#define __STDC_UTF_16__ 1
7933 // X86_64-CLOUDABI:#define __STDC_UTF_32__ 1
7934 // X86_64-CLOUDABI:#define __STDC_VERSION__ 201112L
7935 // X86_64-CLOUDABI:#define __STDC__ 1
7936 // X86_64-CLOUDABI:#define __UINT16_C_SUFFIX__
7937 // X86_64-CLOUDABI:#define __UINT16_FMTX__ "hX"
7938 // X86_64-CLOUDABI:#define __UINT16_FMTo__ "ho"
7939 // X86_64-CLOUDABI:#define __UINT16_FMTu__ "hu"
7940 // X86_64-CLOUDABI:#define __UINT16_FMTx__ "hx"
7941 // X86_64-CLOUDABI:#define __UINT16_MAX__ 65535
7942 // X86_64-CLOUDABI:#define __UINT16_TYPE__ unsigned short
7943 // X86_64-CLOUDABI:#define __UINT32_C_SUFFIX__ U
7944 // X86_64-CLOUDABI:#define __UINT32_FMTX__ "X"
7945 // X86_64-CLOUDABI:#define __UINT32_FMTo__ "o"
7946 // X86_64-CLOUDABI:#define __UINT32_FMTu__ "u"
7947 // X86_64-CLOUDABI:#define __UINT32_FMTx__ "x"
7948 // X86_64-CLOUDABI:#define __UINT32_MAX__ 4294967295U
7949 // X86_64-CLOUDABI:#define __UINT32_TYPE__ unsigned int
7950 // X86_64-CLOUDABI:#define __UINT64_C_SUFFIX__ UL
7951 // X86_64-CLOUDABI:#define __UINT64_FMTX__ "lX"
7952 // X86_64-CLOUDABI:#define __UINT64_FMTo__ "lo"
7953 // X86_64-CLOUDABI:#define __UINT64_FMTu__ "lu"
7954 // X86_64-CLOUDABI:#define __UINT64_FMTx__ "lx"
7955 // X86_64-CLOUDABI:#define __UINT64_MAX__ 18446744073709551615UL
7956 // X86_64-CLOUDABI:#define __UINT64_TYPE__ long unsigned int
7957 // X86_64-CLOUDABI:#define __UINT8_C_SUFFIX__
7958 // X86_64-CLOUDABI:#define __UINT8_FMTX__ "hhX"
7959 // X86_64-CLOUDABI:#define __UINT8_FMTo__ "hho"
7960 // X86_64-CLOUDABI:#define __UINT8_FMTu__ "hhu"
7961 // X86_64-CLOUDABI:#define __UINT8_FMTx__ "hhx"
7962 // X86_64-CLOUDABI:#define __UINT8_MAX__ 255
7963 // X86_64-CLOUDABI:#define __UINT8_TYPE__ unsigned char
7964 // X86_64-CLOUDABI:#define __UINTMAX_C_SUFFIX__ UL
7965 // X86_64-CLOUDABI:#define __UINTMAX_FMTX__ "lX"
7966 // X86_64-CLOUDABI:#define __UINTMAX_FMTo__ "lo"
7967 // X86_64-CLOUDABI:#define __UINTMAX_FMTu__ "lu"
7968 // X86_64-CLOUDABI:#define __UINTMAX_FMTx__ "lx"
7969 // X86_64-CLOUDABI:#define __UINTMAX_MAX__ 18446744073709551615UL
7970 // X86_64-CLOUDABI:#define __UINTMAX_TYPE__ long unsigned int
7971 // X86_64-CLOUDABI:#define __UINTMAX_WIDTH__ 64
7972 // X86_64-CLOUDABI:#define __UINTPTR_FMTX__ "lX"
7973 // X86_64-CLOUDABI:#define __UINTPTR_FMTo__ "lo"
7974 // X86_64-CLOUDABI:#define __UINTPTR_FMTu__ "lu"
7975 // X86_64-CLOUDABI:#define __UINTPTR_FMTx__ "lx"
7976 // X86_64-CLOUDABI:#define __UINTPTR_MAX__ 18446744073709551615UL
7977 // X86_64-CLOUDABI:#define __UINTPTR_TYPE__ long unsigned int
7978 // X86_64-CLOUDABI:#define __UINTPTR_WIDTH__ 64
7979 // X86_64-CLOUDABI:#define __UINT_FAST16_FMTX__ "hX"
7980 // X86_64-CLOUDABI:#define __UINT_FAST16_FMTo__ "ho"
7981 // X86_64-CLOUDABI:#define __UINT_FAST16_FMTu__ "hu"
7982 // X86_64-CLOUDABI:#define __UINT_FAST16_FMTx__ "hx"
7983 // X86_64-CLOUDABI:#define __UINT_FAST16_MAX__ 65535
7984 // X86_64-CLOUDABI:#define __UINT_FAST16_TYPE__ unsigned short
7985 // X86_64-CLOUDABI:#define __UINT_FAST32_FMTX__ "X"
7986 // X86_64-CLOUDABI:#define __UINT_FAST32_FMTo__ "o"
7987 // X86_64-CLOUDABI:#define __UINT_FAST32_FMTu__ "u"
7988 // X86_64-CLOUDABI:#define __UINT_FAST32_FMTx__ "x"
7989 // X86_64-CLOUDABI:#define __UINT_FAST32_MAX__ 4294967295U
7990 // X86_64-CLOUDABI:#define __UINT_FAST32_TYPE__ unsigned int
7991 // X86_64-CLOUDABI:#define __UINT_FAST64_FMTX__ "lX"
7992 // X86_64-CLOUDABI:#define __UINT_FAST64_FMTo__ "lo"
7993 // X86_64-CLOUDABI:#define __UINT_FAST64_FMTu__ "lu"
7994 // X86_64-CLOUDABI:#define __UINT_FAST64_FMTx__ "lx"
7995 // X86_64-CLOUDABI:#define __UINT_FAST64_MAX__ 18446744073709551615UL
7996 // X86_64-CLOUDABI:#define __UINT_FAST64_TYPE__ long unsigned int
7997 // X86_64-CLOUDABI:#define __UINT_FAST8_FMTX__ "hhX"
7998 // X86_64-CLOUDABI:#define __UINT_FAST8_FMTo__ "hho"
7999 // X86_64-CLOUDABI:#define __UINT_FAST8_FMTu__ "hhu"
8000 // X86_64-CLOUDABI:#define __UINT_FAST8_FMTx__ "hhx"
8001 // X86_64-CLOUDABI:#define __UINT_FAST8_MAX__ 255
8002 // X86_64-CLOUDABI:#define __UINT_FAST8_TYPE__ unsigned char
8003 // X86_64-CLOUDABI:#define __UINT_LEAST16_FMTX__ "hX"
8004 // X86_64-CLOUDABI:#define __UINT_LEAST16_FMTo__ "ho"
8005 // X86_64-CLOUDABI:#define __UINT_LEAST16_FMTu__ "hu"
8006 // X86_64-CLOUDABI:#define __UINT_LEAST16_FMTx__ "hx"
8007 // X86_64-CLOUDABI:#define __UINT_LEAST16_MAX__ 65535
8008 // X86_64-CLOUDABI:#define __UINT_LEAST16_TYPE__ unsigned short
8009 // X86_64-CLOUDABI:#define __UINT_LEAST32_FMTX__ "X"
8010 // X86_64-CLOUDABI:#define __UINT_LEAST32_FMTo__ "o"
8011 // X86_64-CLOUDABI:#define __UINT_LEAST32_FMTu__ "u"
8012 // X86_64-CLOUDABI:#define __UINT_LEAST32_FMTx__ "x"
8013 // X86_64-CLOUDABI:#define __UINT_LEAST32_MAX__ 4294967295U
8014 // X86_64-CLOUDABI:#define __UINT_LEAST32_TYPE__ unsigned int
8015 // X86_64-CLOUDABI:#define __UINT_LEAST64_FMTX__ "lX"
8016 // X86_64-CLOUDABI:#define __UINT_LEAST64_FMTo__ "lo"
8017 // X86_64-CLOUDABI:#define __UINT_LEAST64_FMTu__ "lu"
8018 // X86_64-CLOUDABI:#define __UINT_LEAST64_FMTx__ "lx"
8019 // X86_64-CLOUDABI:#define __UINT_LEAST64_MAX__ 18446744073709551615UL
8020 // X86_64-CLOUDABI:#define __UINT_LEAST64_TYPE__ long unsigned int
8021 // X86_64-CLOUDABI:#define __UINT_LEAST8_FMTX__ "hhX"
8022 // X86_64-CLOUDABI:#define __UINT_LEAST8_FMTo__ "hho"
8023 // X86_64-CLOUDABI:#define __UINT_LEAST8_FMTu__ "hhu"
8024 // X86_64-CLOUDABI:#define __UINT_LEAST8_FMTx__ "hhx"
8025 // X86_64-CLOUDABI:#define __UINT_LEAST8_MAX__ 255
8026 // X86_64-CLOUDABI:#define __UINT_LEAST8_TYPE__ unsigned char
8027 // X86_64-CLOUDABI:#define __USER_LABEL_PREFIX__
8028 // X86_64-CLOUDABI:#define __VERSION__ "{{.*}}Clang{{.*}}
8029 // X86_64-CLOUDABI:#define __WCHAR_MAX__ 2147483647
8030 // X86_64-CLOUDABI:#define __WCHAR_TYPE__ int
8031 // X86_64-CLOUDABI:#define __WCHAR_WIDTH__ 32
8032 // X86_64-CLOUDABI:#define __WINT_MAX__ 2147483647
8033 // X86_64-CLOUDABI:#define __WINT_TYPE__ int
8034 // X86_64-CLOUDABI:#define __WINT_WIDTH__ 32
8035 // X86_64-CLOUDABI:#define __amd64 1
8036 // X86_64-CLOUDABI:#define __amd64__ 1
8037 // X86_64-CLOUDABI:#define __clang__ 1
8038 // X86_64-CLOUDABI:#define __clang_major__ {{.*}}
8039 // X86_64-CLOUDABI:#define __clang_minor__ {{.*}}
8040 // X86_64-CLOUDABI:#define __clang_patchlevel__ {{.*}}
8041 // X86_64-CLOUDABI:#define __clang_version__ {{.*}}
8042 // X86_64-CLOUDABI:#define __llvm__ 1
8043 // X86_64-CLOUDABI:#define __x86_64 1
8044 // X86_64-CLOUDABI:#define __x86_64__ 1
8045 //
8046 // RUN: %clang_cc1 -E -dM -ffreestanding -fgnuc-version=4.2.1 -triple=x86_64-pc-linux-gnu < /dev/null | FileCheck -match-full-lines -check-prefix X86_64-LINUX %s
8047 //
8048 // X86_64-LINUX:#define _LP64 1
8049 // X86_64-LINUX:#define __BIGGEST_ALIGNMENT__ 16
8050 // X86_64-LINUX:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
8051 // X86_64-LINUX:#define __CHAR16_TYPE__ unsigned short
8052 // X86_64-LINUX:#define __CHAR32_TYPE__ unsigned int
8053 // X86_64-LINUX:#define __CHAR_BIT__ 8
8054 // X86_64-LINUX:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
8055 // X86_64-LINUX:#define __DBL_DIG__ 15
8056 // X86_64-LINUX:#define __DBL_EPSILON__ 2.2204460492503131e-16
8057 // X86_64-LINUX:#define __DBL_HAS_DENORM__ 1
8058 // X86_64-LINUX:#define __DBL_HAS_INFINITY__ 1
8059 // X86_64-LINUX:#define __DBL_HAS_QUIET_NAN__ 1
8060 // X86_64-LINUX:#define __DBL_MANT_DIG__ 53
8061 // X86_64-LINUX:#define __DBL_MAX_10_EXP__ 308
8062 // X86_64-LINUX:#define __DBL_MAX_EXP__ 1024
8063 // X86_64-LINUX:#define __DBL_MAX__ 1.7976931348623157e+308
8064 // X86_64-LINUX:#define __DBL_MIN_10_EXP__ (-307)
8065 // X86_64-LINUX:#define __DBL_MIN_EXP__ (-1021)
8066 // X86_64-LINUX:#define __DBL_MIN__ 2.2250738585072014e-308
8067 // X86_64-LINUX:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
8068 // X86_64-LINUX:#define __FLT_DENORM_MIN__ 1.40129846e-45F
8069 // X86_64-LINUX:#define __FLT_DIG__ 6
8070 // X86_64-LINUX:#define __FLT_EPSILON__ 1.19209290e-7F
8071 // X86_64-LINUX:#define __FLT_EVAL_METHOD__ 0
8072 // X86_64-LINUX:#define __FLT_HAS_DENORM__ 1
8073 // X86_64-LINUX:#define __FLT_HAS_INFINITY__ 1
8074 // X86_64-LINUX:#define __FLT_HAS_QUIET_NAN__ 1
8075 // X86_64-LINUX:#define __FLT_MANT_DIG__ 24
8076 // X86_64-LINUX:#define __FLT_MAX_10_EXP__ 38
8077 // X86_64-LINUX:#define __FLT_MAX_EXP__ 128
8078 // X86_64-LINUX:#define __FLT_MAX__ 3.40282347e+38F
8079 // X86_64-LINUX:#define __FLT_MIN_10_EXP__ (-37)
8080 // X86_64-LINUX:#define __FLT_MIN_EXP__ (-125)
8081 // X86_64-LINUX:#define __FLT_MIN__ 1.17549435e-38F
8082 // X86_64-LINUX:#define __FLT_RADIX__ 2
8083 // X86_64-LINUX:#define __GCC_ATOMIC_BOOL_LOCK_FREE 2
8084 // X86_64-LINUX:#define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2
8085 // X86_64-LINUX:#define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2
8086 // X86_64-LINUX:#define __GCC_ATOMIC_CHAR_LOCK_FREE 2
8087 // X86_64-LINUX:#define __GCC_ATOMIC_INT_LOCK_FREE 2
8088 // X86_64-LINUX:#define __GCC_ATOMIC_LLONG_LOCK_FREE 2
8089 // X86_64-LINUX:#define __GCC_ATOMIC_LONG_LOCK_FREE 2
8090 // X86_64-LINUX:#define __GCC_ATOMIC_POINTER_LOCK_FREE 2
8091 // X86_64-LINUX:#define __GCC_ATOMIC_SHORT_LOCK_FREE 2
8092 // X86_64-LINUX:#define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1
8093 // X86_64-LINUX:#define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2
8094 // X86_64-LINUX:#define __INT16_C_SUFFIX__
8095 // X86_64-LINUX:#define __INT16_FMTd__ "hd"
8096 // X86_64-LINUX:#define __INT16_FMTi__ "hi"
8097 // X86_64-LINUX:#define __INT16_MAX__ 32767
8098 // X86_64-LINUX:#define __INT16_TYPE__ short
8099 // X86_64-LINUX:#define __INT32_C_SUFFIX__
8100 // X86_64-LINUX:#define __INT32_FMTd__ "d"
8101 // X86_64-LINUX:#define __INT32_FMTi__ "i"
8102 // X86_64-LINUX:#define __INT32_MAX__ 2147483647
8103 // X86_64-LINUX:#define __INT32_TYPE__ int
8104 // X86_64-LINUX:#define __INT64_C_SUFFIX__ L
8105 // X86_64-LINUX:#define __INT64_FMTd__ "ld"
8106 // X86_64-LINUX:#define __INT64_FMTi__ "li"
8107 // X86_64-LINUX:#define __INT64_MAX__ 9223372036854775807L
8108 // X86_64-LINUX:#define __INT64_TYPE__ long int
8109 // X86_64-LINUX:#define __INT8_C_SUFFIX__
8110 // X86_64-LINUX:#define __INT8_FMTd__ "hhd"
8111 // X86_64-LINUX:#define __INT8_FMTi__ "hhi"
8112 // X86_64-LINUX:#define __INT8_MAX__ 127
8113 // X86_64-LINUX:#define __INT8_TYPE__ signed char
8114 // X86_64-LINUX:#define __INTMAX_C_SUFFIX__ L
8115 // X86_64-LINUX:#define __INTMAX_FMTd__ "ld"
8116 // X86_64-LINUX:#define __INTMAX_FMTi__ "li"
8117 // X86_64-LINUX:#define __INTMAX_MAX__ 9223372036854775807L
8118 // X86_64-LINUX:#define __INTMAX_TYPE__ long int
8119 // X86_64-LINUX:#define __INTMAX_WIDTH__ 64
8120 // X86_64-LINUX:#define __INTPTR_FMTd__ "ld"
8121 // X86_64-LINUX:#define __INTPTR_FMTi__ "li"
8122 // X86_64-LINUX:#define __INTPTR_MAX__ 9223372036854775807L
8123 // X86_64-LINUX:#define __INTPTR_TYPE__ long int
8124 // X86_64-LINUX:#define __INTPTR_WIDTH__ 64
8125 // X86_64-LINUX:#define __INT_FAST16_FMTd__ "hd"
8126 // X86_64-LINUX:#define __INT_FAST16_FMTi__ "hi"
8127 // X86_64-LINUX:#define __INT_FAST16_MAX__ 32767
8128 // X86_64-LINUX:#define __INT_FAST16_TYPE__ short
8129 // X86_64-LINUX:#define __INT_FAST32_FMTd__ "d"
8130 // X86_64-LINUX:#define __INT_FAST32_FMTi__ "i"
8131 // X86_64-LINUX:#define __INT_FAST32_MAX__ 2147483647
8132 // X86_64-LINUX:#define __INT_FAST32_TYPE__ int
8133 // X86_64-LINUX:#define __INT_FAST64_FMTd__ "ld"
8134 // X86_64-LINUX:#define __INT_FAST64_FMTi__ "li"
8135 // X86_64-LINUX:#define __INT_FAST64_MAX__ 9223372036854775807L
8136 // X86_64-LINUX:#define __INT_FAST64_TYPE__ long int
8137 // X86_64-LINUX:#define __INT_FAST8_FMTd__ "hhd"
8138 // X86_64-LINUX:#define __INT_FAST8_FMTi__ "hhi"
8139 // X86_64-LINUX:#define __INT_FAST8_MAX__ 127
8140 // X86_64-LINUX:#define __INT_FAST8_TYPE__ signed char
8141 // X86_64-LINUX:#define __INT_LEAST16_FMTd__ "hd"
8142 // X86_64-LINUX:#define __INT_LEAST16_FMTi__ "hi"
8143 // X86_64-LINUX:#define __INT_LEAST16_MAX__ 32767
8144 // X86_64-LINUX:#define __INT_LEAST16_TYPE__ short
8145 // X86_64-LINUX:#define __INT_LEAST32_FMTd__ "d"
8146 // X86_64-LINUX:#define __INT_LEAST32_FMTi__ "i"
8147 // X86_64-LINUX:#define __INT_LEAST32_MAX__ 2147483647
8148 // X86_64-LINUX:#define __INT_LEAST32_TYPE__ int
8149 // X86_64-LINUX:#define __INT_LEAST64_FMTd__ "ld"
8150 // X86_64-LINUX:#define __INT_LEAST64_FMTi__ "li"
8151 // X86_64-LINUX:#define __INT_LEAST64_MAX__ 9223372036854775807L
8152 // X86_64-LINUX:#define __INT_LEAST64_TYPE__ long int
8153 // X86_64-LINUX:#define __INT_LEAST8_FMTd__ "hhd"
8154 // X86_64-LINUX:#define __INT_LEAST8_FMTi__ "hhi"
8155 // X86_64-LINUX:#define __INT_LEAST8_MAX__ 127
8156 // X86_64-LINUX:#define __INT_LEAST8_TYPE__ signed char
8157 // X86_64-LINUX:#define __INT_MAX__ 2147483647
8158 // X86_64-LINUX:#define __LDBL_DENORM_MIN__ 3.64519953188247460253e-4951L
8159 // X86_64-LINUX:#define __LDBL_DIG__ 18
8160 // X86_64-LINUX:#define __LDBL_EPSILON__ 1.08420217248550443401e-19L
8161 // X86_64-LINUX:#define __LDBL_HAS_DENORM__ 1
8162 // X86_64-LINUX:#define __LDBL_HAS_INFINITY__ 1
8163 // X86_64-LINUX:#define __LDBL_HAS_QUIET_NAN__ 1
8164 // X86_64-LINUX:#define __LDBL_MANT_DIG__ 64
8165 // X86_64-LINUX:#define __LDBL_MAX_10_EXP__ 4932
8166 // X86_64-LINUX:#define __LDBL_MAX_EXP__ 16384
8167 // X86_64-LINUX:#define __LDBL_MAX__ 1.18973149535723176502e+4932L
8168 // X86_64-LINUX:#define __LDBL_MIN_10_EXP__ (-4931)
8169 // X86_64-LINUX:#define __LDBL_MIN_EXP__ (-16381)
8170 // X86_64-LINUX:#define __LDBL_MIN__ 3.36210314311209350626e-4932L
8171 // X86_64-LINUX:#define __LITTLE_ENDIAN__ 1
8172 // X86_64-LINUX:#define __LONG_LONG_MAX__ 9223372036854775807LL
8173 // X86_64-LINUX:#define __LONG_MAX__ 9223372036854775807L
8174 // X86_64-LINUX:#define __LP64__ 1
8175 // X86_64-LINUX:#define __MMX__ 1
8176 // X86_64-LINUX:#define __NO_MATH_INLINES 1
8177 // X86_64-LINUX:#define __POINTER_WIDTH__ 64
8178 // X86_64-LINUX:#define __PTRDIFF_TYPE__ long int
8179 // X86_64-LINUX:#define __PTRDIFF_WIDTH__ 64
8180 // X86_64-LINUX:#define __REGISTER_PREFIX__
8181 // X86_64-LINUX:#define __SCHAR_MAX__ 127
8182 // X86_64-LINUX:#define __SHRT_MAX__ 32767
8183 // X86_64-LINUX:#define __SIG_ATOMIC_MAX__ 2147483647
8184 // X86_64-LINUX:#define __SIG_ATOMIC_WIDTH__ 32
8185 // X86_64-LINUX:#define __SIZEOF_DOUBLE__ 8
8186 // X86_64-LINUX:#define __SIZEOF_FLOAT__ 4
8187 // X86_64-LINUX:#define __SIZEOF_INT__ 4
8188 // X86_64-LINUX:#define __SIZEOF_LONG_DOUBLE__ 16
8189 // X86_64-LINUX:#define __SIZEOF_LONG_LONG__ 8
8190 // X86_64-LINUX:#define __SIZEOF_LONG__ 8
8191 // X86_64-LINUX:#define __SIZEOF_POINTER__ 8
8192 // X86_64-LINUX:#define __SIZEOF_PTRDIFF_T__ 8
8193 // X86_64-LINUX:#define __SIZEOF_SHORT__ 2
8194 // X86_64-LINUX:#define __SIZEOF_SIZE_T__ 8
8195 // X86_64-LINUX:#define __SIZEOF_WCHAR_T__ 4
8196 // X86_64-LINUX:#define __SIZEOF_WINT_T__ 4
8197 // X86_64-LINUX:#define __SIZE_MAX__ 18446744073709551615UL
8198 // X86_64-LINUX:#define __SIZE_TYPE__ long unsigned int
8199 // X86_64-LINUX:#define __SIZE_WIDTH__ 64
8200 // X86_64-LINUX:#define __SSE2_MATH__ 1
8201 // X86_64-LINUX:#define __SSE2__ 1
8202 // X86_64-LINUX:#define __SSE_MATH__ 1
8203 // X86_64-LINUX:#define __SSE__ 1
8204 // X86_64-LINUX:#define __UINT16_C_SUFFIX__
8205 // X86_64-LINUX:#define __UINT16_MAX__ 65535
8206 // X86_64-LINUX:#define __UINT16_TYPE__ unsigned short
8207 // X86_64-LINUX:#define __UINT32_C_SUFFIX__ U
8208 // X86_64-LINUX:#define __UINT32_MAX__ 4294967295U
8209 // X86_64-LINUX:#define __UINT32_TYPE__ unsigned int
8210 // X86_64-LINUX:#define __UINT64_C_SUFFIX__ UL
8211 // X86_64-LINUX:#define __UINT64_MAX__ 18446744073709551615UL
8212 // X86_64-LINUX:#define __UINT64_TYPE__ long unsigned int
8213 // X86_64-LINUX:#define __UINT8_C_SUFFIX__
8214 // X86_64-LINUX:#define __UINT8_MAX__ 255
8215 // X86_64-LINUX:#define __UINT8_TYPE__ unsigned char
8216 // X86_64-LINUX:#define __UINTMAX_C_SUFFIX__ UL
8217 // X86_64-LINUX:#define __UINTMAX_MAX__ 18446744073709551615UL
8218 // X86_64-LINUX:#define __UINTMAX_TYPE__ long unsigned int
8219 // X86_64-LINUX:#define __UINTMAX_WIDTH__ 64
8220 // X86_64-LINUX:#define __UINTPTR_MAX__ 18446744073709551615UL
8221 // X86_64-LINUX:#define __UINTPTR_TYPE__ long unsigned int
8222 // X86_64-LINUX:#define __UINTPTR_WIDTH__ 64
8223 // X86_64-LINUX:#define __UINT_FAST16_MAX__ 65535
8224 // X86_64-LINUX:#define __UINT_FAST16_TYPE__ unsigned short
8225 // X86_64-LINUX:#define __UINT_FAST32_MAX__ 4294967295U
8226 // X86_64-LINUX:#define __UINT_FAST32_TYPE__ unsigned int
8227 // X86_64-LINUX:#define __UINT_FAST64_MAX__ 18446744073709551615UL
8228 // X86_64-LINUX:#define __UINT_FAST64_TYPE__ long unsigned int
8229 // X86_64-LINUX:#define __UINT_FAST8_MAX__ 255
8230 // X86_64-LINUX:#define __UINT_FAST8_TYPE__ unsigned char
8231 // X86_64-LINUX:#define __UINT_LEAST16_MAX__ 65535
8232 // X86_64-LINUX:#define __UINT_LEAST16_TYPE__ unsigned short
8233 // X86_64-LINUX:#define __UINT_LEAST32_MAX__ 4294967295U
8234 // X86_64-LINUX:#define __UINT_LEAST32_TYPE__ unsigned int
8235 // X86_64-LINUX:#define __UINT_LEAST64_MAX__ 18446744073709551615UL
8236 // X86_64-LINUX:#define __UINT_LEAST64_TYPE__ long unsigned int
8237 // X86_64-LINUX:#define __UINT_LEAST8_MAX__ 255
8238 // X86_64-LINUX:#define __UINT_LEAST8_TYPE__ unsigned char
8239 // X86_64-LINUX:#define __USER_LABEL_PREFIX__
8240 // X86_64-LINUX:#define __WCHAR_MAX__ 2147483647
8241 // X86_64-LINUX:#define __WCHAR_TYPE__ int
8242 // X86_64-LINUX:#define __WCHAR_WIDTH__ 32
8243 // X86_64-LINUX:#define __WINT_TYPE__ unsigned int
8244 // X86_64-LINUX:#define __WINT_WIDTH__ 32
8245 // X86_64-LINUX:#define __amd64 1
8246 // X86_64-LINUX:#define __amd64__ 1
8247 // X86_64-LINUX:#define __x86_64 1
8248 // X86_64-LINUX:#define __x86_64__ 1
8249 //
8250 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=x86_64-unknown-freebsd9.1 < /dev/null | FileCheck -match-full-lines -check-prefix X86_64-FREEBSD %s
8251 //
8252 // X86_64-FREEBSD:#define __DBL_DECIMAL_DIG__ 17
8253 // X86_64-FREEBSD:#define __FLT_DECIMAL_DIG__ 9
8254 // X86_64-FREEBSD:#define __FreeBSD__ 9
8255 // X86_64-FREEBSD:#define __FreeBSD_cc_version 900001
8256 // X86_64-FREEBSD:#define __LDBL_DECIMAL_DIG__ 21
8257 // X86_64-FREEBSD:#define __STDC_MB_MIGHT_NEQ_WC__ 1
8258 //
8259 // RUN: %clang_cc1 -E -dM -ffreestanding -fgnuc-version=4.2.1 -triple=x86_64-netbsd < /dev/null | FileCheck -match-full-lines -check-prefix X86_64-NETBSD %s
8260 //
8261 // X86_64-NETBSD:#define _LP64 1
8262 // X86_64-NETBSD:#define __BIGGEST_ALIGNMENT__ 16
8263 // X86_64-NETBSD:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
8264 // X86_64-NETBSD:#define __CHAR16_TYPE__ unsigned short
8265 // X86_64-NETBSD:#define __CHAR32_TYPE__ unsigned int
8266 // X86_64-NETBSD:#define __CHAR_BIT__ 8
8267 // X86_64-NETBSD:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
8268 // X86_64-NETBSD:#define __DBL_DIG__ 15
8269 // X86_64-NETBSD:#define __DBL_EPSILON__ 2.2204460492503131e-16
8270 // X86_64-NETBSD:#define __DBL_HAS_DENORM__ 1
8271 // X86_64-NETBSD:#define __DBL_HAS_INFINITY__ 1
8272 // X86_64-NETBSD:#define __DBL_HAS_QUIET_NAN__ 1
8273 // X86_64-NETBSD:#define __DBL_MANT_DIG__ 53
8274 // X86_64-NETBSD:#define __DBL_MAX_10_EXP__ 308
8275 // X86_64-NETBSD:#define __DBL_MAX_EXP__ 1024
8276 // X86_64-NETBSD:#define __DBL_MAX__ 1.7976931348623157e+308
8277 // X86_64-NETBSD:#define __DBL_MIN_10_EXP__ (-307)
8278 // X86_64-NETBSD:#define __DBL_MIN_EXP__ (-1021)
8279 // X86_64-NETBSD:#define __DBL_MIN__ 2.2250738585072014e-308
8280 // X86_64-NETBSD:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
8281 // X86_64-NETBSD:#define __FLT_DENORM_MIN__ 1.40129846e-45F
8282 // X86_64-NETBSD:#define __FLT_DIG__ 6
8283 // X86_64-NETBSD:#define __FLT_EPSILON__ 1.19209290e-7F
8284 // X86_64-NETBSD:#define __FLT_EVAL_METHOD__ 0
8285 // X86_64-NETBSD:#define __FLT_HAS_DENORM__ 1
8286 // X86_64-NETBSD:#define __FLT_HAS_INFINITY__ 1
8287 // X86_64-NETBSD:#define __FLT_HAS_QUIET_NAN__ 1
8288 // X86_64-NETBSD:#define __FLT_MANT_DIG__ 24
8289 // X86_64-NETBSD:#define __FLT_MAX_10_EXP__ 38
8290 // X86_64-NETBSD:#define __FLT_MAX_EXP__ 128
8291 // X86_64-NETBSD:#define __FLT_MAX__ 3.40282347e+38F
8292 // X86_64-NETBSD:#define __FLT_MIN_10_EXP__ (-37)
8293 // X86_64-NETBSD:#define __FLT_MIN_EXP__ (-125)
8294 // X86_64-NETBSD:#define __FLT_MIN__ 1.17549435e-38F
8295 // X86_64-NETBSD:#define __FLT_RADIX__ 2
8296 // X86_64-NETBSD:#define __GCC_ATOMIC_BOOL_LOCK_FREE 2
8297 // X86_64-NETBSD:#define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2
8298 // X86_64-NETBSD:#define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2
8299 // X86_64-NETBSD:#define __GCC_ATOMIC_CHAR_LOCK_FREE 2
8300 // X86_64-NETBSD:#define __GCC_ATOMIC_INT_LOCK_FREE 2
8301 // X86_64-NETBSD:#define __GCC_ATOMIC_LLONG_LOCK_FREE 2
8302 // X86_64-NETBSD:#define __GCC_ATOMIC_LONG_LOCK_FREE 2
8303 // X86_64-NETBSD:#define __GCC_ATOMIC_POINTER_LOCK_FREE 2
8304 // X86_64-NETBSD:#define __GCC_ATOMIC_SHORT_LOCK_FREE 2
8305 // X86_64-NETBSD:#define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1
8306 // X86_64-NETBSD:#define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2
8307 // X86_64-NETBSD:#define __INT16_C_SUFFIX__
8308 // X86_64-NETBSD:#define __INT16_FMTd__ "hd"
8309 // X86_64-NETBSD:#define __INT16_FMTi__ "hi"
8310 // X86_64-NETBSD:#define __INT16_MAX__ 32767
8311 // X86_64-NETBSD:#define __INT16_TYPE__ short
8312 // X86_64-NETBSD:#define __INT32_C_SUFFIX__
8313 // X86_64-NETBSD:#define __INT32_FMTd__ "d"
8314 // X86_64-NETBSD:#define __INT32_FMTi__ "i"
8315 // X86_64-NETBSD:#define __INT32_MAX__ 2147483647
8316 // X86_64-NETBSD:#define __INT32_TYPE__ int
8317 // X86_64-NETBSD:#define __INT64_C_SUFFIX__ L
8318 // X86_64-NETBSD:#define __INT64_FMTd__ "ld"
8319 // X86_64-NETBSD:#define __INT64_FMTi__ "li"
8320 // X86_64-NETBSD:#define __INT64_MAX__ 9223372036854775807L
8321 // X86_64-NETBSD:#define __INT64_TYPE__ long int
8322 // X86_64-NETBSD:#define __INT8_C_SUFFIX__
8323 // X86_64-NETBSD:#define __INT8_FMTd__ "hhd"
8324 // X86_64-NETBSD:#define __INT8_FMTi__ "hhi"
8325 // X86_64-NETBSD:#define __INT8_MAX__ 127
8326 // X86_64-NETBSD:#define __INT8_TYPE__ signed char
8327 // X86_64-NETBSD:#define __INTMAX_C_SUFFIX__ L
8328 // X86_64-NETBSD:#define __INTMAX_FMTd__ "ld"
8329 // X86_64-NETBSD:#define __INTMAX_FMTi__ "li"
8330 // X86_64-NETBSD:#define __INTMAX_MAX__ 9223372036854775807L
8331 // X86_64-NETBSD:#define __INTMAX_TYPE__ long int
8332 // X86_64-NETBSD:#define __INTMAX_WIDTH__ 64
8333 // X86_64-NETBSD:#define __INTPTR_FMTd__ "ld"
8334 // X86_64-NETBSD:#define __INTPTR_FMTi__ "li"
8335 // X86_64-NETBSD:#define __INTPTR_MAX__ 9223372036854775807L
8336 // X86_64-NETBSD:#define __INTPTR_TYPE__ long int
8337 // X86_64-NETBSD:#define __INTPTR_WIDTH__ 64
8338 // X86_64-NETBSD:#define __INT_FAST16_FMTd__ "hd"
8339 // X86_64-NETBSD:#define __INT_FAST16_FMTi__ "hi"
8340 // X86_64-NETBSD:#define __INT_FAST16_MAX__ 32767
8341 // X86_64-NETBSD:#define __INT_FAST16_TYPE__ short
8342 // X86_64-NETBSD:#define __INT_FAST32_FMTd__ "d"
8343 // X86_64-NETBSD:#define __INT_FAST32_FMTi__ "i"
8344 // X86_64-NETBSD:#define __INT_FAST32_MAX__ 2147483647
8345 // X86_64-NETBSD:#define __INT_FAST32_TYPE__ int
8346 // X86_64-NETBSD:#define __INT_FAST64_FMTd__ "ld"
8347 // X86_64-NETBSD:#define __INT_FAST64_FMTi__ "li"
8348 // X86_64-NETBSD:#define __INT_FAST64_MAX__ 9223372036854775807L
8349 // X86_64-NETBSD:#define __INT_FAST64_TYPE__ long int
8350 // X86_64-NETBSD:#define __INT_FAST8_FMTd__ "hhd"
8351 // X86_64-NETBSD:#define __INT_FAST8_FMTi__ "hhi"
8352 // X86_64-NETBSD:#define __INT_FAST8_MAX__ 127
8353 // X86_64-NETBSD:#define __INT_FAST8_TYPE__ signed char
8354 // X86_64-NETBSD:#define __INT_LEAST16_FMTd__ "hd"
8355 // X86_64-NETBSD:#define __INT_LEAST16_FMTi__ "hi"
8356 // X86_64-NETBSD:#define __INT_LEAST16_MAX__ 32767
8357 // X86_64-NETBSD:#define __INT_LEAST16_TYPE__ short
8358 // X86_64-NETBSD:#define __INT_LEAST32_FMTd__ "d"
8359 // X86_64-NETBSD:#define __INT_LEAST32_FMTi__ "i"
8360 // X86_64-NETBSD:#define __INT_LEAST32_MAX__ 2147483647
8361 // X86_64-NETBSD:#define __INT_LEAST32_TYPE__ int
8362 // X86_64-NETBSD:#define __INT_LEAST64_FMTd__ "ld"
8363 // X86_64-NETBSD:#define __INT_LEAST64_FMTi__ "li"
8364 // X86_64-NETBSD:#define __INT_LEAST64_MAX__ 9223372036854775807L
8365 // X86_64-NETBSD:#define __INT_LEAST64_TYPE__ long int
8366 // X86_64-NETBSD:#define __INT_LEAST8_FMTd__ "hhd"
8367 // X86_64-NETBSD:#define __INT_LEAST8_FMTi__ "hhi"
8368 // X86_64-NETBSD:#define __INT_LEAST8_MAX__ 127
8369 // X86_64-NETBSD:#define __INT_LEAST8_TYPE__ signed char
8370 // X86_64-NETBSD:#define __INT_MAX__ 2147483647
8371 // X86_64-NETBSD:#define __LDBL_DENORM_MIN__ 3.64519953188247460253e-4951L
8372 // X86_64-NETBSD:#define __LDBL_DIG__ 18
8373 // X86_64-NETBSD:#define __LDBL_EPSILON__ 1.08420217248550443401e-19L
8374 // X86_64-NETBSD:#define __LDBL_HAS_DENORM__ 1
8375 // X86_64-NETBSD:#define __LDBL_HAS_INFINITY__ 1
8376 // X86_64-NETBSD:#define __LDBL_HAS_QUIET_NAN__ 1
8377 // X86_64-NETBSD:#define __LDBL_MANT_DIG__ 64
8378 // X86_64-NETBSD:#define __LDBL_MAX_10_EXP__ 4932
8379 // X86_64-NETBSD:#define __LDBL_MAX_EXP__ 16384
8380 // X86_64-NETBSD:#define __LDBL_MAX__ 1.18973149535723176502e+4932L
8381 // X86_64-NETBSD:#define __LDBL_MIN_10_EXP__ (-4931)
8382 // X86_64-NETBSD:#define __LDBL_MIN_EXP__ (-16381)
8383 // X86_64-NETBSD:#define __LDBL_MIN__ 3.36210314311209350626e-4932L
8384 // X86_64-NETBSD:#define __LITTLE_ENDIAN__ 1
8385 // X86_64-NETBSD:#define __LONG_LONG_MAX__ 9223372036854775807LL
8386 // X86_64-NETBSD:#define __LONG_MAX__ 9223372036854775807L
8387 // X86_64-NETBSD:#define __LP64__ 1
8388 // X86_64-NETBSD:#define __MMX__ 1
8389 // X86_64-NETBSD:#define __NO_MATH_INLINES 1
8390 // X86_64-NETBSD:#define __POINTER_WIDTH__ 64
8391 // X86_64-NETBSD:#define __PTRDIFF_TYPE__ long int
8392 // X86_64-NETBSD:#define __PTRDIFF_WIDTH__ 64
8393 // X86_64-NETBSD:#define __REGISTER_PREFIX__
8394 // X86_64-NETBSD:#define __SCHAR_MAX__ 127
8395 // X86_64-NETBSD:#define __SHRT_MAX__ 32767
8396 // X86_64-NETBSD:#define __SIG_ATOMIC_MAX__ 2147483647
8397 // X86_64-NETBSD:#define __SIG_ATOMIC_WIDTH__ 32
8398 // X86_64-NETBSD:#define __SIZEOF_DOUBLE__ 8
8399 // X86_64-NETBSD:#define __SIZEOF_FLOAT__ 4
8400 // X86_64-NETBSD:#define __SIZEOF_INT__ 4
8401 // X86_64-NETBSD:#define __SIZEOF_LONG_DOUBLE__ 16
8402 // X86_64-NETBSD:#define __SIZEOF_LONG_LONG__ 8
8403 // X86_64-NETBSD:#define __SIZEOF_LONG__ 8
8404 // X86_64-NETBSD:#define __SIZEOF_POINTER__ 8
8405 // X86_64-NETBSD:#define __SIZEOF_PTRDIFF_T__ 8
8406 // X86_64-NETBSD:#define __SIZEOF_SHORT__ 2
8407 // X86_64-NETBSD:#define __SIZEOF_SIZE_T__ 8
8408 // X86_64-NETBSD:#define __SIZEOF_WCHAR_T__ 4
8409 // X86_64-NETBSD:#define __SIZEOF_WINT_T__ 4
8410 // X86_64-NETBSD:#define __SIZE_MAX__ 18446744073709551615UL
8411 // X86_64-NETBSD:#define __SIZE_TYPE__ long unsigned int
8412 // X86_64-NETBSD:#define __SIZE_WIDTH__ 64
8413 // X86_64-NETBSD:#define __SSE2_MATH__ 1
8414 // X86_64-NETBSD:#define __SSE2__ 1
8415 // X86_64-NETBSD:#define __SSE_MATH__ 1
8416 // X86_64-NETBSD:#define __SSE__ 1
8417 // X86_64-NETBSD:#define __UINT16_C_SUFFIX__
8418 // X86_64-NETBSD:#define __UINT16_MAX__ 65535
8419 // X86_64-NETBSD:#define __UINT16_TYPE__ unsigned short
8420 // X86_64-NETBSD:#define __UINT32_C_SUFFIX__ U
8421 // X86_64-NETBSD:#define __UINT32_MAX__ 4294967295U
8422 // X86_64-NETBSD:#define __UINT32_TYPE__ unsigned int
8423 // X86_64-NETBSD:#define __UINT64_C_SUFFIX__ UL
8424 // X86_64-NETBSD:#define __UINT64_MAX__ 18446744073709551615UL
8425 // X86_64-NETBSD:#define __UINT64_TYPE__ long unsigned int
8426 // X86_64-NETBSD:#define __UINT8_C_SUFFIX__
8427 // X86_64-NETBSD:#define __UINT8_MAX__ 255
8428 // X86_64-NETBSD:#define __UINT8_TYPE__ unsigned char
8429 // X86_64-NETBSD:#define __UINTMAX_C_SUFFIX__ UL
8430 // X86_64-NETBSD:#define __UINTMAX_MAX__ 18446744073709551615UL
8431 // X86_64-NETBSD:#define __UINTMAX_TYPE__ long unsigned int
8432 // X86_64-NETBSD:#define __UINTMAX_WIDTH__ 64
8433 // X86_64-NETBSD:#define __UINTPTR_MAX__ 18446744073709551615UL
8434 // X86_64-NETBSD:#define __UINTPTR_TYPE__ long unsigned int
8435 // X86_64-NETBSD:#define __UINTPTR_WIDTH__ 64
8436 // X86_64-NETBSD:#define __UINT_FAST16_MAX__ 65535
8437 // X86_64-NETBSD:#define __UINT_FAST16_TYPE__ unsigned short
8438 // X86_64-NETBSD:#define __UINT_FAST32_MAX__ 4294967295U
8439 // X86_64-NETBSD:#define __UINT_FAST32_TYPE__ unsigned int
8440 // X86_64-NETBSD:#define __UINT_FAST64_MAX__ 18446744073709551615UL
8441 // X86_64-NETBSD:#define __UINT_FAST64_TYPE__ long unsigned int
8442 // X86_64-NETBSD:#define __UINT_FAST8_MAX__ 255
8443 // X86_64-NETBSD:#define __UINT_FAST8_TYPE__ unsigned char
8444 // X86_64-NETBSD:#define __UINT_LEAST16_MAX__ 65535
8445 // X86_64-NETBSD:#define __UINT_LEAST16_TYPE__ unsigned short
8446 // X86_64-NETBSD:#define __UINT_LEAST32_MAX__ 4294967295U
8447 // X86_64-NETBSD:#define __UINT_LEAST32_TYPE__ unsigned int
8448 // X86_64-NETBSD:#define __UINT_LEAST64_MAX__ 18446744073709551615UL
8449 // X86_64-NETBSD:#define __UINT_LEAST64_TYPE__ long unsigned int
8450 // X86_64-NETBSD:#define __UINT_LEAST8_MAX__ 255
8451 // X86_64-NETBSD:#define __UINT_LEAST8_TYPE__ unsigned char
8452 // X86_64-NETBSD:#define __USER_LABEL_PREFIX__
8453 // X86_64-NETBSD:#define __WCHAR_MAX__ 2147483647
8454 // X86_64-NETBSD:#define __WCHAR_TYPE__ int
8455 // X86_64-NETBSD:#define __WCHAR_WIDTH__ 32
8456 // X86_64-NETBSD:#define __WINT_TYPE__ int
8457 // X86_64-NETBSD:#define __WINT_WIDTH__ 32
8458 // X86_64-NETBSD:#define __amd64 1
8459 // X86_64-NETBSD:#define __amd64__ 1
8460 // X86_64-NETBSD:#define __x86_64 1
8461 // X86_64-NETBSD:#define __x86_64__ 1
8462 //
8463 // RUN: %clang_cc1 -E -dM -ffreestanding -fgnuc-version=4.2.1 -triple=x86_64-scei-ps4 < /dev/null | FileCheck -match-full-lines -check-prefix PS4 %s
8464 //
8465 // PS4:#define _LP64 1
8466 // PS4:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
8467 // PS4:#define __CHAR16_TYPE__ unsigned short
8468 // PS4:#define __CHAR32_TYPE__ unsigned int
8469 // PS4:#define __CHAR_BIT__ 8
8470 // PS4:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
8471 // PS4:#define __DBL_DIG__ 15
8472 // PS4:#define __DBL_EPSILON__ 2.2204460492503131e-16
8473 // PS4:#define __DBL_HAS_DENORM__ 1
8474 // PS4:#define __DBL_HAS_INFINITY__ 1
8475 // PS4:#define __DBL_HAS_QUIET_NAN__ 1
8476 // PS4:#define __DBL_MANT_DIG__ 53
8477 // PS4:#define __DBL_MAX_10_EXP__ 308
8478 // PS4:#define __DBL_MAX_EXP__ 1024
8479 // PS4:#define __DBL_MAX__ 1.7976931348623157e+308
8480 // PS4:#define __DBL_MIN_10_EXP__ (-307)
8481 // PS4:#define __DBL_MIN_EXP__ (-1021)
8482 // PS4:#define __DBL_MIN__ 2.2250738585072014e-308
8483 // PS4:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
8484 // PS4:#define __ELF__ 1
8485 // PS4:#define __FLT_DENORM_MIN__ 1.40129846e-45F
8486 // PS4:#define __FLT_DIG__ 6
8487 // PS4:#define __FLT_EPSILON__ 1.19209290e-7F
8488 // PS4:#define __FLT_EVAL_METHOD__ 0
8489 // PS4:#define __FLT_HAS_DENORM__ 1
8490 // PS4:#define __FLT_HAS_INFINITY__ 1
8491 // PS4:#define __FLT_HAS_QUIET_NAN__ 1
8492 // PS4:#define __FLT_MANT_DIG__ 24
8493 // PS4:#define __FLT_MAX_10_EXP__ 38
8494 // PS4:#define __FLT_MAX_EXP__ 128
8495 // PS4:#define __FLT_MAX__ 3.40282347e+38F
8496 // PS4:#define __FLT_MIN_10_EXP__ (-37)
8497 // PS4:#define __FLT_MIN_EXP__ (-125)
8498 // PS4:#define __FLT_MIN__ 1.17549435e-38F
8499 // PS4:#define __FLT_RADIX__ 2
8500 // PS4:#define __FreeBSD__ 9
8501 // PS4:#define __FreeBSD_cc_version 900001
8502 // PS4:#define __INT16_TYPE__ short
8503 // PS4:#define __INT32_TYPE__ int
8504 // PS4:#define __INT64_C_SUFFIX__ L
8505 // PS4:#define __INT64_TYPE__ long int
8506 // PS4:#define __INT8_TYPE__ signed char
8507 // PS4:#define __INTMAX_MAX__ 9223372036854775807L
8508 // PS4:#define __INTMAX_TYPE__ long int
8509 // PS4:#define __INTMAX_WIDTH__ 64
8510 // PS4:#define __INTPTR_TYPE__ long int
8511 // PS4:#define __INTPTR_WIDTH__ 64
8512 // PS4:#define __INT_MAX__ 2147483647
8513 // PS4:#define __KPRINTF_ATTRIBUTE__ 1
8514 // PS4:#define __LDBL_DENORM_MIN__ 3.64519953188247460253e-4951L
8515 // PS4:#define __LDBL_DIG__ 18
8516 // PS4:#define __LDBL_EPSILON__ 1.08420217248550443401e-19L
8517 // PS4:#define __LDBL_HAS_DENORM__ 1
8518 // PS4:#define __LDBL_HAS_INFINITY__ 1
8519 // PS4:#define __LDBL_HAS_QUIET_NAN__ 1
8520 // PS4:#define __LDBL_MANT_DIG__ 64
8521 // PS4:#define __LDBL_MAX_10_EXP__ 4932
8522 // PS4:#define __LDBL_MAX_EXP__ 16384
8523 // PS4:#define __LDBL_MAX__ 1.18973149535723176502e+4932L
8524 // PS4:#define __LDBL_MIN_10_EXP__ (-4931)
8525 // PS4:#define __LDBL_MIN_EXP__ (-16381)
8526 // PS4:#define __LDBL_MIN__ 3.36210314311209350626e-4932L
8527 // PS4:#define __LITTLE_ENDIAN__ 1
8528 // PS4:#define __LONG_LONG_MAX__ 9223372036854775807LL
8529 // PS4:#define __LONG_MAX__ 9223372036854775807L
8530 // PS4:#define __LP64__ 1
8531 // PS4:#define __MMX__ 1
8532 // PS4:#define __NO_MATH_INLINES 1
8533 // PS4:#define __ORBIS__ 1
8534 // PS4:#define __POINTER_WIDTH__ 64
8535 // PS4:#define __PTRDIFF_MAX__ 9223372036854775807L
8536 // PS4:#define __PTRDIFF_TYPE__ long int
8537 // PS4:#define __PTRDIFF_WIDTH__ 64
8538 // PS4:#define __REGISTER_PREFIX__
8539 // PS4:#define __SCE__ 1
8540 // PS4:#define __SCHAR_MAX__ 127
8541 // PS4:#define __SHRT_MAX__ 32767
8542 // PS4:#define __SIG_ATOMIC_MAX__ 2147483647
8543 // PS4:#define __SIG_ATOMIC_WIDTH__ 32
8544 // PS4:#define __SIZEOF_DOUBLE__ 8
8545 // PS4:#define __SIZEOF_FLOAT__ 4
8546 // PS4:#define __SIZEOF_INT__ 4
8547 // PS4:#define __SIZEOF_LONG_DOUBLE__ 16
8548 // PS4:#define __SIZEOF_LONG_LONG__ 8
8549 // PS4:#define __SIZEOF_LONG__ 8
8550 // PS4:#define __SIZEOF_POINTER__ 8
8551 // PS4:#define __SIZEOF_PTRDIFF_T__ 8
8552 // PS4:#define __SIZEOF_SHORT__ 2
8553 // PS4:#define __SIZEOF_SIZE_T__ 8
8554 // PS4:#define __SIZEOF_WCHAR_T__ 2
8555 // PS4:#define __SIZEOF_WINT_T__ 4
8556 // PS4:#define __SIZE_TYPE__ long unsigned int
8557 // PS4:#define __SIZE_WIDTH__ 64
8558 // PS4:#define __SSE2_MATH__ 1
8559 // PS4:#define __SSE2__ 1
8560 // PS4:#define __SSE_MATH__ 1
8561 // PS4:#define __SSE__ 1
8562 // PS4:#define __STDC_VERSION__ 199901L
8563 // PS4:#define __UINTMAX_TYPE__ long unsigned int
8564 // PS4:#define __USER_LABEL_PREFIX__
8565 // PS4:#define __WCHAR_MAX__ 65535
8566 // PS4:#define __WCHAR_TYPE__ unsigned short
8567 // PS4:#define __WCHAR_UNSIGNED__ 1
8568 // PS4:#define __WCHAR_WIDTH__ 16
8569 // PS4:#define __WINT_TYPE__ int
8570 // PS4:#define __WINT_WIDTH__ 32
8571 // PS4:#define __amd64 1
8572 // PS4:#define __amd64__ 1
8573 // PS4:#define __unix 1
8574 // PS4:#define __unix__ 1
8575 // PS4:#define __x86_64 1
8576 // PS4:#define __x86_64__ 1
8577 // PS4:#define unix 1
8578 //
8579 // RUN: %clang_cc1 -x c++ -E -dM -ffreestanding -triple=x86_64-scei-ps4 < /dev/null | FileCheck -match-full-lines -check-prefix PS4-CXX %s
8580 // PS4-CXX:#define __STDCPP_DEFAULT_NEW_ALIGNMENT__ 32UL
8581 //
8582 // RUN: %clang_cc1 -E -dM -triple=x86_64-pc-mingw32 < /dev/null | FileCheck -match-full-lines -check-prefix X86-64-DECLSPEC %s
8583 // RUN: %clang_cc1 -E -dM -fms-extensions -triple=x86_64-unknown-mingw32 < /dev/null | FileCheck -match-full-lines -check-prefix X86-64-DECLSPEC %s
8584 // X86-64-DECLSPEC: #define __declspec{{.*}}
8585 //
8586 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=sparc64-none-none < /dev/null | FileCheck -match-full-lines -check-prefix SPARCV9 %s
8587 // SPARCV9:#define __BIGGEST_ALIGNMENT__ 16
8588 // SPARCV9:#define __INT64_TYPE__ long int
8589 // SPARCV9:#define __INTMAX_C_SUFFIX__ L
8590 // SPARCV9:#define __INTMAX_TYPE__ long int
8591 // SPARCV9:#define __INTPTR_TYPE__ long int
8592 // SPARCV9:#define __LONG_MAX__ 9223372036854775807L
8593 // SPARCV9:#define __LP64__ 1
8594 // SPARCV9:#define __SIZEOF_LONG__ 8
8595 // SPARCV9:#define __SIZEOF_POINTER__ 8
8596 // SPARCV9:#define __UINTPTR_TYPE__ long unsigned int
8597 //
8598 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=sparc64-none-openbsd < /dev/null | FileCheck -match-full-lines -check-prefix SPARC64-OBSD %s
8599 // SPARC64-OBSD:#define __INT64_TYPE__ long long int
8600 // SPARC64-OBSD:#define __INTMAX_C_SUFFIX__ LL
8601 // SPARC64-OBSD:#define __INTMAX_TYPE__ long long int
8602 // SPARC64-OBSD:#define __UINTMAX_C_SUFFIX__ ULL
8603 // SPARC64-OBSD:#define __UINTMAX_TYPE__ long long unsigned int
8604 //
8605 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=x86_64-pc-kfreebsd-gnu < /dev/null | FileCheck -match-full-lines -check-prefix KFREEBSD-DEFINE %s
8606 // KFREEBSD-DEFINE:#define __FreeBSD_kernel__ 1
8607 // KFREEBSD-DEFINE:#define __GLIBC__ 1
8608 //
8609 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=i686-pc-kfreebsd-gnu < /dev/null | FileCheck -match-full-lines -check-prefix KFREEBSDI686-DEFINE %s
8610 // KFREEBSDI686-DEFINE:#define __FreeBSD_kernel__ 1
8611 // KFREEBSDI686-DEFINE:#define __GLIBC__ 1
8612 //
8613 // RUN: %clang_cc1 -x c++ -triple i686-pc-linux-gnu -fobjc-runtime=gcc -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix GNUSOURCE %s
8614 // RUN: %clang_cc1 -x c++ -triple sparc-rtems-elf -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix GNUSOURCE %s
8615 // GNUSOURCE:#define _GNU_SOURCE 1
8616 //
8617 // Check that the GNUstep Objective-C ABI defines exist and are clamped at the
8618 // highest supported version.
8619 // RUN: %clang_cc1 -x objective-c -triple i386-unknown-freebsd -fobjc-runtime=gnustep-1.9 -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix GNUSTEP1 %s
8620 // GNUSTEP1:#define __OBJC_GNUSTEP_RUNTIME_ABI__ 18
8621 // RUN: %clang_cc1 -x objective-c -triple i386-unknown-freebsd -fobjc-runtime=gnustep-2.5 -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix GNUSTEP2 %s
8622 // GNUSTEP2:#define __OBJC_GNUSTEP_RUNTIME_ABI__ 20
8623 //
8624 // RUN: %clang_cc1 -x c++ -fgnuc-version=4.2.1 -std=c++98 -fno-rtti -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix NORTTI %s
8625 // NORTTI: #define __GXX_ABI_VERSION {{.*}}
8626 // NORTTI-NOT:#define __GXX_RTTI
8627 // NORTTI:#define __STDC__ 1
8628 //
8629 // RUN: %clang_cc1 -triple arm-linux-androideabi -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix ANDROID %s
8630 // ANDROID-NOT:#define __ANDROID_API__
8631 // ANDROID:#define __ANDROID__ 1
8632 // ANDROID-NOT:#define __gnu_linux__
8633 //
8634 // RUN: %clang_cc1 -x c++ -triple i686-linux-android -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix I386-ANDROID-CXX %s
8635 // I386-ANDROID-CXX:#define __STDCPP_DEFAULT_NEW_ALIGNMENT__ 8U
8636 //
8637 // RUN: %clang_cc1 -x c++ -triple x86_64-linux-android -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix X86_64-ANDROID-CXX %s
8638 // X86_64-ANDROID-CXX:#define __STDCPP_DEFAULT_NEW_ALIGNMENT__ 16UL
8639 //
8640 // RUN: %clang_cc1 -triple arm-linux-androideabi20 -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix ANDROID20 %s
8641 // ANDROID20:#define __ANDROID_API__ 20
8642 // ANDROID20:#define __ANDROID__ 1
8643 // ANDROID-NOT:#define __gnu_linux__
8644 //
8645 // RUN: %clang_cc1 -triple lanai-unknown-unknown -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix LANAI %s
8646 // LANAI: #define __lanai__ 1
8647 //
8648 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=amd64-unknown-openbsd6.1 < /dev/null | FileCheck -match-full-lines -check-prefix OPENBSD %s
8649 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=aarch64-unknown-openbsd6.1 < /dev/null | FileCheck -match-full-lines -check-prefix OPENBSD %s
8650 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=arm-unknown-openbsd6.1-gnueabi < /dev/null | FileCheck -match-full-lines -check-prefix OPENBSD %s
8651 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=i386-unknown-openbsd6.1 < /dev/null | FileCheck -match-full-lines -check-prefix OPENBSD %s
8652 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc-unknown-openbsd6.1 < /dev/null | FileCheck -match-full-lines -check-prefix OPENBSD %s
8653 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mips64-unknown-openbsd6.1 < /dev/null | FileCheck -match-full-lines -check-prefix OPENBSD %s
8654 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mips64el-unknown-openbsd6.1 < /dev/null | FileCheck -match-full-lines -check-prefix OPENBSD %s
8655 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=sparc64-unknown-openbsd6.1 < /dev/null | FileCheck -match-full-lines -check-prefix OPENBSD %s
8656 // OPENBSD:#define __ELF__ 1
8657 // OPENBSD:#define __INT16_TYPE__ short
8658 // OPENBSD:#define __INT32_TYPE__ int
8659 // OPENBSD:#define __INT64_TYPE__ long long int
8660 // OPENBSD:#define __INT8_TYPE__ signed char
8661 // OPENBSD:#define __INTMAX_TYPE__ long long int
8662 // OPENBSD:#define __INTPTR_TYPE__ long int
8663 // OPENBSD:#define __OpenBSD__ 1
8664 // OPENBSD:#define __PTRDIFF_TYPE__ long int
8665 // OPENBSD:#define __SIZE_TYPE__ long unsigned int
8666 // OPENBSD:#define __UINT16_TYPE__ unsigned short
8667 // OPENBSD:#define __UINT32_TYPE__ unsigned int
8668 // OPENBSD:#define __UINT64_TYPE__ long long unsigned int
8669 // OPENBSD:#define __UINT8_TYPE__ unsigned char
8670 // OPENBSD:#define __UINTMAX_TYPE__ long long unsigned int
8671 // OPENBSD:#define __UINTPTR_TYPE__ long unsigned int
8672 // OPENBSD:#define __WCHAR_TYPE__ int
8673 // OPENBSD:#define __WINT_TYPE__ int
8674 //
8675 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=xcore-none-none < /dev/null | FileCheck -match-full-lines -check-prefix XCORE %s
8676 // XCORE:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
8677 // XCORE:#define __LITTLE_ENDIAN__ 1
8678 // XCORE:#define __XS1B__ 1
8679 //
8680 // RUN: %clang_cc1 -E -dM -ffreestanding -fgnuc-version=4.2.1 -triple=wasm32-unknown-unknown \
8681 // RUN:   < /dev/null \
8682 // RUN:   | FileCheck -match-full-lines -check-prefixes=WEBASSEMBLY,WEBASSEMBLY32 %s
8683 // RUN: %clang_cc1 -E -dM -ffreestanding -fgnuc-version=4.2.1 -triple=wasm64-unknown-unknown \
8684 // RUN:   < /dev/null \
8685 // RUN:   | FileCheck -match-full-lines -check-prefixes=WEBASSEMBLY,WEBASSEMBLY64 %s
8686 // RUN: %clang_cc1 -E -dM -ffreestanding -fgnuc-version=4.2.1 -triple=wasm32-wasi \
8687 // RUN:   < /dev/null \
8688 // RUN:   | FileCheck -match-full-lines -check-prefixes=WEBASSEMBLY,WEBASSEMBLY32,WEBASSEMBLY-WASI %s
8689 // RUN: %clang_cc1 -E -dM -ffreestanding -fgnuc-version=4.2.1 -triple=wasm64-wasi \
8690 // RUN:   < /dev/null \
8691 // RUN:   | FileCheck -match-full-lines -check-prefixes=WEBASSEMBLY,WEBASSEMBLY64,WEBASSEMBLY-WASI %s
8692 //
8693 // WEBASSEMBLY32:#define _ILP32 1
8694 // WEBASSEMBLY32-NOT:#define _LP64
8695 // WEBASSEMBLY64-NOT:#define _ILP32
8696 // WEBASSEMBLY64:#define _LP64 1
8697 // WEBASSEMBLY-NEXT:#define __ATOMIC_ACQUIRE 2
8698 // WEBASSEMBLY-NEXT:#define __ATOMIC_ACQ_REL 4
8699 // WEBASSEMBLY-NEXT:#define __ATOMIC_CONSUME 1
8700 // WEBASSEMBLY-NEXT:#define __ATOMIC_RELAXED 0
8701 // WEBASSEMBLY-NEXT:#define __ATOMIC_RELEASE 3
8702 // WEBASSEMBLY-NEXT:#define __ATOMIC_SEQ_CST 5
8703 // WEBASSEMBLY-NEXT:#define __BIGGEST_ALIGNMENT__ 16
8704 // WEBASSEMBLY-NEXT:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
8705 // WEBASSEMBLY-NEXT:#define __CHAR16_TYPE__ unsigned short
8706 // WEBASSEMBLY-NEXT:#define __CHAR32_TYPE__ unsigned int
8707 // WEBASSEMBLY-NEXT:#define __CHAR_BIT__ 8
8708 // WEBASSEMBLY-NOT:#define __CHAR_UNSIGNED__
8709 // WEBASSEMBLY-NEXT:#define __CLANG_ATOMIC_BOOL_LOCK_FREE 2
8710 // WEBASSEMBLY-NEXT:#define __CLANG_ATOMIC_CHAR16_T_LOCK_FREE 2
8711 // WEBASSEMBLY-NEXT:#define __CLANG_ATOMIC_CHAR32_T_LOCK_FREE 2
8712 // WEBASSEMBLY-NEXT:#define __CLANG_ATOMIC_CHAR_LOCK_FREE 2
8713 // WEBASSEMBLY-NEXT:#define __CLANG_ATOMIC_INT_LOCK_FREE 2
8714 // WEBASSEMBLY-NEXT:#define __CLANG_ATOMIC_LLONG_LOCK_FREE 2
8715 // WEBASSEMBLY-NEXT:#define __CLANG_ATOMIC_LONG_LOCK_FREE 2
8716 // WEBASSEMBLY-NEXT:#define __CLANG_ATOMIC_POINTER_LOCK_FREE 2
8717 // WEBASSEMBLY-NEXT:#define __CLANG_ATOMIC_SHORT_LOCK_FREE 2
8718 // WEBASSEMBLY-NEXT:#define __CLANG_ATOMIC_WCHAR_T_LOCK_FREE 2
8719 // WEBASSEMBLY-NEXT:#define __CONSTANT_CFSTRINGS__ 1
8720 // WEBASSEMBLY-NEXT:#define __DBL_DECIMAL_DIG__ 17
8721 // WEBASSEMBLY-NEXT:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
8722 // WEBASSEMBLY-NEXT:#define __DBL_DIG__ 15
8723 // WEBASSEMBLY-NEXT:#define __DBL_EPSILON__ 2.2204460492503131e-16
8724 // WEBASSEMBLY-NEXT:#define __DBL_HAS_DENORM__ 1
8725 // WEBASSEMBLY-NEXT:#define __DBL_HAS_INFINITY__ 1
8726 // WEBASSEMBLY-NEXT:#define __DBL_HAS_QUIET_NAN__ 1
8727 // WEBASSEMBLY-NEXT:#define __DBL_MANT_DIG__ 53
8728 // WEBASSEMBLY-NEXT:#define __DBL_MAX_10_EXP__ 308
8729 // WEBASSEMBLY-NEXT:#define __DBL_MAX_EXP__ 1024
8730 // WEBASSEMBLY-NEXT:#define __DBL_MAX__ 1.7976931348623157e+308
8731 // WEBASSEMBLY-NEXT:#define __DBL_MIN_10_EXP__ (-307)
8732 // WEBASSEMBLY-NEXT:#define __DBL_MIN_EXP__ (-1021)
8733 // WEBASSEMBLY-NEXT:#define __DBL_MIN__ 2.2250738585072014e-308
8734 // WEBASSEMBLY-NEXT:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
8735 // WEBASSEMBLY-NOT:#define __ELF__
8736 // WEBASSEMBLY-NEXT:#define __FINITE_MATH_ONLY__ 0
8737 // WEBASSEMBLY-NEXT:#define __FLOAT128__ 1
8738 // WEBASSEMBLY-NOT:#define __FLT16_DECIMAL_DIG__
8739 // WEBASSEMBLY-NOT:#define __FLT16_DENORM_MIN__
8740 // WEBASSEMBLY-NOT:#define __FLT16_DIG__
8741 // WEBASSEMBLY-NOT:#define __FLT16_EPSILON__
8742 // WEBASSEMBLY-NOT:#define __FLT16_HAS_DENORM__
8743 // WEBASSEMBLY-NOT:#define __FLT16_HAS_INFINITY__
8744 // WEBASSEMBLY-NOT:#define __FLT16_HAS_QUIET_NAN__
8745 // WEBASSEMBLY-NOT:#define __FLT16_MANT_DIG__
8746 // WEBASSEMBLY-NOT:#define __FLT16_MAX_10_EXP__
8747 // WEBASSEMBLY-NOT:#define __FLT16_MAX_EXP__
8748 // WEBASSEMBLY-NOT:#define __FLT16_MAX__
8749 // WEBASSEMBLY-NOT:#define __FLT16_MIN_10_EXP__
8750 // WEBASSEMBLY-NOT:#define __FLT16_MIN_EXP__
8751 // WEBASSEMBLY-NOT:#define __FLT16_MIN__
8752 // WEBASSEMBLY-NEXT:#define __FLT_DECIMAL_DIG__ 9
8753 // WEBASSEMBLY-NEXT:#define __FLT_DENORM_MIN__ 1.40129846e-45F
8754 // WEBASSEMBLY-NEXT:#define __FLT_DIG__ 6
8755 // WEBASSEMBLY-NEXT:#define __FLT_EPSILON__ 1.19209290e-7F
8756 // WEBASSEMBLY-NEXT:#define __FLT_EVAL_METHOD__ 0
8757 // WEBASSEMBLY-NEXT:#define __FLT_HAS_DENORM__ 1
8758 // WEBASSEMBLY-NEXT:#define __FLT_HAS_INFINITY__ 1
8759 // WEBASSEMBLY-NEXT:#define __FLT_HAS_QUIET_NAN__ 1
8760 // WEBASSEMBLY-NEXT:#define __FLT_MANT_DIG__ 24
8761 // WEBASSEMBLY-NEXT:#define __FLT_MAX_10_EXP__ 38
8762 // WEBASSEMBLY-NEXT:#define __FLT_MAX_EXP__ 128
8763 // WEBASSEMBLY-NEXT:#define __FLT_MAX__ 3.40282347e+38F
8764 // WEBASSEMBLY-NEXT:#define __FLT_MIN_10_EXP__ (-37)
8765 // WEBASSEMBLY-NEXT:#define __FLT_MIN_EXP__ (-125)
8766 // WEBASSEMBLY-NEXT:#define __FLT_MIN__ 1.17549435e-38F
8767 // WEBASSEMBLY-NEXT:#define __FLT_RADIX__ 2
8768 // WEBASSEMBLY-NEXT:#define __GCC_ATOMIC_BOOL_LOCK_FREE 2
8769 // WEBASSEMBLY-NEXT:#define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2
8770 // WEBASSEMBLY-NEXT:#define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2
8771 // WEBASSEMBLY-NEXT:#define __GCC_ATOMIC_CHAR_LOCK_FREE 2
8772 // WEBASSEMBLY-NEXT:#define __GCC_ATOMIC_INT_LOCK_FREE 2
8773 // WEBASSEMBLY-NEXT:#define __GCC_ATOMIC_LLONG_LOCK_FREE 2
8774 // WEBASSEMBLY-NEXT:#define __GCC_ATOMIC_LONG_LOCK_FREE 2
8775 // WEBASSEMBLY-NEXT:#define __GCC_ATOMIC_POINTER_LOCK_FREE 2
8776 // WEBASSEMBLY-NEXT:#define __GCC_ATOMIC_SHORT_LOCK_FREE 2
8777 // WEBASSEMBLY-NEXT:#define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1
8778 // WEBASSEMBLY-NEXT:#define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2
8779 // WEBASSEMBLY-NEXT:#define __GNUC_MINOR__ {{.*}}
8780 // WEBASSEMBLY-NEXT:#define __GNUC_PATCHLEVEL__ {{.*}}
8781 // WEBASSEMBLY-NEXT:#define __GNUC_STDC_INLINE__ 1
8782 // WEBASSEMBLY-NEXT:#define __GNUC__ {{.*}}
8783 // WEBASSEMBLY-NEXT:#define __GXX_ABI_VERSION 1002
8784 // WEBASSEMBLY32-NEXT:#define __ILP32__ 1
8785 // WEBASSEMBLY64-NOT:#define __ILP32__
8786 // WEBASSEMBLY-NEXT:#define __INT16_C_SUFFIX__
8787 // WEBASSEMBLY-NEXT:#define __INT16_FMTd__ "hd"
8788 // WEBASSEMBLY-NEXT:#define __INT16_FMTi__ "hi"
8789 // WEBASSEMBLY-NEXT:#define __INT16_MAX__ 32767
8790 // WEBASSEMBLY-NEXT:#define __INT16_TYPE__ short
8791 // WEBASSEMBLY-NEXT:#define __INT32_C_SUFFIX__
8792 // WEBASSEMBLY-NEXT:#define __INT32_FMTd__ "d"
8793 // WEBASSEMBLY-NEXT:#define __INT32_FMTi__ "i"
8794 // WEBASSEMBLY-NEXT:#define __INT32_MAX__ 2147483647
8795 // WEBASSEMBLY-NEXT:#define __INT32_TYPE__ int
8796 // WEBASSEMBLY-NEXT:#define __INT64_C_SUFFIX__ LL
8797 // WEBASSEMBLY-NEXT:#define __INT64_FMTd__ "lld"
8798 // WEBASSEMBLY-NEXT:#define __INT64_FMTi__ "lli"
8799 // WEBASSEMBLY-NEXT:#define __INT64_MAX__ 9223372036854775807LL
8800 // WEBASSEMBLY-NEXT:#define __INT64_TYPE__ long long int
8801 // WEBASSEMBLY-NEXT:#define __INT8_C_SUFFIX__
8802 // WEBASSEMBLY-NEXT:#define __INT8_FMTd__ "hhd"
8803 // WEBASSEMBLY-NEXT:#define __INT8_FMTi__ "hhi"
8804 // WEBASSEMBLY-NEXT:#define __INT8_MAX__ 127
8805 // WEBASSEMBLY-NEXT:#define __INT8_TYPE__ signed char
8806 // WEBASSEMBLY-NEXT:#define __INTMAX_C_SUFFIX__ LL
8807 // WEBASSEMBLY-NEXT:#define __INTMAX_FMTd__ "lld"
8808 // WEBASSEMBLY-NEXT:#define __INTMAX_FMTi__ "lli"
8809 // WEBASSEMBLY-NEXT:#define __INTMAX_MAX__ 9223372036854775807LL
8810 // WEBASSEMBLY-NEXT:#define __INTMAX_TYPE__ long long int
8811 // WEBASSEMBLY-NEXT:#define __INTMAX_WIDTH__ 64
8812 // WEBASSEMBLY-NEXT:#define __INTPTR_FMTd__ "ld"
8813 // WEBASSEMBLY-NEXT:#define __INTPTR_FMTi__ "li"
8814 // WEBASSEMBLY32-NEXT:#define __INTPTR_MAX__ 2147483647L
8815 // WEBASSEMBLY64-NEXT:#define __INTPTR_MAX__ 9223372036854775807L
8816 // WEBASSEMBLY-NEXT:#define __INTPTR_TYPE__ long int
8817 // WEBASSEMBLY32-NEXT:#define __INTPTR_WIDTH__ 32
8818 // WEBASSEMBLY64-NEXT:#define __INTPTR_WIDTH__ 64
8819 // WEBASSEMBLY-NEXT:#define __INT_FAST16_FMTd__ "hd"
8820 // WEBASSEMBLY-NEXT:#define __INT_FAST16_FMTi__ "hi"
8821 // WEBASSEMBLY-NEXT:#define __INT_FAST16_MAX__ 32767
8822 // WEBASSEMBLY-NEXT:#define __INT_FAST16_TYPE__ short
8823 // WEBASSEMBLY-NEXT:#define __INT_FAST32_FMTd__ "d"
8824 // WEBASSEMBLY-NEXT:#define __INT_FAST32_FMTi__ "i"
8825 // WEBASSEMBLY-NEXT:#define __INT_FAST32_MAX__ 2147483647
8826 // WEBASSEMBLY-NEXT:#define __INT_FAST32_TYPE__ int
8827 // WEBASSEMBLY-NEXT:#define __INT_FAST64_FMTd__ "lld"
8828 // WEBASSEMBLY-NEXT:#define __INT_FAST64_FMTi__ "lli"
8829 // WEBASSEMBLY-NEXT:#define __INT_FAST64_MAX__ 9223372036854775807LL
8830 // WEBASSEMBLY-NEXT:#define __INT_FAST64_TYPE__ long long int
8831 // WEBASSEMBLY-NEXT:#define __INT_FAST8_FMTd__ "hhd"
8832 // WEBASSEMBLY-NEXT:#define __INT_FAST8_FMTi__ "hhi"
8833 // WEBASSEMBLY-NEXT:#define __INT_FAST8_MAX__ 127
8834 // WEBASSEMBLY-NEXT:#define __INT_FAST8_TYPE__ signed char
8835 // WEBASSEMBLY-NEXT:#define __INT_LEAST16_FMTd__ "hd"
8836 // WEBASSEMBLY-NEXT:#define __INT_LEAST16_FMTi__ "hi"
8837 // WEBASSEMBLY-NEXT:#define __INT_LEAST16_MAX__ 32767
8838 // WEBASSEMBLY-NEXT:#define __INT_LEAST16_TYPE__ short
8839 // WEBASSEMBLY-NEXT:#define __INT_LEAST32_FMTd__ "d"
8840 // WEBASSEMBLY-NEXT:#define __INT_LEAST32_FMTi__ "i"
8841 // WEBASSEMBLY-NEXT:#define __INT_LEAST32_MAX__ 2147483647
8842 // WEBASSEMBLY-NEXT:#define __INT_LEAST32_TYPE__ int
8843 // WEBASSEMBLY-NEXT:#define __INT_LEAST64_FMTd__ "lld"
8844 // WEBASSEMBLY-NEXT:#define __INT_LEAST64_FMTi__ "lli"
8845 // WEBASSEMBLY-NEXT:#define __INT_LEAST64_MAX__ 9223372036854775807LL
8846 // WEBASSEMBLY-NEXT:#define __INT_LEAST64_TYPE__ long long int
8847 // WEBASSEMBLY-NEXT:#define __INT_LEAST8_FMTd__ "hhd"
8848 // WEBASSEMBLY-NEXT:#define __INT_LEAST8_FMTi__ "hhi"
8849 // WEBASSEMBLY-NEXT:#define __INT_LEAST8_MAX__ 127
8850 // WEBASSEMBLY-NEXT:#define __INT_LEAST8_TYPE__ signed char
8851 // WEBASSEMBLY-NEXT:#define __INT_MAX__ 2147483647
8852 // WEBASSEMBLY-NEXT:#define __LDBL_DECIMAL_DIG__ 36
8853 // WEBASSEMBLY-NEXT:#define __LDBL_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966L
8854 // WEBASSEMBLY-NEXT:#define __LDBL_DIG__ 33
8855 // WEBASSEMBLY-NEXT:#define __LDBL_EPSILON__ 1.92592994438723585305597794258492732e-34L
8856 // WEBASSEMBLY-NEXT:#define __LDBL_HAS_DENORM__ 1
8857 // WEBASSEMBLY-NEXT:#define __LDBL_HAS_INFINITY__ 1
8858 // WEBASSEMBLY-NEXT:#define __LDBL_HAS_QUIET_NAN__ 1
8859 // WEBASSEMBLY-NEXT:#define __LDBL_MANT_DIG__ 113
8860 // WEBASSEMBLY-NEXT:#define __LDBL_MAX_10_EXP__ 4932
8861 // WEBASSEMBLY-NEXT:#define __LDBL_MAX_EXP__ 16384
8862 // WEBASSEMBLY-NEXT:#define __LDBL_MAX__ 1.18973149535723176508575932662800702e+4932L
8863 // WEBASSEMBLY-NEXT:#define __LDBL_MIN_10_EXP__ (-4931)
8864 // WEBASSEMBLY-NEXT:#define __LDBL_MIN_EXP__ (-16381)
8865 // WEBASSEMBLY-NEXT:#define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L
8866 // WEBASSEMBLY-NEXT:#define __LITTLE_ENDIAN__ 1
8867 // WEBASSEMBLY-NEXT:#define __LONG_LONG_MAX__ 9223372036854775807LL
8868 // WEBASSEMBLY32-NEXT:#define __LONG_MAX__ 2147483647L
8869 // WEBASSEMBLY32-NOT:#define __LP64__
8870 // WEBASSEMBLY64-NEXT:#define __LONG_MAX__ 9223372036854775807L
8871 // WEBASSEMBLY64-NEXT:#define __LP64__ 1
8872 // WEBASSEMBLY-NEXT:#define __NO_INLINE__ 1
8873 // WEBASSEMBLY-NEXT:#define __OBJC_BOOL_IS_BOOL 0
8874 // WEBASSEMBLY-NEXT:#define __OPENCL_MEMORY_SCOPE_ALL_SVM_DEVICES 3
8875 // WEBASSEMBLY-NEXT:#define __OPENCL_MEMORY_SCOPE_DEVICE 2
8876 // WEBASSEMBLY-NEXT:#define __OPENCL_MEMORY_SCOPE_SUB_GROUP 4
8877 // WEBASSEMBLY-NEXT:#define __OPENCL_MEMORY_SCOPE_WORK_GROUP 1
8878 // WEBASSEMBLY-NEXT:#define __OPENCL_MEMORY_SCOPE_WORK_ITEM 0
8879 // WEBASSEMBLY-NEXT:#define __ORDER_BIG_ENDIAN__ 4321
8880 // WEBASSEMBLY-NEXT:#define __ORDER_LITTLE_ENDIAN__ 1234
8881 // WEBASSEMBLY-NEXT:#define __ORDER_PDP_ENDIAN__ 3412
8882 // WEBASSEMBLY32-NEXT:#define __POINTER_WIDTH__ 32
8883 // WEBASSEMBLY64-NEXT:#define __POINTER_WIDTH__ 64
8884 // WEBASSEMBLY-NEXT:#define __PRAGMA_REDEFINE_EXTNAME 1
8885 // WEBASSEMBLY-NEXT:#define __PTRDIFF_FMTd__ "ld"
8886 // WEBASSEMBLY-NEXT:#define __PTRDIFF_FMTi__ "li"
8887 // WEBASSEMBLY32-NEXT:#define __PTRDIFF_MAX__ 2147483647L
8888 // WEBASSEMBLY64-NEXT:#define __PTRDIFF_MAX__ 9223372036854775807L
8889 // WEBASSEMBLY-NEXT:#define __PTRDIFF_TYPE__ long int
8890 // WEBASSEMBLY32-NEXT:#define __PTRDIFF_WIDTH__ 32
8891 // WEBASSEMBLY64-NEXT:#define __PTRDIFF_WIDTH__ 64
8892 // WEBASSEMBLY-NOT:#define __REGISTER_PREFIX__
8893 // WEBASSEMBLY-NEXT:#define __SCHAR_MAX__ 127
8894 // WEBASSEMBLY-NEXT:#define __SHRT_MAX__ 32767
8895 // WEBASSEMBLY32-NEXT:#define __SIG_ATOMIC_MAX__ 2147483647L
8896 // WEBASSEMBLY32-NEXT:#define __SIG_ATOMIC_WIDTH__ 32
8897 // WEBASSEMBLY64-NEXT:#define __SIG_ATOMIC_MAX__ 9223372036854775807L
8898 // WEBASSEMBLY64-NEXT:#define __SIG_ATOMIC_WIDTH__ 64
8899 // WEBASSEMBLY-NEXT:#define __SIZEOF_DOUBLE__ 8
8900 // WEBASSEMBLY-NEXT:#define __SIZEOF_FLOAT__ 4
8901 // WEBASSEMBLY-NEXT:#define __SIZEOF_INT128__ 16
8902 // WEBASSEMBLY-NEXT:#define __SIZEOF_INT__ 4
8903 // WEBASSEMBLY-NEXT:#define __SIZEOF_LONG_DOUBLE__ 16
8904 // WEBASSEMBLY-NEXT:#define __SIZEOF_LONG_LONG__ 8
8905 // WEBASSEMBLY32-NEXT:#define __SIZEOF_LONG__ 4
8906 // WEBASSEMBLY32-NEXT:#define __SIZEOF_POINTER__ 4
8907 // WEBASSEMBLY32-NEXT:#define __SIZEOF_PTRDIFF_T__ 4
8908 // WEBASSEMBLY64-NEXT:#define __SIZEOF_LONG__ 8
8909 // WEBASSEMBLY64-NEXT:#define __SIZEOF_POINTER__ 8
8910 // WEBASSEMBLY64-NEXT:#define __SIZEOF_PTRDIFF_T__ 8
8911 // WEBASSEMBLY-NEXT:#define __SIZEOF_SHORT__ 2
8912 // WEBASSEMBLY32-NEXT:#define __SIZEOF_SIZE_T__ 4
8913 // WEBASSEMBLY64-NEXT:#define __SIZEOF_SIZE_T__ 8
8914 // WEBASSEMBLY-NEXT:#define __SIZEOF_WCHAR_T__ 4
8915 // WEBASSEMBLY-NEXT:#define __SIZEOF_WINT_T__ 4
8916 // WEBASSEMBLY-NEXT:#define __SIZE_FMTX__ "lX"
8917 // WEBASSEMBLY-NEXT:#define __SIZE_FMTo__ "lo"
8918 // WEBASSEMBLY-NEXT:#define __SIZE_FMTu__ "lu"
8919 // WEBASSEMBLY-NEXT:#define __SIZE_FMTx__ "lx"
8920 // WEBASSEMBLY32-NEXT:#define __SIZE_MAX__ 4294967295UL
8921 // WEBASSEMBLY64-NEXT:#define __SIZE_MAX__ 18446744073709551615UL
8922 // WEBASSEMBLY-NEXT:#define __SIZE_TYPE__ long unsigned int
8923 // WEBASSEMBLY32-NEXT:#define __SIZE_WIDTH__ 32
8924 // WEBASSEMBLY64-NEXT:#define __SIZE_WIDTH__ 64
8925 // WEBASSEMBLY-NEXT:#define __STDC_HOSTED__ 0
8926 // WEBASSEMBLY-NOT:#define __STDC_MB_MIGHT_NEQ_WC__
8927 // WEBASSEMBLY-NOT:#define __STDC_NO_ATOMICS__
8928 // WEBASSEMBLY-NOT:#define __STDC_NO_COMPLEX__
8929 // WEBASSEMBLY-NOT:#define __STDC_NO_VLA__
8930 // WEBASSEMBLY-NOT:#define __STDC_NO_THREADS__
8931 // WEBASSEMBLY-NEXT:#define __STDC_UTF_16__ 1
8932 // WEBASSEMBLY-NEXT:#define __STDC_UTF_32__ 1
8933 // WEBASSEMBLY-NEXT:#define __STDC_VERSION__ 201112L
8934 // WEBASSEMBLY-NEXT:#define __STDC__ 1
8935 // WEBASSEMBLY-NEXT:#define __UINT16_C_SUFFIX__
8936 // WEBASSEMBLY-NEXT:#define __UINT16_FMTX__ "hX"
8937 // WEBASSEMBLY-NEXT:#define __UINT16_FMTo__ "ho"
8938 // WEBASSEMBLY-NEXT:#define __UINT16_FMTu__ "hu"
8939 // WEBASSEMBLY-NEXT:#define __UINT16_FMTx__ "hx"
8940 // WEBASSEMBLY-NEXT:#define __UINT16_MAX__ 65535
8941 // WEBASSEMBLY-NEXT:#define __UINT16_TYPE__ unsigned short
8942 // WEBASSEMBLY-NEXT:#define __UINT32_C_SUFFIX__ U
8943 // WEBASSEMBLY-NEXT:#define __UINT32_FMTX__ "X"
8944 // WEBASSEMBLY-NEXT:#define __UINT32_FMTo__ "o"
8945 // WEBASSEMBLY-NEXT:#define __UINT32_FMTu__ "u"
8946 // WEBASSEMBLY-NEXT:#define __UINT32_FMTx__ "x"
8947 // WEBASSEMBLY-NEXT:#define __UINT32_MAX__ 4294967295U
8948 // WEBASSEMBLY-NEXT:#define __UINT32_TYPE__ unsigned int
8949 // WEBASSEMBLY-NEXT:#define __UINT64_C_SUFFIX__ ULL
8950 // WEBASSEMBLY-NEXT:#define __UINT64_FMTX__ "llX"
8951 // WEBASSEMBLY-NEXT:#define __UINT64_FMTo__ "llo"
8952 // WEBASSEMBLY-NEXT:#define __UINT64_FMTu__ "llu"
8953 // WEBASSEMBLY-NEXT:#define __UINT64_FMTx__ "llx"
8954 // WEBASSEMBLY-NEXT:#define __UINT64_MAX__ 18446744073709551615ULL
8955 // WEBASSEMBLY-NEXT:#define __UINT64_TYPE__ long long unsigned int
8956 // WEBASSEMBLY-NEXT:#define __UINT8_C_SUFFIX__
8957 // WEBASSEMBLY-NEXT:#define __UINT8_FMTX__ "hhX"
8958 // WEBASSEMBLY-NEXT:#define __UINT8_FMTo__ "hho"
8959 // WEBASSEMBLY-NEXT:#define __UINT8_FMTu__ "hhu"
8960 // WEBASSEMBLY-NEXT:#define __UINT8_FMTx__ "hhx"
8961 // WEBASSEMBLY-NEXT:#define __UINT8_MAX__ 255
8962 // WEBASSEMBLY-NEXT:#define __UINT8_TYPE__ unsigned char
8963 // WEBASSEMBLY-NEXT:#define __UINTMAX_C_SUFFIX__ ULL
8964 // WEBASSEMBLY-NEXT:#define __UINTMAX_FMTX__ "llX"
8965 // WEBASSEMBLY-NEXT:#define __UINTMAX_FMTo__ "llo"
8966 // WEBASSEMBLY-NEXT:#define __UINTMAX_FMTu__ "llu"
8967 // WEBASSEMBLY-NEXT:#define __UINTMAX_FMTx__ "llx"
8968 // WEBASSEMBLY-NEXT:#define __UINTMAX_MAX__ 18446744073709551615ULL
8969 // WEBASSEMBLY-NEXT:#define __UINTMAX_TYPE__ long long unsigned int
8970 // WEBASSEMBLY-NEXT:#define __UINTMAX_WIDTH__ 64
8971 // WEBASSEMBLY-NEXT:#define __UINTPTR_FMTX__ "lX"
8972 // WEBASSEMBLY-NEXT:#define __UINTPTR_FMTo__ "lo"
8973 // WEBASSEMBLY-NEXT:#define __UINTPTR_FMTu__ "lu"
8974 // WEBASSEMBLY-NEXT:#define __UINTPTR_FMTx__ "lx"
8975 // WEBASSEMBLY32-NEXT:#define __UINTPTR_MAX__ 4294967295UL
8976 // WEBASSEMBLY64-NEXT:#define __UINTPTR_MAX__ 18446744073709551615UL
8977 // WEBASSEMBLY-NEXT:#define __UINTPTR_TYPE__ long unsigned int
8978 // WEBASSEMBLY32-NEXT:#define __UINTPTR_WIDTH__ 32
8979 // WEBASSEMBLY64-NEXT:#define __UINTPTR_WIDTH__ 64
8980 // WEBASSEMBLY-NEXT:#define __UINT_FAST16_FMTX__ "hX"
8981 // WEBASSEMBLY-NEXT:#define __UINT_FAST16_FMTo__ "ho"
8982 // WEBASSEMBLY-NEXT:#define __UINT_FAST16_FMTu__ "hu"
8983 // WEBASSEMBLY-NEXT:#define __UINT_FAST16_FMTx__ "hx"
8984 // WEBASSEMBLY-NEXT:#define __UINT_FAST16_MAX__ 65535
8985 // WEBASSEMBLY-NEXT:#define __UINT_FAST16_TYPE__ unsigned short
8986 // WEBASSEMBLY-NEXT:#define __UINT_FAST32_FMTX__ "X"
8987 // WEBASSEMBLY-NEXT:#define __UINT_FAST32_FMTo__ "o"
8988 // WEBASSEMBLY-NEXT:#define __UINT_FAST32_FMTu__ "u"
8989 // WEBASSEMBLY-NEXT:#define __UINT_FAST32_FMTx__ "x"
8990 // WEBASSEMBLY-NEXT:#define __UINT_FAST32_MAX__ 4294967295U
8991 // WEBASSEMBLY-NEXT:#define __UINT_FAST32_TYPE__ unsigned int
8992 // WEBASSEMBLY-NEXT:#define __UINT_FAST64_FMTX__ "llX"
8993 // WEBASSEMBLY-NEXT:#define __UINT_FAST64_FMTo__ "llo"
8994 // WEBASSEMBLY-NEXT:#define __UINT_FAST64_FMTu__ "llu"
8995 // WEBASSEMBLY-NEXT:#define __UINT_FAST64_FMTx__ "llx"
8996 // WEBASSEMBLY-NEXT:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
8997 // WEBASSEMBLY-NEXT:#define __UINT_FAST64_TYPE__ long long unsigned int
8998 // WEBASSEMBLY-NEXT:#define __UINT_FAST8_FMTX__ "hhX"
8999 // WEBASSEMBLY-NEXT:#define __UINT_FAST8_FMTo__ "hho"
9000 // WEBASSEMBLY-NEXT:#define __UINT_FAST8_FMTu__ "hhu"
9001 // WEBASSEMBLY-NEXT:#define __UINT_FAST8_FMTx__ "hhx"
9002 // WEBASSEMBLY-NEXT:#define __UINT_FAST8_MAX__ 255
9003 // WEBASSEMBLY-NEXT:#define __UINT_FAST8_TYPE__ unsigned char
9004 // WEBASSEMBLY-NEXT:#define __UINT_LEAST16_FMTX__ "hX"
9005 // WEBASSEMBLY-NEXT:#define __UINT_LEAST16_FMTo__ "ho"
9006 // WEBASSEMBLY-NEXT:#define __UINT_LEAST16_FMTu__ "hu"
9007 // WEBASSEMBLY-NEXT:#define __UINT_LEAST16_FMTx__ "hx"
9008 // WEBASSEMBLY-NEXT:#define __UINT_LEAST16_MAX__ 65535
9009 // WEBASSEMBLY-NEXT:#define __UINT_LEAST16_TYPE__ unsigned short
9010 // WEBASSEMBLY-NEXT:#define __UINT_LEAST32_FMTX__ "X"
9011 // WEBASSEMBLY-NEXT:#define __UINT_LEAST32_FMTo__ "o"
9012 // WEBASSEMBLY-NEXT:#define __UINT_LEAST32_FMTu__ "u"
9013 // WEBASSEMBLY-NEXT:#define __UINT_LEAST32_FMTx__ "x"
9014 // WEBASSEMBLY-NEXT:#define __UINT_LEAST32_MAX__ 4294967295U
9015 // WEBASSEMBLY-NEXT:#define __UINT_LEAST32_TYPE__ unsigned int
9016 // WEBASSEMBLY-NEXT:#define __UINT_LEAST64_FMTX__ "llX"
9017 // WEBASSEMBLY-NEXT:#define __UINT_LEAST64_FMTo__ "llo"
9018 // WEBASSEMBLY-NEXT:#define __UINT_LEAST64_FMTu__ "llu"
9019 // WEBASSEMBLY-NEXT:#define __UINT_LEAST64_FMTx__ "llx"
9020 // WEBASSEMBLY-NEXT:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
9021 // WEBASSEMBLY-NEXT:#define __UINT_LEAST64_TYPE__ long long unsigned int
9022 // WEBASSEMBLY-NEXT:#define __UINT_LEAST8_FMTX__ "hhX"
9023 // WEBASSEMBLY-NEXT:#define __UINT_LEAST8_FMTo__ "hho"
9024 // WEBASSEMBLY-NEXT:#define __UINT_LEAST8_FMTu__ "hhu"
9025 // WEBASSEMBLY-NEXT:#define __UINT_LEAST8_FMTx__ "hhx"
9026 // WEBASSEMBLY-NEXT:#define __UINT_LEAST8_MAX__ 255
9027 // WEBASSEMBLY-NEXT:#define __UINT_LEAST8_TYPE__ unsigned char
9028 // WEBASSEMBLY-NEXT:#define __USER_LABEL_PREFIX__
9029 // WEBASSEMBLY-NEXT:#define __VERSION__ "{{.*}}"
9030 // WEBASSEMBLY-NEXT:#define __WCHAR_MAX__ 2147483647
9031 // WEBASSEMBLY-NEXT:#define __WCHAR_TYPE__ int
9032 // WEBASSEMBLY-NOT:#define __WCHAR_UNSIGNED__
9033 // WEBASSEMBLY-NEXT:#define __WCHAR_WIDTH__ 32
9034 // WEBASSEMBLY-NEXT:#define __WINT_MAX__ 2147483647
9035 // WEBASSEMBLY-NEXT:#define __WINT_TYPE__ int
9036 // WEBASSEMBLY-NOT:#define __WINT_UNSIGNED__
9037 // WEBASSEMBLY-NEXT:#define __WINT_WIDTH__ 32
9038 // WEBASSEMBLY-NEXT:#define __clang__ 1
9039 // WEBASSEMBLY-NEXT:#define __clang_major__ {{.*}}
9040 // WEBASSEMBLY-NEXT:#define __clang_minor__ {{.*}}
9041 // WEBASSEMBLY-NEXT:#define __clang_patchlevel__ {{.*}}
9042 // WEBASSEMBLY-NEXT:#define __clang_version__ "{{.*}}"
9043 // WEBASSEMBLY-NEXT:#define __llvm__ 1
9044 // WEBASSEMBLY-NOT:#define __unix
9045 // WEBASSEMBLY-NOT:#define __unix__
9046 // WEBASSEMBLY-WASI-NEXT:#define __wasi__ 1
9047 // WEBASSEMBLY-NOT:#define __wasm_simd128__
9048 // WEBASSEMBLY-NOT:#define __wasm_simd256__
9049 // WEBASSEMBLY-NOT:#define __wasm_simd512__
9050 // WEBASSEMBLY-NEXT:#define __wasm 1
9051 // WEBASSEMBLY32-NEXT:#define __wasm32 1
9052 // WEBASSEMBLY64-NOT:#define __wasm32
9053 // WEBASSEMBLY32-NEXT:#define __wasm32__ 1
9054 // WEBASSEMBLY64-NOT:#define __wasm32__
9055 // WEBASSEMBLY32-NOT:#define __wasm64__
9056 // WEBASSEMBLY32-NOT:#define __wasm64
9057 // WEBASSEMBLY64-NEXT:#define __wasm64 1
9058 // WEBASSEMBLY64-NEXT:#define __wasm64__ 1
9059 // WEBASSEMBLY-NEXT:#define __wasm__ 1
9060 
9061 // RUN: %clang_cc1 -E -dM -ffreestanding -triple i686-windows-cygnus < /dev/null | FileCheck -match-full-lines -check-prefix CYGWIN-X32 %s
9062 // CYGWIN-X32: #define __USER_LABEL_PREFIX__ _
9063 
9064 // RUN: %clang_cc1 -E -dM -ffreestanding -triple x86_64-windows-cygnus < /dev/null | FileCheck -match-full-lines -check-prefix CYGWIN-X64 %s
9065 // CYGWIN-X64: #define __USER_LABEL_PREFIX__
9066 
9067 // RUN: %clang_cc1 -E -dM -ffreestanding -fgnuc-version=4.2.1 -triple=avr \
9068 // RUN:   < /dev/null \
9069 // RUN:   | FileCheck -match-full-lines -check-prefix=AVR %s
9070 //
9071 // AVR:#define __ATOMIC_ACQUIRE 2
9072 // AVR:#define __ATOMIC_ACQ_REL 4
9073 // AVR:#define __ATOMIC_CONSUME 1
9074 // AVR:#define __ATOMIC_RELAXED 0
9075 // AVR:#define __ATOMIC_RELEASE 3
9076 // AVR:#define __ATOMIC_SEQ_CST 5
9077 // AVR:#define __AVR__ 1
9078 // AVR:#define __BIGGEST_ALIGNMENT__ 1
9079 // AVR:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
9080 // AVR:#define __CHAR16_TYPE__ unsigned int
9081 // AVR:#define __CHAR32_TYPE__ long unsigned int
9082 // AVR:#define __CHAR_BIT__ 8
9083 // AVR:#define __DBL_DECIMAL_DIG__ 9
9084 // AVR:#define __DBL_DENORM_MIN__ 1.40129846e-45
9085 // AVR:#define __DBL_DIG__ 6
9086 // AVR:#define __DBL_EPSILON__ 1.19209290e-7
9087 // AVR:#define __DBL_HAS_DENORM__ 1
9088 // AVR:#define __DBL_HAS_INFINITY__ 1
9089 // AVR:#define __DBL_HAS_QUIET_NAN__ 1
9090 // AVR:#define __DBL_MANT_DIG__ 24
9091 // AVR:#define __DBL_MAX_10_EXP__ 38
9092 // AVR:#define __DBL_MAX_EXP__ 128
9093 // AVR:#define __DBL_MAX__ 3.40282347e+38
9094 // AVR:#define __DBL_MIN_10_EXP__ (-37)
9095 // AVR:#define __DBL_MIN_EXP__ (-125)
9096 // AVR:#define __DBL_MIN__ 1.17549435e-38
9097 // AVR:#define __FINITE_MATH_ONLY__ 0
9098 // AVR:#define __FLT_DECIMAL_DIG__ 9
9099 // AVR:#define __FLT_DENORM_MIN__ 1.40129846e-45F
9100 // AVR:#define __FLT_DIG__ 6
9101 // AVR:#define __FLT_EPSILON__ 1.19209290e-7F
9102 // AVR:#define __FLT_EVAL_METHOD__ 0
9103 // AVR:#define __FLT_HAS_DENORM__ 1
9104 // AVR:#define __FLT_HAS_INFINITY__ 1
9105 // AVR:#define __FLT_HAS_QUIET_NAN__ 1
9106 // AVR:#define __FLT_MANT_DIG__ 24
9107 // AVR:#define __FLT_MAX_10_EXP__ 38
9108 // AVR:#define __FLT_MAX_EXP__ 128
9109 // AVR:#define __FLT_MAX__ 3.40282347e+38F
9110 // AVR:#define __FLT_MIN_10_EXP__ (-37)
9111 // AVR:#define __FLT_MIN_EXP__ (-125)
9112 // AVR:#define __FLT_MIN__ 1.17549435e-38F
9113 // AVR:#define __FLT_RADIX__ 2
9114 // AVR:#define __GCC_ATOMIC_BOOL_LOCK_FREE 1
9115 // AVR:#define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 1
9116 // AVR:#define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 1
9117 // AVR:#define __GCC_ATOMIC_CHAR_LOCK_FREE 1
9118 // AVR:#define __GCC_ATOMIC_INT_LOCK_FREE 1
9119 // AVR:#define __GCC_ATOMIC_LLONG_LOCK_FREE 1
9120 // AVR:#define __GCC_ATOMIC_LONG_LOCK_FREE 1
9121 // AVR:#define __GCC_ATOMIC_POINTER_LOCK_FREE 1
9122 // AVR:#define __GCC_ATOMIC_SHORT_LOCK_FREE 1
9123 // AVR:#define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1
9124 // AVR:#define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 1
9125 // AVR:#define __GXX_ABI_VERSION 1002
9126 // AVR:#define __INT16_C_SUFFIX__
9127 // AVR:#define __INT16_MAX__ 32767
9128 // AVR:#define __INT16_TYPE__ short
9129 // AVR:#define __INT32_C_SUFFIX__ L
9130 // AVR:#define __INT32_MAX__ 2147483647L
9131 // AVR:#define __INT32_TYPE__ long int
9132 // AVR:#define __INT64_C_SUFFIX__ LL
9133 // AVR:#define __INT64_MAX__ 9223372036854775807LL
9134 // AVR:#define __INT64_TYPE__ long long int
9135 // AVR:#define __INT8_C_SUFFIX__
9136 // AVR:#define __INT8_MAX__ 127
9137 // AVR:#define __INT8_TYPE__ signed char
9138 // AVR:#define __INTMAX_C_SUFFIX__ LL
9139 // AVR:#define __INTMAX_MAX__ 9223372036854775807LL
9140 // AVR:#define __INTMAX_TYPE__ long long int
9141 // AVR:#define __INTPTR_MAX__ 32767
9142 // AVR:#define __INTPTR_TYPE__ int
9143 // AVR:#define __INT_FAST16_MAX__ 32767
9144 // AVR:#define __INT_FAST16_TYPE__ int
9145 // AVR:#define __INT_FAST32_MAX__ 2147483647L
9146 // AVR:#define __INT_FAST32_TYPE__ long int
9147 // AVR:#define __INT_FAST64_MAX__ 9223372036854775807LL
9148 // AVR:#define __INT_FAST64_TYPE__ long long int
9149 // AVR:#define __INT_FAST8_MAX__ 127
9150 // AVR:#define __INT_FAST8_TYPE__ signed char
9151 // AVR:#define __INT_LEAST16_MAX__ 32767
9152 // AVR:#define __INT_LEAST16_TYPE__ int
9153 // AVR:#define __INT_LEAST32_MAX__ 2147483647L
9154 // AVR:#define __INT_LEAST32_TYPE__ long int
9155 // AVR:#define __INT_LEAST64_MAX__ 9223372036854775807LL
9156 // AVR:#define __INT_LEAST64_TYPE__ long long int
9157 // AVR:#define __INT_LEAST8_MAX__ 127
9158 // AVR:#define __INT_LEAST8_TYPE__ signed char
9159 // AVR:#define __INT_MAX__ 32767
9160 // AVR:#define __LDBL_DECIMAL_DIG__ 9
9161 // AVR:#define __LDBL_DENORM_MIN__ 1.40129846e-45L
9162 // AVR:#define __LDBL_DIG__ 6
9163 // AVR:#define __LDBL_EPSILON__ 1.19209290e-7L
9164 // AVR:#define __LDBL_HAS_DENORM__ 1
9165 // AVR:#define __LDBL_HAS_INFINITY__ 1
9166 // AVR:#define __LDBL_HAS_QUIET_NAN__ 1
9167 // AVR:#define __LDBL_MANT_DIG__ 24
9168 // AVR:#define __LDBL_MAX_10_EXP__ 38
9169 // AVR:#define __LDBL_MAX_EXP__ 128
9170 // AVR:#define __LDBL_MAX__ 3.40282347e+38L
9171 // AVR:#define __LDBL_MIN_10_EXP__ (-37)
9172 // AVR:#define __LDBL_MIN_EXP__ (-125)
9173 // AVR:#define __LDBL_MIN__ 1.17549435e-38L
9174 // AVR:#define __LONG_LONG_MAX__ 9223372036854775807LL
9175 // AVR:#define __LONG_MAX__ 2147483647L
9176 // AVR:#define __NO_INLINE__ 1
9177 // AVR:#define __ORDER_BIG_ENDIAN__ 4321
9178 // AVR:#define __ORDER_LITTLE_ENDIAN__ 1234
9179 // AVR:#define __ORDER_PDP_ENDIAN__ 3412
9180 // AVR:#define __PRAGMA_REDEFINE_EXTNAME 1
9181 // AVR:#define __PTRDIFF_MAX__ 32767
9182 // AVR:#define __PTRDIFF_TYPE__ int
9183 // AVR:#define __SCHAR_MAX__ 127
9184 // AVR:#define __SHRT_MAX__ 32767
9185 // AVR:#define __SIG_ATOMIC_MAX__ 127
9186 // AVR:#define __SIG_ATOMIC_WIDTH__ 8
9187 // AVR:#define __SIZEOF_DOUBLE__ 4
9188 // AVR:#define __SIZEOF_FLOAT__ 4
9189 // AVR:#define __SIZEOF_INT__ 2
9190 // AVR:#define __SIZEOF_LONG_DOUBLE__ 4
9191 // AVR:#define __SIZEOF_LONG_LONG__ 8
9192 // AVR:#define __SIZEOF_LONG__ 4
9193 // AVR:#define __SIZEOF_POINTER__ 2
9194 // AVR:#define __SIZEOF_PTRDIFF_T__ 2
9195 // AVR:#define __SIZEOF_SHORT__ 2
9196 // AVR:#define __SIZEOF_SIZE_T__ 2
9197 // AVR:#define __SIZEOF_WCHAR_T__ 2
9198 // AVR:#define __SIZEOF_WINT_T__ 2
9199 // AVR:#define __SIZE_MAX__ 65535U
9200 // AVR:#define __SIZE_TYPE__ unsigned int
9201 // AVR:#define __STDC__ 1
9202 // AVR:#define __UINT16_MAX__ 65535U
9203 // AVR:#define __UINT16_TYPE__ unsigned short
9204 // AVR:#define __UINT32_C_SUFFIX__ UL
9205 // AVR:#define __UINT32_MAX__ 4294967295UL
9206 // AVR:#define __UINT32_TYPE__ long unsigned int
9207 // AVR:#define __UINT64_C_SUFFIX__ ULL
9208 // AVR:#define __UINT64_MAX__ 18446744073709551615ULL
9209 // AVR:#define __UINT64_TYPE__ long long unsigned int
9210 // AVR:#define __UINT8_C_SUFFIX__
9211 // AVR:#define __UINT8_MAX__ 255
9212 // AVR:#define __UINT8_TYPE__ unsigned char
9213 // AVR:#define __UINTMAX_C_SUFFIX__ ULL
9214 // AVR:#define __UINTMAX_MAX__ 18446744073709551615ULL
9215 // AVR:#define __UINTMAX_TYPE__ long long unsigned int
9216 // AVR:#define __UINTPTR_MAX__ 65535U
9217 // AVR:#define __UINTPTR_TYPE__ unsigned int
9218 // AVR:#define __UINT_FAST16_MAX__ 65535U
9219 // AVR:#define __UINT_FAST16_TYPE__ unsigned int
9220 // AVR:#define __UINT_FAST32_MAX__ 4294967295UL
9221 // AVR:#define __UINT_FAST32_TYPE__ long unsigned int
9222 // AVR:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
9223 // AVR:#define __UINT_FAST64_TYPE__ long long unsigned int
9224 // AVR:#define __UINT_FAST8_MAX__ 255
9225 // AVR:#define __UINT_FAST8_TYPE__ unsigned char
9226 // AVR:#define __UINT_LEAST16_MAX__ 65535U
9227 // AVR:#define __UINT_LEAST16_TYPE__ unsigned int
9228 // AVR:#define __UINT_LEAST32_MAX__ 4294967295UL
9229 // AVR:#define __UINT_LEAST32_TYPE__ long unsigned int
9230 // AVR:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
9231 // AVR:#define __UINT_LEAST64_TYPE__ long long unsigned int
9232 // AVR:#define __UINT_LEAST8_MAX__ 255
9233 // AVR:#define __UINT_LEAST8_TYPE__ unsigned char
9234 // AVR:#define __USER_LABEL_PREFIX__
9235 // AVR:#define __WCHAR_MAX__ 32767
9236 // AVR:#define __WCHAR_TYPE__ int
9237 // AVR:#define __WINT_TYPE__ int
9238 
9239 
9240 // RUN: %clang_cc1 -E -dM -ffreestanding \
9241 // RUN:    -triple i686-windows-msvc -fms-compatibility -x c++ < /dev/null \
9242 // RUN:  | FileCheck -match-full-lines -check-prefix MSVC-X32 %s
9243 
9244 // RUN: %clang_cc1 -E -dM -ffreestanding \
9245 // RUN:    -triple x86_64-windows-msvc -fms-compatibility -x c++ < /dev/null \
9246 // RUN:  | FileCheck -match-full-lines -check-prefix MSVC-X64 %s
9247 
9248 // MSVC-X32:#define __CLANG_ATOMIC_BOOL_LOCK_FREE 2
9249 // MSVC-X32-NEXT:#define __CLANG_ATOMIC_CHAR16_T_LOCK_FREE 2
9250 // MSVC-X32-NEXT:#define __CLANG_ATOMIC_CHAR32_T_LOCK_FREE 2
9251 // MSVC-X32-NEXT:#define __CLANG_ATOMIC_CHAR_LOCK_FREE 2
9252 // MSVC-X32-NEXT:#define __CLANG_ATOMIC_INT_LOCK_FREE 2
9253 // MSVC-X32-NEXT:#define __CLANG_ATOMIC_LLONG_LOCK_FREE 2
9254 // MSVC-X32-NEXT:#define __CLANG_ATOMIC_LONG_LOCK_FREE 2
9255 // MSVC-X32-NEXT:#define __CLANG_ATOMIC_POINTER_LOCK_FREE 2
9256 // MSVC-X32-NEXT:#define __CLANG_ATOMIC_SHORT_LOCK_FREE 2
9257 // MSVC-X32-NEXT:#define __CLANG_ATOMIC_WCHAR_T_LOCK_FREE 2
9258 // MSVC-X32-NOT:#define __GCC_ATOMIC{{.*}}
9259 // MSVC-X32:#define __STDCPP_DEFAULT_NEW_ALIGNMENT__ 8U
9260 
9261 // MSVC-X64:#define __CLANG_ATOMIC_BOOL_LOCK_FREE 2
9262 // MSVC-X64-NEXT:#define __CLANG_ATOMIC_CHAR16_T_LOCK_FREE 2
9263 // MSVC-X64-NEXT:#define __CLANG_ATOMIC_CHAR32_T_LOCK_FREE 2
9264 // MSVC-X64-NEXT:#define __CLANG_ATOMIC_CHAR_LOCK_FREE 2
9265 // MSVC-X64-NEXT:#define __CLANG_ATOMIC_INT_LOCK_FREE 2
9266 // MSVC-X64-NEXT:#define __CLANG_ATOMIC_LLONG_LOCK_FREE 2
9267 // MSVC-X64-NEXT:#define __CLANG_ATOMIC_LONG_LOCK_FREE 2
9268 // MSVC-X64-NEXT:#define __CLANG_ATOMIC_POINTER_LOCK_FREE 2
9269 // MSVC-X64-NEXT:#define __CLANG_ATOMIC_SHORT_LOCK_FREE 2
9270 // MSVC-X64-NEXT:#define __CLANG_ATOMIC_WCHAR_T_LOCK_FREE 2
9271 // MSVC-X64-NOT:#define __GCC_ATOMIC{{.*}}
9272 // MSVC-X64:#define __STDCPP_DEFAULT_NEW_ALIGNMENT__ 16ULL
9273 
9274 // RUN: %clang_cc1 -E -dM -ffreestanding                \
9275 // RUN:  -fgnuc-version=4.2.1  -triple=aarch64-apple-ios9 < /dev/null        \
9276 // RUN: | FileCheck -check-prefix=DARWIN %s
9277 // RUN: %clang_cc1 -E -dM -ffreestanding                \
9278 // RUN:   -fgnuc-version=4.2.1 -triple=aarch64-apple-macosx10.12 < /dev/null \
9279 // RUN: | FileCheck -check-prefix=DARWIN %s
9280 
9281 // DARWIN:#define __STDC_NO_THREADS__ 1
9282 
9283 // RUN: %clang_cc1 -triple i386-apple-macosx -ffreestanding -dM -E /dev/null -o - | FileCheck -match-full-lines -check-prefix MACOS-32 %s
9284 // RUN: %clang_cc1 -triple x86_64-apple-macosx -ffreestanding -dM -E /dev/null -o - | FileCheck -match-full-lines -check-prefix MACOS-64 %s
9285 
9286 // MACOS-32: #define __INTPTR_TYPE__ long int
9287 // MACOS-32: #define __PTRDIFF_TYPE__ int
9288 // MACOS-32: #define __SIZE_TYPE__ long unsigned int
9289 
9290 // MACOS-64: #define __INTPTR_TYPE__ long int
9291 // MACOS-64: #define __PTRDIFF_TYPE__ long int
9292 // MACOS-64: #define __SIZE_TYPE__ long unsigned int
9293 
9294 // RUN: %clang_cc1 -triple i386-apple-ios-simulator -ffreestanding -dM -E /dev/null -o - | FileCheck -match-full-lines -check-prefix IOS-32 %s
9295 // RUN: %clang_cc1 -triple armv7-apple-ios -ffreestanding -dM -E /dev/null -o - | FileCheck -match-full-lines -check-prefix IOS-32 %s
9296 // RUN: %clang_cc1 -triple x86_64-apple-ios-simulator -ffreestanding -dM -E /dev/null -o - | FileCheck -match-full-lines -check-prefix IOS-64 %s
9297 // RUN: %clang_cc1 -triple arm64-apple-ios -ffreestanding -dM -E /dev/null -o - | FileCheck -match-full-lines -check-prefix IOS-64 %s
9298 
9299 // IOS-32: #define __INTPTR_TYPE__ long int
9300 // IOS-32: #define __PTRDIFF_TYPE__ int
9301 // IOS-32: #define __SIZE_TYPE__ long unsigned int
9302 
9303 // IOS-64: #define __INTPTR_TYPE__ long int
9304 // IOS-64: #define __PTRDIFF_TYPE__ long int
9305 // IOS-64: #define __SIZE_TYPE__ long unsigned int
9306 
9307 // RUN: %clang_cc1 -triple i386-apple-tvos-simulator -ffreestanding -dM -E /dev/null -o - | FileCheck -match-full-lines -check-prefix TVOS-32 %s
9308 // RUN: %clang_cc1 -triple armv7-apple-tvos -ffreestanding -dM -E /dev/null -o - | FileCheck -match-full-lines -check-prefix TVOS-32 %s
9309 // RUN: %clang_cc1 -triple x86_64-apple-tvos-simulator -ffreestanding -dM -E /dev/null -o - | FileCheck -match-full-lines -check-prefix TVOS-64 %s
9310 // RUN: %clang_cc1 -triple arm64-apple-tvos -ffreestanding -dM -E /dev/null -o - | FileCheck -match-full-lines -check-prefix TVOS-64 %s
9311 
9312 // TVOS-32: #define __INTPTR_TYPE__ long int
9313 // TVOS-32: #define __PTRDIFF_TYPE__ int
9314 // TVOS-32: #define __SIZE_TYPE__ long unsigned int
9315 
9316 // TVOS-64: #define __INTPTR_TYPE__ long int
9317 // TVOS-64: #define __PTRDIFF_TYPE__ long int
9318 // TVOS-64: #define __SIZE_TYPE__ long unsigned int
9319 
9320 // RUN: %clang_cc1 -triple i386-apple-watchos-simulator -ffreestanding -dM -E /dev/null -o - | FileCheck -match-full-lines -check-prefix WATCHOS-32 %s
9321 // RUN: %clang_cc1 -triple armv7k-apple-watchos -ffreestanding -dM -E /dev/null -o - | FileCheck -match-full-lines -check-prefix WATCHOS-64 %s
9322 // RUN: %clang_cc1 -triple x86_64-apple-watchos-simulator -ffreestanding -dM -E /dev/null -o - | FileCheck -match-full-lines -check-prefix WATCHOS-64 %s
9323 // RUN: %clang_cc1 -triple arm64-apple-watchos -ffreestanding -dM -E /dev/null -o - | FileCheck -match-full-lines -check-prefix WATCHOS-64 %s
9324 
9325 // WATCHOS-32: #define __INTPTR_TYPE__ long int
9326 // WATCHOS-32: #define __PTRDIFF_TYPE__ int
9327 // WATCHOS-32: #define __SIZE_TYPE__ long unsigned int
9328 
9329 // WATCHOS-64: #define __INTPTR_TYPE__ long int
9330 // WATCHOS-64: #define __PTRDIFF_TYPE__ long int
9331 // WATCHOS-64: #define __SIZE_TYPE__ long unsigned int
9332 
9333 // RUN: %clang_cc1 -triple armv7-apple-none-macho -ffreestanding -dM -E /dev/null -o - | FileCheck -match-full-lines -check-prefix ARM-DARWIN-BAREMETAL-32 %s
9334 // RUN: %clang_cc1 -triple arm64-apple-none-macho -ffreestanding -dM -E /dev/null -o - | FileCheck -match-full-lines -check-prefix ARM-DARWIN-BAREMETAL-64 %s
9335 
9336 // ARM-DARWIN-BAREMETAL-32: #define __INTPTR_TYPE__ long int
9337 // ARM-DARWIN-BAREMETAL-32: #define __PTRDIFF_TYPE__ int
9338 // ARM-DARWIN-BAREMETAL-32: #define __SIZE_TYPE__ long unsigned int
9339 
9340 // ARM-DARWIN-BAREMETAL-64: #define __INTPTR_TYPE__ long int
9341 // ARM-DARWIN-BAREMETAL-64: #define __PTRDIFF_TYPE__ long int
9342 // ARM-DARWIN-BAREMETAL-64: #define __SIZE_TYPE__ long unsigned int
9343 
9344 // RUN: %clang_cc1 -E -dM -ffreestanding -fgnuc-version=4.2.1 -triple=riscv32 < /dev/null \
9345 // RUN:   | FileCheck -match-full-lines -check-prefix=RISCV32 %s
9346 // RUN: %clang_cc1 -E -dM -ffreestanding -fgnuc-version=4.2.1 -triple=riscv32-unknown-linux < /dev/null \
9347 // RUN:   | FileCheck -match-full-lines -check-prefixes=RISCV32,RISCV32-LINUX %s
9348 // RUN: %clang_cc1 -E -dM -ffreestanding -fgnuc-version=4.2.1 -triple=riscv32 \
9349 // RUN: -fforce-enable-int128 < /dev/null | FileCheck -match-full-lines \
9350 // RUN: -check-prefixes=RISCV32,RISCV32-INT128 %s
9351 // RISCV32: #define _ILP32 1
9352 // RISCV32: #define __ATOMIC_ACQUIRE 2
9353 // RISCV32: #define __ATOMIC_ACQ_REL 4
9354 // RISCV32: #define __ATOMIC_CONSUME 1
9355 // RISCV32: #define __ATOMIC_RELAXED 0
9356 // RISCV32: #define __ATOMIC_RELEASE 3
9357 // RISCV32: #define __ATOMIC_SEQ_CST 5
9358 // RISCV32: #define __BIGGEST_ALIGNMENT__ 16
9359 // RISCV32: #define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
9360 // RISCV32: #define __CHAR16_TYPE__ unsigned short
9361 // RISCV32: #define __CHAR32_TYPE__ unsigned int
9362 // RISCV32: #define __CHAR_BIT__ 8
9363 // RISCV32: #define __DBL_DECIMAL_DIG__ 17
9364 // RISCV32: #define __DBL_DENORM_MIN__ 4.9406564584124654e-324
9365 // RISCV32: #define __DBL_DIG__ 15
9366 // RISCV32: #define __DBL_EPSILON__ 2.2204460492503131e-16
9367 // RISCV32: #define __DBL_HAS_DENORM__ 1
9368 // RISCV32: #define __DBL_HAS_INFINITY__ 1
9369 // RISCV32: #define __DBL_HAS_QUIET_NAN__ 1
9370 // RISCV32: #define __DBL_MANT_DIG__ 53
9371 // RISCV32: #define __DBL_MAX_10_EXP__ 308
9372 // RISCV32: #define __DBL_MAX_EXP__ 1024
9373 // RISCV32: #define __DBL_MAX__ 1.7976931348623157e+308
9374 // RISCV32: #define __DBL_MIN_10_EXP__ (-307)
9375 // RISCV32: #define __DBL_MIN_EXP__ (-1021)
9376 // RISCV32: #define __DBL_MIN__ 2.2250738585072014e-308
9377 // RISCV32: #define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
9378 // RISCV32: #define __ELF__ 1
9379 // RISCV32: #define __FINITE_MATH_ONLY__ 0
9380 // RISCV32: #define __FLT_DECIMAL_DIG__ 9
9381 // RISCV32: #define __FLT_DENORM_MIN__ 1.40129846e-45F
9382 // RISCV32: #define __FLT_DIG__ 6
9383 // RISCV32: #define __FLT_EPSILON__ 1.19209290e-7F
9384 // RISCV32: #define __FLT_EVAL_METHOD__ 0
9385 // RISCV32: #define __FLT_HAS_DENORM__ 1
9386 // RISCV32: #define __FLT_HAS_INFINITY__ 1
9387 // RISCV32: #define __FLT_HAS_QUIET_NAN__ 1
9388 // RISCV32: #define __FLT_MANT_DIG__ 24
9389 // RISCV32: #define __FLT_MAX_10_EXP__ 38
9390 // RISCV32: #define __FLT_MAX_EXP__ 128
9391 // RISCV32: #define __FLT_MAX__ 3.40282347e+38F
9392 // RISCV32: #define __FLT_MIN_10_EXP__ (-37)
9393 // RISCV32: #define __FLT_MIN_EXP__ (-125)
9394 // RISCV32: #define __FLT_MIN__ 1.17549435e-38F
9395 // RISCV32: #define __FLT_RADIX__ 2
9396 // RISCV32: #define __GCC_ATOMIC_BOOL_LOCK_FREE 1
9397 // RISCV32: #define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 1
9398 // RISCV32: #define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 1
9399 // RISCV32: #define __GCC_ATOMIC_CHAR_LOCK_FREE 1
9400 // RISCV32: #define __GCC_ATOMIC_INT_LOCK_FREE 1
9401 // RISCV32: #define __GCC_ATOMIC_LLONG_LOCK_FREE 1
9402 // RISCV32: #define __GCC_ATOMIC_LONG_LOCK_FREE 1
9403 // RISCV32: #define __GCC_ATOMIC_POINTER_LOCK_FREE 1
9404 // RISCV32: #define __GCC_ATOMIC_SHORT_LOCK_FREE 1
9405 // RISCV32: #define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1
9406 // RISCV32: #define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 1
9407 // RISCV32: #define __GNUC_MINOR__ {{.*}}
9408 // RISCV32: #define __GNUC_PATCHLEVEL__ {{.*}}
9409 // RISCV32: #define __GNUC_STDC_INLINE__ 1
9410 // RISCV32: #define __GNUC__ {{.*}}
9411 // RISCV32: #define __GXX_ABI_VERSION {{.*}}
9412 // RISCV32: #define __ILP32__ 1
9413 // RISCV32: #define __INT16_C_SUFFIX__
9414 // RISCV32: #define __INT16_MAX__ 32767
9415 // RISCV32: #define __INT16_TYPE__ short
9416 // RISCV32: #define __INT32_C_SUFFIX__
9417 // RISCV32: #define __INT32_MAX__ 2147483647
9418 // RISCV32: #define __INT32_TYPE__ int
9419 // RISCV32: #define __INT64_C_SUFFIX__ LL
9420 // RISCV32: #define __INT64_MAX__ 9223372036854775807LL
9421 // RISCV32: #define __INT64_TYPE__ long long int
9422 // RISCV32: #define __INT8_C_SUFFIX__
9423 // RISCV32: #define __INT8_MAX__ 127
9424 // RISCV32: #define __INT8_TYPE__ signed char
9425 // RISCV32: #define __INTMAX_C_SUFFIX__ LL
9426 // RISCV32: #define __INTMAX_MAX__ 9223372036854775807LL
9427 // RISCV32: #define __INTMAX_TYPE__ long long int
9428 // RISCV32: #define __INTMAX_WIDTH__ 64
9429 // RISCV32: #define __INTPTR_MAX__ 2147483647
9430 // RISCV32: #define __INTPTR_TYPE__ int
9431 // RISCV32: #define __INTPTR_WIDTH__ 32
9432 // TODO: RISC-V GCC defines INT_FAST16 as int
9433 // RISCV32: #define __INT_FAST16_MAX__ 32767
9434 // RISCV32: #define __INT_FAST16_TYPE__ short
9435 // RISCV32: #define __INT_FAST32_MAX__ 2147483647
9436 // RISCV32: #define __INT_FAST32_TYPE__ int
9437 // RISCV32: #define __INT_FAST64_MAX__ 9223372036854775807LL
9438 // RISCV32: #define __INT_FAST64_TYPE__ long long int
9439 // TODO: RISC-V GCC defines INT_FAST8 as int
9440 // RISCV32: #define __INT_FAST8_MAX__ 127
9441 // RISCV32: #define __INT_FAST8_TYPE__ signed char
9442 // RISCV32: #define __INT_LEAST16_MAX__ 32767
9443 // RISCV32: #define __INT_LEAST16_TYPE__ short
9444 // RISCV32: #define __INT_LEAST32_MAX__ 2147483647
9445 // RISCV32: #define __INT_LEAST32_TYPE__ int
9446 // RISCV32: #define __INT_LEAST64_MAX__ 9223372036854775807LL
9447 // RISCV32: #define __INT_LEAST64_TYPE__ long long int
9448 // RISCV32: #define __INT_LEAST8_MAX__ 127
9449 // RISCV32: #define __INT_LEAST8_TYPE__ signed char
9450 // RISCV32: #define __INT_MAX__ 2147483647
9451 // RISCV32: #define __LDBL_DECIMAL_DIG__ 36
9452 // RISCV32: #define __LDBL_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966L
9453 // RISCV32: #define __LDBL_DIG__ 33
9454 // RISCV32: #define __LDBL_EPSILON__ 1.92592994438723585305597794258492732e-34L
9455 // RISCV32: #define __LDBL_HAS_DENORM__ 1
9456 // RISCV32: #define __LDBL_HAS_INFINITY__ 1
9457 // RISCV32: #define __LDBL_HAS_QUIET_NAN__ 1
9458 // RISCV32: #define __LDBL_MANT_DIG__ 113
9459 // RISCV32: #define __LDBL_MAX_10_EXP__ 4932
9460 // RISCV32: #define __LDBL_MAX_EXP__ 16384
9461 // RISCV32: #define __LDBL_MAX__ 1.18973149535723176508575932662800702e+4932L
9462 // RISCV32: #define __LDBL_MIN_10_EXP__ (-4931)
9463 // RISCV32: #define __LDBL_MIN_EXP__ (-16381)
9464 // RISCV32: #define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L
9465 // RISCV32: #define __LITTLE_ENDIAN__ 1
9466 // RISCV32: #define __LONG_LONG_MAX__ 9223372036854775807LL
9467 // RISCV32: #define __LONG_MAX__ 2147483647L
9468 // RISCV32: #define __NO_INLINE__ 1
9469 // RISCV32: #define __POINTER_WIDTH__ 32
9470 // RISCV32: #define __PRAGMA_REDEFINE_EXTNAME 1
9471 // RISCV32: #define __PTRDIFF_MAX__ 2147483647
9472 // RISCV32: #define __PTRDIFF_TYPE__ int
9473 // RISCV32: #define __PTRDIFF_WIDTH__ 32
9474 // RISCV32: #define __SCHAR_MAX__ 127
9475 // RISCV32: #define __SHRT_MAX__ 32767
9476 // RISCV32: #define __SIG_ATOMIC_MAX__ 2147483647
9477 // RISCV32: #define __SIG_ATOMIC_WIDTH__ 32
9478 // RISCV32: #define __SIZEOF_DOUBLE__ 8
9479 // RISCV32: #define __SIZEOF_FLOAT__ 4
9480 // RISCV32-INT128: #define __SIZEOF_INT128__ 16
9481 // RISCV32: #define __SIZEOF_INT__ 4
9482 // RISCV32: #define __SIZEOF_LONG_DOUBLE__ 16
9483 // RISCV32: #define __SIZEOF_LONG_LONG__ 8
9484 // RISCV32: #define __SIZEOF_LONG__ 4
9485 // RISCV32: #define __SIZEOF_POINTER__ 4
9486 // RISCV32: #define __SIZEOF_PTRDIFF_T__ 4
9487 // RISCV32: #define __SIZEOF_SHORT__ 2
9488 // RISCV32: #define __SIZEOF_SIZE_T__ 4
9489 // RISCV32: #define __SIZEOF_WCHAR_T__ 4
9490 // RISCV32: #define __SIZEOF_WINT_T__ 4
9491 // RISCV32: #define __SIZE_MAX__ 4294967295U
9492 // RISCV32: #define __SIZE_TYPE__ unsigned int
9493 // RISCV32: #define __SIZE_WIDTH__ 32
9494 // RISCV32: #define __STDC_HOSTED__ 0
9495 // RISCV32: #define __STDC_UTF_16__ 1
9496 // RISCV32: #define __STDC_UTF_32__ 1
9497 // RISCV32: #define __STDC_VERSION__ 201112L
9498 // RISCV32: #define __STDC__ 1
9499 // RISCV32: #define __UINT16_C_SUFFIX__
9500 // RISCV32: #define __UINT16_MAX__ 65535
9501 // RISCV32: #define __UINT16_TYPE__ unsigned short
9502 // RISCV32: #define __UINT32_C_SUFFIX__ U
9503 // RISCV32: #define __UINT32_MAX__ 4294967295U
9504 // RISCV32: #define __UINT32_TYPE__ unsigned int
9505 // RISCV32: #define __UINT64_C_SUFFIX__ ULL
9506 // RISCV32: #define __UINT64_MAX__ 18446744073709551615ULL
9507 // RISCV32: #define __UINT64_TYPE__ long long unsigned int
9508 // RISCV32: #define __UINT8_C_SUFFIX__
9509 // RISCV32: #define __UINT8_MAX__ 255
9510 // RISCV32: #define __UINT8_TYPE__ unsigned char
9511 // RISCV32: #define __UINTMAX_C_SUFFIX__ ULL
9512 // RISCV32: #define __UINTMAX_MAX__ 18446744073709551615ULL
9513 // RISCV32: #define __UINTMAX_TYPE__ long long unsigned int
9514 // RISCV32: #define __UINTMAX_WIDTH__ 64
9515 // RISCV32: #define __UINTPTR_MAX__ 4294967295U
9516 // RISCV32: #define __UINTPTR_TYPE__ unsigned int
9517 // RISCV32: #define __UINTPTR_WIDTH__ 32
9518 // TODO: RISC-V GCC defines UINT_FAST16 to be unsigned int
9519 // RISCV32: #define __UINT_FAST16_MAX__ 65535
9520 // RISCV32: #define __UINT_FAST16_TYPE__ unsigned short
9521 // RISCV32: #define __UINT_FAST32_MAX__ 4294967295U
9522 // RISCV32: #define __UINT_FAST32_TYPE__ unsigned int
9523 // RISCV32: #define __UINT_FAST64_MAX__ 18446744073709551615ULL
9524 // RISCV32: #define __UINT_FAST64_TYPE__ long long unsigned int
9525 // TODO: RISC-V GCC defines UINT_FAST8 to be unsigned int
9526 // RISCV32: #define __UINT_FAST8_MAX__ 255
9527 // RISCV32: #define __UINT_FAST8_TYPE__ unsigned char
9528 // RISCV32: #define __UINT_LEAST16_MAX__ 65535
9529 // RISCV32: #define __UINT_LEAST16_TYPE__ unsigned short
9530 // RISCV32: #define __UINT_LEAST32_MAX__ 4294967295U
9531 // RISCV32: #define __UINT_LEAST32_TYPE__ unsigned int
9532 // RISCV32: #define __UINT_LEAST64_MAX__ 18446744073709551615ULL
9533 // RISCV32: #define __UINT_LEAST64_TYPE__ long long unsigned int
9534 // RISCV32: #define __UINT_LEAST8_MAX__ 255
9535 // RISCV32: #define __UINT_LEAST8_TYPE__ unsigned char
9536 // RISCV32: #define __USER_LABEL_PREFIX__
9537 // RISCV32: #define __WCHAR_MAX__ 2147483647
9538 // RISCV32: #define __WCHAR_TYPE__ int
9539 // RISCV32: #define __WCHAR_WIDTH__ 32
9540 // RISCV32: #define __WINT_TYPE__ unsigned int
9541 // RISCV32: #define __WINT_UNSIGNED__ 1
9542 // RISCV32: #define __WINT_WIDTH__ 32
9543 // RISCV32-LINUX: #define __gnu_linux__ 1
9544 // RISCV32-LINUX: #define __linux 1
9545 // RISCV32-LINUX: #define __linux__ 1
9546 // RISCV32: #define __riscv 1
9547 // RISCV32: #define __riscv_cmodel_medlow 1
9548 // RISCV32: #define __riscv_float_abi_soft 1
9549 // RISCV32: #define __riscv_xlen 32
9550 // RISCV32-LINUX: #define __unix 1
9551 // RISCV32-LINUX: #define __unix__ 1
9552 // RISCV32-LINUX: #define linux 1
9553 // RISCV32-LINUX: #define unix 1
9554 
9555 // RUN: %clang_cc1 -E -dM -ffreestanding -fgnuc-version=4.2.1 -triple=riscv64 < /dev/null \
9556 // RUN:   | FileCheck -match-full-lines -check-prefix=RISCV64 %s
9557 // RUN: %clang_cc1 -E -dM -ffreestanding -fgnuc-version=4.2.1 -triple=riscv64-unknown-linux < /dev/null \
9558 // RUN:   | FileCheck -match-full-lines -check-prefixes=RISCV64,RISCV64-LINUX %s
9559 // RISCV64: #define _LP64 1
9560 // RISCV64: #define __ATOMIC_ACQUIRE 2
9561 // RISCV64: #define __ATOMIC_ACQ_REL 4
9562 // RISCV64: #define __ATOMIC_CONSUME 1
9563 // RISCV64: #define __ATOMIC_RELAXED 0
9564 // RISCV64: #define __ATOMIC_RELEASE 3
9565 // RISCV64: #define __ATOMIC_SEQ_CST 5
9566 // RISCV64: #define __BIGGEST_ALIGNMENT__ 16
9567 // RISCV64: #define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
9568 // RISCV64: #define __CHAR16_TYPE__ unsigned short
9569 // RISCV64: #define __CHAR32_TYPE__ unsigned int
9570 // RISCV64: #define __CHAR_BIT__ 8
9571 // RISCV64: #define __DBL_DECIMAL_DIG__ 17
9572 // RISCV64: #define __DBL_DENORM_MIN__ 4.9406564584124654e-324
9573 // RISCV64: #define __DBL_DIG__ 15
9574 // RISCV64: #define __DBL_EPSILON__ 2.2204460492503131e-16
9575 // RISCV64: #define __DBL_HAS_DENORM__ 1
9576 // RISCV64: #define __DBL_HAS_INFINITY__ 1
9577 // RISCV64: #define __DBL_HAS_QUIET_NAN__ 1
9578 // RISCV64: #define __DBL_MANT_DIG__ 53
9579 // RISCV64: #define __DBL_MAX_10_EXP__ 308
9580 // RISCV64: #define __DBL_MAX_EXP__ 1024
9581 // RISCV64: #define __DBL_MAX__ 1.7976931348623157e+308
9582 // RISCV64: #define __DBL_MIN_10_EXP__ (-307)
9583 // RISCV64: #define __DBL_MIN_EXP__ (-1021)
9584 // RISCV64: #define __DBL_MIN__ 2.2250738585072014e-308
9585 // RISCV64: #define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
9586 // RISCV64: #define __ELF__ 1
9587 // RISCV64: #define __FINITE_MATH_ONLY__ 0
9588 // RISCV64: #define __FLT_DECIMAL_DIG__ 9
9589 // RISCV64: #define __FLT_DENORM_MIN__ 1.40129846e-45F
9590 // RISCV64: #define __FLT_DIG__ 6
9591 // RISCV64: #define __FLT_EPSILON__ 1.19209290e-7F
9592 // RISCV64: #define __FLT_EVAL_METHOD__ 0
9593 // RISCV64: #define __FLT_HAS_DENORM__ 1
9594 // RISCV64: #define __FLT_HAS_INFINITY__ 1
9595 // RISCV64: #define __FLT_HAS_QUIET_NAN__ 1
9596 // RISCV64: #define __FLT_MANT_DIG__ 24
9597 // RISCV64: #define __FLT_MAX_10_EXP__ 38
9598 // RISCV64: #define __FLT_MAX_EXP__ 128
9599 // RISCV64: #define __FLT_MAX__ 3.40282347e+38F
9600 // RISCV64: #define __FLT_MIN_10_EXP__ (-37)
9601 // RISCV64: #define __FLT_MIN_EXP__ (-125)
9602 // RISCV64: #define __FLT_MIN__ 1.17549435e-38F
9603 // RISCV64: #define __FLT_RADIX__ 2
9604 // RISCV64: #define __GCC_ATOMIC_BOOL_LOCK_FREE 1
9605 // RISCV64: #define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 1
9606 // RISCV64: #define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 1
9607 // RISCV64: #define __GCC_ATOMIC_CHAR_LOCK_FREE 1
9608 // RISCV64: #define __GCC_ATOMIC_INT_LOCK_FREE 1
9609 // RISCV64: #define __GCC_ATOMIC_LLONG_LOCK_FREE 1
9610 // RISCV64: #define __GCC_ATOMIC_LONG_LOCK_FREE 1
9611 // RISCV64: #define __GCC_ATOMIC_POINTER_LOCK_FREE 1
9612 // RISCV64: #define __GCC_ATOMIC_SHORT_LOCK_FREE 1
9613 // RISCV64: #define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1
9614 // RISCV64: #define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 1
9615 // RISCV64: #define __GNUC_MINOR__ {{.*}}
9616 // RISCV64: #define __GNUC_PATCHLEVEL__ {{.*}}
9617 // RISCV64: #define __GNUC_STDC_INLINE__ 1
9618 // RISCV64: #define __GNUC__ {{.*}}
9619 // RISCV64: #define __GXX_ABI_VERSION {{.*}}
9620 // RISCV64: #define __INT16_C_SUFFIX__
9621 // RISCV64: #define __INT16_MAX__ 32767
9622 // RISCV64: #define __INT16_TYPE__ short
9623 // RISCV64: #define __INT32_C_SUFFIX__
9624 // RISCV64: #define __INT32_MAX__ 2147483647
9625 // RISCV64: #define __INT32_TYPE__ int
9626 // RISCV64: #define __INT64_C_SUFFIX__ L
9627 // RISCV64: #define __INT64_MAX__ 9223372036854775807L
9628 // RISCV64: #define __INT64_TYPE__ long int
9629 // RISCV64: #define __INT8_C_SUFFIX__
9630 // RISCV64: #define __INT8_MAX__ 127
9631 // RISCV64: #define __INT8_TYPE__ signed char
9632 // RISCV64: #define __INTMAX_C_SUFFIX__ L
9633 // RISCV64: #define __INTMAX_MAX__ 9223372036854775807L
9634 // RISCV64: #define __INTMAX_TYPE__ long int
9635 // RISCV64: #define __INTMAX_WIDTH__ 64
9636 // RISCV64: #define __INTPTR_MAX__ 9223372036854775807L
9637 // RISCV64: #define __INTPTR_TYPE__ long int
9638 // RISCV64: #define __INTPTR_WIDTH__ 64
9639 // TODO: RISC-V GCC defines INT_FAST16 as int
9640 // RISCV64: #define __INT_FAST16_MAX__ 32767
9641 // RISCV64: #define __INT_FAST16_TYPE__ short
9642 // RISCV64: #define __INT_FAST32_MAX__ 2147483647
9643 // RISCV64: #define __INT_FAST32_TYPE__ int
9644 // RISCV64: #define __INT_FAST64_MAX__ 9223372036854775807L
9645 // RISCV64: #define __INT_FAST64_TYPE__ long int
9646 // TODO: RISC-V GCC defines INT_FAST8 as int
9647 // RISCV64: #define __INT_FAST8_MAX__ 127
9648 // RISCV64: #define __INT_FAST8_TYPE__ signed char
9649 // RISCV64: #define __INT_LEAST16_MAX__ 32767
9650 // RISCV64: #define __INT_LEAST16_TYPE__ short
9651 // RISCV64: #define __INT_LEAST32_MAX__ 2147483647
9652 // RISCV64: #define __INT_LEAST32_TYPE__ int
9653 // RISCV64: #define __INT_LEAST64_MAX__ 9223372036854775807L
9654 // RISCV64: #define __INT_LEAST64_TYPE__ long int
9655 // RISCV64: #define __INT_LEAST8_MAX__ 127
9656 // RISCV64: #define __INT_LEAST8_TYPE__ signed char
9657 // RISCV64: #define __INT_MAX__ 2147483647
9658 // RISCV64: #define __LDBL_DECIMAL_DIG__ 36
9659 // RISCV64: #define __LDBL_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966L
9660 // RISCV64: #define __LDBL_DIG__ 33
9661 // RISCV64: #define __LDBL_EPSILON__ 1.92592994438723585305597794258492732e-34L
9662 // RISCV64: #define __LDBL_HAS_DENORM__ 1
9663 // RISCV64: #define __LDBL_HAS_INFINITY__ 1
9664 // RISCV64: #define __LDBL_HAS_QUIET_NAN__ 1
9665 // RISCV64: #define __LDBL_MANT_DIG__ 113
9666 // RISCV64: #define __LDBL_MAX_10_EXP__ 4932
9667 // RISCV64: #define __LDBL_MAX_EXP__ 16384
9668 // RISCV64: #define __LDBL_MAX__ 1.18973149535723176508575932662800702e+4932L
9669 // RISCV64: #define __LDBL_MIN_10_EXP__ (-4931)
9670 // RISCV64: #define __LDBL_MIN_EXP__ (-16381)
9671 // RISCV64: #define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L
9672 // RISCV64: #define __LITTLE_ENDIAN__ 1
9673 // RISCV64: #define __LONG_LONG_MAX__ 9223372036854775807LL
9674 // RISCV64: #define __LONG_MAX__ 9223372036854775807L
9675 // RISCV64: #define __LP64__ 1
9676 // RISCV64: #define __NO_INLINE__ 1
9677 // RISCV64: #define __POINTER_WIDTH__ 64
9678 // RISCV64: #define __PRAGMA_REDEFINE_EXTNAME 1
9679 // RISCV64: #define __PTRDIFF_MAX__ 9223372036854775807L
9680 // RISCV64: #define __PTRDIFF_TYPE__ long int
9681 // RISCV64: #define __PTRDIFF_WIDTH__ 64
9682 // RISCV64: #define __SCHAR_MAX__ 127
9683 // RISCV64: #define __SHRT_MAX__ 32767
9684 // RISCV64: #define __SIG_ATOMIC_MAX__ 2147483647
9685 // RISCV64: #define __SIG_ATOMIC_WIDTH__ 32
9686 // RISCV64: #define __SIZEOF_DOUBLE__ 8
9687 // RISCV64: #define __SIZEOF_FLOAT__ 4
9688 // RISCV64: #define __SIZEOF_INT__ 4
9689 // RISCV64: #define __SIZEOF_LONG_DOUBLE__ 16
9690 // RISCV64: #define __SIZEOF_LONG_LONG__ 8
9691 // RISCV64: #define __SIZEOF_LONG__ 8
9692 // RISCV64: #define __SIZEOF_POINTER__ 8
9693 // RISCV64: #define __SIZEOF_PTRDIFF_T__ 8
9694 // RISCV64: #define __SIZEOF_SHORT__ 2
9695 // RISCV64: #define __SIZEOF_SIZE_T__ 8
9696 // RISCV64: #define __SIZEOF_WCHAR_T__ 4
9697 // RISCV64: #define __SIZEOF_WINT_T__ 4
9698 // RISCV64: #define __SIZE_MAX__ 18446744073709551615UL
9699 // RISCV64: #define __SIZE_TYPE__ long unsigned int
9700 // RISCV64: #define __SIZE_WIDTH__ 64
9701 // RISCV64: #define __STDC_HOSTED__ 0
9702 // RISCV64: #define __STDC_UTF_16__ 1
9703 // RISCV64: #define __STDC_UTF_32__ 1
9704 // RISCV64: #define __STDC_VERSION__ 201112L
9705 // RISCV64: #define __STDC__ 1
9706 // RISCV64: #define __UINT16_C_SUFFIX__
9707 // RISCV64: #define __UINT16_MAX__ 65535
9708 // RISCV64: #define __UINT16_TYPE__ unsigned short
9709 // RISCV64: #define __UINT32_C_SUFFIX__ U
9710 // RISCV64: #define __UINT32_MAX__ 4294967295U
9711 // RISCV64: #define __UINT32_TYPE__ unsigned int
9712 // RISCV64: #define __UINT64_C_SUFFIX__ UL
9713 // RISCV64: #define __UINT64_MAX__ 18446744073709551615UL
9714 // RISCV64: #define __UINT64_TYPE__ long unsigned int
9715 // RISCV64: #define __UINT8_C_SUFFIX__
9716 // RISCV64: #define __UINT8_MAX__ 255
9717 // RISCV64: #define __UINT8_TYPE__ unsigned char
9718 // RISCV64: #define __UINTMAX_C_SUFFIX__ UL
9719 // RISCV64: #define __UINTMAX_MAX__ 18446744073709551615UL
9720 // RISCV64: #define __UINTMAX_TYPE__ long unsigned int
9721 // RISCV64: #define __UINTMAX_WIDTH__ 64
9722 // RISCV64: #define __UINTPTR_MAX__ 18446744073709551615UL
9723 // RISCV64: #define __UINTPTR_TYPE__ long unsigned int
9724 // RISCV64: #define __UINTPTR_WIDTH__ 64
9725 // TODO: RISC-V GCC defines UINT_FAST16 to be unsigned int
9726 // RISCV64: #define __UINT_FAST16_MAX__ 65535
9727 // RISCV64: #define __UINT_FAST16_TYPE__ unsigned short
9728 // RISCV64: #define __UINT_FAST32_MAX__ 4294967295U
9729 // RISCV64: #define __UINT_FAST32_TYPE__ unsigned int
9730 // RISCV64: #define __UINT_FAST64_MAX__ 18446744073709551615UL
9731 // RISCV64: #define __UINT_FAST64_TYPE__ long unsigned int
9732 // TODO: RISC-V GCC defines UINT_FAST8 to be unsigned int
9733 // RISCV64: #define __UINT_FAST8_MAX__ 255
9734 // RISCV64: #define __UINT_FAST8_TYPE__ unsigned char
9735 // RISCV64: #define __UINT_LEAST16_MAX__ 65535
9736 // RISCV64: #define __UINT_LEAST16_TYPE__ unsigned short
9737 // RISCV64: #define __UINT_LEAST32_MAX__ 4294967295U
9738 // RISCV64: #define __UINT_LEAST32_TYPE__ unsigned int
9739 // RISCV64: #define __UINT_LEAST64_MAX__ 18446744073709551615UL
9740 // RISCV64: #define __UINT_LEAST64_TYPE__ long unsigned int
9741 // RISCV64: #define __UINT_LEAST8_MAX__ 255
9742 // RISCV64: #define __UINT_LEAST8_TYPE__ unsigned char
9743 // RISCV64: #define __USER_LABEL_PREFIX__
9744 // RISCV64: #define __WCHAR_MAX__ 2147483647
9745 // RISCV64: #define __WCHAR_TYPE__ int
9746 // RISCV64: #define __WCHAR_WIDTH__ 32
9747 // RISCV64: #define __WINT_TYPE__ unsigned int
9748 // RISCV64: #define __WINT_UNSIGNED__ 1
9749 // RISCV64: #define __WINT_WIDTH__ 32
9750 // RISCV64-LINUX: #define __gnu_linux__ 1
9751 // RISCV64-LINUX: #define __linux 1
9752 // RISCV64-LINUX: #define __linux__ 1
9753 // RISCV64: #define __riscv 1
9754 // RISCV64: #define __riscv_cmodel_medlow 1
9755 // RISCV64: #define __riscv_float_abi_soft 1
9756 // RISCV64: #define __riscv_xlen 64
9757 // RISCV64-LINUX: #define __unix 1
9758 // RISCV64-LINUX: #define __unix__ 1
9759 // RISCV64-LINUX: #define linux 1
9760 // RISCV64-LINUX: #define unix 1
9761