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