• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=thumbv7-windows-msvc < /dev/null | FileCheck -match-full-lines -check-prefix ARM-MSVC %s
2 //
3 // ARM-MSVC: #define _M_ARM_NT 1
4 // ARM-MSVC: #define _WIN32 1
5 // ARM-MSVC-NOT:#define __ARM_DWARF_EH__ 1
6 
7 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=arm-none-none < /dev/null | FileCheck -match-full-lines -check-prefix ARM %s
8 // 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
9 //
10 // ARM-NOT:#define _LP64
11 // ARM:#define __APCS_32__ 1
12 // ARM-NOT:#define __ARMEB__ 1
13 // ARM:#define __ARMEL__ 1
14 // ARM:#define __ARM_ARCH_4T__ 1
15 // ARM-NOT:#define __ARM_BIG_ENDIAN 1
16 // ARM:#define __BIGGEST_ALIGNMENT__ 8
17 // ARM:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
18 // ARM:#define __CHAR16_TYPE__ unsigned short
19 // ARM:#define __CHAR32_TYPE__ unsigned int
20 // ARM:#define __CHAR_BIT__ 8
21 // ARM:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
22 // ARM:#define __DBL_DIG__ 15
23 // ARM:#define __DBL_EPSILON__ 2.2204460492503131e-16
24 // ARM:#define __DBL_HAS_DENORM__ 1
25 // ARM:#define __DBL_HAS_INFINITY__ 1
26 // ARM:#define __DBL_HAS_QUIET_NAN__ 1
27 // ARM:#define __DBL_MANT_DIG__ 53
28 // ARM:#define __DBL_MAX_10_EXP__ 308
29 // ARM:#define __DBL_MAX_EXP__ 1024
30 // ARM:#define __DBL_MAX__ 1.7976931348623157e+308
31 // ARM:#define __DBL_MIN_10_EXP__ (-307)
32 // ARM:#define __DBL_MIN_EXP__ (-1021)
33 // ARM:#define __DBL_MIN__ 2.2250738585072014e-308
34 // ARM:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
35 // ARM:#define __FLT_DENORM_MIN__ 1.40129846e-45F
36 // ARM:#define __FLT_DIG__ 6
37 // ARM:#define __FLT_EPSILON__ 1.19209290e-7F
38 // ARM:#define __FLT_EVAL_METHOD__ 0
39 // ARM:#define __FLT_HAS_DENORM__ 1
40 // ARM:#define __FLT_HAS_INFINITY__ 1
41 // ARM:#define __FLT_HAS_QUIET_NAN__ 1
42 // ARM:#define __FLT_MANT_DIG__ 24
43 // ARM:#define __FLT_MAX_10_EXP__ 38
44 // ARM:#define __FLT_MAX_EXP__ 128
45 // ARM:#define __FLT_MAX__ 3.40282347e+38F
46 // ARM:#define __FLT_MIN_10_EXP__ (-37)
47 // ARM:#define __FLT_MIN_EXP__ (-125)
48 // ARM:#define __FLT_MIN__ 1.17549435e-38F
49 // ARM:#define __FLT_RADIX__ 2
50 // ARM:#define __INT16_C_SUFFIX__
51 // ARM:#define __INT16_FMTd__ "hd"
52 // ARM:#define __INT16_FMTi__ "hi"
53 // ARM:#define __INT16_MAX__ 32767
54 // ARM:#define __INT16_TYPE__ short
55 // ARM:#define __INT32_C_SUFFIX__
56 // ARM:#define __INT32_FMTd__ "d"
57 // ARM:#define __INT32_FMTi__ "i"
58 // ARM:#define __INT32_MAX__ 2147483647
59 // ARM:#define __INT32_TYPE__ int
60 // ARM:#define __INT64_C_SUFFIX__ LL
61 // ARM:#define __INT64_FMTd__ "lld"
62 // ARM:#define __INT64_FMTi__ "lli"
63 // ARM:#define __INT64_MAX__ 9223372036854775807LL
64 // ARM:#define __INT64_TYPE__ long long int
65 // ARM:#define __INT8_C_SUFFIX__
66 // ARM:#define __INT8_FMTd__ "hhd"
67 // ARM:#define __INT8_FMTi__ "hhi"
68 // ARM:#define __INT8_MAX__ 127
69 // ARM:#define __INT8_TYPE__ signed char
70 // ARM:#define __INTMAX_C_SUFFIX__ LL
71 // ARM:#define __INTMAX_FMTd__ "lld"
72 // ARM:#define __INTMAX_FMTi__ "lli"
73 // ARM:#define __INTMAX_MAX__ 9223372036854775807LL
74 // ARM:#define __INTMAX_TYPE__ long long int
75 // ARM:#define __INTMAX_WIDTH__ 64
76 // ARM:#define __INTPTR_FMTd__ "d"
77 // ARM:#define __INTPTR_FMTi__ "i"
78 // ARM:#define __INTPTR_MAX__ 2147483647
79 // ARM:#define __INTPTR_TYPE__ int
80 // ARM:#define __INTPTR_WIDTH__ 32
81 // ARM:#define __INT_FAST16_FMTd__ "hd"
82 // ARM:#define __INT_FAST16_FMTi__ "hi"
83 // ARM:#define __INT_FAST16_MAX__ 32767
84 // ARM:#define __INT_FAST16_TYPE__ short
85 // ARM:#define __INT_FAST32_FMTd__ "d"
86 // ARM:#define __INT_FAST32_FMTi__ "i"
87 // ARM:#define __INT_FAST32_MAX__ 2147483647
88 // ARM:#define __INT_FAST32_TYPE__ int
89 // ARM:#define __INT_FAST64_FMTd__ "lld"
90 // ARM:#define __INT_FAST64_FMTi__ "lli"
91 // ARM:#define __INT_FAST64_MAX__ 9223372036854775807LL
92 // ARM:#define __INT_FAST64_TYPE__ long long int
93 // ARM:#define __INT_FAST8_FMTd__ "hhd"
94 // ARM:#define __INT_FAST8_FMTi__ "hhi"
95 // ARM:#define __INT_FAST8_MAX__ 127
96 // ARM:#define __INT_FAST8_TYPE__ signed char
97 // ARM:#define __INT_LEAST16_FMTd__ "hd"
98 // ARM:#define __INT_LEAST16_FMTi__ "hi"
99 // ARM:#define __INT_LEAST16_MAX__ 32767
100 // ARM:#define __INT_LEAST16_TYPE__ short
101 // ARM:#define __INT_LEAST32_FMTd__ "d"
102 // ARM:#define __INT_LEAST32_FMTi__ "i"
103 // ARM:#define __INT_LEAST32_MAX__ 2147483647
104 // ARM:#define __INT_LEAST32_TYPE__ int
105 // ARM:#define __INT_LEAST64_FMTd__ "lld"
106 // ARM:#define __INT_LEAST64_FMTi__ "lli"
107 // ARM:#define __INT_LEAST64_MAX__ 9223372036854775807LL
108 // ARM:#define __INT_LEAST64_TYPE__ long long int
109 // ARM:#define __INT_LEAST8_FMTd__ "hhd"
110 // ARM:#define __INT_LEAST8_FMTi__ "hhi"
111 // ARM:#define __INT_LEAST8_MAX__ 127
112 // ARM:#define __INT_LEAST8_TYPE__ signed char
113 // ARM:#define __INT_MAX__ 2147483647
114 // ARM:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
115 // ARM:#define __LDBL_DIG__ 15
116 // ARM:#define __LDBL_EPSILON__ 2.2204460492503131e-16L
117 // ARM:#define __LDBL_HAS_DENORM__ 1
118 // ARM:#define __LDBL_HAS_INFINITY__ 1
119 // ARM:#define __LDBL_HAS_QUIET_NAN__ 1
120 // ARM:#define __LDBL_MANT_DIG__ 53
121 // ARM:#define __LDBL_MAX_10_EXP__ 308
122 // ARM:#define __LDBL_MAX_EXP__ 1024
123 // ARM:#define __LDBL_MAX__ 1.7976931348623157e+308L
124 // ARM:#define __LDBL_MIN_10_EXP__ (-307)
125 // ARM:#define __LDBL_MIN_EXP__ (-1021)
126 // ARM:#define __LDBL_MIN__ 2.2250738585072014e-308L
127 // ARM:#define __LITTLE_ENDIAN__ 1
128 // ARM:#define __LONG_LONG_MAX__ 9223372036854775807LL
129 // ARM:#define __LONG_MAX__ 2147483647L
130 // ARM-NOT:#define __LP64__
131 // ARM:#define __POINTER_WIDTH__ 32
132 // ARM:#define __PTRDIFF_TYPE__ int
133 // ARM:#define __PTRDIFF_WIDTH__ 32
134 // ARM:#define __REGISTER_PREFIX__
135 // ARM:#define __SCHAR_MAX__ 127
136 // ARM:#define __SHRT_MAX__ 32767
137 // ARM:#define __SIG_ATOMIC_MAX__ 2147483647
138 // ARM:#define __SIG_ATOMIC_WIDTH__ 32
139 // ARM:#define __SIZEOF_DOUBLE__ 8
140 // ARM:#define __SIZEOF_FLOAT__ 4
141 // ARM:#define __SIZEOF_INT__ 4
142 // ARM:#define __SIZEOF_LONG_DOUBLE__ 8
143 // ARM:#define __SIZEOF_LONG_LONG__ 8
144 // ARM:#define __SIZEOF_LONG__ 4
145 // ARM:#define __SIZEOF_POINTER__ 4
146 // ARM:#define __SIZEOF_PTRDIFF_T__ 4
147 // ARM:#define __SIZEOF_SHORT__ 2
148 // ARM:#define __SIZEOF_SIZE_T__ 4
149 // ARM:#define __SIZEOF_WCHAR_T__ 4
150 // ARM:#define __SIZEOF_WINT_T__ 4
151 // ARM:#define __SIZE_MAX__ 4294967295U
152 // ARM:#define __SIZE_TYPE__ unsigned int
153 // ARM:#define __SIZE_WIDTH__ 32
154 // ARM-CXX:#define __STDCPP_DEFAULT_NEW_ALIGNMENT__ 8U
155 // ARM:#define __UINT16_C_SUFFIX__
156 // ARM:#define __UINT16_MAX__ 65535
157 // ARM:#define __UINT16_TYPE__ unsigned short
158 // ARM:#define __UINT32_C_SUFFIX__ U
159 // ARM:#define __UINT32_MAX__ 4294967295U
160 // ARM:#define __UINT32_TYPE__ unsigned int
161 // ARM:#define __UINT64_C_SUFFIX__ ULL
162 // ARM:#define __UINT64_MAX__ 18446744073709551615ULL
163 // ARM:#define __UINT64_TYPE__ long long unsigned int
164 // ARM:#define __UINT8_C_SUFFIX__
165 // ARM:#define __UINT8_MAX__ 255
166 // ARM:#define __UINT8_TYPE__ unsigned char
167 // ARM:#define __UINTMAX_C_SUFFIX__ ULL
168 // ARM:#define __UINTMAX_MAX__ 18446744073709551615ULL
169 // ARM:#define __UINTMAX_TYPE__ long long unsigned int
170 // ARM:#define __UINTMAX_WIDTH__ 64
171 // ARM:#define __UINTPTR_MAX__ 4294967295U
172 // ARM:#define __UINTPTR_TYPE__ unsigned int
173 // ARM:#define __UINTPTR_WIDTH__ 32
174 // ARM:#define __UINT_FAST16_MAX__ 65535
175 // ARM:#define __UINT_FAST16_TYPE__ unsigned short
176 // ARM:#define __UINT_FAST32_MAX__ 4294967295U
177 // ARM:#define __UINT_FAST32_TYPE__ unsigned int
178 // ARM:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
179 // ARM:#define __UINT_FAST64_TYPE__ long long unsigned int
180 // ARM:#define __UINT_FAST8_MAX__ 255
181 // ARM:#define __UINT_FAST8_TYPE__ unsigned char
182 // ARM:#define __UINT_LEAST16_MAX__ 65535
183 // ARM:#define __UINT_LEAST16_TYPE__ unsigned short
184 // ARM:#define __UINT_LEAST32_MAX__ 4294967295U
185 // ARM:#define __UINT_LEAST32_TYPE__ unsigned int
186 // ARM:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
187 // ARM:#define __UINT_LEAST64_TYPE__ long long unsigned int
188 // ARM:#define __UINT_LEAST8_MAX__ 255
189 // ARM:#define __UINT_LEAST8_TYPE__ unsigned char
190 // ARM:#define __USER_LABEL_PREFIX__
191 // ARM:#define __WCHAR_MAX__ 4294967295U
192 // ARM:#define __WCHAR_TYPE__ unsigned int
193 // ARM:#define __WCHAR_WIDTH__ 32
194 // ARM:#define __WINT_TYPE__ int
195 // ARM:#define __WINT_WIDTH__ 32
196 // ARM:#define __arm 1
197 // ARM:#define __arm__ 1
198 
199 // 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
200 // ARM-APCS-GNU: #define __INTPTR_TYPE__ int
201 // ARM-APCS-GNU: #define __PTRDIFF_TYPE__ int
202 // ARM-APCS-GNU: #define __SIZE_TYPE__ unsigned int
203 
204 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=armeb-none-none < /dev/null | FileCheck -match-full-lines -check-prefix ARM-BE %s
205 //
206 // ARM-BE-NOT:#define _LP64
207 // ARM-BE:#define __APCS_32__ 1
208 // ARM-BE:#define __ARMEB__ 1
209 // ARM-BE-NOT:#define __ARMEL__ 1
210 // ARM-BE:#define __ARM_ARCH_4T__ 1
211 // ARM-BE:#define __ARM_BIG_ENDIAN 1
212 // ARM-BE:#define __BIGGEST_ALIGNMENT__ 8
213 // ARM-BE:#define __BIG_ENDIAN__ 1
214 // ARM-BE:#define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__
215 // ARM-BE:#define __CHAR16_TYPE__ unsigned short
216 // ARM-BE:#define __CHAR32_TYPE__ unsigned int
217 // ARM-BE:#define __CHAR_BIT__ 8
218 // ARM-BE:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
219 // ARM-BE:#define __DBL_DIG__ 15
220 // ARM-BE:#define __DBL_EPSILON__ 2.2204460492503131e-16
221 // ARM-BE:#define __DBL_HAS_DENORM__ 1
222 // ARM-BE:#define __DBL_HAS_INFINITY__ 1
223 // ARM-BE:#define __DBL_HAS_QUIET_NAN__ 1
224 // ARM-BE:#define __DBL_MANT_DIG__ 53
225 // ARM-BE:#define __DBL_MAX_10_EXP__ 308
226 // ARM-BE:#define __DBL_MAX_EXP__ 1024
227 // ARM-BE:#define __DBL_MAX__ 1.7976931348623157e+308
228 // ARM-BE:#define __DBL_MIN_10_EXP__ (-307)
229 // ARM-BE:#define __DBL_MIN_EXP__ (-1021)
230 // ARM-BE:#define __DBL_MIN__ 2.2250738585072014e-308
231 // ARM-BE:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
232 // ARM-BE:#define __FLT_DENORM_MIN__ 1.40129846e-45F
233 // ARM-BE:#define __FLT_DIG__ 6
234 // ARM-BE:#define __FLT_EPSILON__ 1.19209290e-7F
235 // ARM-BE:#define __FLT_EVAL_METHOD__ 0
236 // ARM-BE:#define __FLT_HAS_DENORM__ 1
237 // ARM-BE:#define __FLT_HAS_INFINITY__ 1
238 // ARM-BE:#define __FLT_HAS_QUIET_NAN__ 1
239 // ARM-BE:#define __FLT_MANT_DIG__ 24
240 // ARM-BE:#define __FLT_MAX_10_EXP__ 38
241 // ARM-BE:#define __FLT_MAX_EXP__ 128
242 // ARM-BE:#define __FLT_MAX__ 3.40282347e+38F
243 // ARM-BE:#define __FLT_MIN_10_EXP__ (-37)
244 // ARM-BE:#define __FLT_MIN_EXP__ (-125)
245 // ARM-BE:#define __FLT_MIN__ 1.17549435e-38F
246 // ARM-BE:#define __FLT_RADIX__ 2
247 // ARM-BE:#define __INT16_C_SUFFIX__
248 // ARM-BE:#define __INT16_FMTd__ "hd"
249 // ARM-BE:#define __INT16_FMTi__ "hi"
250 // ARM-BE:#define __INT16_MAX__ 32767
251 // ARM-BE:#define __INT16_TYPE__ short
252 // ARM-BE:#define __INT32_C_SUFFIX__
253 // ARM-BE:#define __INT32_FMTd__ "d"
254 // ARM-BE:#define __INT32_FMTi__ "i"
255 // ARM-BE:#define __INT32_MAX__ 2147483647
256 // ARM-BE:#define __INT32_TYPE__ int
257 // ARM-BE:#define __INT64_C_SUFFIX__ LL
258 // ARM-BE:#define __INT64_FMTd__ "lld"
259 // ARM-BE:#define __INT64_FMTi__ "lli"
260 // ARM-BE:#define __INT64_MAX__ 9223372036854775807LL
261 // ARM-BE:#define __INT64_TYPE__ long long int
262 // ARM-BE:#define __INT8_C_SUFFIX__
263 // ARM-BE:#define __INT8_FMTd__ "hhd"
264 // ARM-BE:#define __INT8_FMTi__ "hhi"
265 // ARM-BE:#define __INT8_MAX__ 127
266 // ARM-BE:#define __INT8_TYPE__ signed char
267 // ARM-BE:#define __INTMAX_C_SUFFIX__ LL
268 // ARM-BE:#define __INTMAX_FMTd__ "lld"
269 // ARM-BE:#define __INTMAX_FMTi__ "lli"
270 // ARM-BE:#define __INTMAX_MAX__ 9223372036854775807LL
271 // ARM-BE:#define __INTMAX_TYPE__ long long int
272 // ARM-BE:#define __INTMAX_WIDTH__ 64
273 // ARM-BE:#define __INTPTR_FMTd__ "d"
274 // ARM-BE:#define __INTPTR_FMTi__ "i"
275 // ARM-BE:#define __INTPTR_MAX__ 2147483647
276 // ARM-BE:#define __INTPTR_TYPE__ int
277 // ARM-BE:#define __INTPTR_WIDTH__ 32
278 // ARM-BE:#define __INT_FAST16_FMTd__ "hd"
279 // ARM-BE:#define __INT_FAST16_FMTi__ "hi"
280 // ARM-BE:#define __INT_FAST16_MAX__ 32767
281 // ARM-BE:#define __INT_FAST16_TYPE__ short
282 // ARM-BE:#define __INT_FAST32_FMTd__ "d"
283 // ARM-BE:#define __INT_FAST32_FMTi__ "i"
284 // ARM-BE:#define __INT_FAST32_MAX__ 2147483647
285 // ARM-BE:#define __INT_FAST32_TYPE__ int
286 // ARM-BE:#define __INT_FAST64_FMTd__ "lld"
287 // ARM-BE:#define __INT_FAST64_FMTi__ "lli"
288 // ARM-BE:#define __INT_FAST64_MAX__ 9223372036854775807LL
289 // ARM-BE:#define __INT_FAST64_TYPE__ long long int
290 // ARM-BE:#define __INT_FAST8_FMTd__ "hhd"
291 // ARM-BE:#define __INT_FAST8_FMTi__ "hhi"
292 // ARM-BE:#define __INT_FAST8_MAX__ 127
293 // ARM-BE:#define __INT_FAST8_TYPE__ signed char
294 // ARM-BE:#define __INT_LEAST16_FMTd__ "hd"
295 // ARM-BE:#define __INT_LEAST16_FMTi__ "hi"
296 // ARM-BE:#define __INT_LEAST16_MAX__ 32767
297 // ARM-BE:#define __INT_LEAST16_TYPE__ short
298 // ARM-BE:#define __INT_LEAST32_FMTd__ "d"
299 // ARM-BE:#define __INT_LEAST32_FMTi__ "i"
300 // ARM-BE:#define __INT_LEAST32_MAX__ 2147483647
301 // ARM-BE:#define __INT_LEAST32_TYPE__ int
302 // ARM-BE:#define __INT_LEAST64_FMTd__ "lld"
303 // ARM-BE:#define __INT_LEAST64_FMTi__ "lli"
304 // ARM-BE:#define __INT_LEAST64_MAX__ 9223372036854775807LL
305 // ARM-BE:#define __INT_LEAST64_TYPE__ long long int
306 // ARM-BE:#define __INT_LEAST8_FMTd__ "hhd"
307 // ARM-BE:#define __INT_LEAST8_FMTi__ "hhi"
308 // ARM-BE:#define __INT_LEAST8_MAX__ 127
309 // ARM-BE:#define __INT_LEAST8_TYPE__ signed char
310 // ARM-BE:#define __INT_MAX__ 2147483647
311 // ARM-BE:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
312 // ARM-BE:#define __LDBL_DIG__ 15
313 // ARM-BE:#define __LDBL_EPSILON__ 2.2204460492503131e-16L
314 // ARM-BE:#define __LDBL_HAS_DENORM__ 1
315 // ARM-BE:#define __LDBL_HAS_INFINITY__ 1
316 // ARM-BE:#define __LDBL_HAS_QUIET_NAN__ 1
317 // ARM-BE:#define __LDBL_MANT_DIG__ 53
318 // ARM-BE:#define __LDBL_MAX_10_EXP__ 308
319 // ARM-BE:#define __LDBL_MAX_EXP__ 1024
320 // ARM-BE:#define __LDBL_MAX__ 1.7976931348623157e+308L
321 // ARM-BE:#define __LDBL_MIN_10_EXP__ (-307)
322 // ARM-BE:#define __LDBL_MIN_EXP__ (-1021)
323 // ARM-BE:#define __LDBL_MIN__ 2.2250738585072014e-308L
324 // ARM-BE:#define __LONG_LONG_MAX__ 9223372036854775807LL
325 // ARM-BE:#define __LONG_MAX__ 2147483647L
326 // ARM-BE-NOT:#define __LP64__
327 // ARM-BE:#define __POINTER_WIDTH__ 32
328 // ARM-BE:#define __PTRDIFF_TYPE__ int
329 // ARM-BE:#define __PTRDIFF_WIDTH__ 32
330 // ARM-BE:#define __REGISTER_PREFIX__
331 // ARM-BE:#define __SCHAR_MAX__ 127
332 // ARM-BE:#define __SHRT_MAX__ 32767
333 // ARM-BE:#define __SIG_ATOMIC_MAX__ 2147483647
334 // ARM-BE:#define __SIG_ATOMIC_WIDTH__ 32
335 // ARM-BE:#define __SIZEOF_DOUBLE__ 8
336 // ARM-BE:#define __SIZEOF_FLOAT__ 4
337 // ARM-BE:#define __SIZEOF_INT__ 4
338 // ARM-BE:#define __SIZEOF_LONG_DOUBLE__ 8
339 // ARM-BE:#define __SIZEOF_LONG_LONG__ 8
340 // ARM-BE:#define __SIZEOF_LONG__ 4
341 // ARM-BE:#define __SIZEOF_POINTER__ 4
342 // ARM-BE:#define __SIZEOF_PTRDIFF_T__ 4
343 // ARM-BE:#define __SIZEOF_SHORT__ 2
344 // ARM-BE:#define __SIZEOF_SIZE_T__ 4
345 // ARM-BE:#define __SIZEOF_WCHAR_T__ 4
346 // ARM-BE:#define __SIZEOF_WINT_T__ 4
347 // ARM-BE:#define __SIZE_MAX__ 4294967295U
348 // ARM-BE:#define __SIZE_TYPE__ unsigned int
349 // ARM-BE:#define __SIZE_WIDTH__ 32
350 // ARM-BE:#define __UINT16_C_SUFFIX__
351 // ARM-BE:#define __UINT16_MAX__ 65535
352 // ARM-BE:#define __UINT16_TYPE__ unsigned short
353 // ARM-BE:#define __UINT32_C_SUFFIX__ U
354 // ARM-BE:#define __UINT32_MAX__ 4294967295U
355 // ARM-BE:#define __UINT32_TYPE__ unsigned int
356 // ARM-BE:#define __UINT64_C_SUFFIX__ ULL
357 // ARM-BE:#define __UINT64_MAX__ 18446744073709551615ULL
358 // ARM-BE:#define __UINT64_TYPE__ long long unsigned int
359 // ARM-BE:#define __UINT8_C_SUFFIX__
360 // ARM-BE:#define __UINT8_MAX__ 255
361 // ARM-BE:#define __UINT8_TYPE__ unsigned char
362 // ARM-BE:#define __UINTMAX_C_SUFFIX__ ULL
363 // ARM-BE:#define __UINTMAX_MAX__ 18446744073709551615ULL
364 // ARM-BE:#define __UINTMAX_TYPE__ long long unsigned int
365 // ARM-BE:#define __UINTMAX_WIDTH__ 64
366 // ARM-BE:#define __UINTPTR_MAX__ 4294967295U
367 // ARM-BE:#define __UINTPTR_TYPE__ unsigned int
368 // ARM-BE:#define __UINTPTR_WIDTH__ 32
369 // ARM-BE:#define __UINT_FAST16_MAX__ 65535
370 // ARM-BE:#define __UINT_FAST16_TYPE__ unsigned short
371 // ARM-BE:#define __UINT_FAST32_MAX__ 4294967295U
372 // ARM-BE:#define __UINT_FAST32_TYPE__ unsigned int
373 // ARM-BE:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
374 // ARM-BE:#define __UINT_FAST64_TYPE__ long long unsigned int
375 // ARM-BE:#define __UINT_FAST8_MAX__ 255
376 // ARM-BE:#define __UINT_FAST8_TYPE__ unsigned char
377 // ARM-BE:#define __UINT_LEAST16_MAX__ 65535
378 // ARM-BE:#define __UINT_LEAST16_TYPE__ unsigned short
379 // ARM-BE:#define __UINT_LEAST32_MAX__ 4294967295U
380 // ARM-BE:#define __UINT_LEAST32_TYPE__ unsigned int
381 // ARM-BE:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
382 // ARM-BE:#define __UINT_LEAST64_TYPE__ long long unsigned int
383 // ARM-BE:#define __UINT_LEAST8_MAX__ 255
384 // ARM-BE:#define __UINT_LEAST8_TYPE__ unsigned char
385 // ARM-BE:#define __USER_LABEL_PREFIX__
386 // ARM-BE:#define __WCHAR_MAX__ 4294967295U
387 // ARM-BE:#define __WCHAR_TYPE__ unsigned int
388 // ARM-BE:#define __WCHAR_WIDTH__ 32
389 // ARM-BE:#define __WINT_TYPE__ int
390 // ARM-BE:#define __WINT_WIDTH__ 32
391 // ARM-BE:#define __arm 1
392 // ARM-BE:#define __arm__ 1
393 
394 // 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
395 //
396 // ARMEABISOFTFP-NOT:#define _LP64
397 // ARMEABISOFTFP:#define __APCS_32__ 1
398 // ARMEABISOFTFP-NOT:#define __ARMEB__ 1
399 // ARMEABISOFTFP:#define __ARMEL__ 1
400 // ARMEABISOFTFP:#define __ARM_ARCH 4
401 // ARMEABISOFTFP:#define __ARM_ARCH_4T__ 1
402 // ARMEABISOFTFP-NOT:#define __ARM_BIG_ENDIAN 1
403 // ARMEABISOFTFP:#define __ARM_EABI__ 1
404 // ARMEABISOFTFP:#define __ARM_PCS 1
405 // ARMEABISOFTFP-NOT:#define __ARM_PCS_VFP 1
406 // ARMEABISOFTFP:#define __BIGGEST_ALIGNMENT__ 8
407 // ARMEABISOFTFP:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
408 // ARMEABISOFTFP:#define __CHAR16_TYPE__ unsigned short
409 // ARMEABISOFTFP:#define __CHAR32_TYPE__ unsigned int
410 // ARMEABISOFTFP:#define __CHAR_BIT__ 8
411 // ARMEABISOFTFP:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
412 // ARMEABISOFTFP:#define __DBL_DIG__ 15
413 // ARMEABISOFTFP:#define __DBL_EPSILON__ 2.2204460492503131e-16
414 // ARMEABISOFTFP:#define __DBL_HAS_DENORM__ 1
415 // ARMEABISOFTFP:#define __DBL_HAS_INFINITY__ 1
416 // ARMEABISOFTFP:#define __DBL_HAS_QUIET_NAN__ 1
417 // ARMEABISOFTFP:#define __DBL_MANT_DIG__ 53
418 // ARMEABISOFTFP:#define __DBL_MAX_10_EXP__ 308
419 // ARMEABISOFTFP:#define __DBL_MAX_EXP__ 1024
420 // ARMEABISOFTFP:#define __DBL_MAX__ 1.7976931348623157e+308
421 // ARMEABISOFTFP:#define __DBL_MIN_10_EXP__ (-307)
422 // ARMEABISOFTFP:#define __DBL_MIN_EXP__ (-1021)
423 // ARMEABISOFTFP:#define __DBL_MIN__ 2.2250738585072014e-308
424 // ARMEABISOFTFP:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
425 // ARMEABISOFTFP:#define __FLT_DENORM_MIN__ 1.40129846e-45F
426 // ARMEABISOFTFP:#define __FLT_DIG__ 6
427 // ARMEABISOFTFP:#define __FLT_EPSILON__ 1.19209290e-7F
428 // ARMEABISOFTFP:#define __FLT_EVAL_METHOD__ 0
429 // ARMEABISOFTFP:#define __FLT_HAS_DENORM__ 1
430 // ARMEABISOFTFP:#define __FLT_HAS_INFINITY__ 1
431 // ARMEABISOFTFP:#define __FLT_HAS_QUIET_NAN__ 1
432 // ARMEABISOFTFP:#define __FLT_MANT_DIG__ 24
433 // ARMEABISOFTFP:#define __FLT_MAX_10_EXP__ 38
434 // ARMEABISOFTFP:#define __FLT_MAX_EXP__ 128
435 // ARMEABISOFTFP:#define __FLT_MAX__ 3.40282347e+38F
436 // ARMEABISOFTFP:#define __FLT_MIN_10_EXP__ (-37)
437 // ARMEABISOFTFP:#define __FLT_MIN_EXP__ (-125)
438 // ARMEABISOFTFP:#define __FLT_MIN__ 1.17549435e-38F
439 // ARMEABISOFTFP:#define __FLT_RADIX__ 2
440 // ARMEABISOFTFP:#define __INT16_C_SUFFIX__
441 // ARMEABISOFTFP:#define __INT16_FMTd__ "hd"
442 // ARMEABISOFTFP:#define __INT16_FMTi__ "hi"
443 // ARMEABISOFTFP:#define __INT16_MAX__ 32767
444 // ARMEABISOFTFP:#define __INT16_TYPE__ short
445 // ARMEABISOFTFP:#define __INT32_C_SUFFIX__
446 // ARMEABISOFTFP:#define __INT32_FMTd__ "d"
447 // ARMEABISOFTFP:#define __INT32_FMTi__ "i"
448 // ARMEABISOFTFP:#define __INT32_MAX__ 2147483647
449 // ARMEABISOFTFP:#define __INT32_TYPE__ int
450 // ARMEABISOFTFP:#define __INT64_C_SUFFIX__ LL
451 // ARMEABISOFTFP:#define __INT64_FMTd__ "lld"
452 // ARMEABISOFTFP:#define __INT64_FMTi__ "lli"
453 // ARMEABISOFTFP:#define __INT64_MAX__ 9223372036854775807LL
454 // ARMEABISOFTFP:#define __INT64_TYPE__ long long int
455 // ARMEABISOFTFP:#define __INT8_C_SUFFIX__
456 // ARMEABISOFTFP:#define __INT8_FMTd__ "hhd"
457 // ARMEABISOFTFP:#define __INT8_FMTi__ "hhi"
458 // ARMEABISOFTFP:#define __INT8_MAX__ 127
459 // ARMEABISOFTFP:#define __INT8_TYPE__ signed char
460 // ARMEABISOFTFP:#define __INTMAX_C_SUFFIX__ LL
461 // ARMEABISOFTFP:#define __INTMAX_FMTd__ "lld"
462 // ARMEABISOFTFP:#define __INTMAX_FMTi__ "lli"
463 // ARMEABISOFTFP:#define __INTMAX_MAX__ 9223372036854775807LL
464 // ARMEABISOFTFP:#define __INTMAX_TYPE__ long long int
465 // ARMEABISOFTFP:#define __INTMAX_WIDTH__ 64
466 // ARMEABISOFTFP:#define __INTPTR_FMTd__ "d"
467 // ARMEABISOFTFP:#define __INTPTR_FMTi__ "i"
468 // ARMEABISOFTFP:#define __INTPTR_MAX__ 2147483647
469 // ARMEABISOFTFP:#define __INTPTR_TYPE__ int
470 // ARMEABISOFTFP:#define __INTPTR_WIDTH__ 32
471 // ARMEABISOFTFP:#define __INT_FAST16_FMTd__ "hd"
472 // ARMEABISOFTFP:#define __INT_FAST16_FMTi__ "hi"
473 // ARMEABISOFTFP:#define __INT_FAST16_MAX__ 32767
474 // ARMEABISOFTFP:#define __INT_FAST16_TYPE__ short
475 // ARMEABISOFTFP:#define __INT_FAST32_FMTd__ "d"
476 // ARMEABISOFTFP:#define __INT_FAST32_FMTi__ "i"
477 // ARMEABISOFTFP:#define __INT_FAST32_MAX__ 2147483647
478 // ARMEABISOFTFP:#define __INT_FAST32_TYPE__ int
479 // ARMEABISOFTFP:#define __INT_FAST64_FMTd__ "lld"
480 // ARMEABISOFTFP:#define __INT_FAST64_FMTi__ "lli"
481 // ARMEABISOFTFP:#define __INT_FAST64_MAX__ 9223372036854775807LL
482 // ARMEABISOFTFP:#define __INT_FAST64_TYPE__ long long int
483 // ARMEABISOFTFP:#define __INT_FAST8_FMTd__ "hhd"
484 // ARMEABISOFTFP:#define __INT_FAST8_FMTi__ "hhi"
485 // ARMEABISOFTFP:#define __INT_FAST8_MAX__ 127
486 // ARMEABISOFTFP:#define __INT_FAST8_TYPE__ signed char
487 // ARMEABISOFTFP:#define __INT_LEAST16_FMTd__ "hd"
488 // ARMEABISOFTFP:#define __INT_LEAST16_FMTi__ "hi"
489 // ARMEABISOFTFP:#define __INT_LEAST16_MAX__ 32767
490 // ARMEABISOFTFP:#define __INT_LEAST16_TYPE__ short
491 // ARMEABISOFTFP:#define __INT_LEAST32_FMTd__ "d"
492 // ARMEABISOFTFP:#define __INT_LEAST32_FMTi__ "i"
493 // ARMEABISOFTFP:#define __INT_LEAST32_MAX__ 2147483647
494 // ARMEABISOFTFP:#define __INT_LEAST32_TYPE__ int
495 // ARMEABISOFTFP:#define __INT_LEAST64_FMTd__ "lld"
496 // ARMEABISOFTFP:#define __INT_LEAST64_FMTi__ "lli"
497 // ARMEABISOFTFP:#define __INT_LEAST64_MAX__ 9223372036854775807LL
498 // ARMEABISOFTFP:#define __INT_LEAST64_TYPE__ long long int
499 // ARMEABISOFTFP:#define __INT_LEAST8_FMTd__ "hhd"
500 // ARMEABISOFTFP:#define __INT_LEAST8_FMTi__ "hhi"
501 // ARMEABISOFTFP:#define __INT_LEAST8_MAX__ 127
502 // ARMEABISOFTFP:#define __INT_LEAST8_TYPE__ signed char
503 // ARMEABISOFTFP:#define __INT_MAX__ 2147483647
504 // ARMEABISOFTFP:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
505 // ARMEABISOFTFP:#define __LDBL_DIG__ 15
506 // ARMEABISOFTFP:#define __LDBL_EPSILON__ 2.2204460492503131e-16L
507 // ARMEABISOFTFP:#define __LDBL_HAS_DENORM__ 1
508 // ARMEABISOFTFP:#define __LDBL_HAS_INFINITY__ 1
509 // ARMEABISOFTFP:#define __LDBL_HAS_QUIET_NAN__ 1
510 // ARMEABISOFTFP:#define __LDBL_MANT_DIG__ 53
511 // ARMEABISOFTFP:#define __LDBL_MAX_10_EXP__ 308
512 // ARMEABISOFTFP:#define __LDBL_MAX_EXP__ 1024
513 // ARMEABISOFTFP:#define __LDBL_MAX__ 1.7976931348623157e+308L
514 // ARMEABISOFTFP:#define __LDBL_MIN_10_EXP__ (-307)
515 // ARMEABISOFTFP:#define __LDBL_MIN_EXP__ (-1021)
516 // ARMEABISOFTFP:#define __LDBL_MIN__ 2.2250738585072014e-308L
517 // ARMEABISOFTFP:#define __LITTLE_ENDIAN__ 1
518 // ARMEABISOFTFP:#define __LONG_LONG_MAX__ 9223372036854775807LL
519 // ARMEABISOFTFP:#define __LONG_MAX__ 2147483647L
520 // ARMEABISOFTFP-NOT:#define __LP64__
521 // ARMEABISOFTFP:#define __POINTER_WIDTH__ 32
522 // ARMEABISOFTFP:#define __PTRDIFF_TYPE__ int
523 // ARMEABISOFTFP:#define __PTRDIFF_WIDTH__ 32
524 // ARMEABISOFTFP:#define __REGISTER_PREFIX__
525 // ARMEABISOFTFP:#define __SCHAR_MAX__ 127
526 // ARMEABISOFTFP:#define __SHRT_MAX__ 32767
527 // ARMEABISOFTFP:#define __SIG_ATOMIC_MAX__ 2147483647
528 // ARMEABISOFTFP:#define __SIG_ATOMIC_WIDTH__ 32
529 // ARMEABISOFTFP:#define __SIZEOF_DOUBLE__ 8
530 // ARMEABISOFTFP:#define __SIZEOF_FLOAT__ 4
531 // ARMEABISOFTFP:#define __SIZEOF_INT__ 4
532 // ARMEABISOFTFP:#define __SIZEOF_LONG_DOUBLE__ 8
533 // ARMEABISOFTFP:#define __SIZEOF_LONG_LONG__ 8
534 // ARMEABISOFTFP:#define __SIZEOF_LONG__ 4
535 // ARMEABISOFTFP:#define __SIZEOF_POINTER__ 4
536 // ARMEABISOFTFP:#define __SIZEOF_PTRDIFF_T__ 4
537 // ARMEABISOFTFP:#define __SIZEOF_SHORT__ 2
538 // ARMEABISOFTFP:#define __SIZEOF_SIZE_T__ 4
539 // ARMEABISOFTFP:#define __SIZEOF_WCHAR_T__ 4
540 // ARMEABISOFTFP:#define __SIZEOF_WINT_T__ 4
541 // ARMEABISOFTFP:#define __SIZE_MAX__ 4294967295U
542 // ARMEABISOFTFP:#define __SIZE_TYPE__ unsigned int
543 // ARMEABISOFTFP:#define __SIZE_WIDTH__ 32
544 // ARMEABISOFTFP:#define __SOFTFP__ 1
545 // ARMEABISOFTFP:#define __UINT16_C_SUFFIX__
546 // ARMEABISOFTFP:#define __UINT16_MAX__ 65535
547 // ARMEABISOFTFP:#define __UINT16_TYPE__ unsigned short
548 // ARMEABISOFTFP:#define __UINT32_C_SUFFIX__ U
549 // ARMEABISOFTFP:#define __UINT32_MAX__ 4294967295U
550 // ARMEABISOFTFP:#define __UINT32_TYPE__ unsigned int
551 // ARMEABISOFTFP:#define __UINT64_C_SUFFIX__ ULL
552 // ARMEABISOFTFP:#define __UINT64_MAX__ 18446744073709551615ULL
553 // ARMEABISOFTFP:#define __UINT64_TYPE__ long long unsigned int
554 // ARMEABISOFTFP:#define __UINT8_C_SUFFIX__
555 // ARMEABISOFTFP:#define __UINT8_MAX__ 255
556 // ARMEABISOFTFP:#define __UINT8_TYPE__ unsigned char
557 // ARMEABISOFTFP:#define __UINTMAX_C_SUFFIX__ ULL
558 // ARMEABISOFTFP:#define __UINTMAX_MAX__ 18446744073709551615ULL
559 // ARMEABISOFTFP:#define __UINTMAX_TYPE__ long long unsigned int
560 // ARMEABISOFTFP:#define __UINTMAX_WIDTH__ 64
561 // ARMEABISOFTFP:#define __UINTPTR_MAX__ 4294967295U
562 // ARMEABISOFTFP:#define __UINTPTR_TYPE__ unsigned int
563 // ARMEABISOFTFP:#define __UINTPTR_WIDTH__ 32
564 // ARMEABISOFTFP:#define __UINT_FAST16_MAX__ 65535
565 // ARMEABISOFTFP:#define __UINT_FAST16_TYPE__ unsigned short
566 // ARMEABISOFTFP:#define __UINT_FAST32_MAX__ 4294967295U
567 // ARMEABISOFTFP:#define __UINT_FAST32_TYPE__ unsigned int
568 // ARMEABISOFTFP:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
569 // ARMEABISOFTFP:#define __UINT_FAST64_TYPE__ long long unsigned int
570 // ARMEABISOFTFP:#define __UINT_FAST8_MAX__ 255
571 // ARMEABISOFTFP:#define __UINT_FAST8_TYPE__ unsigned char
572 // ARMEABISOFTFP:#define __UINT_LEAST16_MAX__ 65535
573 // ARMEABISOFTFP:#define __UINT_LEAST16_TYPE__ unsigned short
574 // ARMEABISOFTFP:#define __UINT_LEAST32_MAX__ 4294967295U
575 // ARMEABISOFTFP:#define __UINT_LEAST32_TYPE__ unsigned int
576 // ARMEABISOFTFP:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
577 // ARMEABISOFTFP:#define __UINT_LEAST64_TYPE__ long long unsigned int
578 // ARMEABISOFTFP:#define __UINT_LEAST8_MAX__ 255
579 // ARMEABISOFTFP:#define __UINT_LEAST8_TYPE__ unsigned char
580 // ARMEABISOFTFP:#define __USER_LABEL_PREFIX__
581 // ARMEABISOFTFP:#define __WCHAR_MAX__ 4294967295U
582 // ARMEABISOFTFP:#define __WCHAR_TYPE__ unsigned int
583 // ARMEABISOFTFP:#define __WCHAR_WIDTH__ 32
584 // ARMEABISOFTFP:#define __WINT_TYPE__ unsigned int
585 // ARMEABISOFTFP:#define __WINT_WIDTH__ 32
586 // ARMEABISOFTFP:#define __arm 1
587 // ARMEABISOFTFP:#define __arm__ 1
588 
589 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=arm-none-linux-gnueabi < /dev/null | FileCheck -match-full-lines -check-prefix ARMEABIHARDFP %s
590 //
591 // ARMEABIHARDFP-NOT:#define _LP64
592 // ARMEABIHARDFP:#define __APCS_32__ 1
593 // ARMEABIHARDFP-NOT:#define __ARMEB__ 1
594 // ARMEABIHARDFP:#define __ARMEL__ 1
595 // ARMEABIHARDFP:#define __ARM_ARCH 4
596 // ARMEABIHARDFP:#define __ARM_ARCH_4T__ 1
597 // ARMEABIHARDFP-NOT:#define __ARM_BIG_ENDIAN 1
598 // ARMEABIHARDFP:#define __ARM_EABI__ 1
599 // ARMEABIHARDFP:#define __ARM_PCS 1
600 // ARMEABIHARDFP:#define __ARM_PCS_VFP 1
601 // ARMEABIHARDFP:#define __BIGGEST_ALIGNMENT__ 8
602 // ARMEABIHARDFP:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
603 // ARMEABIHARDFP:#define __CHAR16_TYPE__ unsigned short
604 // ARMEABIHARDFP:#define __CHAR32_TYPE__ unsigned int
605 // ARMEABIHARDFP:#define __CHAR_BIT__ 8
606 // ARMEABIHARDFP:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
607 // ARMEABIHARDFP:#define __DBL_DIG__ 15
608 // ARMEABIHARDFP:#define __DBL_EPSILON__ 2.2204460492503131e-16
609 // ARMEABIHARDFP:#define __DBL_HAS_DENORM__ 1
610 // ARMEABIHARDFP:#define __DBL_HAS_INFINITY__ 1
611 // ARMEABIHARDFP:#define __DBL_HAS_QUIET_NAN__ 1
612 // ARMEABIHARDFP:#define __DBL_MANT_DIG__ 53
613 // ARMEABIHARDFP:#define __DBL_MAX_10_EXP__ 308
614 // ARMEABIHARDFP:#define __DBL_MAX_EXP__ 1024
615 // ARMEABIHARDFP:#define __DBL_MAX__ 1.7976931348623157e+308
616 // ARMEABIHARDFP:#define __DBL_MIN_10_EXP__ (-307)
617 // ARMEABIHARDFP:#define __DBL_MIN_EXP__ (-1021)
618 // ARMEABIHARDFP:#define __DBL_MIN__ 2.2250738585072014e-308
619 // ARMEABIHARDFP:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
620 // ARMEABIHARDFP:#define __FLT_DENORM_MIN__ 1.40129846e-45F
621 // ARMEABIHARDFP:#define __FLT_DIG__ 6
622 // ARMEABIHARDFP:#define __FLT_EPSILON__ 1.19209290e-7F
623 // ARMEABIHARDFP:#define __FLT_EVAL_METHOD__ 0
624 // ARMEABIHARDFP:#define __FLT_HAS_DENORM__ 1
625 // ARMEABIHARDFP:#define __FLT_HAS_INFINITY__ 1
626 // ARMEABIHARDFP:#define __FLT_HAS_QUIET_NAN__ 1
627 // ARMEABIHARDFP:#define __FLT_MANT_DIG__ 24
628 // ARMEABIHARDFP:#define __FLT_MAX_10_EXP__ 38
629 // ARMEABIHARDFP:#define __FLT_MAX_EXP__ 128
630 // ARMEABIHARDFP:#define __FLT_MAX__ 3.40282347e+38F
631 // ARMEABIHARDFP:#define __FLT_MIN_10_EXP__ (-37)
632 // ARMEABIHARDFP:#define __FLT_MIN_EXP__ (-125)
633 // ARMEABIHARDFP:#define __FLT_MIN__ 1.17549435e-38F
634 // ARMEABIHARDFP:#define __FLT_RADIX__ 2
635 // ARMEABIHARDFP:#define __INT16_C_SUFFIX__
636 // ARMEABIHARDFP:#define __INT16_FMTd__ "hd"
637 // ARMEABIHARDFP:#define __INT16_FMTi__ "hi"
638 // ARMEABIHARDFP:#define __INT16_MAX__ 32767
639 // ARMEABIHARDFP:#define __INT16_TYPE__ short
640 // ARMEABIHARDFP:#define __INT32_C_SUFFIX__
641 // ARMEABIHARDFP:#define __INT32_FMTd__ "d"
642 // ARMEABIHARDFP:#define __INT32_FMTi__ "i"
643 // ARMEABIHARDFP:#define __INT32_MAX__ 2147483647
644 // ARMEABIHARDFP:#define __INT32_TYPE__ int
645 // ARMEABIHARDFP:#define __INT64_C_SUFFIX__ LL
646 // ARMEABIHARDFP:#define __INT64_FMTd__ "lld"
647 // ARMEABIHARDFP:#define __INT64_FMTi__ "lli"
648 // ARMEABIHARDFP:#define __INT64_MAX__ 9223372036854775807LL
649 // ARMEABIHARDFP:#define __INT64_TYPE__ long long int
650 // ARMEABIHARDFP:#define __INT8_C_SUFFIX__
651 // ARMEABIHARDFP:#define __INT8_FMTd__ "hhd"
652 // ARMEABIHARDFP:#define __INT8_FMTi__ "hhi"
653 // ARMEABIHARDFP:#define __INT8_MAX__ 127
654 // ARMEABIHARDFP:#define __INT8_TYPE__ signed char
655 // ARMEABIHARDFP:#define __INTMAX_C_SUFFIX__ LL
656 // ARMEABIHARDFP:#define __INTMAX_FMTd__ "lld"
657 // ARMEABIHARDFP:#define __INTMAX_FMTi__ "lli"
658 // ARMEABIHARDFP:#define __INTMAX_MAX__ 9223372036854775807LL
659 // ARMEABIHARDFP:#define __INTMAX_TYPE__ long long int
660 // ARMEABIHARDFP:#define __INTMAX_WIDTH__ 64
661 // ARMEABIHARDFP:#define __INTPTR_FMTd__ "d"
662 // ARMEABIHARDFP:#define __INTPTR_FMTi__ "i"
663 // ARMEABIHARDFP:#define __INTPTR_MAX__ 2147483647
664 // ARMEABIHARDFP:#define __INTPTR_TYPE__ int
665 // ARMEABIHARDFP:#define __INTPTR_WIDTH__ 32
666 // ARMEABIHARDFP:#define __INT_FAST16_FMTd__ "hd"
667 // ARMEABIHARDFP:#define __INT_FAST16_FMTi__ "hi"
668 // ARMEABIHARDFP:#define __INT_FAST16_MAX__ 32767
669 // ARMEABIHARDFP:#define __INT_FAST16_TYPE__ short
670 // ARMEABIHARDFP:#define __INT_FAST32_FMTd__ "d"
671 // ARMEABIHARDFP:#define __INT_FAST32_FMTi__ "i"
672 // ARMEABIHARDFP:#define __INT_FAST32_MAX__ 2147483647
673 // ARMEABIHARDFP:#define __INT_FAST32_TYPE__ int
674 // ARMEABIHARDFP:#define __INT_FAST64_FMTd__ "lld"
675 // ARMEABIHARDFP:#define __INT_FAST64_FMTi__ "lli"
676 // ARMEABIHARDFP:#define __INT_FAST64_MAX__ 9223372036854775807LL
677 // ARMEABIHARDFP:#define __INT_FAST64_TYPE__ long long int
678 // ARMEABIHARDFP:#define __INT_FAST8_FMTd__ "hhd"
679 // ARMEABIHARDFP:#define __INT_FAST8_FMTi__ "hhi"
680 // ARMEABIHARDFP:#define __INT_FAST8_MAX__ 127
681 // ARMEABIHARDFP:#define __INT_FAST8_TYPE__ signed char
682 // ARMEABIHARDFP:#define __INT_LEAST16_FMTd__ "hd"
683 // ARMEABIHARDFP:#define __INT_LEAST16_FMTi__ "hi"
684 // ARMEABIHARDFP:#define __INT_LEAST16_MAX__ 32767
685 // ARMEABIHARDFP:#define __INT_LEAST16_TYPE__ short
686 // ARMEABIHARDFP:#define __INT_LEAST32_FMTd__ "d"
687 // ARMEABIHARDFP:#define __INT_LEAST32_FMTi__ "i"
688 // ARMEABIHARDFP:#define __INT_LEAST32_MAX__ 2147483647
689 // ARMEABIHARDFP:#define __INT_LEAST32_TYPE__ int
690 // ARMEABIHARDFP:#define __INT_LEAST64_FMTd__ "lld"
691 // ARMEABIHARDFP:#define __INT_LEAST64_FMTi__ "lli"
692 // ARMEABIHARDFP:#define __INT_LEAST64_MAX__ 9223372036854775807LL
693 // ARMEABIHARDFP:#define __INT_LEAST64_TYPE__ long long int
694 // ARMEABIHARDFP:#define __INT_LEAST8_FMTd__ "hhd"
695 // ARMEABIHARDFP:#define __INT_LEAST8_FMTi__ "hhi"
696 // ARMEABIHARDFP:#define __INT_LEAST8_MAX__ 127
697 // ARMEABIHARDFP:#define __INT_LEAST8_TYPE__ signed char
698 // ARMEABIHARDFP:#define __INT_MAX__ 2147483647
699 // ARMEABIHARDFP:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
700 // ARMEABIHARDFP:#define __LDBL_DIG__ 15
701 // ARMEABIHARDFP:#define __LDBL_EPSILON__ 2.2204460492503131e-16L
702 // ARMEABIHARDFP:#define __LDBL_HAS_DENORM__ 1
703 // ARMEABIHARDFP:#define __LDBL_HAS_INFINITY__ 1
704 // ARMEABIHARDFP:#define __LDBL_HAS_QUIET_NAN__ 1
705 // ARMEABIHARDFP:#define __LDBL_MANT_DIG__ 53
706 // ARMEABIHARDFP:#define __LDBL_MAX_10_EXP__ 308
707 // ARMEABIHARDFP:#define __LDBL_MAX_EXP__ 1024
708 // ARMEABIHARDFP:#define __LDBL_MAX__ 1.7976931348623157e+308L
709 // ARMEABIHARDFP:#define __LDBL_MIN_10_EXP__ (-307)
710 // ARMEABIHARDFP:#define __LDBL_MIN_EXP__ (-1021)
711 // ARMEABIHARDFP:#define __LDBL_MIN__ 2.2250738585072014e-308L
712 // ARMEABIHARDFP:#define __LITTLE_ENDIAN__ 1
713 // ARMEABIHARDFP:#define __LONG_LONG_MAX__ 9223372036854775807LL
714 // ARMEABIHARDFP:#define __LONG_MAX__ 2147483647L
715 // ARMEABIHARDFP-NOT:#define __LP64__
716 // ARMEABIHARDFP:#define __POINTER_WIDTH__ 32
717 // ARMEABIHARDFP:#define __PTRDIFF_TYPE__ int
718 // ARMEABIHARDFP:#define __PTRDIFF_WIDTH__ 32
719 // ARMEABIHARDFP:#define __REGISTER_PREFIX__
720 // ARMEABIHARDFP:#define __SCHAR_MAX__ 127
721 // ARMEABIHARDFP:#define __SHRT_MAX__ 32767
722 // ARMEABIHARDFP:#define __SIG_ATOMIC_MAX__ 2147483647
723 // ARMEABIHARDFP:#define __SIG_ATOMIC_WIDTH__ 32
724 // ARMEABIHARDFP:#define __SIZEOF_DOUBLE__ 8
725 // ARMEABIHARDFP:#define __SIZEOF_FLOAT__ 4
726 // ARMEABIHARDFP:#define __SIZEOF_INT__ 4
727 // ARMEABIHARDFP:#define __SIZEOF_LONG_DOUBLE__ 8
728 // ARMEABIHARDFP:#define __SIZEOF_LONG_LONG__ 8
729 // ARMEABIHARDFP:#define __SIZEOF_LONG__ 4
730 // ARMEABIHARDFP:#define __SIZEOF_POINTER__ 4
731 // ARMEABIHARDFP:#define __SIZEOF_PTRDIFF_T__ 4
732 // ARMEABIHARDFP:#define __SIZEOF_SHORT__ 2
733 // ARMEABIHARDFP:#define __SIZEOF_SIZE_T__ 4
734 // ARMEABIHARDFP:#define __SIZEOF_WCHAR_T__ 4
735 // ARMEABIHARDFP:#define __SIZEOF_WINT_T__ 4
736 // ARMEABIHARDFP:#define __SIZE_MAX__ 4294967295U
737 // ARMEABIHARDFP:#define __SIZE_TYPE__ unsigned int
738 // ARMEABIHARDFP:#define __SIZE_WIDTH__ 32
739 // ARMEABIHARDFP-NOT:#define __SOFTFP__ 1
740 // ARMEABIHARDFP:#define __UINT16_C_SUFFIX__
741 // ARMEABIHARDFP:#define __UINT16_MAX__ 65535
742 // ARMEABIHARDFP:#define __UINT16_TYPE__ unsigned short
743 // ARMEABIHARDFP:#define __UINT32_C_SUFFIX__ U
744 // ARMEABIHARDFP:#define __UINT32_MAX__ 4294967295U
745 // ARMEABIHARDFP:#define __UINT32_TYPE__ unsigned int
746 // ARMEABIHARDFP:#define __UINT64_C_SUFFIX__ ULL
747 // ARMEABIHARDFP:#define __UINT64_MAX__ 18446744073709551615ULL
748 // ARMEABIHARDFP:#define __UINT64_TYPE__ long long unsigned int
749 // ARMEABIHARDFP:#define __UINT8_C_SUFFIX__
750 // ARMEABIHARDFP:#define __UINT8_MAX__ 255
751 // ARMEABIHARDFP:#define __UINT8_TYPE__ unsigned char
752 // ARMEABIHARDFP:#define __UINTMAX_C_SUFFIX__ ULL
753 // ARMEABIHARDFP:#define __UINTMAX_MAX__ 18446744073709551615ULL
754 // ARMEABIHARDFP:#define __UINTMAX_TYPE__ long long unsigned int
755 // ARMEABIHARDFP:#define __UINTMAX_WIDTH__ 64
756 // ARMEABIHARDFP:#define __UINTPTR_MAX__ 4294967295U
757 // ARMEABIHARDFP:#define __UINTPTR_TYPE__ unsigned int
758 // ARMEABIHARDFP:#define __UINTPTR_WIDTH__ 32
759 // ARMEABIHARDFP:#define __UINT_FAST16_MAX__ 65535
760 // ARMEABIHARDFP:#define __UINT_FAST16_TYPE__ unsigned short
761 // ARMEABIHARDFP:#define __UINT_FAST32_MAX__ 4294967295U
762 // ARMEABIHARDFP:#define __UINT_FAST32_TYPE__ unsigned int
763 // ARMEABIHARDFP:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
764 // ARMEABIHARDFP:#define __UINT_FAST64_TYPE__ long long unsigned int
765 // ARMEABIHARDFP:#define __UINT_FAST8_MAX__ 255
766 // ARMEABIHARDFP:#define __UINT_FAST8_TYPE__ unsigned char
767 // ARMEABIHARDFP:#define __UINT_LEAST16_MAX__ 65535
768 // ARMEABIHARDFP:#define __UINT_LEAST16_TYPE__ unsigned short
769 // ARMEABIHARDFP:#define __UINT_LEAST32_MAX__ 4294967295U
770 // ARMEABIHARDFP:#define __UINT_LEAST32_TYPE__ unsigned int
771 // ARMEABIHARDFP:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
772 // ARMEABIHARDFP:#define __UINT_LEAST64_TYPE__ long long unsigned int
773 // ARMEABIHARDFP:#define __UINT_LEAST8_MAX__ 255
774 // ARMEABIHARDFP:#define __UINT_LEAST8_TYPE__ unsigned char
775 // ARMEABIHARDFP:#define __USER_LABEL_PREFIX__
776 // ARMEABIHARDFP:#define __WCHAR_MAX__ 4294967295U
777 // ARMEABIHARDFP:#define __WCHAR_TYPE__ unsigned int
778 // ARMEABIHARDFP:#define __WCHAR_WIDTH__ 32
779 // ARMEABIHARDFP:#define __WINT_TYPE__ unsigned int
780 // ARMEABIHARDFP:#define __WINT_WIDTH__ 32
781 // ARMEABIHARDFP:#define __arm 1
782 // ARMEABIHARDFP:#define __arm__ 1
783 
784 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=armv6-unknown-cloudabi-eabihf < /dev/null | FileCheck -match-full-lines -check-prefix ARMV6-CLOUDABI %s
785 //
786 // ARMV6-CLOUDABI:#define __CloudABI__ 1
787 // ARMV6-CLOUDABI:#define __arm__ 1
788 
789 // RUN: %clang -E -dM -ffreestanding -target arm-netbsd-eabi %s -o - | FileCheck -match-full-lines -check-prefix ARM-NETBSD %s
790 
791 // ARM-NETBSD-NOT:#define _LP64
792 // ARM-NETBSD:#define __APCS_32__ 1
793 // ARM-NETBSD-NOT:#define __ARMEB__ 1
794 // ARM-NETBSD:#define __ARMEL__ 1
795 // ARM-NETBSD:#define __ARM_ARCH_5TE__ 1
796 // ARM-NETBSD:#define __ARM_DWARF_EH__ 1
797 // ARM-NETBSD:#define __ARM_EABI__ 1
798 // ARM-NETBSD-NOT:#define __ARM_BIG_ENDIAN 1
799 // ARM-NETBSD:#define __BIGGEST_ALIGNMENT__ 8
800 // ARM-NETBSD:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
801 // ARM-NETBSD:#define __CHAR16_TYPE__ unsigned short
802 // ARM-NETBSD:#define __CHAR32_TYPE__ unsigned int
803 // ARM-NETBSD:#define __CHAR_BIT__ 8
804 // ARM-NETBSD:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
805 // ARM-NETBSD:#define __DBL_DIG__ 15
806 // ARM-NETBSD:#define __DBL_EPSILON__ 2.2204460492503131e-16
807 // ARM-NETBSD:#define __DBL_HAS_DENORM__ 1
808 // ARM-NETBSD:#define __DBL_HAS_INFINITY__ 1
809 // ARM-NETBSD:#define __DBL_HAS_QUIET_NAN__ 1
810 // ARM-NETBSD:#define __DBL_MANT_DIG__ 53
811 // ARM-NETBSD:#define __DBL_MAX_10_EXP__ 308
812 // ARM-NETBSD:#define __DBL_MAX_EXP__ 1024
813 // ARM-NETBSD:#define __DBL_MAX__ 1.7976931348623157e+308
814 // ARM-NETBSD:#define __DBL_MIN_10_EXP__ (-307)
815 // ARM-NETBSD:#define __DBL_MIN_EXP__ (-1021)
816 // ARM-NETBSD:#define __DBL_MIN__ 2.2250738585072014e-308
817 // ARM-NETBSD:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
818 // ARM-NETBSD:#define __FLT_DENORM_MIN__ 1.40129846e-45F
819 // ARM-NETBSD:#define __FLT_DIG__ 6
820 // ARM-NETBSD:#define __FLT_EPSILON__ 1.19209290e-7F
821 // ARM-NETBSD:#define __FLT_EVAL_METHOD__ 0
822 // ARM-NETBSD:#define __FLT_HAS_DENORM__ 1
823 // ARM-NETBSD:#define __FLT_HAS_INFINITY__ 1
824 // ARM-NETBSD:#define __FLT_HAS_QUIET_NAN__ 1
825 // ARM-NETBSD:#define __FLT_MANT_DIG__ 24
826 // ARM-NETBSD:#define __FLT_MAX_10_EXP__ 38
827 // ARM-NETBSD:#define __FLT_MAX_EXP__ 128
828 // ARM-NETBSD:#define __FLT_MAX__ 3.40282347e+38F
829 // ARM-NETBSD:#define __FLT_MIN_10_EXP__ (-37)
830 // ARM-NETBSD:#define __FLT_MIN_EXP__ (-125)
831 // ARM-NETBSD:#define __FLT_MIN__ 1.17549435e-38F
832 // ARM-NETBSD:#define __FLT_RADIX__ 2
833 // ARM-NETBSD:#define __INT16_C_SUFFIX__
834 // ARM-NETBSD:#define __INT16_FMTd__ "hd"
835 // ARM-NETBSD:#define __INT16_FMTi__ "hi"
836 // ARM-NETBSD:#define __INT16_MAX__ 32767
837 // ARM-NETBSD:#define __INT16_TYPE__ short
838 // ARM-NETBSD:#define __INT32_C_SUFFIX__
839 // ARM-NETBSD:#define __INT32_FMTd__ "d"
840 // ARM-NETBSD:#define __INT32_FMTi__ "i"
841 // ARM-NETBSD:#define __INT32_MAX__ 2147483647
842 // ARM-NETBSD:#define __INT32_TYPE__ int
843 // ARM-NETBSD:#define __INT64_C_SUFFIX__ LL
844 // ARM-NETBSD:#define __INT64_FMTd__ "lld"
845 // ARM-NETBSD:#define __INT64_FMTi__ "lli"
846 // ARM-NETBSD:#define __INT64_MAX__ 9223372036854775807LL
847 // ARM-NETBSD:#define __INT64_TYPE__ long long int
848 // ARM-NETBSD:#define __INT8_C_SUFFIX__
849 // ARM-NETBSD:#define __INT8_FMTd__ "hhd"
850 // ARM-NETBSD:#define __INT8_FMTi__ "hhi"
851 // ARM-NETBSD:#define __INT8_MAX__ 127
852 // ARM-NETBSD:#define __INT8_TYPE__ signed char
853 // ARM-NETBSD:#define __INTMAX_C_SUFFIX__ LL
854 // ARM-NETBSD:#define __INTMAX_FMTd__ "lld"
855 // ARM-NETBSD:#define __INTMAX_FMTi__ "lli"
856 // ARM-NETBSD:#define __INTMAX_MAX__ 9223372036854775807LL
857 // ARM-NETBSD:#define __INTMAX_TYPE__ long long int
858 // ARM-NETBSD:#define __INTMAX_WIDTH__ 64
859 // ARM-NETBSD:#define __INTPTR_FMTd__ "ld"
860 // ARM-NETBSD:#define __INTPTR_FMTi__ "li"
861 // ARM-NETBSD:#define __INTPTR_MAX__ 2147483647L
862 // ARM-NETBSD:#define __INTPTR_TYPE__ long int
863 // ARM-NETBSD:#define __INTPTR_WIDTH__ 32
864 // ARM-NETBSD:#define __INT_FAST16_FMTd__ "hd"
865 // ARM-NETBSD:#define __INT_FAST16_FMTi__ "hi"
866 // ARM-NETBSD:#define __INT_FAST16_MAX__ 32767
867 // ARM-NETBSD:#define __INT_FAST16_TYPE__ short
868 // ARM-NETBSD:#define __INT_FAST32_FMTd__ "d"
869 // ARM-NETBSD:#define __INT_FAST32_FMTi__ "i"
870 // ARM-NETBSD:#define __INT_FAST32_MAX__ 2147483647
871 // ARM-NETBSD:#define __INT_FAST32_TYPE__ int
872 // ARM-NETBSD:#define __INT_FAST64_FMTd__ "lld"
873 // ARM-NETBSD:#define __INT_FAST64_FMTi__ "lli"
874 // ARM-NETBSD:#define __INT_FAST64_MAX__ 9223372036854775807LL
875 // ARM-NETBSD:#define __INT_FAST64_TYPE__ long long int
876 // ARM-NETBSD:#define __INT_FAST8_FMTd__ "hhd"
877 // ARM-NETBSD:#define __INT_FAST8_FMTi__ "hhi"
878 // ARM-NETBSD:#define __INT_FAST8_MAX__ 127
879 // ARM-NETBSD:#define __INT_FAST8_TYPE__ signed char
880 // ARM-NETBSD:#define __INT_LEAST16_FMTd__ "hd"
881 // ARM-NETBSD:#define __INT_LEAST16_FMTi__ "hi"
882 // ARM-NETBSD:#define __INT_LEAST16_MAX__ 32767
883 // ARM-NETBSD:#define __INT_LEAST16_TYPE__ short
884 // ARM-NETBSD:#define __INT_LEAST32_FMTd__ "d"
885 // ARM-NETBSD:#define __INT_LEAST32_FMTi__ "i"
886 // ARM-NETBSD:#define __INT_LEAST32_MAX__ 2147483647
887 // ARM-NETBSD:#define __INT_LEAST32_TYPE__ int
888 // ARM-NETBSD:#define __INT_LEAST64_FMTd__ "lld"
889 // ARM-NETBSD:#define __INT_LEAST64_FMTi__ "lli"
890 // ARM-NETBSD:#define __INT_LEAST64_MAX__ 9223372036854775807LL
891 // ARM-NETBSD:#define __INT_LEAST64_TYPE__ long long int
892 // ARM-NETBSD:#define __INT_LEAST8_FMTd__ "hhd"
893 // ARM-NETBSD:#define __INT_LEAST8_FMTi__ "hhi"
894 // ARM-NETBSD:#define __INT_LEAST8_MAX__ 127
895 // ARM-NETBSD:#define __INT_LEAST8_TYPE__ signed char
896 // ARM-NETBSD:#define __INT_MAX__ 2147483647
897 // ARM-NETBSD:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
898 // ARM-NETBSD:#define __LDBL_DIG__ 15
899 // ARM-NETBSD:#define __LDBL_EPSILON__ 2.2204460492503131e-16L
900 // ARM-NETBSD:#define __LDBL_HAS_DENORM__ 1
901 // ARM-NETBSD:#define __LDBL_HAS_INFINITY__ 1
902 // ARM-NETBSD:#define __LDBL_HAS_QUIET_NAN__ 1
903 // ARM-NETBSD:#define __LDBL_MANT_DIG__ 53
904 // ARM-NETBSD:#define __LDBL_MAX_10_EXP__ 308
905 // ARM-NETBSD:#define __LDBL_MAX_EXP__ 1024
906 // ARM-NETBSD:#define __LDBL_MAX__ 1.7976931348623157e+308L
907 // ARM-NETBSD:#define __LDBL_MIN_10_EXP__ (-307)
908 // ARM-NETBSD:#define __LDBL_MIN_EXP__ (-1021)
909 // ARM-NETBSD:#define __LDBL_MIN__ 2.2250738585072014e-308L
910 // ARM-NETBSD:#define __LITTLE_ENDIAN__ 1
911 // ARM-NETBSD:#define __LONG_LONG_MAX__ 9223372036854775807LL
912 // ARM-NETBSD:#define __LONG_MAX__ 2147483647L
913 // ARM-NETBSD-NOT:#define __LP64__
914 // ARM-NETBSD:#define __POINTER_WIDTH__ 32
915 // ARM-NETBSD:#define __PTRDIFF_TYPE__ long int
916 // ARM-NETBSD:#define __PTRDIFF_WIDTH__ 32
917 // ARM-NETBSD:#define __REGISTER_PREFIX__
918 // ARM-NETBSD:#define __SCHAR_MAX__ 127
919 // ARM-NETBSD:#define __SHRT_MAX__ 32767
920 // ARM-NETBSD:#define __SIG_ATOMIC_MAX__ 2147483647
921 // ARM-NETBSD:#define __SIG_ATOMIC_WIDTH__ 32
922 // ARM-NETBSD:#define __SIZEOF_DOUBLE__ 8
923 // ARM-NETBSD:#define __SIZEOF_FLOAT__ 4
924 // ARM-NETBSD:#define __SIZEOF_INT__ 4
925 // ARM-NETBSD:#define __SIZEOF_LONG_DOUBLE__ 8
926 // ARM-NETBSD:#define __SIZEOF_LONG_LONG__ 8
927 // ARM-NETBSD:#define __SIZEOF_LONG__ 4
928 // ARM-NETBSD:#define __SIZEOF_POINTER__ 4
929 // ARM-NETBSD:#define __SIZEOF_PTRDIFF_T__ 4
930 // ARM-NETBSD:#define __SIZEOF_SHORT__ 2
931 // ARM-NETBSD:#define __SIZEOF_SIZE_T__ 4
932 // ARM-NETBSD:#define __SIZEOF_WCHAR_T__ 4
933 // ARM-NETBSD:#define __SIZEOF_WINT_T__ 4
934 // ARM-NETBSD:#define __SIZE_MAX__ 4294967295UL
935 // ARM-NETBSD:#define __SIZE_TYPE__ long unsigned int
936 // ARM-NETBSD:#define __SIZE_WIDTH__ 32
937 // ARM-NETBSD:#define __SOFTFP__ 1
938 // ARM-NETBSD:#define __UINT16_C_SUFFIX__
939 // ARM-NETBSD:#define __UINT16_MAX__ 65535
940 // ARM-NETBSD:#define __UINT16_TYPE__ unsigned short
941 // ARM-NETBSD:#define __UINT32_C_SUFFIX__ U
942 // ARM-NETBSD:#define __UINT32_MAX__ 4294967295U
943 // ARM-NETBSD:#define __UINT32_TYPE__ unsigned int
944 // ARM-NETBSD:#define __UINT64_C_SUFFIX__ ULL
945 // ARM-NETBSD:#define __UINT64_MAX__ 18446744073709551615ULL
946 // ARM-NETBSD:#define __UINT64_TYPE__ long long unsigned int
947 // ARM-NETBSD:#define __UINT8_C_SUFFIX__
948 // ARM-NETBSD:#define __UINT8_MAX__ 255
949 // ARM-NETBSD:#define __UINT8_TYPE__ unsigned char
950 // ARM-NETBSD:#define __UINTMAX_C_SUFFIX__ ULL
951 // ARM-NETBSD:#define __UINTMAX_MAX__ 18446744073709551615ULL
952 // ARM-NETBSD:#define __UINTMAX_TYPE__ long long unsigned int
953 // ARM-NETBSD:#define __UINTMAX_WIDTH__ 64
954 // ARM-NETBSD:#define __UINTPTR_MAX__ 4294967295UL
955 // ARM-NETBSD:#define __UINTPTR_TYPE__ long unsigned int
956 // ARM-NETBSD:#define __UINTPTR_WIDTH__ 32
957 // ARM-NETBSD:#define __UINT_FAST16_MAX__ 65535
958 // ARM-NETBSD:#define __UINT_FAST16_TYPE__ unsigned short
959 // ARM-NETBSD:#define __UINT_FAST32_MAX__ 4294967295U
960 // ARM-NETBSD:#define __UINT_FAST32_TYPE__ unsigned int
961 // ARM-NETBSD:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
962 // ARM-NETBSD:#define __UINT_FAST64_TYPE__ long long unsigned int
963 // ARM-NETBSD:#define __UINT_FAST8_MAX__ 255
964 // ARM-NETBSD:#define __UINT_FAST8_TYPE__ unsigned char
965 // ARM-NETBSD:#define __UINT_LEAST16_MAX__ 65535
966 // ARM-NETBSD:#define __UINT_LEAST16_TYPE__ unsigned short
967 // ARM-NETBSD:#define __UINT_LEAST32_MAX__ 4294967295U
968 // ARM-NETBSD:#define __UINT_LEAST32_TYPE__ unsigned int
969 // ARM-NETBSD:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
970 // ARM-NETBSD:#define __UINT_LEAST64_TYPE__ long long unsigned int
971 // ARM-NETBSD:#define __UINT_LEAST8_MAX__ 255
972 // ARM-NETBSD:#define __UINT_LEAST8_TYPE__ unsigned char
973 // ARM-NETBSD:#define __USER_LABEL_PREFIX__
974 // ARM-NETBSD:#define __WCHAR_MAX__ 2147483647
975 // ARM-NETBSD:#define __WCHAR_TYPE__ int
976 // ARM-NETBSD:#define __WCHAR_WIDTH__ 32
977 // ARM-NETBSD:#define __WINT_TYPE__ int
978 // ARM-NETBSD:#define __WINT_WIDTH__ 32
979 // ARM-NETBSD:#define __arm 1
980 // ARM-NETBSD:#define __arm__ 1
981 
982 // RUN: %clang -E -dM -ffreestanding -target arm-netbsd-eabihf %s -o - | FileCheck -match-full-lines -check-prefix ARMHF-NETBSD %s
983 // ARMHF-NETBSD:#define __SIZE_WIDTH__ 32
984 // ARMHF-NETBSD-NOT:#define __SOFTFP__ 1
985 // ARMHF-NETBSD:#define __UINT16_C_SUFFIX__
986 
987 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=arm-none-eabi < /dev/null | FileCheck -match-full-lines -check-prefix ARM-NONE-EABI %s
988 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=arm-none-eabihf < /dev/null | FileCheck -match-full-lines -check-prefix ARM-NONE-EABI %s
989 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=aarch64-none-eabi < /dev/null | FileCheck -match-full-lines -check-prefix ARM-NONE-EABI %s
990 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=aarch64-none-eabihf < /dev/null | FileCheck -match-full-lines -check-prefix ARM-NONE-EABI %s
991 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=aarch64-none-elf < /dev/null | FileCheck -match-full-lines -check-prefix ARM-NONE-EABI %s
992 // ARM-NONE-EABI: #define __ELF__ 1
993 
994 // No MachO targets use the full EABI, even if AAPCS is used.
995 // 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
996 // 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
997 // 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
998 // 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
999 // 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
1000 // ARM-MACHO-NO-EABI-NOT: #define __ARM_EABI__ 1
1001 
1002 // Check that -mhwdiv works properly for targets which don't have the hwdiv feature enabled by default.
1003 
1004 // RUN: %clang -target arm -mhwdiv=arm -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=ARMHWDIV-ARM %s
1005 // ARMHWDIV-ARM:#define __ARM_ARCH_EXT_IDIV__ 1
1006 
1007 // RUN: %clang -target arm -mthumb -mhwdiv=thumb -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=THUMBHWDIV-THUMB %s
1008 // THUMBHWDIV-THUMB:#define __ARM_ARCH_EXT_IDIV__ 1
1009 
1010 // RUN: %clang -target arm -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=ARM-FALSE %s
1011 // ARM-FALSE-NOT:#define __ARM_ARCH_EXT_IDIV__
1012 
1013 // RUN: %clang -target arm -mthumb -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=THUMB-FALSE %s
1014 // THUMB-FALSE-NOT:#define __ARM_ARCH_EXT_IDIV__
1015 
1016 // RUN: %clang -target arm -mhwdiv=thumb -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=THUMBHWDIV-ARM-FALSE %s
1017 // THUMBHWDIV-ARM-FALSE-NOT:#define __ARM_ARCH_EXT_IDIV__
1018 
1019 // RUN: %clang -target arm -mthumb -mhwdiv=arm -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=ARMHWDIV-THUMB-FALSE %s
1020 // ARMHWDIV-THUMB-FALSE-NOT:#define __ARM_ARCH_EXT_IDIV__
1021 
1022 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=armv8-none-none < /dev/null | FileCheck -match-full-lines -check-prefix ARMv8 %s
1023 // ARMv8: #define __THUMB_INTERWORK__ 1
1024 // ARMv8-NOT: #define __thumb2__
1025 
1026 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=armebv8-none-none < /dev/null | FileCheck -match-full-lines -check-prefix ARMebv8 %s
1027 // ARMebv8: #define __THUMB_INTERWORK__ 1
1028 // ARMebv8-NOT: #define __thumb2__
1029 
1030 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=thumbv8 < /dev/null | FileCheck -match-full-lines -check-prefix Thumbv8 %s
1031 // Thumbv8: #define __THUMB_INTERWORK__ 1
1032 // Thumbv8: #define __thumb2__ 1
1033 
1034 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=thumbebv8 < /dev/null | FileCheck -match-full-lines -check-prefix Thumbebv8 %s
1035 // Thumbebv8: #define __THUMB_INTERWORK__ 1
1036 // Thumbebv8: #define __thumb2__ 1
1037 
1038 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=thumbv5 < /dev/null | FileCheck -match-full-lines -check-prefix Thumbv5 %s
1039 // Thumbv5: #define __THUMB_INTERWORK__ 1
1040 // Thumbv5-NOT: #define __thumb2__ 1
1041 
1042 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=thumbv6t2 < /dev/null | FileCheck -match-full-lines -check-prefix Thumbv6t2 %s
1043 // Thumbv6t2: #define __THUMB_INTERWORK__ 1
1044 // Thumbv6t2: #define __thumb2__ 1
1045 
1046 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=thumbv7 < /dev/null | FileCheck -match-full-lines -check-prefix Thumbv7 %s
1047 // Thumbv7: #define __THUMB_INTERWORK__ 1
1048 // Thumbv7: #define __thumb2__ 1
1049 
1050 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=thumbebv7 < /dev/null | FileCheck -match-full-lines -check-prefix Thumbebv7 %s
1051 // Thumbebv7: #define __THUMB_INTERWORK__ 1
1052 // Thumbebv7: #define __thumb2__ 1
1053 
1054 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=thumbv7-pc-windows-gnu -fdwarf-exceptions %s -o - | FileCheck -match-full-lines -check-prefix THUMB-MINGW %s
1055 
1056 // THUMB-MINGW:#define __ARM_DWARF_EH__ 1
1057 
1058