1 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=thumbv7-windows-msvc < /dev/null | FileCheck -match-full-lines -check-prefix ARM-MSVC %s
3 // ARM-MSVC: #define _M_ARM_NT 1
4 // ARM-MSVC: #define _WIN32 1
5 // ARM-MSVC-NOT:#define __ARM_DWARF_EH__ 1
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
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_HAS_DENORM__ 1
39 // ARM:#define __FLT_HAS_INFINITY__ 1
40 // ARM:#define __FLT_HAS_QUIET_NAN__ 1
41 // ARM:#define __FLT_MANT_DIG__ 24
42 // ARM:#define __FLT_MAX_10_EXP__ 38
43 // ARM:#define __FLT_MAX_EXP__ 128
44 // ARM:#define __FLT_MAX__ 3.40282347e+38F
45 // ARM:#define __FLT_MIN_10_EXP__ (-37)
46 // ARM:#define __FLT_MIN_EXP__ (-125)
47 // ARM:#define __FLT_MIN__ 1.17549435e-38F
48 // ARM:#define __FLT_RADIX__ 2
49 // ARM:#define __INT16_C_SUFFIX__
50 // ARM:#define __INT16_FMTd__ "hd"
51 // ARM:#define __INT16_FMTi__ "hi"
52 // ARM:#define __INT16_MAX__ 32767
53 // ARM:#define __INT16_TYPE__ short
54 // ARM:#define __INT32_C_SUFFIX__
55 // ARM:#define __INT32_FMTd__ "d"
56 // ARM:#define __INT32_FMTi__ "i"
57 // ARM:#define __INT32_MAX__ 2147483647
58 // ARM:#define __INT32_TYPE__ int
59 // ARM:#define __INT64_C_SUFFIX__ LL
60 // ARM:#define __INT64_FMTd__ "lld"
61 // ARM:#define __INT64_FMTi__ "lli"
62 // ARM:#define __INT64_MAX__ 9223372036854775807LL
63 // ARM:#define __INT64_TYPE__ long long int
64 // ARM:#define __INT8_C_SUFFIX__
65 // ARM:#define __INT8_FMTd__ "hhd"
66 // ARM:#define __INT8_FMTi__ "hhi"
67 // ARM:#define __INT8_MAX__ 127
68 // ARM:#define __INT8_TYPE__ signed char
69 // ARM:#define __INTMAX_C_SUFFIX__ LL
70 // ARM:#define __INTMAX_FMTd__ "lld"
71 // ARM:#define __INTMAX_FMTi__ "lli"
72 // ARM:#define __INTMAX_MAX__ 9223372036854775807LL
73 // ARM:#define __INTMAX_TYPE__ long long int
74 // ARM:#define __INTMAX_WIDTH__ 64
75 // ARM:#define __INTPTR_FMTd__ "d"
76 // ARM:#define __INTPTR_FMTi__ "i"
77 // ARM:#define __INTPTR_MAX__ 2147483647
78 // ARM:#define __INTPTR_TYPE__ int
79 // ARM:#define __INTPTR_WIDTH__ 32
80 // ARM:#define __INT_FAST16_FMTd__ "hd"
81 // ARM:#define __INT_FAST16_FMTi__ "hi"
82 // ARM:#define __INT_FAST16_MAX__ 32767
83 // ARM:#define __INT_FAST16_TYPE__ short
84 // ARM:#define __INT_FAST32_FMTd__ "d"
85 // ARM:#define __INT_FAST32_FMTi__ "i"
86 // ARM:#define __INT_FAST32_MAX__ 2147483647
87 // ARM:#define __INT_FAST32_TYPE__ int
88 // ARM:#define __INT_FAST64_FMTd__ "lld"
89 // ARM:#define __INT_FAST64_FMTi__ "lli"
90 // ARM:#define __INT_FAST64_MAX__ 9223372036854775807LL
91 // ARM:#define __INT_FAST64_TYPE__ long long int
92 // ARM:#define __INT_FAST8_FMTd__ "hhd"
93 // ARM:#define __INT_FAST8_FMTi__ "hhi"
94 // ARM:#define __INT_FAST8_MAX__ 127
95 // ARM:#define __INT_FAST8_TYPE__ signed char
96 // ARM:#define __INT_LEAST16_FMTd__ "hd"
97 // ARM:#define __INT_LEAST16_FMTi__ "hi"
98 // ARM:#define __INT_LEAST16_MAX__ 32767
99 // ARM:#define __INT_LEAST16_TYPE__ short
100 // ARM:#define __INT_LEAST32_FMTd__ "d"
101 // ARM:#define __INT_LEAST32_FMTi__ "i"
102 // ARM:#define __INT_LEAST32_MAX__ 2147483647
103 // ARM:#define __INT_LEAST32_TYPE__ int
104 // ARM:#define __INT_LEAST64_FMTd__ "lld"
105 // ARM:#define __INT_LEAST64_FMTi__ "lli"
106 // ARM:#define __INT_LEAST64_MAX__ 9223372036854775807LL
107 // ARM:#define __INT_LEAST64_TYPE__ long long int
108 // ARM:#define __INT_LEAST8_FMTd__ "hhd"
109 // ARM:#define __INT_LEAST8_FMTi__ "hhi"
110 // ARM:#define __INT_LEAST8_MAX__ 127
111 // ARM:#define __INT_LEAST8_TYPE__ signed char
112 // ARM:#define __INT_MAX__ 2147483647
113 // ARM:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
114 // ARM:#define __LDBL_DIG__ 15
115 // ARM:#define __LDBL_EPSILON__ 2.2204460492503131e-16L
116 // ARM:#define __LDBL_HAS_DENORM__ 1
117 // ARM:#define __LDBL_HAS_INFINITY__ 1
118 // ARM:#define __LDBL_HAS_QUIET_NAN__ 1
119 // ARM:#define __LDBL_MANT_DIG__ 53
120 // ARM:#define __LDBL_MAX_10_EXP__ 308
121 // ARM:#define __LDBL_MAX_EXP__ 1024
122 // ARM:#define __LDBL_MAX__ 1.7976931348623157e+308L
123 // ARM:#define __LDBL_MIN_10_EXP__ (-307)
124 // ARM:#define __LDBL_MIN_EXP__ (-1021)
125 // ARM:#define __LDBL_MIN__ 2.2250738585072014e-308L
126 // ARM:#define __LITTLE_ENDIAN__ 1
127 // ARM:#define __LONG_LONG_MAX__ 9223372036854775807LL
128 // ARM:#define __LONG_MAX__ 2147483647L
129 // ARM-NOT:#define __LP64__
130 // ARM:#define __POINTER_WIDTH__ 32
131 // ARM:#define __PTRDIFF_TYPE__ int
132 // ARM:#define __PTRDIFF_WIDTH__ 32
133 // ARM:#define __REGISTER_PREFIX__
134 // ARM:#define __SCHAR_MAX__ 127
135 // ARM:#define __SHRT_MAX__ 32767
136 // ARM:#define __SIG_ATOMIC_MAX__ 2147483647
137 // ARM:#define __SIG_ATOMIC_WIDTH__ 32
138 // ARM:#define __SIZEOF_DOUBLE__ 8
139 // ARM:#define __SIZEOF_FLOAT__ 4
140 // ARM:#define __SIZEOF_INT__ 4
141 // ARM:#define __SIZEOF_LONG_DOUBLE__ 8
142 // ARM:#define __SIZEOF_LONG_LONG__ 8
143 // ARM:#define __SIZEOF_LONG__ 4
144 // ARM:#define __SIZEOF_POINTER__ 4
145 // ARM:#define __SIZEOF_PTRDIFF_T__ 4
146 // ARM:#define __SIZEOF_SHORT__ 2
147 // ARM:#define __SIZEOF_SIZE_T__ 4
148 // ARM:#define __SIZEOF_WCHAR_T__ 4
149 // ARM:#define __SIZEOF_WINT_T__ 4
150 // ARM:#define __SIZE_MAX__ 4294967295U
151 // ARM:#define __SIZE_TYPE__ unsigned int
152 // ARM:#define __SIZE_WIDTH__ 32
153 // ARM-CXX:#define __STDCPP_DEFAULT_NEW_ALIGNMENT__ 8U
154 // ARM:#define __UINT16_C_SUFFIX__
155 // ARM:#define __UINT16_MAX__ 65535
156 // ARM:#define __UINT16_TYPE__ unsigned short
157 // ARM:#define __UINT32_C_SUFFIX__ U
158 // ARM:#define __UINT32_MAX__ 4294967295U
159 // ARM:#define __UINT32_TYPE__ unsigned int
160 // ARM:#define __UINT64_C_SUFFIX__ ULL
161 // ARM:#define __UINT64_MAX__ 18446744073709551615ULL
162 // ARM:#define __UINT64_TYPE__ long long unsigned int
163 // ARM:#define __UINT8_C_SUFFIX__
164 // ARM:#define __UINT8_MAX__ 255
165 // ARM:#define __UINT8_TYPE__ unsigned char
166 // ARM:#define __UINTMAX_C_SUFFIX__ ULL
167 // ARM:#define __UINTMAX_MAX__ 18446744073709551615ULL
168 // ARM:#define __UINTMAX_TYPE__ long long unsigned int
169 // ARM:#define __UINTMAX_WIDTH__ 64
170 // ARM:#define __UINTPTR_MAX__ 4294967295U
171 // ARM:#define __UINTPTR_TYPE__ unsigned int
172 // ARM:#define __UINTPTR_WIDTH__ 32
173 // ARM:#define __UINT_FAST16_MAX__ 65535
174 // ARM:#define __UINT_FAST16_TYPE__ unsigned short
175 // ARM:#define __UINT_FAST32_MAX__ 4294967295U
176 // ARM:#define __UINT_FAST32_TYPE__ unsigned int
177 // ARM:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
178 // ARM:#define __UINT_FAST64_TYPE__ long long unsigned int
179 // ARM:#define __UINT_FAST8_MAX__ 255
180 // ARM:#define __UINT_FAST8_TYPE__ unsigned char
181 // ARM:#define __UINT_LEAST16_MAX__ 65535
182 // ARM:#define __UINT_LEAST16_TYPE__ unsigned short
183 // ARM:#define __UINT_LEAST32_MAX__ 4294967295U
184 // ARM:#define __UINT_LEAST32_TYPE__ unsigned int
185 // ARM:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
186 // ARM:#define __UINT_LEAST64_TYPE__ long long unsigned int
187 // ARM:#define __UINT_LEAST8_MAX__ 255
188 // ARM:#define __UINT_LEAST8_TYPE__ unsigned char
189 // ARM:#define __USER_LABEL_PREFIX__
190 // ARM:#define __WCHAR_MAX__ 4294967295U
191 // ARM:#define __WCHAR_TYPE__ unsigned int
192 // ARM:#define __WCHAR_WIDTH__ 32
193 // ARM:#define __WINT_TYPE__ int
194 // ARM:#define __WINT_WIDTH__ 32
195 // ARM:#define __arm 1
196 // ARM:#define __arm__ 1
198 // RUN: %clang_cc1 -E -dM -triple=armv7-apple-ios7.0 -x c++ < /dev/null | FileCheck -match-full-lines -check-prefix ARM-DARWIN-CXX %s
199 // ARM-DARWIN-CXX: #define __STDCPP_DEFAULT_NEW_ALIGNMENT__ 16UL
201 // RUN: %clang_cc1 -E -dM -triple=arm-unknown-openbsd -x c++ < /dev/null | FileCheck -match-full-lines -check-prefix ARM-OPENBSD-CXX %s
202 // ARM-OPENBSD-CXX: #define __STDCPP_DEFAULT_NEW_ALIGNMENT__ 16UL
204 // 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
205 // ARM-APCS-GNU: #define __INTPTR_TYPE__ int
206 // ARM-APCS-GNU: #define __PTRDIFF_TYPE__ int
207 // ARM-APCS-GNU: #define __SIZE_TYPE__ unsigned int
209 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=armeb-none-none < /dev/null | FileCheck -match-full-lines -check-prefix ARM-BE %s
211 // ARM-BE-NOT:#define _LP64
212 // ARM-BE:#define __APCS_32__ 1
213 // ARM-BE:#define __ARMEB__ 1
214 // ARM-BE-NOT:#define __ARMEL__ 1
215 // ARM-BE:#define __ARM_ARCH_4T__ 1
216 // ARM-BE:#define __ARM_BIG_ENDIAN 1
217 // ARM-BE:#define __BIGGEST_ALIGNMENT__ 8
218 // ARM-BE:#define __BIG_ENDIAN__ 1
219 // ARM-BE:#define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__
220 // ARM-BE:#define __CHAR16_TYPE__ unsigned short
221 // ARM-BE:#define __CHAR32_TYPE__ unsigned int
222 // ARM-BE:#define __CHAR_BIT__ 8
223 // ARM-BE:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
224 // ARM-BE:#define __DBL_DIG__ 15
225 // ARM-BE:#define __DBL_EPSILON__ 2.2204460492503131e-16
226 // ARM-BE:#define __DBL_HAS_DENORM__ 1
227 // ARM-BE:#define __DBL_HAS_INFINITY__ 1
228 // ARM-BE:#define __DBL_HAS_QUIET_NAN__ 1
229 // ARM-BE:#define __DBL_MANT_DIG__ 53
230 // ARM-BE:#define __DBL_MAX_10_EXP__ 308
231 // ARM-BE:#define __DBL_MAX_EXP__ 1024
232 // ARM-BE:#define __DBL_MAX__ 1.7976931348623157e+308
233 // ARM-BE:#define __DBL_MIN_10_EXP__ (-307)
234 // ARM-BE:#define __DBL_MIN_EXP__ (-1021)
235 // ARM-BE:#define __DBL_MIN__ 2.2250738585072014e-308
236 // ARM-BE:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
237 // ARM-BE:#define __FLT_DENORM_MIN__ 1.40129846e-45F
238 // ARM-BE:#define __FLT_DIG__ 6
239 // ARM-BE:#define __FLT_EPSILON__ 1.19209290e-7F
240 // ARM-BE:#define __FLT_HAS_DENORM__ 1
241 // ARM-BE:#define __FLT_HAS_INFINITY__ 1
242 // ARM-BE:#define __FLT_HAS_QUIET_NAN__ 1
243 // ARM-BE:#define __FLT_MANT_DIG__ 24
244 // ARM-BE:#define __FLT_MAX_10_EXP__ 38
245 // ARM-BE:#define __FLT_MAX_EXP__ 128
246 // ARM-BE:#define __FLT_MAX__ 3.40282347e+38F
247 // ARM-BE:#define __FLT_MIN_10_EXP__ (-37)
248 // ARM-BE:#define __FLT_MIN_EXP__ (-125)
249 // ARM-BE:#define __FLT_MIN__ 1.17549435e-38F
250 // ARM-BE:#define __FLT_RADIX__ 2
251 // ARM-BE:#define __INT16_C_SUFFIX__
252 // ARM-BE:#define __INT16_FMTd__ "hd"
253 // ARM-BE:#define __INT16_FMTi__ "hi"
254 // ARM-BE:#define __INT16_MAX__ 32767
255 // ARM-BE:#define __INT16_TYPE__ short
256 // ARM-BE:#define __INT32_C_SUFFIX__
257 // ARM-BE:#define __INT32_FMTd__ "d"
258 // ARM-BE:#define __INT32_FMTi__ "i"
259 // ARM-BE:#define __INT32_MAX__ 2147483647
260 // ARM-BE:#define __INT32_TYPE__ int
261 // ARM-BE:#define __INT64_C_SUFFIX__ LL
262 // ARM-BE:#define __INT64_FMTd__ "lld"
263 // ARM-BE:#define __INT64_FMTi__ "lli"
264 // ARM-BE:#define __INT64_MAX__ 9223372036854775807LL
265 // ARM-BE:#define __INT64_TYPE__ long long int
266 // ARM-BE:#define __INT8_C_SUFFIX__
267 // ARM-BE:#define __INT8_FMTd__ "hhd"
268 // ARM-BE:#define __INT8_FMTi__ "hhi"
269 // ARM-BE:#define __INT8_MAX__ 127
270 // ARM-BE:#define __INT8_TYPE__ signed char
271 // ARM-BE:#define __INTMAX_C_SUFFIX__ LL
272 // ARM-BE:#define __INTMAX_FMTd__ "lld"
273 // ARM-BE:#define __INTMAX_FMTi__ "lli"
274 // ARM-BE:#define __INTMAX_MAX__ 9223372036854775807LL
275 // ARM-BE:#define __INTMAX_TYPE__ long long int
276 // ARM-BE:#define __INTMAX_WIDTH__ 64
277 // ARM-BE:#define __INTPTR_FMTd__ "d"
278 // ARM-BE:#define __INTPTR_FMTi__ "i"
279 // ARM-BE:#define __INTPTR_MAX__ 2147483647
280 // ARM-BE:#define __INTPTR_TYPE__ int
281 // ARM-BE:#define __INTPTR_WIDTH__ 32
282 // ARM-BE:#define __INT_FAST16_FMTd__ "hd"
283 // ARM-BE:#define __INT_FAST16_FMTi__ "hi"
284 // ARM-BE:#define __INT_FAST16_MAX__ 32767
285 // ARM-BE:#define __INT_FAST16_TYPE__ short
286 // ARM-BE:#define __INT_FAST32_FMTd__ "d"
287 // ARM-BE:#define __INT_FAST32_FMTi__ "i"
288 // ARM-BE:#define __INT_FAST32_MAX__ 2147483647
289 // ARM-BE:#define __INT_FAST32_TYPE__ int
290 // ARM-BE:#define __INT_FAST64_FMTd__ "lld"
291 // ARM-BE:#define __INT_FAST64_FMTi__ "lli"
292 // ARM-BE:#define __INT_FAST64_MAX__ 9223372036854775807LL
293 // ARM-BE:#define __INT_FAST64_TYPE__ long long int
294 // ARM-BE:#define __INT_FAST8_FMTd__ "hhd"
295 // ARM-BE:#define __INT_FAST8_FMTi__ "hhi"
296 // ARM-BE:#define __INT_FAST8_MAX__ 127
297 // ARM-BE:#define __INT_FAST8_TYPE__ signed char
298 // ARM-BE:#define __INT_LEAST16_FMTd__ "hd"
299 // ARM-BE:#define __INT_LEAST16_FMTi__ "hi"
300 // ARM-BE:#define __INT_LEAST16_MAX__ 32767
301 // ARM-BE:#define __INT_LEAST16_TYPE__ short
302 // ARM-BE:#define __INT_LEAST32_FMTd__ "d"
303 // ARM-BE:#define __INT_LEAST32_FMTi__ "i"
304 // ARM-BE:#define __INT_LEAST32_MAX__ 2147483647
305 // ARM-BE:#define __INT_LEAST32_TYPE__ int
306 // ARM-BE:#define __INT_LEAST64_FMTd__ "lld"
307 // ARM-BE:#define __INT_LEAST64_FMTi__ "lli"
308 // ARM-BE:#define __INT_LEAST64_MAX__ 9223372036854775807LL
309 // ARM-BE:#define __INT_LEAST64_TYPE__ long long int
310 // ARM-BE:#define __INT_LEAST8_FMTd__ "hhd"
311 // ARM-BE:#define __INT_LEAST8_FMTi__ "hhi"
312 // ARM-BE:#define __INT_LEAST8_MAX__ 127
313 // ARM-BE:#define __INT_LEAST8_TYPE__ signed char
314 // ARM-BE:#define __INT_MAX__ 2147483647
315 // ARM-BE:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
316 // ARM-BE:#define __LDBL_DIG__ 15
317 // ARM-BE:#define __LDBL_EPSILON__ 2.2204460492503131e-16L
318 // ARM-BE:#define __LDBL_HAS_DENORM__ 1
319 // ARM-BE:#define __LDBL_HAS_INFINITY__ 1
320 // ARM-BE:#define __LDBL_HAS_QUIET_NAN__ 1
321 // ARM-BE:#define __LDBL_MANT_DIG__ 53
322 // ARM-BE:#define __LDBL_MAX_10_EXP__ 308
323 // ARM-BE:#define __LDBL_MAX_EXP__ 1024
324 // ARM-BE:#define __LDBL_MAX__ 1.7976931348623157e+308L
325 // ARM-BE:#define __LDBL_MIN_10_EXP__ (-307)
326 // ARM-BE:#define __LDBL_MIN_EXP__ (-1021)
327 // ARM-BE:#define __LDBL_MIN__ 2.2250738585072014e-308L
328 // ARM-BE:#define __LONG_LONG_MAX__ 9223372036854775807LL
329 // ARM-BE:#define __LONG_MAX__ 2147483647L
330 // ARM-BE-NOT:#define __LP64__
331 // ARM-BE:#define __POINTER_WIDTH__ 32
332 // ARM-BE:#define __PTRDIFF_TYPE__ int
333 // ARM-BE:#define __PTRDIFF_WIDTH__ 32
334 // ARM-BE:#define __REGISTER_PREFIX__
335 // ARM-BE:#define __SCHAR_MAX__ 127
336 // ARM-BE:#define __SHRT_MAX__ 32767
337 // ARM-BE:#define __SIG_ATOMIC_MAX__ 2147483647
338 // ARM-BE:#define __SIG_ATOMIC_WIDTH__ 32
339 // ARM-BE:#define __SIZEOF_DOUBLE__ 8
340 // ARM-BE:#define __SIZEOF_FLOAT__ 4
341 // ARM-BE:#define __SIZEOF_INT__ 4
342 // ARM-BE:#define __SIZEOF_LONG_DOUBLE__ 8
343 // ARM-BE:#define __SIZEOF_LONG_LONG__ 8
344 // ARM-BE:#define __SIZEOF_LONG__ 4
345 // ARM-BE:#define __SIZEOF_POINTER__ 4
346 // ARM-BE:#define __SIZEOF_PTRDIFF_T__ 4
347 // ARM-BE:#define __SIZEOF_SHORT__ 2
348 // ARM-BE:#define __SIZEOF_SIZE_T__ 4
349 // ARM-BE:#define __SIZEOF_WCHAR_T__ 4
350 // ARM-BE:#define __SIZEOF_WINT_T__ 4
351 // ARM-BE:#define __SIZE_MAX__ 4294967295U
352 // ARM-BE:#define __SIZE_TYPE__ unsigned int
353 // ARM-BE:#define __SIZE_WIDTH__ 32
354 // ARM-BE:#define __UINT16_C_SUFFIX__
355 // ARM-BE:#define __UINT16_MAX__ 65535
356 // ARM-BE:#define __UINT16_TYPE__ unsigned short
357 // ARM-BE:#define __UINT32_C_SUFFIX__ U
358 // ARM-BE:#define __UINT32_MAX__ 4294967295U
359 // ARM-BE:#define __UINT32_TYPE__ unsigned int
360 // ARM-BE:#define __UINT64_C_SUFFIX__ ULL
361 // ARM-BE:#define __UINT64_MAX__ 18446744073709551615ULL
362 // ARM-BE:#define __UINT64_TYPE__ long long unsigned int
363 // ARM-BE:#define __UINT8_C_SUFFIX__
364 // ARM-BE:#define __UINT8_MAX__ 255
365 // ARM-BE:#define __UINT8_TYPE__ unsigned char
366 // ARM-BE:#define __UINTMAX_C_SUFFIX__ ULL
367 // ARM-BE:#define __UINTMAX_MAX__ 18446744073709551615ULL
368 // ARM-BE:#define __UINTMAX_TYPE__ long long unsigned int
369 // ARM-BE:#define __UINTMAX_WIDTH__ 64
370 // ARM-BE:#define __UINTPTR_MAX__ 4294967295U
371 // ARM-BE:#define __UINTPTR_TYPE__ unsigned int
372 // ARM-BE:#define __UINTPTR_WIDTH__ 32
373 // ARM-BE:#define __UINT_FAST16_MAX__ 65535
374 // ARM-BE:#define __UINT_FAST16_TYPE__ unsigned short
375 // ARM-BE:#define __UINT_FAST32_MAX__ 4294967295U
376 // ARM-BE:#define __UINT_FAST32_TYPE__ unsigned int
377 // ARM-BE:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
378 // ARM-BE:#define __UINT_FAST64_TYPE__ long long unsigned int
379 // ARM-BE:#define __UINT_FAST8_MAX__ 255
380 // ARM-BE:#define __UINT_FAST8_TYPE__ unsigned char
381 // ARM-BE:#define __UINT_LEAST16_MAX__ 65535
382 // ARM-BE:#define __UINT_LEAST16_TYPE__ unsigned short
383 // ARM-BE:#define __UINT_LEAST32_MAX__ 4294967295U
384 // ARM-BE:#define __UINT_LEAST32_TYPE__ unsigned int
385 // ARM-BE:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
386 // ARM-BE:#define __UINT_LEAST64_TYPE__ long long unsigned int
387 // ARM-BE:#define __UINT_LEAST8_MAX__ 255
388 // ARM-BE:#define __UINT_LEAST8_TYPE__ unsigned char
389 // ARM-BE:#define __USER_LABEL_PREFIX__
390 // ARM-BE:#define __WCHAR_MAX__ 4294967295U
391 // ARM-BE:#define __WCHAR_TYPE__ unsigned int
392 // ARM-BE:#define __WCHAR_WIDTH__ 32
393 // ARM-BE:#define __WINT_TYPE__ int
394 // ARM-BE:#define __WINT_WIDTH__ 32
395 // ARM-BE:#define __arm 1
396 // ARM-BE:#define __arm__ 1
398 // 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 ARMEABISOFT %s
400 // ARMEABISOFT-NOT:#define _LP64
401 // ARMEABISOFT:#define __APCS_32__ 1
402 // ARMEABISOFT-NOT:#define __ARMEB__ 1
403 // ARMEABISOFT:#define __ARMEL__ 1
404 // ARMEABISOFT:#define __ARM_ARCH 4
405 // ARMEABISOFT:#define __ARM_ARCH_4T__ 1
406 // ARMEABISOFT-NOT:#define __ARM_BIG_ENDIAN 1
407 // ARMEABISOFT:#define __ARM_EABI__ 1
408 // ARMEABISOFT:#define __ARM_PCS 1
409 // ARMEABISOFT-NOT:#define __ARM_PCS_VFP 1
410 // ARMEABISOFT:#define __BIGGEST_ALIGNMENT__ 8
411 // ARMEABISOFT:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
412 // ARMEABISOFT:#define __CHAR16_TYPE__ unsigned short
413 // ARMEABISOFT:#define __CHAR32_TYPE__ unsigned int
414 // ARMEABISOFT:#define __CHAR_BIT__ 8
415 // ARMEABISOFT:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
416 // ARMEABISOFT:#define __DBL_DIG__ 15
417 // ARMEABISOFT:#define __DBL_EPSILON__ 2.2204460492503131e-16
418 // ARMEABISOFT:#define __DBL_HAS_DENORM__ 1
419 // ARMEABISOFT:#define __DBL_HAS_INFINITY__ 1
420 // ARMEABISOFT:#define __DBL_HAS_QUIET_NAN__ 1
421 // ARMEABISOFT:#define __DBL_MANT_DIG__ 53
422 // ARMEABISOFT:#define __DBL_MAX_10_EXP__ 308
423 // ARMEABISOFT:#define __DBL_MAX_EXP__ 1024
424 // ARMEABISOFT:#define __DBL_MAX__ 1.7976931348623157e+308
425 // ARMEABISOFT:#define __DBL_MIN_10_EXP__ (-307)
426 // ARMEABISOFT:#define __DBL_MIN_EXP__ (-1021)
427 // ARMEABISOFT:#define __DBL_MIN__ 2.2250738585072014e-308
428 // ARMEABISOFT:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
429 // ARMEABISOFT:#define __FLT_DENORM_MIN__ 1.40129846e-45F
430 // ARMEABISOFT:#define __FLT_DIG__ 6
431 // ARMEABISOFT:#define __FLT_EPSILON__ 1.19209290e-7F
432 // ARMEABISOFT:#define __FLT_HAS_DENORM__ 1
433 // ARMEABISOFT:#define __FLT_HAS_INFINITY__ 1
434 // ARMEABISOFT:#define __FLT_HAS_QUIET_NAN__ 1
435 // ARMEABISOFT:#define __FLT_MANT_DIG__ 24
436 // ARMEABISOFT:#define __FLT_MAX_10_EXP__ 38
437 // ARMEABISOFT:#define __FLT_MAX_EXP__ 128
438 // ARMEABISOFT:#define __FLT_MAX__ 3.40282347e+38F
439 // ARMEABISOFT:#define __FLT_MIN_10_EXP__ (-37)
440 // ARMEABISOFT:#define __FLT_MIN_EXP__ (-125)
441 // ARMEABISOFT:#define __FLT_MIN__ 1.17549435e-38F
442 // ARMEABISOFT:#define __FLT_RADIX__ 2
443 // ARMEABISOFT:#define __INT16_C_SUFFIX__
444 // ARMEABISOFT:#define __INT16_FMTd__ "hd"
445 // ARMEABISOFT:#define __INT16_FMTi__ "hi"
446 // ARMEABISOFT:#define __INT16_MAX__ 32767
447 // ARMEABISOFT:#define __INT16_TYPE__ short
448 // ARMEABISOFT:#define __INT32_C_SUFFIX__
449 // ARMEABISOFT:#define __INT32_FMTd__ "d"
450 // ARMEABISOFT:#define __INT32_FMTi__ "i"
451 // ARMEABISOFT:#define __INT32_MAX__ 2147483647
452 // ARMEABISOFT:#define __INT32_TYPE__ int
453 // ARMEABISOFT:#define __INT64_C_SUFFIX__ LL
454 // ARMEABISOFT:#define __INT64_FMTd__ "lld"
455 // ARMEABISOFT:#define __INT64_FMTi__ "lli"
456 // ARMEABISOFT:#define __INT64_MAX__ 9223372036854775807LL
457 // ARMEABISOFT:#define __INT64_TYPE__ long long int
458 // ARMEABISOFT:#define __INT8_C_SUFFIX__
459 // ARMEABISOFT:#define __INT8_FMTd__ "hhd"
460 // ARMEABISOFT:#define __INT8_FMTi__ "hhi"
461 // ARMEABISOFT:#define __INT8_MAX__ 127
462 // ARMEABISOFT:#define __INT8_TYPE__ signed char
463 // ARMEABISOFT:#define __INTMAX_C_SUFFIX__ LL
464 // ARMEABISOFT:#define __INTMAX_FMTd__ "lld"
465 // ARMEABISOFT:#define __INTMAX_FMTi__ "lli"
466 // ARMEABISOFT:#define __INTMAX_MAX__ 9223372036854775807LL
467 // ARMEABISOFT:#define __INTMAX_TYPE__ long long int
468 // ARMEABISOFT:#define __INTMAX_WIDTH__ 64
469 // ARMEABISOFT:#define __INTPTR_FMTd__ "d"
470 // ARMEABISOFT:#define __INTPTR_FMTi__ "i"
471 // ARMEABISOFT:#define __INTPTR_MAX__ 2147483647
472 // ARMEABISOFT:#define __INTPTR_TYPE__ int
473 // ARMEABISOFT:#define __INTPTR_WIDTH__ 32
474 // ARMEABISOFT:#define __INT_FAST16_FMTd__ "hd"
475 // ARMEABISOFT:#define __INT_FAST16_FMTi__ "hi"
476 // ARMEABISOFT:#define __INT_FAST16_MAX__ 32767
477 // ARMEABISOFT:#define __INT_FAST16_TYPE__ short
478 // ARMEABISOFT:#define __INT_FAST32_FMTd__ "d"
479 // ARMEABISOFT:#define __INT_FAST32_FMTi__ "i"
480 // ARMEABISOFT:#define __INT_FAST32_MAX__ 2147483647
481 // ARMEABISOFT:#define __INT_FAST32_TYPE__ int
482 // ARMEABISOFT:#define __INT_FAST64_FMTd__ "lld"
483 // ARMEABISOFT:#define __INT_FAST64_FMTi__ "lli"
484 // ARMEABISOFT:#define __INT_FAST64_MAX__ 9223372036854775807LL
485 // ARMEABISOFT:#define __INT_FAST64_TYPE__ long long int
486 // ARMEABISOFT:#define __INT_FAST8_FMTd__ "hhd"
487 // ARMEABISOFT:#define __INT_FAST8_FMTi__ "hhi"
488 // ARMEABISOFT:#define __INT_FAST8_MAX__ 127
489 // ARMEABISOFT:#define __INT_FAST8_TYPE__ signed char
490 // ARMEABISOFT:#define __INT_LEAST16_FMTd__ "hd"
491 // ARMEABISOFT:#define __INT_LEAST16_FMTi__ "hi"
492 // ARMEABISOFT:#define __INT_LEAST16_MAX__ 32767
493 // ARMEABISOFT:#define __INT_LEAST16_TYPE__ short
494 // ARMEABISOFT:#define __INT_LEAST32_FMTd__ "d"
495 // ARMEABISOFT:#define __INT_LEAST32_FMTi__ "i"
496 // ARMEABISOFT:#define __INT_LEAST32_MAX__ 2147483647
497 // ARMEABISOFT:#define __INT_LEAST32_TYPE__ int
498 // ARMEABISOFT:#define __INT_LEAST64_FMTd__ "lld"
499 // ARMEABISOFT:#define __INT_LEAST64_FMTi__ "lli"
500 // ARMEABISOFT:#define __INT_LEAST64_MAX__ 9223372036854775807LL
501 // ARMEABISOFT:#define __INT_LEAST64_TYPE__ long long int
502 // ARMEABISOFT:#define __INT_LEAST8_FMTd__ "hhd"
503 // ARMEABISOFT:#define __INT_LEAST8_FMTi__ "hhi"
504 // ARMEABISOFT:#define __INT_LEAST8_MAX__ 127
505 // ARMEABISOFT:#define __INT_LEAST8_TYPE__ signed char
506 // ARMEABISOFT:#define __INT_MAX__ 2147483647
507 // ARMEABISOFT:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
508 // ARMEABISOFT:#define __LDBL_DIG__ 15
509 // ARMEABISOFT:#define __LDBL_EPSILON__ 2.2204460492503131e-16L
510 // ARMEABISOFT:#define __LDBL_HAS_DENORM__ 1
511 // ARMEABISOFT:#define __LDBL_HAS_INFINITY__ 1
512 // ARMEABISOFT:#define __LDBL_HAS_QUIET_NAN__ 1
513 // ARMEABISOFT:#define __LDBL_MANT_DIG__ 53
514 // ARMEABISOFT:#define __LDBL_MAX_10_EXP__ 308
515 // ARMEABISOFT:#define __LDBL_MAX_EXP__ 1024
516 // ARMEABISOFT:#define __LDBL_MAX__ 1.7976931348623157e+308L
517 // ARMEABISOFT:#define __LDBL_MIN_10_EXP__ (-307)
518 // ARMEABISOFT:#define __LDBL_MIN_EXP__ (-1021)
519 // ARMEABISOFT:#define __LDBL_MIN__ 2.2250738585072014e-308L
520 // ARMEABISOFT:#define __LITTLE_ENDIAN__ 1
521 // ARMEABISOFT:#define __LONG_LONG_MAX__ 9223372036854775807LL
522 // ARMEABISOFT:#define __LONG_MAX__ 2147483647L
523 // ARMEABISOFT-NOT:#define __LP64__
524 // ARMEABISOFT:#define __POINTER_WIDTH__ 32
525 // ARMEABISOFT:#define __PTRDIFF_TYPE__ int
526 // ARMEABISOFT:#define __PTRDIFF_WIDTH__ 32
527 // ARMEABISOFT:#define __REGISTER_PREFIX__
528 // ARMEABISOFT:#define __SCHAR_MAX__ 127
529 // ARMEABISOFT:#define __SHRT_MAX__ 32767
530 // ARMEABISOFT:#define __SIG_ATOMIC_MAX__ 2147483647
531 // ARMEABISOFT:#define __SIG_ATOMIC_WIDTH__ 32
532 // ARMEABISOFT:#define __SIZEOF_DOUBLE__ 8
533 // ARMEABISOFT:#define __SIZEOF_FLOAT__ 4
534 // ARMEABISOFT:#define __SIZEOF_INT__ 4
535 // ARMEABISOFT:#define __SIZEOF_LONG_DOUBLE__ 8
536 // ARMEABISOFT:#define __SIZEOF_LONG_LONG__ 8
537 // ARMEABISOFT:#define __SIZEOF_LONG__ 4
538 // ARMEABISOFT:#define __SIZEOF_POINTER__ 4
539 // ARMEABISOFT:#define __SIZEOF_PTRDIFF_T__ 4
540 // ARMEABISOFT:#define __SIZEOF_SHORT__ 2
541 // ARMEABISOFT:#define __SIZEOF_SIZE_T__ 4
542 // ARMEABISOFT:#define __SIZEOF_WCHAR_T__ 4
543 // ARMEABISOFT:#define __SIZEOF_WINT_T__ 4
544 // ARMEABISOFT:#define __SIZE_MAX__ 4294967295U
545 // ARMEABISOFT:#define __SIZE_TYPE__ unsigned int
546 // ARMEABISOFT:#define __SIZE_WIDTH__ 32
547 // ARMEABISOFT:#define __SOFTFP__ 1
548 // ARMEABISOFT:#define __UINT16_C_SUFFIX__
549 // ARMEABISOFT:#define __UINT16_MAX__ 65535
550 // ARMEABISOFT:#define __UINT16_TYPE__ unsigned short
551 // ARMEABISOFT:#define __UINT32_C_SUFFIX__ U
552 // ARMEABISOFT:#define __UINT32_MAX__ 4294967295U
553 // ARMEABISOFT:#define __UINT32_TYPE__ unsigned int
554 // ARMEABISOFT:#define __UINT64_C_SUFFIX__ ULL
555 // ARMEABISOFT:#define __UINT64_MAX__ 18446744073709551615ULL
556 // ARMEABISOFT:#define __UINT64_TYPE__ long long unsigned int
557 // ARMEABISOFT:#define __UINT8_C_SUFFIX__
558 // ARMEABISOFT:#define __UINT8_MAX__ 255
559 // ARMEABISOFT:#define __UINT8_TYPE__ unsigned char
560 // ARMEABISOFT:#define __UINTMAX_C_SUFFIX__ ULL
561 // ARMEABISOFT:#define __UINTMAX_MAX__ 18446744073709551615ULL
562 // ARMEABISOFT:#define __UINTMAX_TYPE__ long long unsigned int
563 // ARMEABISOFT:#define __UINTMAX_WIDTH__ 64
564 // ARMEABISOFT:#define __UINTPTR_MAX__ 4294967295U
565 // ARMEABISOFT:#define __UINTPTR_TYPE__ unsigned int
566 // ARMEABISOFT:#define __UINTPTR_WIDTH__ 32
567 // ARMEABISOFT:#define __UINT_FAST16_MAX__ 65535
568 // ARMEABISOFT:#define __UINT_FAST16_TYPE__ unsigned short
569 // ARMEABISOFT:#define __UINT_FAST32_MAX__ 4294967295U
570 // ARMEABISOFT:#define __UINT_FAST32_TYPE__ unsigned int
571 // ARMEABISOFT:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
572 // ARMEABISOFT:#define __UINT_FAST64_TYPE__ long long unsigned int
573 // ARMEABISOFT:#define __UINT_FAST8_MAX__ 255
574 // ARMEABISOFT:#define __UINT_FAST8_TYPE__ unsigned char
575 // ARMEABISOFT:#define __UINT_LEAST16_MAX__ 65535
576 // ARMEABISOFT:#define __UINT_LEAST16_TYPE__ unsigned short
577 // ARMEABISOFT:#define __UINT_LEAST32_MAX__ 4294967295U
578 // ARMEABISOFT:#define __UINT_LEAST32_TYPE__ unsigned int
579 // ARMEABISOFT:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
580 // ARMEABISOFT:#define __UINT_LEAST64_TYPE__ long long unsigned int
581 // ARMEABISOFT:#define __UINT_LEAST8_MAX__ 255
582 // ARMEABISOFT:#define __UINT_LEAST8_TYPE__ unsigned char
583 // ARMEABISOFT:#define __USER_LABEL_PREFIX__
584 // ARMEABISOFT:#define __WCHAR_MAX__ 4294967295U
585 // ARMEABISOFT:#define __WCHAR_TYPE__ unsigned int
586 // ARMEABISOFT:#define __WCHAR_WIDTH__ 32
587 // ARMEABISOFT:#define __WINT_TYPE__ unsigned int
588 // ARMEABISOFT:#define __WINT_WIDTH__ 32
589 // ARMEABISOFT:#define __arm 1
590 // ARMEABISOFT:#define __arm__ 1
592 // explanation of difference between ARMEABISOFTFP_NOFP and ARMEABISOFTFP_FP
594 // - compile targets with no FPU should emit __SOFTFP__ 1 when +soft-float-abi
596 // - compile targets with FPU should not emit __SOFTFP__ 1 when +soft-float-abi
598 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=arm-none-linux-gnueabi -target-feature +soft-float-abi < /dev/null | FileCheck -match-full-lines -check-prefix ARMEABISOFTFP_NOFP %s
600 // ARMEABISOFTFP_NOFP-NOT:#define _LP64
601 // ARMEABISOFTFP_NOFP:#define __APCS_32__ 1
602 // ARMEABISOFTFP_NOFP-NOT:#define __ARMEB__ 1
603 // ARMEABISOFTFP_NOFP:#define __ARMEL__ 1
604 // ARMEABISOFTFP_NOFP:#define __ARM_ARCH 4
605 // ARMEABISOFTFP_NOFP:#define __ARM_ARCH_4T__ 1
606 // ARMEABISOFTFP_NOFP-NOT:#define __ARM_BIG_ENDIAN 1
607 // ARMEABISOFTFP_NOFP:#define __ARM_EABI__ 1
608 // ARMEABISOFTFP_NOFP:#define __ARM_PCS 1
609 // ARMEABISOFTFP_NOFP-NOT:#define __ARM_PCS_VFP 1
610 // ARMEABISOFTFP_NOFP:#define __BIGGEST_ALIGNMENT__ 8
611 // ARMEABISOFTFP_NOFP:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
612 // ARMEABISOFTFP_NOFP:#define __CHAR16_TYPE__ unsigned short
613 // ARMEABISOFTFP_NOFP:#define __CHAR32_TYPE__ unsigned int
614 // ARMEABISOFTFP_NOFP:#define __CHAR_BIT__ 8
615 // ARMEABISOFTFP_NOFP:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
616 // ARMEABISOFTFP_NOFP:#define __DBL_DIG__ 15
617 // ARMEABISOFTFP_NOFP:#define __DBL_EPSILON__ 2.2204460492503131e-16
618 // ARMEABISOFTFP_NOFP:#define __DBL_HAS_DENORM__ 1
619 // ARMEABISOFTFP_NOFP:#define __DBL_HAS_INFINITY__ 1
620 // ARMEABISOFTFP_NOFP:#define __DBL_HAS_QUIET_NAN__ 1
621 // ARMEABISOFTFP_NOFP:#define __DBL_MANT_DIG__ 53
622 // ARMEABISOFTFP_NOFP:#define __DBL_MAX_10_EXP__ 308
623 // ARMEABISOFTFP_NOFP:#define __DBL_MAX_EXP__ 1024
624 // ARMEABISOFTFP_NOFP:#define __DBL_MAX__ 1.7976931348623157e+308
625 // ARMEABISOFTFP_NOFP:#define __DBL_MIN_10_EXP__ (-307)
626 // ARMEABISOFTFP_NOFP:#define __DBL_MIN_EXP__ (-1021)
627 // ARMEABISOFTFP_NOFP:#define __DBL_MIN__ 2.2250738585072014e-308
628 // ARMEABISOFTFP_NOFP:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
629 // ARMEABISOFTFP_NOFP:#define __FLT_DENORM_MIN__ 1.40129846e-45F
630 // ARMEABISOFTFP_NOFP:#define __FLT_DIG__ 6
631 // ARMEABISOFTFP_NOFP:#define __FLT_EPSILON__ 1.19209290e-7F
632 // ARMEABISOFTFP_NOFP:#define __FLT_HAS_DENORM__ 1
633 // ARMEABISOFTFP_NOFP:#define __FLT_HAS_INFINITY__ 1
634 // ARMEABISOFTFP_NOFP:#define __FLT_HAS_QUIET_NAN__ 1
635 // ARMEABISOFTFP_NOFP:#define __FLT_MANT_DIG__ 24
636 // ARMEABISOFTFP_NOFP:#define __FLT_MAX_10_EXP__ 38
637 // ARMEABISOFTFP_NOFP:#define __FLT_MAX_EXP__ 128
638 // ARMEABISOFTFP_NOFP:#define __FLT_MAX__ 3.40282347e+38F
639 // ARMEABISOFTFP_NOFP:#define __FLT_MIN_10_EXP__ (-37)
640 // ARMEABISOFTFP_NOFP:#define __FLT_MIN_EXP__ (-125)
641 // ARMEABISOFTFP_NOFP:#define __FLT_MIN__ 1.17549435e-38F
642 // ARMEABISOFTFP_NOFP:#define __FLT_RADIX__ 2
643 // ARMEABISOFTFP_NOFP:#define __INT16_C_SUFFIX__
644 // ARMEABISOFTFP_NOFP:#define __INT16_FMTd__ "hd"
645 // ARMEABISOFTFP_NOFP:#define __INT16_FMTi__ "hi"
646 // ARMEABISOFTFP_NOFP:#define __INT16_MAX__ 32767
647 // ARMEABISOFTFP_NOFP:#define __INT16_TYPE__ short
648 // ARMEABISOFTFP_NOFP:#define __INT32_C_SUFFIX__
649 // ARMEABISOFTFP_NOFP:#define __INT32_FMTd__ "d"
650 // ARMEABISOFTFP_NOFP:#define __INT32_FMTi__ "i"
651 // ARMEABISOFTFP_NOFP:#define __INT32_MAX__ 2147483647
652 // ARMEABISOFTFP_NOFP:#define __INT32_TYPE__ int
653 // ARMEABISOFTFP_NOFP:#define __INT64_C_SUFFIX__ LL
654 // ARMEABISOFTFP_NOFP:#define __INT64_FMTd__ "lld"
655 // ARMEABISOFTFP_NOFP:#define __INT64_FMTi__ "lli"
656 // ARMEABISOFTFP_NOFP:#define __INT64_MAX__ 9223372036854775807LL
657 // ARMEABISOFTFP_NOFP:#define __INT64_TYPE__ long long int
658 // ARMEABISOFTFP_NOFP:#define __INT8_C_SUFFIX__
659 // ARMEABISOFTFP_NOFP:#define __INT8_FMTd__ "hhd"
660 // ARMEABISOFTFP_NOFP:#define __INT8_FMTi__ "hhi"
661 // ARMEABISOFTFP_NOFP:#define __INT8_MAX__ 127
662 // ARMEABISOFTFP_NOFP:#define __INT8_TYPE__ signed char
663 // ARMEABISOFTFP_NOFP:#define __INTMAX_C_SUFFIX__ LL
664 // ARMEABISOFTFP_NOFP:#define __INTMAX_FMTd__ "lld"
665 // ARMEABISOFTFP_NOFP:#define __INTMAX_FMTi__ "lli"
666 // ARMEABISOFTFP_NOFP:#define __INTMAX_MAX__ 9223372036854775807LL
667 // ARMEABISOFTFP_NOFP:#define __INTMAX_TYPE__ long long int
668 // ARMEABISOFTFP_NOFP:#define __INTMAX_WIDTH__ 64
669 // ARMEABISOFTFP_NOFP:#define __INTPTR_FMTd__ "d"
670 // ARMEABISOFTFP_NOFP:#define __INTPTR_FMTi__ "i"
671 // ARMEABISOFTFP_NOFP:#define __INTPTR_MAX__ 2147483647
672 // ARMEABISOFTFP_NOFP:#define __INTPTR_TYPE__ int
673 // ARMEABISOFTFP_NOFP:#define __INTPTR_WIDTH__ 32
674 // ARMEABISOFTFP_NOFP:#define __INT_FAST16_FMTd__ "hd"
675 // ARMEABISOFTFP_NOFP:#define __INT_FAST16_FMTi__ "hi"
676 // ARMEABISOFTFP_NOFP:#define __INT_FAST16_MAX__ 32767
677 // ARMEABISOFTFP_NOFP:#define __INT_FAST16_TYPE__ short
678 // ARMEABISOFTFP_NOFP:#define __INT_FAST32_FMTd__ "d"
679 // ARMEABISOFTFP_NOFP:#define __INT_FAST32_FMTi__ "i"
680 // ARMEABISOFTFP_NOFP:#define __INT_FAST32_MAX__ 2147483647
681 // ARMEABISOFTFP_NOFP:#define __INT_FAST32_TYPE__ int
682 // ARMEABISOFTFP_NOFP:#define __INT_FAST64_FMTd__ "lld"
683 // ARMEABISOFTFP_NOFP:#define __INT_FAST64_FMTi__ "lli"
684 // ARMEABISOFTFP_NOFP:#define __INT_FAST64_MAX__ 9223372036854775807LL
685 // ARMEABISOFTFP_NOFP:#define __INT_FAST64_TYPE__ long long int
686 // ARMEABISOFTFP_NOFP:#define __INT_FAST8_FMTd__ "hhd"
687 // ARMEABISOFTFP_NOFP:#define __INT_FAST8_FMTi__ "hhi"
688 // ARMEABISOFTFP_NOFP:#define __INT_FAST8_MAX__ 127
689 // ARMEABISOFTFP_NOFP:#define __INT_FAST8_TYPE__ signed char
690 // ARMEABISOFTFP_NOFP:#define __INT_LEAST16_FMTd__ "hd"
691 // ARMEABISOFTFP_NOFP:#define __INT_LEAST16_FMTi__ "hi"
692 // ARMEABISOFTFP_NOFP:#define __INT_LEAST16_MAX__ 32767
693 // ARMEABISOFTFP_NOFP:#define __INT_LEAST16_TYPE__ short
694 // ARMEABISOFTFP_NOFP:#define __INT_LEAST32_FMTd__ "d"
695 // ARMEABISOFTFP_NOFP:#define __INT_LEAST32_FMTi__ "i"
696 // ARMEABISOFTFP_NOFP:#define __INT_LEAST32_MAX__ 2147483647
697 // ARMEABISOFTFP_NOFP:#define __INT_LEAST32_TYPE__ int
698 // ARMEABISOFTFP_NOFP:#define __INT_LEAST64_FMTd__ "lld"
699 // ARMEABISOFTFP_NOFP:#define __INT_LEAST64_FMTi__ "lli"
700 // ARMEABISOFTFP_NOFP:#define __INT_LEAST64_MAX__ 9223372036854775807LL
701 // ARMEABISOFTFP_NOFP:#define __INT_LEAST64_TYPE__ long long int
702 // ARMEABISOFTFP_NOFP:#define __INT_LEAST8_FMTd__ "hhd"
703 // ARMEABISOFTFP_NOFP:#define __INT_LEAST8_FMTi__ "hhi"
704 // ARMEABISOFTFP_NOFP:#define __INT_LEAST8_MAX__ 127
705 // ARMEABISOFTFP_NOFP:#define __INT_LEAST8_TYPE__ signed char
706 // ARMEABISOFTFP_NOFP:#define __INT_MAX__ 2147483647
707 // ARMEABISOFTFP_NOFP:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
708 // ARMEABISOFTFP_NOFP:#define __LDBL_DIG__ 15
709 // ARMEABISOFTFP_NOFP:#define __LDBL_EPSILON__ 2.2204460492503131e-16L
710 // ARMEABISOFTFP_NOFP:#define __LDBL_HAS_DENORM__ 1
711 // ARMEABISOFTFP_NOFP:#define __LDBL_HAS_INFINITY__ 1
712 // ARMEABISOFTFP_NOFP:#define __LDBL_HAS_QUIET_NAN__ 1
713 // ARMEABISOFTFP_NOFP:#define __LDBL_MANT_DIG__ 53
714 // ARMEABISOFTFP_NOFP:#define __LDBL_MAX_10_EXP__ 308
715 // ARMEABISOFTFP_NOFP:#define __LDBL_MAX_EXP__ 1024
716 // ARMEABISOFTFP_NOFP:#define __LDBL_MAX__ 1.7976931348623157e+308L
717 // ARMEABISOFTFP_NOFP:#define __LDBL_MIN_10_EXP__ (-307)
718 // ARMEABISOFTFP_NOFP:#define __LDBL_MIN_EXP__ (-1021)
719 // ARMEABISOFTFP_NOFP:#define __LDBL_MIN__ 2.2250738585072014e-308L
720 // ARMEABISOFTFP_NOFP:#define __LITTLE_ENDIAN__ 1
721 // ARMEABISOFTFP_NOFP:#define __LONG_LONG_MAX__ 9223372036854775807LL
722 // ARMEABISOFTFP_NOFP:#define __LONG_MAX__ 2147483647L
723 // ARMEABISOFTFP_NOFP-NOT:#define __LP64__
724 // ARMEABISOFTFP_NOFP:#define __POINTER_WIDTH__ 32
725 // ARMEABISOFTFP_NOFP:#define __PTRDIFF_TYPE__ int
726 // ARMEABISOFTFP_NOFP:#define __PTRDIFF_WIDTH__ 32
727 // ARMEABISOFTFP_NOFP:#define __REGISTER_PREFIX__
728 // ARMEABISOFTFP_NOFP:#define __SCHAR_MAX__ 127
729 // ARMEABISOFTFP_NOFP:#define __SHRT_MAX__ 32767
730 // ARMEABISOFTFP_NOFP:#define __SIG_ATOMIC_MAX__ 2147483647
731 // ARMEABISOFTFP_NOFP:#define __SIG_ATOMIC_WIDTH__ 32
732 // ARMEABISOFTFP_NOFP:#define __SIZEOF_DOUBLE__ 8
733 // ARMEABISOFTFP_NOFP:#define __SIZEOF_FLOAT__ 4
734 // ARMEABISOFTFP_NOFP:#define __SIZEOF_INT__ 4
735 // ARMEABISOFTFP_NOFP:#define __SIZEOF_LONG_DOUBLE__ 8
736 // ARMEABISOFTFP_NOFP:#define __SIZEOF_LONG_LONG__ 8
737 // ARMEABISOFTFP_NOFP:#define __SIZEOF_LONG__ 4
738 // ARMEABISOFTFP_NOFP:#define __SIZEOF_POINTER__ 4
739 // ARMEABISOFTFP_NOFP:#define __SIZEOF_PTRDIFF_T__ 4
740 // ARMEABISOFTFP_NOFP:#define __SIZEOF_SHORT__ 2
741 // ARMEABISOFTFP_NOFP:#define __SIZEOF_SIZE_T__ 4
742 // ARMEABISOFTFP_NOFP:#define __SIZEOF_WCHAR_T__ 4
743 // ARMEABISOFTFP_NOFP:#define __SIZEOF_WINT_T__ 4
744 // ARMEABISOFTFP_NOFP:#define __SIZE_MAX__ 4294967295U
745 // ARMEABISOFTFP_NOFP:#define __SIZE_TYPE__ unsigned int
746 // ARMEABISOFTFP_NOFP:#define __SIZE_WIDTH__ 32
747 // ARMEABISOFTFP_NOFP:#define __SOFTFP__ 1
748 // ARMEABISOFTFP_NOFP:#define __UINT16_C_SUFFIX__
749 // ARMEABISOFTFP_NOFP:#define __UINT16_MAX__ 65535
750 // ARMEABISOFTFP_NOFP:#define __UINT16_TYPE__ unsigned short
751 // ARMEABISOFTFP_NOFP:#define __UINT32_C_SUFFIX__ U
752 // ARMEABISOFTFP_NOFP:#define __UINT32_MAX__ 4294967295U
753 // ARMEABISOFTFP_NOFP:#define __UINT32_TYPE__ unsigned int
754 // ARMEABISOFTFP_NOFP:#define __UINT64_C_SUFFIX__ ULL
755 // ARMEABISOFTFP_NOFP:#define __UINT64_MAX__ 18446744073709551615ULL
756 // ARMEABISOFTFP_NOFP:#define __UINT64_TYPE__ long long unsigned int
757 // ARMEABISOFTFP_NOFP:#define __UINT8_C_SUFFIX__
758 // ARMEABISOFTFP_NOFP:#define __UINT8_MAX__ 255
759 // ARMEABISOFTFP_NOFP:#define __UINT8_TYPE__ unsigned char
760 // ARMEABISOFTFP_NOFP:#define __UINTMAX_C_SUFFIX__ ULL
761 // ARMEABISOFTFP_NOFP:#define __UINTMAX_MAX__ 18446744073709551615ULL
762 // ARMEABISOFTFP_NOFP:#define __UINTMAX_TYPE__ long long unsigned int
763 // ARMEABISOFTFP_NOFP:#define __UINTMAX_WIDTH__ 64
764 // ARMEABISOFTFP_NOFP:#define __UINTPTR_MAX__ 4294967295U
765 // ARMEABISOFTFP_NOFP:#define __UINTPTR_TYPE__ unsigned int
766 // ARMEABISOFTFP_NOFP:#define __UINTPTR_WIDTH__ 32
767 // ARMEABISOFTFP_NOFP:#define __UINT_FAST16_MAX__ 65535
768 // ARMEABISOFTFP_NOFP:#define __UINT_FAST16_TYPE__ unsigned short
769 // ARMEABISOFTFP_NOFP:#define __UINT_FAST32_MAX__ 4294967295U
770 // ARMEABISOFTFP_NOFP:#define __UINT_FAST32_TYPE__ unsigned int
771 // ARMEABISOFTFP_NOFP:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
772 // ARMEABISOFTFP_NOFP:#define __UINT_FAST64_TYPE__ long long unsigned int
773 // ARMEABISOFTFP_NOFP:#define __UINT_FAST8_MAX__ 255
774 // ARMEABISOFTFP_NOFP:#define __UINT_FAST8_TYPE__ unsigned char
775 // ARMEABISOFTFP_NOFP:#define __UINT_LEAST16_MAX__ 65535
776 // ARMEABISOFTFP_NOFP:#define __UINT_LEAST16_TYPE__ unsigned short
777 // ARMEABISOFTFP_NOFP:#define __UINT_LEAST32_MAX__ 4294967295U
778 // ARMEABISOFTFP_NOFP:#define __UINT_LEAST32_TYPE__ unsigned int
779 // ARMEABISOFTFP_NOFP:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
780 // ARMEABISOFTFP_NOFP:#define __UINT_LEAST64_TYPE__ long long unsigned int
781 // ARMEABISOFTFP_NOFP:#define __UINT_LEAST8_MAX__ 255
782 // ARMEABISOFTFP_NOFP:#define __UINT_LEAST8_TYPE__ unsigned char
783 // ARMEABISOFTFP_NOFP:#define __USER_LABEL_PREFIX__
784 // ARMEABISOFTFP_NOFP:#define __WCHAR_MAX__ 4294967295U
785 // ARMEABISOFTFP_NOFP:#define __WCHAR_TYPE__ unsigned int
786 // ARMEABISOFTFP_NOFP:#define __WCHAR_WIDTH__ 32
787 // ARMEABISOFTFP_NOFP:#define __WINT_TYPE__ unsigned int
788 // ARMEABISOFTFP_NOFP:#define __WINT_WIDTH__ 32
789 // ARMEABISOFTFP_NOFP:#define __arm 1
790 // ARMEABISOFTFP_NOFP:#define __arm__ 1
792 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=arm-none-linux-gnueabi -target-cpu cortex-m4 -target-feature +soft-float-abi -target-feature +vfp4d16s < /dev/null | FileCheck -match-full-lines -check-prefix ARMEABISOFTFP_FP %s
794 // ARMEABISOFTFP_FP-NOT:#define _LP64
795 // ARMEABISOFTFP_FP:#define __APCS_32__ 1
796 // ARMEABISOFTFP_FP-NOT:#define __ARMEB__ 1
797 // ARMEABISOFTFP_FP:#define __ARMEL__ 1
798 // ARMEABISOFTFP_FP:#define __ARM_ARCH 7
799 // ARMEABISOFTFP_FP:#define __ARM_ARCH_7EM__ 1
800 // ARMEABISOFTFP_FP-NOT:#define __ARM_BIG_ENDIAN 1
801 // ARMEABISOFTFP_FP:#define __ARM_EABI__ 1
802 // ARMEABISOFTFP_FP:#define __ARM_PCS 1
803 // ARMEABISOFTFP_FP-NOT:#define __ARM_PCS_VFP 1
804 // ARMEABISOFTFP_FP:#define __BIGGEST_ALIGNMENT__ 8
805 // ARMEABISOFTFP_FP:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
806 // ARMEABISOFTFP_FP:#define __CHAR16_TYPE__ unsigned short
807 // ARMEABISOFTFP_FP:#define __CHAR32_TYPE__ unsigned int
808 // ARMEABISOFTFP_FP:#define __CHAR_BIT__ 8
809 // ARMEABISOFTFP_FP:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
810 // ARMEABISOFTFP_FP:#define __DBL_DIG__ 15
811 // ARMEABISOFTFP_FP:#define __DBL_EPSILON__ 2.2204460492503131e-16
812 // ARMEABISOFTFP_FP:#define __DBL_HAS_DENORM__ 1
813 // ARMEABISOFTFP_FP:#define __DBL_HAS_INFINITY__ 1
814 // ARMEABISOFTFP_FP:#define __DBL_HAS_QUIET_NAN__ 1
815 // ARMEABISOFTFP_FP:#define __DBL_MANT_DIG__ 53
816 // ARMEABISOFTFP_FP:#define __DBL_MAX_10_EXP__ 308
817 // ARMEABISOFTFP_FP:#define __DBL_MAX_EXP__ 1024
818 // ARMEABISOFTFP_FP:#define __DBL_MAX__ 1.7976931348623157e+308
819 // ARMEABISOFTFP_FP:#define __DBL_MIN_10_EXP__ (-307)
820 // ARMEABISOFTFP_FP:#define __DBL_MIN_EXP__ (-1021)
821 // ARMEABISOFTFP_FP:#define __DBL_MIN__ 2.2250738585072014e-308
822 // ARMEABISOFTFP_FP:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
823 // ARMEABISOFTFP_FP:#define __FLT_DENORM_MIN__ 1.40129846e-45F
824 // ARMEABISOFTFP_FP:#define __FLT_DIG__ 6
825 // ARMEABISOFTFP_FP:#define __FLT_EPSILON__ 1.19209290e-7F
826 // ARMEABISOFTFP_FP:#define __FLT_HAS_DENORM__ 1
827 // ARMEABISOFTFP_FP:#define __FLT_HAS_INFINITY__ 1
828 // ARMEABISOFTFP_FP:#define __FLT_HAS_QUIET_NAN__ 1
829 // ARMEABISOFTFP_FP:#define __FLT_MANT_DIG__ 24
830 // ARMEABISOFTFP_FP:#define __FLT_MAX_10_EXP__ 38
831 // ARMEABISOFTFP_FP:#define __FLT_MAX_EXP__ 128
832 // ARMEABISOFTFP_FP:#define __FLT_MAX__ 3.40282347e+38F
833 // ARMEABISOFTFP_FP:#define __FLT_MIN_10_EXP__ (-37)
834 // ARMEABISOFTFP_FP:#define __FLT_MIN_EXP__ (-125)
835 // ARMEABISOFTFP_FP:#define __FLT_MIN__ 1.17549435e-38F
836 // ARMEABISOFTFP_FP:#define __FLT_RADIX__ 2
837 // ARMEABISOFTFP_FP:#define __INT16_C_SUFFIX__
838 // ARMEABISOFTFP_FP:#define __INT16_FMTd__ "hd"
839 // ARMEABISOFTFP_FP:#define __INT16_FMTi__ "hi"
840 // ARMEABISOFTFP_FP:#define __INT16_MAX__ 32767
841 // ARMEABISOFTFP_FP:#define __INT16_TYPE__ short
842 // ARMEABISOFTFP_FP:#define __INT32_C_SUFFIX__
843 // ARMEABISOFTFP_FP:#define __INT32_FMTd__ "d"
844 // ARMEABISOFTFP_FP:#define __INT32_FMTi__ "i"
845 // ARMEABISOFTFP_FP:#define __INT32_MAX__ 2147483647
846 // ARMEABISOFTFP_FP:#define __INT32_TYPE__ int
847 // ARMEABISOFTFP_FP:#define __INT64_C_SUFFIX__ LL
848 // ARMEABISOFTFP_FP:#define __INT64_FMTd__ "lld"
849 // ARMEABISOFTFP_FP:#define __INT64_FMTi__ "lli"
850 // ARMEABISOFTFP_FP:#define __INT64_MAX__ 9223372036854775807LL
851 // ARMEABISOFTFP_FP:#define __INT64_TYPE__ long long int
852 // ARMEABISOFTFP_FP:#define __INT8_C_SUFFIX__
853 // ARMEABISOFTFP_FP:#define __INT8_FMTd__ "hhd"
854 // ARMEABISOFTFP_FP:#define __INT8_FMTi__ "hhi"
855 // ARMEABISOFTFP_FP:#define __INT8_MAX__ 127
856 // ARMEABISOFTFP_FP:#define __INT8_TYPE__ signed char
857 // ARMEABISOFTFP_FP:#define __INTMAX_C_SUFFIX__ LL
858 // ARMEABISOFTFP_FP:#define __INTMAX_FMTd__ "lld"
859 // ARMEABISOFTFP_FP:#define __INTMAX_FMTi__ "lli"
860 // ARMEABISOFTFP_FP:#define __INTMAX_MAX__ 9223372036854775807LL
861 // ARMEABISOFTFP_FP:#define __INTMAX_TYPE__ long long int
862 // ARMEABISOFTFP_FP:#define __INTMAX_WIDTH__ 64
863 // ARMEABISOFTFP_FP:#define __INTPTR_FMTd__ "d"
864 // ARMEABISOFTFP_FP:#define __INTPTR_FMTi__ "i"
865 // ARMEABISOFTFP_FP:#define __INTPTR_MAX__ 2147483647
866 // ARMEABISOFTFP_FP:#define __INTPTR_TYPE__ int
867 // ARMEABISOFTFP_FP:#define __INTPTR_WIDTH__ 32
868 // ARMEABISOFTFP_FP:#define __INT_FAST16_FMTd__ "hd"
869 // ARMEABISOFTFP_FP:#define __INT_FAST16_FMTi__ "hi"
870 // ARMEABISOFTFP_FP:#define __INT_FAST16_MAX__ 32767
871 // ARMEABISOFTFP_FP:#define __INT_FAST16_TYPE__ short
872 // ARMEABISOFTFP_FP:#define __INT_FAST32_FMTd__ "d"
873 // ARMEABISOFTFP_FP:#define __INT_FAST32_FMTi__ "i"
874 // ARMEABISOFTFP_FP:#define __INT_FAST32_MAX__ 2147483647
875 // ARMEABISOFTFP_FP:#define __INT_FAST32_TYPE__ int
876 // ARMEABISOFTFP_FP:#define __INT_FAST64_FMTd__ "lld"
877 // ARMEABISOFTFP_FP:#define __INT_FAST64_FMTi__ "lli"
878 // ARMEABISOFTFP_FP:#define __INT_FAST64_MAX__ 9223372036854775807LL
879 // ARMEABISOFTFP_FP:#define __INT_FAST64_TYPE__ long long int
880 // ARMEABISOFTFP_FP:#define __INT_FAST8_FMTd__ "hhd"
881 // ARMEABISOFTFP_FP:#define __INT_FAST8_FMTi__ "hhi"
882 // ARMEABISOFTFP_FP:#define __INT_FAST8_MAX__ 127
883 // ARMEABISOFTFP_FP:#define __INT_FAST8_TYPE__ signed char
884 // ARMEABISOFTFP_FP:#define __INT_LEAST16_FMTd__ "hd"
885 // ARMEABISOFTFP_FP:#define __INT_LEAST16_FMTi__ "hi"
886 // ARMEABISOFTFP_FP:#define __INT_LEAST16_MAX__ 32767
887 // ARMEABISOFTFP_FP:#define __INT_LEAST16_TYPE__ short
888 // ARMEABISOFTFP_FP:#define __INT_LEAST32_FMTd__ "d"
889 // ARMEABISOFTFP_FP:#define __INT_LEAST32_FMTi__ "i"
890 // ARMEABISOFTFP_FP:#define __INT_LEAST32_MAX__ 2147483647
891 // ARMEABISOFTFP_FP:#define __INT_LEAST32_TYPE__ int
892 // ARMEABISOFTFP_FP:#define __INT_LEAST64_FMTd__ "lld"
893 // ARMEABISOFTFP_FP:#define __INT_LEAST64_FMTi__ "lli"
894 // ARMEABISOFTFP_FP:#define __INT_LEAST64_MAX__ 9223372036854775807LL
895 // ARMEABISOFTFP_FP:#define __INT_LEAST64_TYPE__ long long int
896 // ARMEABISOFTFP_FP:#define __INT_LEAST8_FMTd__ "hhd"
897 // ARMEABISOFTFP_FP:#define __INT_LEAST8_FMTi__ "hhi"
898 // ARMEABISOFTFP_FP:#define __INT_LEAST8_MAX__ 127
899 // ARMEABISOFTFP_FP:#define __INT_LEAST8_TYPE__ signed char
900 // ARMEABISOFTFP_FP:#define __INT_MAX__ 2147483647
901 // ARMEABISOFTFP_FP:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
902 // ARMEABISOFTFP_FP:#define __LDBL_DIG__ 15
903 // ARMEABISOFTFP_FP:#define __LDBL_EPSILON__ 2.2204460492503131e-16L
904 // ARMEABISOFTFP_FP:#define __LDBL_HAS_DENORM__ 1
905 // ARMEABISOFTFP_FP:#define __LDBL_HAS_INFINITY__ 1
906 // ARMEABISOFTFP_FP:#define __LDBL_HAS_QUIET_NAN__ 1
907 // ARMEABISOFTFP_FP:#define __LDBL_MANT_DIG__ 53
908 // ARMEABISOFTFP_FP:#define __LDBL_MAX_10_EXP__ 308
909 // ARMEABISOFTFP_FP:#define __LDBL_MAX_EXP__ 1024
910 // ARMEABISOFTFP_FP:#define __LDBL_MAX__ 1.7976931348623157e+308L
911 // ARMEABISOFTFP_FP:#define __LDBL_MIN_10_EXP__ (-307)
912 // ARMEABISOFTFP_FP:#define __LDBL_MIN_EXP__ (-1021)
913 // ARMEABISOFTFP_FP:#define __LDBL_MIN__ 2.2250738585072014e-308L
914 // ARMEABISOFTFP_FP:#define __LITTLE_ENDIAN__ 1
915 // ARMEABISOFTFP_FP:#define __LONG_LONG_MAX__ 9223372036854775807LL
916 // ARMEABISOFTFP_FP:#define __LONG_MAX__ 2147483647L
917 // ARMEABISOFTFP_FP-NOT:#define __LP64__
918 // ARMEABISOFTFP_FP:#define __POINTER_WIDTH__ 32
919 // ARMEABISOFTFP_FP:#define __PTRDIFF_TYPE__ int
920 // ARMEABISOFTFP_FP:#define __PTRDIFF_WIDTH__ 32
921 // ARMEABISOFTFP_FP:#define __REGISTER_PREFIX__
922 // ARMEABISOFTFP_FP:#define __SCHAR_MAX__ 127
923 // ARMEABISOFTFP_FP:#define __SHRT_MAX__ 32767
924 // ARMEABISOFTFP_FP:#define __SIG_ATOMIC_MAX__ 2147483647
925 // ARMEABISOFTFP_FP:#define __SIG_ATOMIC_WIDTH__ 32
926 // ARMEABISOFTFP_FP:#define __SIZEOF_DOUBLE__ 8
927 // ARMEABISOFTFP_FP:#define __SIZEOF_FLOAT__ 4
928 // ARMEABISOFTFP_FP:#define __SIZEOF_INT__ 4
929 // ARMEABISOFTFP_FP:#define __SIZEOF_LONG_DOUBLE__ 8
930 // ARMEABISOFTFP_FP:#define __SIZEOF_LONG_LONG__ 8
931 // ARMEABISOFTFP_FP:#define __SIZEOF_LONG__ 4
932 // ARMEABISOFTFP_FP:#define __SIZEOF_POINTER__ 4
933 // ARMEABISOFTFP_FP:#define __SIZEOF_PTRDIFF_T__ 4
934 // ARMEABISOFTFP_FP:#define __SIZEOF_SHORT__ 2
935 // ARMEABISOFTFP_FP:#define __SIZEOF_SIZE_T__ 4
936 // ARMEABISOFTFP_FP:#define __SIZEOF_WCHAR_T__ 4
937 // ARMEABISOFTFP_FP:#define __SIZEOF_WINT_T__ 4
938 // ARMEABISOFTFP_FP:#define __SIZE_MAX__ 4294967295U
939 // ARMEABISOFTFP_FP:#define __SIZE_TYPE__ unsigned int
940 // ARMEABISOFTFP_FP:#define __SIZE_WIDTH__ 32
941 // ARMEABISOFTFP_FP-NOT:#define __SOFTFP__ 1
942 // ARMEABISOFTFP_FP:#define __UINT16_C_SUFFIX__
943 // ARMEABISOFTFP_FP:#define __UINT16_MAX__ 65535
944 // ARMEABISOFTFP_FP:#define __UINT16_TYPE__ unsigned short
945 // ARMEABISOFTFP_FP:#define __UINT32_C_SUFFIX__ U
946 // ARMEABISOFTFP_FP:#define __UINT32_MAX__ 4294967295U
947 // ARMEABISOFTFP_FP:#define __UINT32_TYPE__ unsigned int
948 // ARMEABISOFTFP_FP:#define __UINT64_C_SUFFIX__ ULL
949 // ARMEABISOFTFP_FP:#define __UINT64_MAX__ 18446744073709551615ULL
950 // ARMEABISOFTFP_FP:#define __UINT64_TYPE__ long long unsigned int
951 // ARMEABISOFTFP_FP:#define __UINT8_C_SUFFIX__
952 // ARMEABISOFTFP_FP:#define __UINT8_MAX__ 255
953 // ARMEABISOFTFP_FP:#define __UINT8_TYPE__ unsigned char
954 // ARMEABISOFTFP_FP:#define __UINTMAX_C_SUFFIX__ ULL
955 // ARMEABISOFTFP_FP:#define __UINTMAX_MAX__ 18446744073709551615ULL
956 // ARMEABISOFTFP_FP:#define __UINTMAX_TYPE__ long long unsigned int
957 // ARMEABISOFTFP_FP:#define __UINTMAX_WIDTH__ 64
958 // ARMEABISOFTFP_FP:#define __UINTPTR_MAX__ 4294967295U
959 // ARMEABISOFTFP_FP:#define __UINTPTR_TYPE__ unsigned int
960 // ARMEABISOFTFP_FP:#define __UINTPTR_WIDTH__ 32
961 // ARMEABISOFTFP_FP:#define __UINT_FAST16_MAX__ 65535
962 // ARMEABISOFTFP_FP:#define __UINT_FAST16_TYPE__ unsigned short
963 // ARMEABISOFTFP_FP:#define __UINT_FAST32_MAX__ 4294967295U
964 // ARMEABISOFTFP_FP:#define __UINT_FAST32_TYPE__ unsigned int
965 // ARMEABISOFTFP_FP:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
966 // ARMEABISOFTFP_FP:#define __UINT_FAST64_TYPE__ long long unsigned int
967 // ARMEABISOFTFP_FP:#define __UINT_FAST8_MAX__ 255
968 // ARMEABISOFTFP_FP:#define __UINT_FAST8_TYPE__ unsigned char
969 // ARMEABISOFTFP_FP:#define __UINT_LEAST16_MAX__ 65535
970 // ARMEABISOFTFP_FP:#define __UINT_LEAST16_TYPE__ unsigned short
971 // ARMEABISOFTFP_FP:#define __UINT_LEAST32_MAX__ 4294967295U
972 // ARMEABISOFTFP_FP:#define __UINT_LEAST32_TYPE__ unsigned int
973 // ARMEABISOFTFP_FP:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
974 // ARMEABISOFTFP_FP:#define __UINT_LEAST64_TYPE__ long long unsigned int
975 // ARMEABISOFTFP_FP:#define __UINT_LEAST8_MAX__ 255
976 // ARMEABISOFTFP_FP:#define __UINT_LEAST8_TYPE__ unsigned char
977 // ARMEABISOFTFP_FP:#define __USER_LABEL_PREFIX__
978 // ARMEABISOFTFP_FP:#define __WCHAR_MAX__ 4294967295U
979 // ARMEABISOFTFP_FP:#define __WCHAR_TYPE__ unsigned int
980 // ARMEABISOFTFP_FP:#define __WCHAR_WIDTH__ 32
981 // ARMEABISOFTFP_FP:#define __WINT_TYPE__ unsigned int
982 // ARMEABISOFTFP_FP:#define __WINT_WIDTH__ 32
983 // ARMEABISOFTFP_FP:#define __arm 1
984 // ARMEABISOFTFP_FP:#define __arm__ 1
986 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=arm-none-linux-gnueabi < /dev/null | FileCheck -match-full-lines -check-prefix ARMEABIHARDFP %s
988 // ARMEABIHARDFP-NOT:#define _LP64
989 // ARMEABIHARDFP:#define __APCS_32__ 1
990 // ARMEABIHARDFP-NOT:#define __ARMEB__ 1
991 // ARMEABIHARDFP:#define __ARMEL__ 1
992 // ARMEABIHARDFP:#define __ARM_ARCH 4
993 // ARMEABIHARDFP:#define __ARM_ARCH_4T__ 1
994 // ARMEABIHARDFP-NOT:#define __ARM_BIG_ENDIAN 1
995 // ARMEABIHARDFP:#define __ARM_EABI__ 1
996 // ARMEABIHARDFP:#define __ARM_PCS 1
997 // ARMEABIHARDFP:#define __ARM_PCS_VFP 1
998 // ARMEABIHARDFP:#define __BIGGEST_ALIGNMENT__ 8
999 // ARMEABIHARDFP:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
1000 // ARMEABIHARDFP:#define __CHAR16_TYPE__ unsigned short
1001 // ARMEABIHARDFP:#define __CHAR32_TYPE__ unsigned int
1002 // ARMEABIHARDFP:#define __CHAR_BIT__ 8
1003 // ARMEABIHARDFP:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
1004 // ARMEABIHARDFP:#define __DBL_DIG__ 15
1005 // ARMEABIHARDFP:#define __DBL_EPSILON__ 2.2204460492503131e-16
1006 // ARMEABIHARDFP:#define __DBL_HAS_DENORM__ 1
1007 // ARMEABIHARDFP:#define __DBL_HAS_INFINITY__ 1
1008 // ARMEABIHARDFP:#define __DBL_HAS_QUIET_NAN__ 1
1009 // ARMEABIHARDFP:#define __DBL_MANT_DIG__ 53
1010 // ARMEABIHARDFP:#define __DBL_MAX_10_EXP__ 308
1011 // ARMEABIHARDFP:#define __DBL_MAX_EXP__ 1024
1012 // ARMEABIHARDFP:#define __DBL_MAX__ 1.7976931348623157e+308
1013 // ARMEABIHARDFP:#define __DBL_MIN_10_EXP__ (-307)
1014 // ARMEABIHARDFP:#define __DBL_MIN_EXP__ (-1021)
1015 // ARMEABIHARDFP:#define __DBL_MIN__ 2.2250738585072014e-308
1016 // ARMEABIHARDFP:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
1017 // ARMEABIHARDFP:#define __FLT_DENORM_MIN__ 1.40129846e-45F
1018 // ARMEABIHARDFP:#define __FLT_DIG__ 6
1019 // ARMEABIHARDFP:#define __FLT_EPSILON__ 1.19209290e-7F
1020 // ARMEABIHARDFP:#define __FLT_HAS_DENORM__ 1
1021 // ARMEABIHARDFP:#define __FLT_HAS_INFINITY__ 1
1022 // ARMEABIHARDFP:#define __FLT_HAS_QUIET_NAN__ 1
1023 // ARMEABIHARDFP:#define __FLT_MANT_DIG__ 24
1024 // ARMEABIHARDFP:#define __FLT_MAX_10_EXP__ 38
1025 // ARMEABIHARDFP:#define __FLT_MAX_EXP__ 128
1026 // ARMEABIHARDFP:#define __FLT_MAX__ 3.40282347e+38F
1027 // ARMEABIHARDFP:#define __FLT_MIN_10_EXP__ (-37)
1028 // ARMEABIHARDFP:#define __FLT_MIN_EXP__ (-125)
1029 // ARMEABIHARDFP:#define __FLT_MIN__ 1.17549435e-38F
1030 // ARMEABIHARDFP:#define __FLT_RADIX__ 2
1031 // ARMEABIHARDFP:#define __INT16_C_SUFFIX__
1032 // ARMEABIHARDFP:#define __INT16_FMTd__ "hd"
1033 // ARMEABIHARDFP:#define __INT16_FMTi__ "hi"
1034 // ARMEABIHARDFP:#define __INT16_MAX__ 32767
1035 // ARMEABIHARDFP:#define __INT16_TYPE__ short
1036 // ARMEABIHARDFP:#define __INT32_C_SUFFIX__
1037 // ARMEABIHARDFP:#define __INT32_FMTd__ "d"
1038 // ARMEABIHARDFP:#define __INT32_FMTi__ "i"
1039 // ARMEABIHARDFP:#define __INT32_MAX__ 2147483647
1040 // ARMEABIHARDFP:#define __INT32_TYPE__ int
1041 // ARMEABIHARDFP:#define __INT64_C_SUFFIX__ LL
1042 // ARMEABIHARDFP:#define __INT64_FMTd__ "lld"
1043 // ARMEABIHARDFP:#define __INT64_FMTi__ "lli"
1044 // ARMEABIHARDFP:#define __INT64_MAX__ 9223372036854775807LL
1045 // ARMEABIHARDFP:#define __INT64_TYPE__ long long int
1046 // ARMEABIHARDFP:#define __INT8_C_SUFFIX__
1047 // ARMEABIHARDFP:#define __INT8_FMTd__ "hhd"
1048 // ARMEABIHARDFP:#define __INT8_FMTi__ "hhi"
1049 // ARMEABIHARDFP:#define __INT8_MAX__ 127
1050 // ARMEABIHARDFP:#define __INT8_TYPE__ signed char
1051 // ARMEABIHARDFP:#define __INTMAX_C_SUFFIX__ LL
1052 // ARMEABIHARDFP:#define __INTMAX_FMTd__ "lld"
1053 // ARMEABIHARDFP:#define __INTMAX_FMTi__ "lli"
1054 // ARMEABIHARDFP:#define __INTMAX_MAX__ 9223372036854775807LL
1055 // ARMEABIHARDFP:#define __INTMAX_TYPE__ long long int
1056 // ARMEABIHARDFP:#define __INTMAX_WIDTH__ 64
1057 // ARMEABIHARDFP:#define __INTPTR_FMTd__ "d"
1058 // ARMEABIHARDFP:#define __INTPTR_FMTi__ "i"
1059 // ARMEABIHARDFP:#define __INTPTR_MAX__ 2147483647
1060 // ARMEABIHARDFP:#define __INTPTR_TYPE__ int
1061 // ARMEABIHARDFP:#define __INTPTR_WIDTH__ 32
1062 // ARMEABIHARDFP:#define __INT_FAST16_FMTd__ "hd"
1063 // ARMEABIHARDFP:#define __INT_FAST16_FMTi__ "hi"
1064 // ARMEABIHARDFP:#define __INT_FAST16_MAX__ 32767
1065 // ARMEABIHARDFP:#define __INT_FAST16_TYPE__ short
1066 // ARMEABIHARDFP:#define __INT_FAST32_FMTd__ "d"
1067 // ARMEABIHARDFP:#define __INT_FAST32_FMTi__ "i"
1068 // ARMEABIHARDFP:#define __INT_FAST32_MAX__ 2147483647
1069 // ARMEABIHARDFP:#define __INT_FAST32_TYPE__ int
1070 // ARMEABIHARDFP:#define __INT_FAST64_FMTd__ "lld"
1071 // ARMEABIHARDFP:#define __INT_FAST64_FMTi__ "lli"
1072 // ARMEABIHARDFP:#define __INT_FAST64_MAX__ 9223372036854775807LL
1073 // ARMEABIHARDFP:#define __INT_FAST64_TYPE__ long long int
1074 // ARMEABIHARDFP:#define __INT_FAST8_FMTd__ "hhd"
1075 // ARMEABIHARDFP:#define __INT_FAST8_FMTi__ "hhi"
1076 // ARMEABIHARDFP:#define __INT_FAST8_MAX__ 127
1077 // ARMEABIHARDFP:#define __INT_FAST8_TYPE__ signed char
1078 // ARMEABIHARDFP:#define __INT_LEAST16_FMTd__ "hd"
1079 // ARMEABIHARDFP:#define __INT_LEAST16_FMTi__ "hi"
1080 // ARMEABIHARDFP:#define __INT_LEAST16_MAX__ 32767
1081 // ARMEABIHARDFP:#define __INT_LEAST16_TYPE__ short
1082 // ARMEABIHARDFP:#define __INT_LEAST32_FMTd__ "d"
1083 // ARMEABIHARDFP:#define __INT_LEAST32_FMTi__ "i"
1084 // ARMEABIHARDFP:#define __INT_LEAST32_MAX__ 2147483647
1085 // ARMEABIHARDFP:#define __INT_LEAST32_TYPE__ int
1086 // ARMEABIHARDFP:#define __INT_LEAST64_FMTd__ "lld"
1087 // ARMEABIHARDFP:#define __INT_LEAST64_FMTi__ "lli"
1088 // ARMEABIHARDFP:#define __INT_LEAST64_MAX__ 9223372036854775807LL
1089 // ARMEABIHARDFP:#define __INT_LEAST64_TYPE__ long long int
1090 // ARMEABIHARDFP:#define __INT_LEAST8_FMTd__ "hhd"
1091 // ARMEABIHARDFP:#define __INT_LEAST8_FMTi__ "hhi"
1092 // ARMEABIHARDFP:#define __INT_LEAST8_MAX__ 127
1093 // ARMEABIHARDFP:#define __INT_LEAST8_TYPE__ signed char
1094 // ARMEABIHARDFP:#define __INT_MAX__ 2147483647
1095 // ARMEABIHARDFP:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
1096 // ARMEABIHARDFP:#define __LDBL_DIG__ 15
1097 // ARMEABIHARDFP:#define __LDBL_EPSILON__ 2.2204460492503131e-16L
1098 // ARMEABIHARDFP:#define __LDBL_HAS_DENORM__ 1
1099 // ARMEABIHARDFP:#define __LDBL_HAS_INFINITY__ 1
1100 // ARMEABIHARDFP:#define __LDBL_HAS_QUIET_NAN__ 1
1101 // ARMEABIHARDFP:#define __LDBL_MANT_DIG__ 53
1102 // ARMEABIHARDFP:#define __LDBL_MAX_10_EXP__ 308
1103 // ARMEABIHARDFP:#define __LDBL_MAX_EXP__ 1024
1104 // ARMEABIHARDFP:#define __LDBL_MAX__ 1.7976931348623157e+308L
1105 // ARMEABIHARDFP:#define __LDBL_MIN_10_EXP__ (-307)
1106 // ARMEABIHARDFP:#define __LDBL_MIN_EXP__ (-1021)
1107 // ARMEABIHARDFP:#define __LDBL_MIN__ 2.2250738585072014e-308L
1108 // ARMEABIHARDFP:#define __LITTLE_ENDIAN__ 1
1109 // ARMEABIHARDFP:#define __LONG_LONG_MAX__ 9223372036854775807LL
1110 // ARMEABIHARDFP:#define __LONG_MAX__ 2147483647L
1111 // ARMEABIHARDFP-NOT:#define __LP64__
1112 // ARMEABIHARDFP:#define __POINTER_WIDTH__ 32
1113 // ARMEABIHARDFP:#define __PTRDIFF_TYPE__ int
1114 // ARMEABIHARDFP:#define __PTRDIFF_WIDTH__ 32
1115 // ARMEABIHARDFP:#define __REGISTER_PREFIX__
1116 // ARMEABIHARDFP:#define __SCHAR_MAX__ 127
1117 // ARMEABIHARDFP:#define __SHRT_MAX__ 32767
1118 // ARMEABIHARDFP:#define __SIG_ATOMIC_MAX__ 2147483647
1119 // ARMEABIHARDFP:#define __SIG_ATOMIC_WIDTH__ 32
1120 // ARMEABIHARDFP:#define __SIZEOF_DOUBLE__ 8
1121 // ARMEABIHARDFP:#define __SIZEOF_FLOAT__ 4
1122 // ARMEABIHARDFP:#define __SIZEOF_INT__ 4
1123 // ARMEABIHARDFP:#define __SIZEOF_LONG_DOUBLE__ 8
1124 // ARMEABIHARDFP:#define __SIZEOF_LONG_LONG__ 8
1125 // ARMEABIHARDFP:#define __SIZEOF_LONG__ 4
1126 // ARMEABIHARDFP:#define __SIZEOF_POINTER__ 4
1127 // ARMEABIHARDFP:#define __SIZEOF_PTRDIFF_T__ 4
1128 // ARMEABIHARDFP:#define __SIZEOF_SHORT__ 2
1129 // ARMEABIHARDFP:#define __SIZEOF_SIZE_T__ 4
1130 // ARMEABIHARDFP:#define __SIZEOF_WCHAR_T__ 4
1131 // ARMEABIHARDFP:#define __SIZEOF_WINT_T__ 4
1132 // ARMEABIHARDFP:#define __SIZE_MAX__ 4294967295U
1133 // ARMEABIHARDFP:#define __SIZE_TYPE__ unsigned int
1134 // ARMEABIHARDFP:#define __SIZE_WIDTH__ 32
1135 // ARMEABIHARDFP-NOT:#define __SOFTFP__ 1
1136 // ARMEABIHARDFP:#define __UINT16_C_SUFFIX__
1137 // ARMEABIHARDFP:#define __UINT16_MAX__ 65535
1138 // ARMEABIHARDFP:#define __UINT16_TYPE__ unsigned short
1139 // ARMEABIHARDFP:#define __UINT32_C_SUFFIX__ U
1140 // ARMEABIHARDFP:#define __UINT32_MAX__ 4294967295U
1141 // ARMEABIHARDFP:#define __UINT32_TYPE__ unsigned int
1142 // ARMEABIHARDFP:#define __UINT64_C_SUFFIX__ ULL
1143 // ARMEABIHARDFP:#define __UINT64_MAX__ 18446744073709551615ULL
1144 // ARMEABIHARDFP:#define __UINT64_TYPE__ long long unsigned int
1145 // ARMEABIHARDFP:#define __UINT8_C_SUFFIX__
1146 // ARMEABIHARDFP:#define __UINT8_MAX__ 255
1147 // ARMEABIHARDFP:#define __UINT8_TYPE__ unsigned char
1148 // ARMEABIHARDFP:#define __UINTMAX_C_SUFFIX__ ULL
1149 // ARMEABIHARDFP:#define __UINTMAX_MAX__ 18446744073709551615ULL
1150 // ARMEABIHARDFP:#define __UINTMAX_TYPE__ long long unsigned int
1151 // ARMEABIHARDFP:#define __UINTMAX_WIDTH__ 64
1152 // ARMEABIHARDFP:#define __UINTPTR_MAX__ 4294967295U
1153 // ARMEABIHARDFP:#define __UINTPTR_TYPE__ unsigned int
1154 // ARMEABIHARDFP:#define __UINTPTR_WIDTH__ 32
1155 // ARMEABIHARDFP:#define __UINT_FAST16_MAX__ 65535
1156 // ARMEABIHARDFP:#define __UINT_FAST16_TYPE__ unsigned short
1157 // ARMEABIHARDFP:#define __UINT_FAST32_MAX__ 4294967295U
1158 // ARMEABIHARDFP:#define __UINT_FAST32_TYPE__ unsigned int
1159 // ARMEABIHARDFP:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
1160 // ARMEABIHARDFP:#define __UINT_FAST64_TYPE__ long long unsigned int
1161 // ARMEABIHARDFP:#define __UINT_FAST8_MAX__ 255
1162 // ARMEABIHARDFP:#define __UINT_FAST8_TYPE__ unsigned char
1163 // ARMEABIHARDFP:#define __UINT_LEAST16_MAX__ 65535
1164 // ARMEABIHARDFP:#define __UINT_LEAST16_TYPE__ unsigned short
1165 // ARMEABIHARDFP:#define __UINT_LEAST32_MAX__ 4294967295U
1166 // ARMEABIHARDFP:#define __UINT_LEAST32_TYPE__ unsigned int
1167 // ARMEABIHARDFP:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
1168 // ARMEABIHARDFP:#define __UINT_LEAST64_TYPE__ long long unsigned int
1169 // ARMEABIHARDFP:#define __UINT_LEAST8_MAX__ 255
1170 // ARMEABIHARDFP:#define __UINT_LEAST8_TYPE__ unsigned char
1171 // ARMEABIHARDFP:#define __USER_LABEL_PREFIX__
1172 // ARMEABIHARDFP:#define __WCHAR_MAX__ 4294967295U
1173 // ARMEABIHARDFP:#define __WCHAR_TYPE__ unsigned int
1174 // ARMEABIHARDFP:#define __WCHAR_WIDTH__ 32
1175 // ARMEABIHARDFP:#define __WINT_TYPE__ unsigned int
1176 // ARMEABIHARDFP:#define __WINT_WIDTH__ 32
1177 // ARMEABIHARDFP:#define __arm 1
1178 // ARMEABIHARDFP:#define __arm__ 1
1180 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=armv6-unknown-cloudabi-eabihf < /dev/null | FileCheck -match-full-lines -check-prefix ARMV6-CLOUDABI %s
1182 // ARMV6-CLOUDABI:#define __CloudABI__ 1
1183 // ARMV6-CLOUDABI:#define __arm__ 1
1185 // RUN: %clang -E -dM -ffreestanding -target arm-netbsd-eabi %s -o - | FileCheck -match-full-lines -check-prefix ARM-NETBSD %s
1187 // ARM-NETBSD-NOT:#define _LP64
1188 // ARM-NETBSD:#define __APCS_32__ 1
1189 // ARM-NETBSD-NOT:#define __ARMEB__ 1
1190 // ARM-NETBSD:#define __ARMEL__ 1
1191 // ARM-NETBSD:#define __ARM_ARCH_5TE__ 1
1192 // ARM-NETBSD:#define __ARM_DWARF_EH__ 1
1193 // ARM-NETBSD:#define __ARM_EABI__ 1
1194 // ARM-NETBSD-NOT:#define __ARM_BIG_ENDIAN 1
1195 // ARM-NETBSD:#define __BIGGEST_ALIGNMENT__ 8
1196 // ARM-NETBSD:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
1197 // ARM-NETBSD:#define __CHAR16_TYPE__ unsigned short
1198 // ARM-NETBSD:#define __CHAR32_TYPE__ unsigned int
1199 // ARM-NETBSD:#define __CHAR_BIT__ 8
1200 // ARM-NETBSD:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
1201 // ARM-NETBSD:#define __DBL_DIG__ 15
1202 // ARM-NETBSD:#define __DBL_EPSILON__ 2.2204460492503131e-16
1203 // ARM-NETBSD:#define __DBL_HAS_DENORM__ 1
1204 // ARM-NETBSD:#define __DBL_HAS_INFINITY__ 1
1205 // ARM-NETBSD:#define __DBL_HAS_QUIET_NAN__ 1
1206 // ARM-NETBSD:#define __DBL_MANT_DIG__ 53
1207 // ARM-NETBSD:#define __DBL_MAX_10_EXP__ 308
1208 // ARM-NETBSD:#define __DBL_MAX_EXP__ 1024
1209 // ARM-NETBSD:#define __DBL_MAX__ 1.7976931348623157e+308
1210 // ARM-NETBSD:#define __DBL_MIN_10_EXP__ (-307)
1211 // ARM-NETBSD:#define __DBL_MIN_EXP__ (-1021)
1212 // ARM-NETBSD:#define __DBL_MIN__ 2.2250738585072014e-308
1213 // ARM-NETBSD:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
1214 // ARM-NETBSD:#define __FLT_DENORM_MIN__ 1.40129846e-45F
1215 // ARM-NETBSD:#define __FLT_DIG__ 6
1216 // ARM-NETBSD:#define __FLT_EPSILON__ 1.19209290e-7F
1217 // ARM-NETBSD:#define __FLT_HAS_DENORM__ 1
1218 // ARM-NETBSD:#define __FLT_HAS_INFINITY__ 1
1219 // ARM-NETBSD:#define __FLT_HAS_QUIET_NAN__ 1
1220 // ARM-NETBSD:#define __FLT_MANT_DIG__ 24
1221 // ARM-NETBSD:#define __FLT_MAX_10_EXP__ 38
1222 // ARM-NETBSD:#define __FLT_MAX_EXP__ 128
1223 // ARM-NETBSD:#define __FLT_MAX__ 3.40282347e+38F
1224 // ARM-NETBSD:#define __FLT_MIN_10_EXP__ (-37)
1225 // ARM-NETBSD:#define __FLT_MIN_EXP__ (-125)
1226 // ARM-NETBSD:#define __FLT_MIN__ 1.17549435e-38F
1227 // ARM-NETBSD:#define __FLT_RADIX__ 2
1228 // ARM-NETBSD:#define __INT16_C_SUFFIX__
1229 // ARM-NETBSD:#define __INT16_FMTd__ "hd"
1230 // ARM-NETBSD:#define __INT16_FMTi__ "hi"
1231 // ARM-NETBSD:#define __INT16_MAX__ 32767
1232 // ARM-NETBSD:#define __INT16_TYPE__ short
1233 // ARM-NETBSD:#define __INT32_C_SUFFIX__
1234 // ARM-NETBSD:#define __INT32_FMTd__ "d"
1235 // ARM-NETBSD:#define __INT32_FMTi__ "i"
1236 // ARM-NETBSD:#define __INT32_MAX__ 2147483647
1237 // ARM-NETBSD:#define __INT32_TYPE__ int
1238 // ARM-NETBSD:#define __INT64_C_SUFFIX__ LL
1239 // ARM-NETBSD:#define __INT64_FMTd__ "lld"
1240 // ARM-NETBSD:#define __INT64_FMTi__ "lli"
1241 // ARM-NETBSD:#define __INT64_MAX__ 9223372036854775807LL
1242 // ARM-NETBSD:#define __INT64_TYPE__ long long int
1243 // ARM-NETBSD:#define __INT8_C_SUFFIX__
1244 // ARM-NETBSD:#define __INT8_FMTd__ "hhd"
1245 // ARM-NETBSD:#define __INT8_FMTi__ "hhi"
1246 // ARM-NETBSD:#define __INT8_MAX__ 127
1247 // ARM-NETBSD:#define __INT8_TYPE__ signed char
1248 // ARM-NETBSD:#define __INTMAX_C_SUFFIX__ LL
1249 // ARM-NETBSD:#define __INTMAX_FMTd__ "lld"
1250 // ARM-NETBSD:#define __INTMAX_FMTi__ "lli"
1251 // ARM-NETBSD:#define __INTMAX_MAX__ 9223372036854775807LL
1252 // ARM-NETBSD:#define __INTMAX_TYPE__ long long int
1253 // ARM-NETBSD:#define __INTMAX_WIDTH__ 64
1254 // ARM-NETBSD:#define __INTPTR_FMTd__ "ld"
1255 // ARM-NETBSD:#define __INTPTR_FMTi__ "li"
1256 // ARM-NETBSD:#define __INTPTR_MAX__ 2147483647L
1257 // ARM-NETBSD:#define __INTPTR_TYPE__ long int
1258 // ARM-NETBSD:#define __INTPTR_WIDTH__ 32
1259 // ARM-NETBSD:#define __INT_FAST16_FMTd__ "hd"
1260 // ARM-NETBSD:#define __INT_FAST16_FMTi__ "hi"
1261 // ARM-NETBSD:#define __INT_FAST16_MAX__ 32767
1262 // ARM-NETBSD:#define __INT_FAST16_TYPE__ short
1263 // ARM-NETBSD:#define __INT_FAST32_FMTd__ "d"
1264 // ARM-NETBSD:#define __INT_FAST32_FMTi__ "i"
1265 // ARM-NETBSD:#define __INT_FAST32_MAX__ 2147483647
1266 // ARM-NETBSD:#define __INT_FAST32_TYPE__ int
1267 // ARM-NETBSD:#define __INT_FAST64_FMTd__ "lld"
1268 // ARM-NETBSD:#define __INT_FAST64_FMTi__ "lli"
1269 // ARM-NETBSD:#define __INT_FAST64_MAX__ 9223372036854775807LL
1270 // ARM-NETBSD:#define __INT_FAST64_TYPE__ long long int
1271 // ARM-NETBSD:#define __INT_FAST8_FMTd__ "hhd"
1272 // ARM-NETBSD:#define __INT_FAST8_FMTi__ "hhi"
1273 // ARM-NETBSD:#define __INT_FAST8_MAX__ 127
1274 // ARM-NETBSD:#define __INT_FAST8_TYPE__ signed char
1275 // ARM-NETBSD:#define __INT_LEAST16_FMTd__ "hd"
1276 // ARM-NETBSD:#define __INT_LEAST16_FMTi__ "hi"
1277 // ARM-NETBSD:#define __INT_LEAST16_MAX__ 32767
1278 // ARM-NETBSD:#define __INT_LEAST16_TYPE__ short
1279 // ARM-NETBSD:#define __INT_LEAST32_FMTd__ "d"
1280 // ARM-NETBSD:#define __INT_LEAST32_FMTi__ "i"
1281 // ARM-NETBSD:#define __INT_LEAST32_MAX__ 2147483647
1282 // ARM-NETBSD:#define __INT_LEAST32_TYPE__ int
1283 // ARM-NETBSD:#define __INT_LEAST64_FMTd__ "lld"
1284 // ARM-NETBSD:#define __INT_LEAST64_FMTi__ "lli"
1285 // ARM-NETBSD:#define __INT_LEAST64_MAX__ 9223372036854775807LL
1286 // ARM-NETBSD:#define __INT_LEAST64_TYPE__ long long int
1287 // ARM-NETBSD:#define __INT_LEAST8_FMTd__ "hhd"
1288 // ARM-NETBSD:#define __INT_LEAST8_FMTi__ "hhi"
1289 // ARM-NETBSD:#define __INT_LEAST8_MAX__ 127
1290 // ARM-NETBSD:#define __INT_LEAST8_TYPE__ signed char
1291 // ARM-NETBSD:#define __INT_MAX__ 2147483647
1292 // ARM-NETBSD:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
1293 // ARM-NETBSD:#define __LDBL_DIG__ 15
1294 // ARM-NETBSD:#define __LDBL_EPSILON__ 2.2204460492503131e-16L
1295 // ARM-NETBSD:#define __LDBL_HAS_DENORM__ 1
1296 // ARM-NETBSD:#define __LDBL_HAS_INFINITY__ 1
1297 // ARM-NETBSD:#define __LDBL_HAS_QUIET_NAN__ 1
1298 // ARM-NETBSD:#define __LDBL_MANT_DIG__ 53
1299 // ARM-NETBSD:#define __LDBL_MAX_10_EXP__ 308
1300 // ARM-NETBSD:#define __LDBL_MAX_EXP__ 1024
1301 // ARM-NETBSD:#define __LDBL_MAX__ 1.7976931348623157e+308L
1302 // ARM-NETBSD:#define __LDBL_MIN_10_EXP__ (-307)
1303 // ARM-NETBSD:#define __LDBL_MIN_EXP__ (-1021)
1304 // ARM-NETBSD:#define __LDBL_MIN__ 2.2250738585072014e-308L
1305 // ARM-NETBSD:#define __LITTLE_ENDIAN__ 1
1306 // ARM-NETBSD:#define __LONG_LONG_MAX__ 9223372036854775807LL
1307 // ARM-NETBSD:#define __LONG_MAX__ 2147483647L
1308 // ARM-NETBSD-NOT:#define __LP64__
1309 // ARM-NETBSD:#define __POINTER_WIDTH__ 32
1310 // ARM-NETBSD:#define __PTRDIFF_TYPE__ long int
1311 // ARM-NETBSD:#define __PTRDIFF_WIDTH__ 32
1312 // ARM-NETBSD:#define __REGISTER_PREFIX__
1313 // ARM-NETBSD:#define __SCHAR_MAX__ 127
1314 // ARM-NETBSD:#define __SHRT_MAX__ 32767
1315 // ARM-NETBSD:#define __SIG_ATOMIC_MAX__ 2147483647
1316 // ARM-NETBSD:#define __SIG_ATOMIC_WIDTH__ 32
1317 // ARM-NETBSD:#define __SIZEOF_DOUBLE__ 8
1318 // ARM-NETBSD:#define __SIZEOF_FLOAT__ 4
1319 // ARM-NETBSD:#define __SIZEOF_INT__ 4
1320 // ARM-NETBSD:#define __SIZEOF_LONG_DOUBLE__ 8
1321 // ARM-NETBSD:#define __SIZEOF_LONG_LONG__ 8
1322 // ARM-NETBSD:#define __SIZEOF_LONG__ 4
1323 // ARM-NETBSD:#define __SIZEOF_POINTER__ 4
1324 // ARM-NETBSD:#define __SIZEOF_PTRDIFF_T__ 4
1325 // ARM-NETBSD:#define __SIZEOF_SHORT__ 2
1326 // ARM-NETBSD:#define __SIZEOF_SIZE_T__ 4
1327 // ARM-NETBSD:#define __SIZEOF_WCHAR_T__ 4
1328 // ARM-NETBSD:#define __SIZEOF_WINT_T__ 4
1329 // ARM-NETBSD:#define __SIZE_MAX__ 4294967295UL
1330 // ARM-NETBSD:#define __SIZE_TYPE__ long unsigned int
1331 // ARM-NETBSD:#define __SIZE_WIDTH__ 32
1332 // ARM-NETBSD:#define __SOFTFP__ 1
1333 // ARM-NETBSD:#define __UINT16_C_SUFFIX__
1334 // ARM-NETBSD:#define __UINT16_MAX__ 65535
1335 // ARM-NETBSD:#define __UINT16_TYPE__ unsigned short
1336 // ARM-NETBSD:#define __UINT32_C_SUFFIX__ U
1337 // ARM-NETBSD:#define __UINT32_MAX__ 4294967295U
1338 // ARM-NETBSD:#define __UINT32_TYPE__ unsigned int
1339 // ARM-NETBSD:#define __UINT64_C_SUFFIX__ ULL
1340 // ARM-NETBSD:#define __UINT64_MAX__ 18446744073709551615ULL
1341 // ARM-NETBSD:#define __UINT64_TYPE__ long long unsigned int
1342 // ARM-NETBSD:#define __UINT8_C_SUFFIX__
1343 // ARM-NETBSD:#define __UINT8_MAX__ 255
1344 // ARM-NETBSD:#define __UINT8_TYPE__ unsigned char
1345 // ARM-NETBSD:#define __UINTMAX_C_SUFFIX__ ULL
1346 // ARM-NETBSD:#define __UINTMAX_MAX__ 18446744073709551615ULL
1347 // ARM-NETBSD:#define __UINTMAX_TYPE__ long long unsigned int
1348 // ARM-NETBSD:#define __UINTMAX_WIDTH__ 64
1349 // ARM-NETBSD:#define __UINTPTR_MAX__ 4294967295UL
1350 // ARM-NETBSD:#define __UINTPTR_TYPE__ long unsigned int
1351 // ARM-NETBSD:#define __UINTPTR_WIDTH__ 32
1352 // ARM-NETBSD:#define __UINT_FAST16_MAX__ 65535
1353 // ARM-NETBSD:#define __UINT_FAST16_TYPE__ unsigned short
1354 // ARM-NETBSD:#define __UINT_FAST32_MAX__ 4294967295U
1355 // ARM-NETBSD:#define __UINT_FAST32_TYPE__ unsigned int
1356 // ARM-NETBSD:#define __UINT_FAST64_MAX__ 18446744073709551615ULL
1357 // ARM-NETBSD:#define __UINT_FAST64_TYPE__ long long unsigned int
1358 // ARM-NETBSD:#define __UINT_FAST8_MAX__ 255
1359 // ARM-NETBSD:#define __UINT_FAST8_TYPE__ unsigned char
1360 // ARM-NETBSD:#define __UINT_LEAST16_MAX__ 65535
1361 // ARM-NETBSD:#define __UINT_LEAST16_TYPE__ unsigned short
1362 // ARM-NETBSD:#define __UINT_LEAST32_MAX__ 4294967295U
1363 // ARM-NETBSD:#define __UINT_LEAST32_TYPE__ unsigned int
1364 // ARM-NETBSD:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
1365 // ARM-NETBSD:#define __UINT_LEAST64_TYPE__ long long unsigned int
1366 // ARM-NETBSD:#define __UINT_LEAST8_MAX__ 255
1367 // ARM-NETBSD:#define __UINT_LEAST8_TYPE__ unsigned char
1368 // ARM-NETBSD:#define __USER_LABEL_PREFIX__
1369 // ARM-NETBSD:#define __WCHAR_MAX__ 2147483647
1370 // ARM-NETBSD:#define __WCHAR_TYPE__ int
1371 // ARM-NETBSD:#define __WCHAR_WIDTH__ 32
1372 // ARM-NETBSD:#define __WINT_TYPE__ int
1373 // ARM-NETBSD:#define __WINT_WIDTH__ 32
1374 // ARM-NETBSD:#define __arm 1
1375 // ARM-NETBSD:#define __arm__ 1
1377 // RUN: %clang -E -dM -ffreestanding -target arm-netbsd-eabihf %s -o - | FileCheck -match-full-lines -check-prefix ARMHF-NETBSD %s
1378 // ARMHF-NETBSD:#define __SIZE_WIDTH__ 32
1379 // ARMHF-NETBSD-NOT:#define __SOFTFP__ 1
1380 // ARMHF-NETBSD:#define __UINT16_C_SUFFIX__
1382 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=arm-none-eabi < /dev/null | FileCheck -match-full-lines -check-prefix ARM-NONE-EABI %s
1383 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=arm-none-eabihf < /dev/null | FileCheck -match-full-lines -check-prefix ARM-NONE-EABI %s
1384 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=aarch64-none-eabi < /dev/null | FileCheck -match-full-lines -check-prefix ARM-NONE-EABI %s
1385 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=aarch64-none-eabihf < /dev/null | FileCheck -match-full-lines -check-prefix ARM-NONE-EABI %s
1386 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=aarch64-none-elf < /dev/null | FileCheck -match-full-lines -check-prefix ARM-NONE-EABI %s
1387 // ARM-NONE-EABI: #define __ELF__ 1
1389 // No MachO targets use the full EABI, even if AAPCS is used.
1390 // 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
1391 // 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
1392 // 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
1393 // 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
1394 // 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
1395 // ARM-MACHO-NO-EABI-NOT: #define __ARM_EABI__ 1
1397 // Check that -mhwdiv works properly for targets which don't have the hwdiv feature enabled by default.
1399 // RUN: %clang -target arm -mhwdiv=arm -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=ARMHWDIV-ARM %s
1400 // ARMHWDIV-ARM:#define __ARM_ARCH_EXT_IDIV__ 1
1402 // RUN: %clang -target arm -mthumb -mhwdiv=thumb -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=THUMBHWDIV-THUMB %s
1403 // THUMBHWDIV-THUMB:#define __ARM_ARCH_EXT_IDIV__ 1
1405 // RUN: %clang -target arm -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=ARM-FALSE %s
1406 // ARM-FALSE-NOT:#define __ARM_ARCH_EXT_IDIV__
1408 // RUN: %clang -target arm -mthumb -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=THUMB-FALSE %s
1409 // THUMB-FALSE-NOT:#define __ARM_ARCH_EXT_IDIV__
1411 // RUN: %clang -target arm -mhwdiv=thumb -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=THUMBHWDIV-ARM-FALSE %s
1412 // THUMBHWDIV-ARM-FALSE-NOT:#define __ARM_ARCH_EXT_IDIV__
1414 // RUN: %clang -target arm -mthumb -mhwdiv=arm -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=ARMHWDIV-THUMB-FALSE %s
1415 // ARMHWDIV-THUMB-FALSE-NOT:#define __ARM_ARCH_EXT_IDIV__
1417 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=armv8-none-none < /dev/null | FileCheck -match-full-lines -check-prefix ARMv8 %s
1418 // ARMv8: #define __THUMB_INTERWORK__ 1
1419 // ARMv8-NOT: #define __thumb2__
1421 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=armebv8-none-none < /dev/null | FileCheck -match-full-lines -check-prefix ARMebv8 %s
1422 // ARMebv8: #define __THUMB_INTERWORK__ 1
1423 // ARMebv8-NOT: #define __thumb2__
1425 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=thumbv8 < /dev/null | FileCheck -match-full-lines -check-prefix Thumbv8 %s
1426 // Thumbv8: #define __THUMB_INTERWORK__ 1
1427 // Thumbv8: #define __thumb2__ 1
1429 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=thumbebv8 < /dev/null | FileCheck -match-full-lines -check-prefix Thumbebv8 %s
1430 // Thumbebv8: #define __THUMB_INTERWORK__ 1
1431 // Thumbebv8: #define __thumb2__ 1
1433 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=thumbv5 < /dev/null | FileCheck -match-full-lines -check-prefix Thumbv5 %s
1434 // Thumbv5: #define __THUMB_INTERWORK__ 1
1435 // Thumbv5-NOT: #define __thumb2__ 1
1437 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=thumbv6t2 < /dev/null | FileCheck -match-full-lines -check-prefix Thumbv6t2 %s
1438 // Thumbv6t2: #define __THUMB_INTERWORK__ 1
1439 // Thumbv6t2: #define __thumb2__ 1
1441 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=thumbv7 < /dev/null | FileCheck -match-full-lines -check-prefix Thumbv7 %s
1442 // Thumbv7: #define __THUMB_INTERWORK__ 1
1443 // Thumbv7: #define __thumb2__ 1
1445 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=thumbebv7 < /dev/null | FileCheck -match-full-lines -check-prefix Thumbebv7 %s
1446 // Thumbebv7: #define __THUMB_INTERWORK__ 1
1447 // Thumbebv7: #define __thumb2__ 1
1449 // 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
1451 // THUMB-MINGW:#define __ARM_DWARF_EH__ 1
1453 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=thumbv6m-none-unknown-eabi < /dev/null | FileCheck -match-full-lines -check-prefix Thumbv6m-elf %s
1454 // Thumbv6m-elf: #define __ELF__ 1
1456 // RUN: %clang_cc1 -x c++ -E -dM -ffreestanding -triple=thumbv6m-none-unknown-eabi < /dev/null | FileCheck -match-full-lines -check-prefix Thumbv6m-cxx %s
1457 // Thumbv6m-cxx: #define _GNU_SOURCE 1