1 // RUN: %clang_cc1 -E -dM -triple=aarch64 -xc /dev/null > %t.aarch64
2 // RUN: FileCheck --check-prefixes=AARCH64,AARCH64_LE,AARCH64_C %s --match-full-lines < %t.aarch64
3 // RUN: %clang_cc1 -E -dM -triple=arm64 -xc /dev/null > %t.arm64
4 // RUN: cmp %t.aarch64 %t.arm64
5 // RUN: %clang_cc1 -E -dM -triple=aarch64_be -xc /dev/null | FileCheck --check-prefixes=AARCH64,AARCH64_BE,AARCH64_C --match-full-lines %s
6 // RUN: %clang_cc1 -E -dM -triple=arm64 -xc++ /dev/null | FileCheck --check-prefixes=AARCH64,AARCH64_LE,AARCH64_CXX --match-full-lines %s
8 // AARCH64: #define _LP64 1
9 // AARCH64_BE-NEXT: #define __AARCH64EB__ 1
10 // AARCH64_BE-NEXT: #define __AARCH64_CMODEL_SMALL__ 1
11 // AARCH64_BE-NEXT: #define __AARCH_BIG_ENDIAN 1
12 // AARCH64_LE-NEXT: #define __AARCH64EL__ 1
13 // AARCH64_LE-NEXT: #define __AARCH64_CMODEL_SMALL__ 1
14 // AARCH64-NEXT: #define __ARM_64BIT_STATE 1
15 // AARCH64-NEXT: #define __ARM_ACLE 200
16 // AARCH64-NEXT: #define __ARM_ALIGN_MAX_STACK_PWR 4
17 // AARCH64-NEXT: #define __ARM_ARCH 8
18 // AARCH64-NEXT: #define __ARM_ARCH_ISA_A64 1
19 // AARCH64-NEXT: #define __ARM_ARCH_PROFILE 'A'
20 // AARCH64_BE-NEXT: #define __ARM_BIG_ENDIAN 1
21 // AARCH64-NEXT: #define __ARM_FEATURE_CLZ 1
22 // AARCH64-NEXT: #define __ARM_FEATURE_DIRECTED_ROUNDING 1
23 // AARCH64-NEXT: #define __ARM_FEATURE_DIV 1
24 // AARCH64-NEXT: #define __ARM_FEATURE_FMA 1
25 // AARCH64-NEXT: #define __ARM_FEATURE_IDIV 1
26 // AARCH64-NEXT: #define __ARM_FEATURE_LDREX 0xF
27 // AARCH64-NEXT: #define __ARM_FEATURE_NUMERIC_MAXMIN 1
28 // AARCH64-NEXT: #define __ARM_FEATURE_UNALIGNED 1
29 // AARCH64-NEXT: #define __ARM_FP 0xE
30 // AARCH64-NEXT: #define __ARM_FP16_ARGS 1
31 // AARCH64-NEXT: #define __ARM_FP16_FORMAT_IEEE 1
32 // AARCH64-NEXT: #define __ARM_PCS_AAPCS64 1
33 // AARCH64-NEXT: #define __ARM_SIZEOF_MINIMAL_ENUM 4
34 // AARCH64-NEXT: #define __ARM_SIZEOF_WCHAR_T 4
35 // AARCH64-NEXT: #define __ATOMIC_ACQUIRE 2
36 // AARCH64-NEXT: #define __ATOMIC_ACQ_REL 4
37 // AARCH64-NEXT: #define __ATOMIC_CONSUME 1
38 // AARCH64-NEXT: #define __ATOMIC_RELAXED 0
39 // AARCH64-NEXT: #define __ATOMIC_RELEASE 3
40 // AARCH64-NEXT: #define __ATOMIC_SEQ_CST 5
41 // AARCH64: #define __BIGGEST_ALIGNMENT__ 16
42 // AARCH64_BE-NEXT: #define __BIG_ENDIAN__ 1
43 // AARCH64-NEXT: #define __BITINT_MAXWIDTH__ 128
44 // AARCH64-NEXT: #define __BOOL_WIDTH__ 8
45 // AARCH64_BE-NEXT: #define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__
46 // AARCH64_LE-NEXT: #define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
47 // AARCH64-NEXT: #define __CHAR16_TYPE__ unsigned short
48 // AARCH64-NEXT: #define __CHAR32_TYPE__ unsigned int
49 // AARCH64-NEXT: #define __CHAR_BIT__ 8
50 // AARCH64-NEXT: #define __CLANG_ATOMIC_BOOL_LOCK_FREE 2
51 // AARCH64-NEXT: #define __CLANG_ATOMIC_CHAR16_T_LOCK_FREE 2
52 // AARCH64-NEXT: #define __CLANG_ATOMIC_CHAR32_T_LOCK_FREE 2
53 // AARCH64-NEXT: #define __CLANG_ATOMIC_CHAR_LOCK_FREE 2
54 // AARCH64-NEXT: #define __CLANG_ATOMIC_INT_LOCK_FREE 2
55 // AARCH64-NEXT: #define __CLANG_ATOMIC_LLONG_LOCK_FREE 2
56 // AARCH64-NEXT: #define __CLANG_ATOMIC_LONG_LOCK_FREE 2
57 // AARCH64-NEXT: #define __CLANG_ATOMIC_POINTER_LOCK_FREE 2
58 // AARCH64-NEXT: #define __CLANG_ATOMIC_SHORT_LOCK_FREE 2
59 // AARCH64-NEXT: #define __CLANG_ATOMIC_WCHAR_T_LOCK_FREE 2
60 // AARCH64-NEXT: #define __CONSTANT_CFSTRINGS__ 1
61 // AARCH64-NEXT: #define __DBL_DECIMAL_DIG__ 17
62 // AARCH64-NEXT: #define __DBL_DENORM_MIN__ 4.9406564584124654e-324
63 // AARCH64-NEXT: #define __DBL_DIG__ 15
64 // AARCH64-NEXT: #define __DBL_EPSILON__ 2.2204460492503131e-16
65 // AARCH64-NEXT: #define __DBL_HAS_DENORM__ 1
66 // AARCH64-NEXT: #define __DBL_HAS_INFINITY__ 1
67 // AARCH64-NEXT: #define __DBL_HAS_QUIET_NAN__ 1
68 // AARCH64-NEXT: #define __DBL_MANT_DIG__ 53
69 // AARCH64-NEXT: #define __DBL_MAX_10_EXP__ 308
70 // AARCH64-NEXT: #define __DBL_MAX_EXP__ 1024
71 // AARCH64-NEXT: #define __DBL_MAX__ 1.7976931348623157e+308
72 // AARCH64-NEXT: #define __DBL_MIN_10_EXP__ (-307)
73 // AARCH64-NEXT: #define __DBL_MIN_EXP__ (-1021)
74 // AARCH64-NEXT: #define __DBL_MIN__ 2.2250738585072014e-308
75 // AARCH64-NEXT: #define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
76 // AARCH64-NEXT: #define __ELF__ 1
77 // AARCH64-NEXT: #define __FINITE_MATH_ONLY__ 0
78 // AARCH64-NEXT: #define __FLT16_DECIMAL_DIG__ 5
79 // AARCH64-NEXT: #define __FLT16_DENORM_MIN__ 5.9604644775390625e-8F16
80 // AARCH64-NEXT: #define __FLT16_DIG__ 3
81 // AARCH64-NEXT: #define __FLT16_EPSILON__ 9.765625e-4F16
82 // AARCH64-NEXT: #define __FLT16_HAS_DENORM__ 1
83 // AARCH64-NEXT: #define __FLT16_HAS_INFINITY__ 1
84 // AARCH64-NEXT: #define __FLT16_HAS_QUIET_NAN__ 1
85 // AARCH64-NEXT: #define __FLT16_MANT_DIG__ 11
86 // AARCH64-NEXT: #define __FLT16_MAX_10_EXP__ 4
87 // AARCH64-NEXT: #define __FLT16_MAX_EXP__ 16
88 // AARCH64-NEXT: #define __FLT16_MAX__ 6.5504e+4F16
89 // AARCH64-NEXT: #define __FLT16_MIN_10_EXP__ (-4)
90 // AARCH64-NEXT: #define __FLT16_MIN_EXP__ (-13)
91 // AARCH64-NEXT: #define __FLT16_MIN__ 6.103515625e-5F16
92 // AARCH64-NEXT: #define __FLT_DECIMAL_DIG__ 9
93 // AARCH64-NEXT: #define __FLT_DENORM_MIN__ 1.40129846e-45F
94 // AARCH64-NEXT: #define __FLT_DIG__ 6
95 // AARCH64-NEXT: #define __FLT_EPSILON__ 1.19209290e-7F
96 // AARCH64-NEXT: #define __FLT_HAS_DENORM__ 1
97 // AARCH64-NEXT: #define __FLT_HAS_INFINITY__ 1
98 // AARCH64-NEXT: #define __FLT_HAS_QUIET_NAN__ 1
99 // AARCH64-NEXT: #define __FLT_MANT_DIG__ 24
100 // AARCH64-NEXT: #define __FLT_MAX_10_EXP__ 38
101 // AARCH64-NEXT: #define __FLT_MAX_EXP__ 128
102 // AARCH64-NEXT: #define __FLT_MAX__ 3.40282347e+38F
103 // AARCH64-NEXT: #define __FLT_MIN_10_EXP__ (-37)
104 // AARCH64-NEXT: #define __FLT_MIN_EXP__ (-125)
105 // AARCH64-NEXT: #define __FLT_MIN__ 1.17549435e-38F
106 // AARCH64-NEXT: #define __FLT_RADIX__ 2
107 // AARCH64-NEXT: #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 1
108 // AARCH64-NEXT: #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 1
109 // AARCH64-NEXT: #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1
110 // AARCH64-NEXT: #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 1
111 // AARCH64_CXX-NEXT: #define __GLIBCXX_BITSIZE_INT_N_0 128
112 // AARCH64_CXX-NEXT: #define __GLIBCXX_TYPE_INT_N_0 __int128
113 // AARCH64-NEXT: #define __INT16_C_SUFFIX__
114 // AARCH64-NEXT: #define __INT16_FMTd__ "hd"
115 // AARCH64-NEXT: #define __INT16_FMTi__ "hi"
116 // AARCH64-NEXT: #define __INT16_MAX__ 32767
117 // AARCH64-NEXT: #define __INT16_TYPE__ short
118 // AARCH64-NEXT: #define __INT32_C_SUFFIX__
119 // AARCH64-NEXT: #define __INT32_FMTd__ "d"
120 // AARCH64-NEXT: #define __INT32_FMTi__ "i"
121 // AARCH64-NEXT: #define __INT32_MAX__ 2147483647
122 // AARCH64-NEXT: #define __INT32_TYPE__ int
123 // AARCH64-NEXT: #define __INT64_C_SUFFIX__ L
124 // AARCH64-NEXT: #define __INT64_FMTd__ "ld"
125 // AARCH64-NEXT: #define __INT64_FMTi__ "li"
126 // AARCH64-NEXT: #define __INT64_MAX__ 9223372036854775807L
127 // AARCH64-NEXT: #define __INT64_TYPE__ long int
128 // AARCH64-NEXT: #define __INT8_C_SUFFIX__
129 // AARCH64-NEXT: #define __INT8_FMTd__ "hhd"
130 // AARCH64-NEXT: #define __INT8_FMTi__ "hhi"
131 // AARCH64-NEXT: #define __INT8_MAX__ 127
132 // AARCH64-NEXT: #define __INT8_TYPE__ signed char
133 // AARCH64-NEXT: #define __INTMAX_C_SUFFIX__ L
134 // AARCH64-NEXT: #define __INTMAX_FMTd__ "ld"
135 // AARCH64-NEXT: #define __INTMAX_FMTi__ "li"
136 // AARCH64-NEXT: #define __INTMAX_MAX__ 9223372036854775807L
137 // AARCH64-NEXT: #define __INTMAX_TYPE__ long int
138 // AARCH64-NEXT: #define __INTMAX_WIDTH__ 64
139 // AARCH64-NEXT: #define __INTPTR_FMTd__ "ld"
140 // AARCH64-NEXT: #define __INTPTR_FMTi__ "li"
141 // AARCH64-NEXT: #define __INTPTR_MAX__ 9223372036854775807L
142 // AARCH64-NEXT: #define __INTPTR_TYPE__ long int
143 // AARCH64-NEXT: #define __INTPTR_WIDTH__ 64
144 // AARCH64-NEXT: #define __INT_FAST16_FMTd__ "hd"
145 // AARCH64-NEXT: #define __INT_FAST16_FMTi__ "hi"
146 // AARCH64-NEXT: #define __INT_FAST16_MAX__ 32767
147 // AARCH64-NEXT: #define __INT_FAST16_TYPE__ short
148 // AARCH64-NEXT: #define __INT_FAST16_WIDTH__ 16
149 // AARCH64-NEXT: #define __INT_FAST32_FMTd__ "d"
150 // AARCH64-NEXT: #define __INT_FAST32_FMTi__ "i"
151 // AARCH64-NEXT: #define __INT_FAST32_MAX__ 2147483647
152 // AARCH64-NEXT: #define __INT_FAST32_TYPE__ int
153 // AARCH64-NEXT: #define __INT_FAST32_WIDTH__ 32
154 // AARCH64-NEXT: #define __INT_FAST64_FMTd__ "ld"
155 // AARCH64-NEXT: #define __INT_FAST64_FMTi__ "li"
156 // AARCH64-NEXT: #define __INT_FAST64_MAX__ 9223372036854775807L
157 // AARCH64-NEXT: #define __INT_FAST64_TYPE__ long int
158 // AARCH64-NEXT: #define __INT_FAST64_WIDTH__ 64
159 // AARCH64-NEXT: #define __INT_FAST8_FMTd__ "hhd"
160 // AARCH64-NEXT: #define __INT_FAST8_FMTi__ "hhi"
161 // AARCH64-NEXT: #define __INT_FAST8_MAX__ 127
162 // AARCH64-NEXT: #define __INT_FAST8_TYPE__ signed char
163 // AARCH64-NEXT: #define __INT_FAST8_WIDTH__ 8
164 // AARCH64-NEXT: #define __INT_LEAST16_FMTd__ "hd"
165 // AARCH64-NEXT: #define __INT_LEAST16_FMTi__ "hi"
166 // AARCH64-NEXT: #define __INT_LEAST16_MAX__ 32767
167 // AARCH64-NEXT: #define __INT_LEAST16_TYPE__ short
168 // AARCH64-NEXT: #define __INT_LEAST16_WIDTH__ 16
169 // AARCH64-NEXT: #define __INT_LEAST32_FMTd__ "d"
170 // AARCH64-NEXT: #define __INT_LEAST32_FMTi__ "i"
171 // AARCH64-NEXT: #define __INT_LEAST32_MAX__ 2147483647
172 // AARCH64-NEXT: #define __INT_LEAST32_TYPE__ int
173 // AARCH64-NEXT: #define __INT_LEAST32_WIDTH__ 32
174 // AARCH64-NEXT: #define __INT_LEAST64_FMTd__ "ld"
175 // AARCH64-NEXT: #define __INT_LEAST64_FMTi__ "li"
176 // AARCH64-NEXT: #define __INT_LEAST64_MAX__ 9223372036854775807L
177 // AARCH64-NEXT: #define __INT_LEAST64_TYPE__ long int
178 // AARCH64-NEXT: #define __INT_LEAST64_WIDTH__ 64
179 // AARCH64-NEXT: #define __INT_LEAST8_FMTd__ "hhd"
180 // AARCH64-NEXT: #define __INT_LEAST8_FMTi__ "hhi"
181 // AARCH64-NEXT: #define __INT_LEAST8_MAX__ 127
182 // AARCH64-NEXT: #define __INT_LEAST8_TYPE__ signed char
183 // AARCH64-NEXT: #define __INT_LEAST8_WIDTH__ 8
184 // AARCH64-NEXT: #define __INT_MAX__ 2147483647
185 // AARCH64-NEXT: #define __INT_WIDTH__ 32
186 // AARCH64-NEXT: #define __LDBL_DECIMAL_DIG__ 36
187 // AARCH64-NEXT: #define __LDBL_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966L
188 // AARCH64-NEXT: #define __LDBL_DIG__ 33
189 // AARCH64-NEXT: #define __LDBL_EPSILON__ 1.92592994438723585305597794258492732e-34L
190 // AARCH64-NEXT: #define __LDBL_HAS_DENORM__ 1
191 // AARCH64-NEXT: #define __LDBL_HAS_INFINITY__ 1
192 // AARCH64-NEXT: #define __LDBL_HAS_QUIET_NAN__ 1
193 // AARCH64-NEXT: #define __LDBL_MANT_DIG__ 113
194 // AARCH64-NEXT: #define __LDBL_MAX_10_EXP__ 4932
195 // AARCH64-NEXT: #define __LDBL_MAX_EXP__ 16384
196 // AARCH64-NEXT: #define __LDBL_MAX__ 1.18973149535723176508575932662800702e+4932L
197 // AARCH64-NEXT: #define __LDBL_MIN_10_EXP__ (-4931)
198 // AARCH64-NEXT: #define __LDBL_MIN_EXP__ (-16381)
199 // AARCH64-NEXT: #define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L
200 // AARCH64_LE-NEXT: #define __LITTLE_ENDIAN__ 1
201 // AARCH64-NEXT: #define __LLONG_WIDTH__ 64
202 // AARCH64-NEXT: #define __LONG_LONG_MAX__ 9223372036854775807LL
203 // AARCH64-NEXT: #define __LONG_MAX__ 9223372036854775807L
204 // AARCH64-NEXT: #define __LONG_WIDTH__ 64
205 // AARCH64-NEXT: #define __LP64__ 1
206 // AARCH64-NEXT: #define __NO_INLINE__ 1
207 // AARCH64-NEXT: #define __NO_MATH_ERRNO__ 1
208 // AARCH64-NEXT: #define __OBJC_BOOL_IS_BOOL 0
209 // AARCH64-NEXT: #define __OPENCL_MEMORY_SCOPE_ALL_SVM_DEVICES 3
210 // AARCH64-NEXT: #define __OPENCL_MEMORY_SCOPE_DEVICE 2
211 // AARCH64-NEXT: #define __OPENCL_MEMORY_SCOPE_SUB_GROUP 4
212 // AARCH64-NEXT: #define __OPENCL_MEMORY_SCOPE_WORK_GROUP 1
213 // AARCH64-NEXT: #define __OPENCL_MEMORY_SCOPE_WORK_ITEM 0
214 // AARCH64-NEXT: #define __ORDER_BIG_ENDIAN__ 4321
215 // AARCH64-NEXT: #define __ORDER_LITTLE_ENDIAN__ 1234
216 // AARCH64-NEXT: #define __ORDER_PDP_ENDIAN__ 3412
217 // AARCH64-NEXT: #define __POINTER_WIDTH__ 64
218 // AARCH64-NEXT: #define __PRAGMA_REDEFINE_EXTNAME 1
219 // AARCH64-NEXT: #define __PTRDIFF_FMTd__ "ld"
220 // AARCH64-NEXT: #define __PTRDIFF_FMTi__ "li"
221 // AARCH64-NEXT: #define __PTRDIFF_MAX__ 9223372036854775807L
222 // AARCH64-NEXT: #define __PTRDIFF_TYPE__ long int
223 // AARCH64-NEXT: #define __PTRDIFF_WIDTH__ 64
224 // AARCH64-NEXT: #define __SCHAR_MAX__ 127
225 // AARCH64-NEXT: #define __SHRT_MAX__ 32767
226 // AARCH64-NEXT: #define __SHRT_WIDTH__ 16
227 // AARCH64-NEXT: #define __SIG_ATOMIC_MAX__ 2147483647
228 // AARCH64-NEXT: #define __SIG_ATOMIC_WIDTH__ 32
229 // AARCH64-NEXT: #define __SIZEOF_DOUBLE__ 8
230 // AARCH64-NEXT: #define __SIZEOF_FLOAT__ 4
231 // AARCH64-NEXT: #define __SIZEOF_INT128__ 16
232 // AARCH64-NEXT: #define __SIZEOF_INT__ 4
233 // AARCH64-NEXT: #define __SIZEOF_LONG_DOUBLE__ 16
234 // AARCH64-NEXT: #define __SIZEOF_LONG_LONG__ 8
235 // AARCH64-NEXT: #define __SIZEOF_LONG__ 8
236 // AARCH64-NEXT: #define __SIZEOF_POINTER__ 8
237 // AARCH64-NEXT: #define __SIZEOF_PTRDIFF_T__ 8
238 // AARCH64-NEXT: #define __SIZEOF_SHORT__ 2
239 // AARCH64-NEXT: #define __SIZEOF_SIZE_T__ 8
240 // AARCH64-NEXT: #define __SIZEOF_WCHAR_T__ 4
241 // AARCH64-NEXT: #define __SIZEOF_WINT_T__ 4
242 // AARCH64-NEXT: #define __SIZE_FMTX__ "lX"
243 // AARCH64-NEXT: #define __SIZE_FMTo__ "lo"
244 // AARCH64-NEXT: #define __SIZE_FMTu__ "lu"
245 // AARCH64-NEXT: #define __SIZE_FMTx__ "lx"
246 // AARCH64-NEXT: #define __SIZE_MAX__ 18446744073709551615UL
247 // AARCH64-NEXT: #define __SIZE_TYPE__ long unsigned int
248 // AARCH64-NEXT: #define __SIZE_WIDTH__ 64
249 // AARCH64_CXX: #define __STDCPP_DEFAULT_NEW_ALIGNMENT__ 16UL
250 // AARCH64_CXX: #define __STDCPP_THREADS__ 1
251 // AARCH64-NEXT: #define __STDC_HOSTED__ 1
252 // AARCH64-NEXT: #define __STDC_UTF_16__ 1
253 // AARCH64-NEXT: #define __STDC_UTF_32__ 1
254 // AARCH64_C: #define __STDC_VERSION__ 201710L
255 // AARCH64-NEXT: #define __STDC__ 1
256 // AARCH64-NEXT: #define __UINT16_C_SUFFIX__
257 // AARCH64-NEXT: #define __UINT16_FMTX__ "hX"
258 // AARCH64-NEXT: #define __UINT16_FMTo__ "ho"
259 // AARCH64-NEXT: #define __UINT16_FMTu__ "hu"
260 // AARCH64-NEXT: #define __UINT16_FMTx__ "hx"
261 // AARCH64-NEXT: #define __UINT16_MAX__ 65535
262 // AARCH64-NEXT: #define __UINT16_TYPE__ unsigned short
263 // AARCH64-NEXT: #define __UINT32_C_SUFFIX__ U
264 // AARCH64-NEXT: #define __UINT32_FMTX__ "X"
265 // AARCH64-NEXT: #define __UINT32_FMTo__ "o"
266 // AARCH64-NEXT: #define __UINT32_FMTu__ "u"
267 // AARCH64-NEXT: #define __UINT32_FMTx__ "x"
268 // AARCH64-NEXT: #define __UINT32_MAX__ 4294967295U
269 // AARCH64-NEXT: #define __UINT32_TYPE__ unsigned int
270 // AARCH64-NEXT: #define __UINT64_C_SUFFIX__ UL
271 // AARCH64-NEXT: #define __UINT64_FMTX__ "lX"
272 // AARCH64-NEXT: #define __UINT64_FMTo__ "lo"
273 // AARCH64-NEXT: #define __UINT64_FMTu__ "lu"
274 // AARCH64-NEXT: #define __UINT64_FMTx__ "lx"
275 // AARCH64-NEXT: #define __UINT64_MAX__ 18446744073709551615UL
276 // AARCH64-NEXT: #define __UINT64_TYPE__ long unsigned int
277 // AARCH64-NEXT: #define __UINT8_C_SUFFIX__
278 // AARCH64-NEXT: #define __UINT8_FMTX__ "hhX"
279 // AARCH64-NEXT: #define __UINT8_FMTo__ "hho"
280 // AARCH64-NEXT: #define __UINT8_FMTu__ "hhu"
281 // AARCH64-NEXT: #define __UINT8_FMTx__ "hhx"
282 // AARCH64-NEXT: #define __UINT8_MAX__ 255
283 // AARCH64-NEXT: #define __UINT8_TYPE__ unsigned char
284 // AARCH64-NEXT: #define __UINTMAX_C_SUFFIX__ UL
285 // AARCH64-NEXT: #define __UINTMAX_FMTX__ "lX"
286 // AARCH64-NEXT: #define __UINTMAX_FMTo__ "lo"
287 // AARCH64-NEXT: #define __UINTMAX_FMTu__ "lu"
288 // AARCH64-NEXT: #define __UINTMAX_FMTx__ "lx"
289 // AARCH64-NEXT: #define __UINTMAX_MAX__ 18446744073709551615UL
290 // AARCH64-NEXT: #define __UINTMAX_TYPE__ long unsigned int
291 // AARCH64-NEXT: #define __UINTMAX_WIDTH__ 64
292 // AARCH64-NEXT: #define __UINTPTR_FMTX__ "lX"
293 // AARCH64-NEXT: #define __UINTPTR_FMTo__ "lo"
294 // AARCH64-NEXT: #define __UINTPTR_FMTu__ "lu"
295 // AARCH64-NEXT: #define __UINTPTR_FMTx__ "lx"
296 // AARCH64-NEXT: #define __UINTPTR_MAX__ 18446744073709551615UL
297 // AARCH64-NEXT: #define __UINTPTR_TYPE__ long unsigned int
298 // AARCH64-NEXT: #define __UINTPTR_WIDTH__ 64
299 // AARCH64-NEXT: #define __UINT_FAST16_FMTX__ "hX"
300 // AARCH64-NEXT: #define __UINT_FAST16_FMTo__ "ho"
301 // AARCH64-NEXT: #define __UINT_FAST16_FMTu__ "hu"
302 // AARCH64-NEXT: #define __UINT_FAST16_FMTx__ "hx"
303 // AARCH64-NEXT: #define __UINT_FAST16_MAX__ 65535
304 // AARCH64-NEXT: #define __UINT_FAST16_TYPE__ unsigned short
305 // AARCH64-NEXT: #define __UINT_FAST32_FMTX__ "X"
306 // AARCH64-NEXT: #define __UINT_FAST32_FMTo__ "o"
307 // AARCH64-NEXT: #define __UINT_FAST32_FMTu__ "u"
308 // AARCH64-NEXT: #define __UINT_FAST32_FMTx__ "x"
309 // AARCH64-NEXT: #define __UINT_FAST32_MAX__ 4294967295U
310 // AARCH64-NEXT: #define __UINT_FAST32_TYPE__ unsigned int
311 // AARCH64-NEXT: #define __UINT_FAST64_FMTX__ "lX"
312 // AARCH64-NEXT: #define __UINT_FAST64_FMTo__ "lo"
313 // AARCH64-NEXT: #define __UINT_FAST64_FMTu__ "lu"
314 // AARCH64-NEXT: #define __UINT_FAST64_FMTx__ "lx"
315 // AARCH64-NEXT: #define __UINT_FAST64_MAX__ 18446744073709551615UL
316 // AARCH64-NEXT: #define __UINT_FAST64_TYPE__ long unsigned int
317 // AARCH64-NEXT: #define __UINT_FAST8_FMTX__ "hhX"
318 // AARCH64-NEXT: #define __UINT_FAST8_FMTo__ "hho"
319 // AARCH64-NEXT: #define __UINT_FAST8_FMTu__ "hhu"
320 // AARCH64-NEXT: #define __UINT_FAST8_FMTx__ "hhx"
321 // AARCH64-NEXT: #define __UINT_FAST8_MAX__ 255
322 // AARCH64-NEXT: #define __UINT_FAST8_TYPE__ unsigned char
323 // AARCH64-NEXT: #define __UINT_LEAST16_FMTX__ "hX"
324 // AARCH64-NEXT: #define __UINT_LEAST16_FMTo__ "ho"
325 // AARCH64-NEXT: #define __UINT_LEAST16_FMTu__ "hu"
326 // AARCH64-NEXT: #define __UINT_LEAST16_FMTx__ "hx"
327 // AARCH64-NEXT: #define __UINT_LEAST16_MAX__ 65535
328 // AARCH64-NEXT: #define __UINT_LEAST16_TYPE__ unsigned short
329 // AARCH64-NEXT: #define __UINT_LEAST32_FMTX__ "X"
330 // AARCH64-NEXT: #define __UINT_LEAST32_FMTo__ "o"
331 // AARCH64-NEXT: #define __UINT_LEAST32_FMTu__ "u"
332 // AARCH64-NEXT: #define __UINT_LEAST32_FMTx__ "x"
333 // AARCH64-NEXT: #define __UINT_LEAST32_MAX__ 4294967295U
334 // AARCH64-NEXT: #define __UINT_LEAST32_TYPE__ unsigned int
335 // AARCH64-NEXT: #define __UINT_LEAST64_FMTX__ "lX"
336 // AARCH64-NEXT: #define __UINT_LEAST64_FMTo__ "lo"
337 // AARCH64-NEXT: #define __UINT_LEAST64_FMTu__ "lu"
338 // AARCH64-NEXT: #define __UINT_LEAST64_FMTx__ "lx"
339 // AARCH64-NEXT: #define __UINT_LEAST64_MAX__ 18446744073709551615UL
340 // AARCH64-NEXT: #define __UINT_LEAST64_TYPE__ long unsigned int
341 // AARCH64-NEXT: #define __UINT_LEAST8_FMTX__ "hhX"
342 // AARCH64-NEXT: #define __UINT_LEAST8_FMTo__ "hho"
343 // AARCH64-NEXT: #define __UINT_LEAST8_FMTu__ "hhu"
344 // AARCH64-NEXT: #define __UINT_LEAST8_FMTx__ "hhx"
345 // AARCH64-NEXT: #define __UINT_LEAST8_MAX__ 255
346 // AARCH64-NEXT: #define __UINT_LEAST8_TYPE__ unsigned char
347 // AARCH64-NEXT: #define __USER_LABEL_PREFIX__
348 // AARCH64-NEXT: #define __VERSION__ "{{.*}}"
349 // AARCH64-NEXT: #define __WCHAR_MAX__ 4294967295U
350 // AARCH64-NEXT: #define __WCHAR_TYPE__ unsigned int
351 // AARCH64-NEXT: #define __WCHAR_UNSIGNED__ 1
352 // AARCH64-NEXT: #define __WCHAR_WIDTH__ 32
353 // AARCH64-NEXT: #define __WINT_MAX__ 2147483647
354 // AARCH64-NEXT: #define __WINT_TYPE__ int
355 // AARCH64-NEXT: #define __WINT_WIDTH__ 32
356 // AARCH64-NEXT: #define __aarch64__ 1
358 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=aarch64-apple-ios7.0 < /dev/null | FileCheck -match-full-lines -check-prefix AARCH64-DARWIN %s
360 // AARCH64-DARWIN: #define _LP64 1
361 // AARCH64-DARWIN-NOT: #define __AARCH64EB__ 1
362 // AARCH64-DARWIN: #define __AARCH64EL__ 1
363 // AARCH64-DARWIN-NOT: #define __AARCH_BIG_ENDIAN 1
364 // AARCH64-DARWIN: #define __ARM_64BIT_STATE 1
365 // AARCH64-DARWIN: #define __ARM_ARCH 8
366 // AARCH64-DARWIN: #define __ARM_ARCH_ISA_A64 1
367 // AARCH64-DARWIN-NOT: #define __ARM_BIG_ENDIAN 1
368 // AARCH64-DARWIN: #define __BIGGEST_ALIGNMENT__ 8
369 // AARCH64-DARWIN: #define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
370 // AARCH64-DARWIN: #define __CHAR16_TYPE__ unsigned short
371 // AARCH64-DARWIN: #define __CHAR32_TYPE__ unsigned int
372 // AARCH64-DARWIN: #define __CHAR_BIT__ 8
373 // AARCH64-DARWIN: #define __DBL_DENORM_MIN__ 4.9406564584124654e-324
374 // AARCH64-DARWIN: #define __DBL_DIG__ 15
375 // AARCH64-DARWIN: #define __DBL_EPSILON__ 2.2204460492503131e-16
376 // AARCH64-DARWIN: #define __DBL_HAS_DENORM__ 1
377 // AARCH64-DARWIN: #define __DBL_HAS_INFINITY__ 1
378 // AARCH64-DARWIN: #define __DBL_HAS_QUIET_NAN__ 1
379 // AARCH64-DARWIN: #define __DBL_MANT_DIG__ 53
380 // AARCH64-DARWIN: #define __DBL_MAX_10_EXP__ 308
381 // AARCH64-DARWIN: #define __DBL_MAX_EXP__ 1024
382 // AARCH64-DARWIN: #define __DBL_MAX__ 1.7976931348623157e+308
383 // AARCH64-DARWIN: #define __DBL_MIN_10_EXP__ (-307)
384 // AARCH64-DARWIN: #define __DBL_MIN_EXP__ (-1021)
385 // AARCH64-DARWIN: #define __DBL_MIN__ 2.2250738585072014e-308
386 // AARCH64-DARWIN: #define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
387 // AARCH64-DARWIN: #define __FLT_DENORM_MIN__ 1.40129846e-45F
388 // AARCH64-DARWIN: #define __FLT_DIG__ 6
389 // AARCH64-DARWIN: #define __FLT_EPSILON__ 1.19209290e-7F
390 // AARCH64-DARWIN: #define __FLT_HAS_DENORM__ 1
391 // AARCH64-DARWIN: #define __FLT_HAS_INFINITY__ 1
392 // AARCH64-DARWIN: #define __FLT_HAS_QUIET_NAN__ 1
393 // AARCH64-DARWIN: #define __FLT_MANT_DIG__ 24
394 // AARCH64-DARWIN: #define __FLT_MAX_10_EXP__ 38
395 // AARCH64-DARWIN: #define __FLT_MAX_EXP__ 128
396 // AARCH64-DARWIN: #define __FLT_MAX__ 3.40282347e+38F
397 // AARCH64-DARWIN: #define __FLT_MIN_10_EXP__ (-37)
398 // AARCH64-DARWIN: #define __FLT_MIN_EXP__ (-125)
399 // AARCH64-DARWIN: #define __FLT_MIN__ 1.17549435e-38F
400 // AARCH64-DARWIN: #define __FLT_RADIX__ 2
401 // AARCH64-DARWIN: #define __INT16_C_SUFFIX__
402 // AARCH64-DARWIN: #define __INT16_FMTd__ "hd"
403 // AARCH64-DARWIN: #define __INT16_FMTi__ "hi"
404 // AARCH64-DARWIN: #define __INT16_MAX__ 32767
405 // AARCH64-DARWIN: #define __INT16_TYPE__ short
406 // AARCH64-DARWIN: #define __INT32_C_SUFFIX__
407 // AARCH64-DARWIN: #define __INT32_FMTd__ "d"
408 // AARCH64-DARWIN: #define __INT32_FMTi__ "i"
409 // AARCH64-DARWIN: #define __INT32_MAX__ 2147483647
410 // AARCH64-DARWIN: #define __INT32_TYPE__ int
411 // AARCH64-DARWIN: #define __INT64_C_SUFFIX__ LL
412 // AARCH64-DARWIN: #define __INT64_FMTd__ "lld"
413 // AARCH64-DARWIN: #define __INT64_FMTi__ "lli"
414 // AARCH64-DARWIN: #define __INT64_MAX__ 9223372036854775807LL
415 // AARCH64-DARWIN: #define __INT64_TYPE__ long long int
416 // AARCH64-DARWIN: #define __INT8_C_SUFFIX__
417 // AARCH64-DARWIN: #define __INT8_FMTd__ "hhd"
418 // AARCH64-DARWIN: #define __INT8_FMTi__ "hhi"
419 // AARCH64-DARWIN: #define __INT8_MAX__ 127
420 // AARCH64-DARWIN: #define __INT8_TYPE__ signed char
421 // AARCH64-DARWIN: #define __INTMAX_C_SUFFIX__ L
422 // AARCH64-DARWIN: #define __INTMAX_FMTd__ "ld"
423 // AARCH64-DARWIN: #define __INTMAX_FMTi__ "li"
424 // AARCH64-DARWIN: #define __INTMAX_MAX__ 9223372036854775807L
425 // AARCH64-DARWIN: #define __INTMAX_TYPE__ long int
426 // AARCH64-DARWIN: #define __INTMAX_WIDTH__ 64
427 // AARCH64-DARWIN: #define __INTPTR_FMTd__ "ld"
428 // AARCH64-DARWIN: #define __INTPTR_FMTi__ "li"
429 // AARCH64-DARWIN: #define __INTPTR_MAX__ 9223372036854775807L
430 // AARCH64-DARWIN: #define __INTPTR_TYPE__ long int
431 // AARCH64-DARWIN: #define __INTPTR_WIDTH__ 64
432 // AARCH64-DARWIN: #define __INT_FAST16_FMTd__ "hd"
433 // AARCH64-DARWIN: #define __INT_FAST16_FMTi__ "hi"
434 // AARCH64-DARWIN: #define __INT_FAST16_MAX__ 32767
435 // AARCH64-DARWIN: #define __INT_FAST16_TYPE__ short
436 // AARCH64-DARWIN: #define __INT_FAST32_FMTd__ "d"
437 // AARCH64-DARWIN: #define __INT_FAST32_FMTi__ "i"
438 // AARCH64-DARWIN: #define __INT_FAST32_MAX__ 2147483647
439 // AARCH64-DARWIN: #define __INT_FAST32_TYPE__ int
440 // AARCH64-DARWIN: #define __INT_FAST64_FMTd__ "lld"
441 // AARCH64-DARWIN: #define __INT_FAST64_FMTi__ "lli"
442 // AARCH64-DARWIN: #define __INT_FAST64_MAX__ 9223372036854775807LL
443 // AARCH64-DARWIN: #define __INT_FAST64_TYPE__ long long int
444 // AARCH64-DARWIN: #define __INT_FAST8_FMTd__ "hhd"
445 // AARCH64-DARWIN: #define __INT_FAST8_FMTi__ "hhi"
446 // AARCH64-DARWIN: #define __INT_FAST8_MAX__ 127
447 // AARCH64-DARWIN: #define __INT_FAST8_TYPE__ signed char
448 // AARCH64-DARWIN: #define __INT_LEAST16_FMTd__ "hd"
449 // AARCH64-DARWIN: #define __INT_LEAST16_FMTi__ "hi"
450 // AARCH64-DARWIN: #define __INT_LEAST16_MAX__ 32767
451 // AARCH64-DARWIN: #define __INT_LEAST16_TYPE__ short
452 // AARCH64-DARWIN: #define __INT_LEAST32_FMTd__ "d"
453 // AARCH64-DARWIN: #define __INT_LEAST32_FMTi__ "i"
454 // AARCH64-DARWIN: #define __INT_LEAST32_MAX__ 2147483647
455 // AARCH64-DARWIN: #define __INT_LEAST32_TYPE__ int
456 // AARCH64-DARWIN: #define __INT_LEAST64_FMTd__ "lld"
457 // AARCH64-DARWIN: #define __INT_LEAST64_FMTi__ "lli"
458 // AARCH64-DARWIN: #define __INT_LEAST64_MAX__ 9223372036854775807LL
459 // AARCH64-DARWIN: #define __INT_LEAST64_TYPE__ long long int
460 // AARCH64-DARWIN: #define __INT_LEAST8_FMTd__ "hhd"
461 // AARCH64-DARWIN: #define __INT_LEAST8_FMTi__ "hhi"
462 // AARCH64-DARWIN: #define __INT_LEAST8_MAX__ 127
463 // AARCH64-DARWIN: #define __INT_LEAST8_TYPE__ signed char
464 // AARCH64-DARWIN: #define __INT_MAX__ 2147483647
465 // AARCH64-DARWIN: #define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
466 // AARCH64-DARWIN: #define __LDBL_DIG__ 15
467 // AARCH64-DARWIN: #define __LDBL_EPSILON__ 2.2204460492503131e-16L
468 // AARCH64-DARWIN: #define __LDBL_HAS_DENORM__ 1
469 // AARCH64-DARWIN: #define __LDBL_HAS_INFINITY__ 1
470 // AARCH64-DARWIN: #define __LDBL_HAS_QUIET_NAN__ 1
471 // AARCH64-DARWIN: #define __LDBL_MANT_DIG__ 53
472 // AARCH64-DARWIN: #define __LDBL_MAX_10_EXP__ 308
473 // AARCH64-DARWIN: #define __LDBL_MAX_EXP__ 1024
474 // AARCH64-DARWIN: #define __LDBL_MAX__ 1.7976931348623157e+308L
475 // AARCH64-DARWIN: #define __LDBL_MIN_10_EXP__ (-307)
476 // AARCH64-DARWIN: #define __LDBL_MIN_EXP__ (-1021)
477 // AARCH64-DARWIN: #define __LDBL_MIN__ 2.2250738585072014e-308L
478 // AARCH64-DARWIN: #define __LONG_LONG_MAX__ 9223372036854775807LL
479 // AARCH64-DARWIN: #define __LONG_MAX__ 9223372036854775807L
480 // AARCH64-DARWIN: #define __LP64__ 1
481 // AARCH64-DARWIN: #define __POINTER_WIDTH__ 64
482 // AARCH64-DARWIN: #define __PTRDIFF_TYPE__ long int
483 // AARCH64-DARWIN: #define __PTRDIFF_WIDTH__ 64
484 // AARCH64-DARWIN: #define __SCHAR_MAX__ 127
485 // AARCH64-DARWIN: #define __SHRT_MAX__ 32767
486 // AARCH64-DARWIN: #define __SIG_ATOMIC_MAX__ 2147483647
487 // AARCH64-DARWIN: #define __SIG_ATOMIC_WIDTH__ 32
488 // AARCH64-DARWIN: #define __SIZEOF_DOUBLE__ 8
489 // AARCH64-DARWIN: #define __SIZEOF_FLOAT__ 4
490 // AARCH64-DARWIN: #define __SIZEOF_INT128__ 16
491 // AARCH64-DARWIN: #define __SIZEOF_INT__ 4
492 // AARCH64-DARWIN: #define __SIZEOF_LONG_DOUBLE__ 8
493 // AARCH64-DARWIN: #define __SIZEOF_LONG_LONG__ 8
494 // AARCH64-DARWIN: #define __SIZEOF_LONG__ 8
495 // AARCH64-DARWIN: #define __SIZEOF_POINTER__ 8
496 // AARCH64-DARWIN: #define __SIZEOF_PTRDIFF_T__ 8
497 // AARCH64-DARWIN: #define __SIZEOF_SHORT__ 2
498 // AARCH64-DARWIN: #define __SIZEOF_SIZE_T__ 8
499 // AARCH64-DARWIN: #define __SIZEOF_WCHAR_T__ 4
500 // AARCH64-DARWIN: #define __SIZEOF_WINT_T__ 4
501 // AARCH64-DARWIN: #define __SIZE_MAX__ 18446744073709551615UL
502 // AARCH64-DARWIN: #define __SIZE_TYPE__ long unsigned int
503 // AARCH64-DARWIN: #define __SIZE_WIDTH__ 64
504 // AARCH64-DARWIN: #define __UINT16_C_SUFFIX__
505 // AARCH64-DARWIN: #define __UINT16_MAX__ 65535
506 // AARCH64-DARWIN: #define __UINT16_TYPE__ unsigned short
507 // AARCH64-DARWIN: #define __UINT32_C_SUFFIX__ U
508 // AARCH64-DARWIN: #define __UINT32_MAX__ 4294967295U
509 // AARCH64-DARWIN: #define __UINT32_TYPE__ unsigned int
510 // AARCH64-DARWIN: #define __UINT64_C_SUFFIX__ ULL
511 // AARCH64-DARWIN: #define __UINT64_MAX__ 18446744073709551615ULL
512 // AARCH64-DARWIN: #define __UINT64_TYPE__ long long unsigned int
513 // AARCH64-DARWIN: #define __UINT8_C_SUFFIX__
514 // AARCH64-DARWIN: #define __UINT8_MAX__ 255
515 // AARCH64-DARWIN: #define __UINT8_TYPE__ unsigned char
516 // AARCH64-DARWIN: #define __UINTMAX_C_SUFFIX__ UL
517 // AARCH64-DARWIN: #define __UINTMAX_MAX__ 18446744073709551615UL
518 // AARCH64-DARWIN: #define __UINTMAX_TYPE__ long unsigned int
519 // AARCH64-DARWIN: #define __UINTMAX_WIDTH__ 64
520 // AARCH64-DARWIN: #define __UINTPTR_MAX__ 18446744073709551615UL
521 // AARCH64-DARWIN: #define __UINTPTR_TYPE__ long unsigned int
522 // AARCH64-DARWIN: #define __UINTPTR_WIDTH__ 64
523 // AARCH64-DARWIN: #define __UINT_FAST16_MAX__ 65535
524 // AARCH64-DARWIN: #define __UINT_FAST16_TYPE__ unsigned short
525 // AARCH64-DARWIN: #define __UINT_FAST32_MAX__ 4294967295U
526 // AARCH64-DARWIN: #define __UINT_FAST32_TYPE__ unsigned int
527 // AARCH64-DARWIN: #define __UINT_FAST64_MAX__ 18446744073709551615ULL
528 // AARCH64-DARWIN: #define __UINT_FAST64_TYPE__ long long unsigned int
529 // AARCH64-DARWIN: #define __UINT_FAST8_MAX__ 255
530 // AARCH64-DARWIN: #define __UINT_FAST8_TYPE__ unsigned char
531 // AARCH64-DARWIN: #define __UINT_LEAST16_MAX__ 65535
532 // AARCH64-DARWIN: #define __UINT_LEAST16_TYPE__ unsigned short
533 // AARCH64-DARWIN: #define __UINT_LEAST32_MAX__ 4294967295U
534 // AARCH64-DARWIN: #define __UINT_LEAST32_TYPE__ unsigned int
535 // AARCH64-DARWIN: #define __UINT_LEAST64_MAX__ 18446744073709551615ULL
536 // AARCH64-DARWIN: #define __UINT_LEAST64_TYPE__ long long unsigned int
537 // AARCH64-DARWIN: #define __UINT_LEAST8_MAX__ 255
538 // AARCH64-DARWIN: #define __UINT_LEAST8_TYPE__ unsigned char
539 // AARCH64-DARWIN: #define __USER_LABEL_PREFIX__ _
540 // AARCH64-DARWIN: #define __WCHAR_MAX__ 2147483647
541 // AARCH64-DARWIN: #define __WCHAR_TYPE__ int
542 // AARCH64-DARWIN-NOT: #define __WCHAR_UNSIGNED__
543 // AARCH64-DARWIN: #define __WCHAR_WIDTH__ 32
544 // AARCH64-DARWIN: #define __WINT_TYPE__ int
545 // AARCH64-DARWIN: #define __WINT_WIDTH__ 32
546 // AARCH64-DARWIN: #define __aarch64__ 1
548 // RUN: %clang_cc1 -E -dM -triple=aarch64-apple-ios7.0 -x c++ < /dev/null | FileCheck -match-full-lines -check-prefix AARCH64-DARWIN-CXX %s
549 // AARCH64-DARWIN-CXX: #define __STDCPP_DEFAULT_NEW_ALIGNMENT__ 16UL
551 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=aarch64-windows-msvc < /dev/null | FileCheck -match-full-lines -check-prefix AARCH64-MSVC %s
553 // AARCH64-MSVC: #define _INTEGRAL_MAX_BITS 64
554 // AARCH64-MSVC-NOT: #define _LP64 1
555 // AARCH64-MSVC: #define _M_ARM64 1
556 // AARCH64-MSVC: #define _WIN32 1
557 // AARCH64-MSVC: #define _WIN64 1
558 // AARCH64-MSVC: #define __AARCH64EL__ 1
559 // AARCH64-MSVC: #define __ARM_64BIT_STATE 1
560 // AARCH64-MSVC: #define __ARM_ACLE 200
561 // AARCH64-MSVC: #define __ARM_ALIGN_MAX_STACK_PWR 4
562 // AARCH64-MSVC: #define __ARM_ARCH 8
563 // AARCH64-MSVC: #define __ARM_ARCH_ISA_A64 1
564 // AARCH64-MSVC: #define __ARM_ARCH_PROFILE 'A'
565 // AARCH64-MSVC: #define __ARM_FEATURE_CLZ 1
566 // AARCH64-MSVC: #define __ARM_FEATURE_DIRECTED_ROUNDING 1
567 // AARCH64-MSVC: #define __ARM_FEATURE_DIV 1
568 // AARCH64-MSVC: #define __ARM_FEATURE_FMA 1
569 // AARCH64-MSVC: #define __ARM_FEATURE_IDIV 1
570 // AARCH64-MSVC: #define __ARM_FEATURE_LDREX 0xF
571 // AARCH64-MSVC: #define __ARM_FEATURE_NUMERIC_MAXMIN 1
572 // AARCH64-MSVC: #define __ARM_FEATURE_UNALIGNED 1
573 // AARCH64-MSVC: #define __ARM_FP 0xE
574 // AARCH64-MSVC: #define __ARM_FP16_ARGS 1
575 // AARCH64-MSVC: #define __ARM_FP16_FORMAT_IEEE 1
576 // AARCH64-MSVC: #define __ARM_PCS_AAPCS64 1
577 // AARCH64-MSVC: #define __ARM_SIZEOF_MINIMAL_ENUM 4
578 // AARCH64-MSVC: #define __ARM_SIZEOF_WCHAR_T 4
579 // AARCH64-MSVC: #define __BIGGEST_ALIGNMENT__ 16
580 // AARCH64-MSVC: #define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
581 // AARCH64-MSVC: #define __CHAR16_TYPE__ unsigned short
582 // AARCH64-MSVC: #define __CHAR32_TYPE__ unsigned int
583 // AARCH64-MSVC: #define __CHAR_BIT__ 8
584 // AARCH64-MSVC: #define __CONSTANT_CFSTRINGS__ 1
585 // AARCH64-MSVC: #define __DBL_DECIMAL_DIG__ 17
586 // AARCH64-MSVC: #define __DBL_DENORM_MIN__ 4.9406564584124654e-324
587 // AARCH64-MSVC: #define __DBL_DIG__ 15
588 // AARCH64-MSVC: #define __DBL_EPSILON__ 2.2204460492503131e-16
589 // AARCH64-MSVC: #define __DBL_HAS_DENORM__ 1
590 // AARCH64-MSVC: #define __DBL_HAS_INFINITY__ 1
591 // AARCH64-MSVC: #define __DBL_HAS_QUIET_NAN__ 1
592 // AARCH64-MSVC: #define __DBL_MANT_DIG__ 53
593 // AARCH64-MSVC: #define __DBL_MAX_10_EXP__ 308
594 // AARCH64-MSVC: #define __DBL_MAX_EXP__ 1024
595 // AARCH64-MSVC: #define __DBL_MAX__ 1.7976931348623157e+308
596 // AARCH64-MSVC: #define __DBL_MIN_10_EXP__ (-307)
597 // AARCH64-MSVC: #define __DBL_MIN_EXP__ (-1021)
598 // AARCH64-MSVC: #define __DBL_MIN__ 2.2250738585072014e-308
599 // AARCH64-MSVC: #define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
600 // AARCH64-MSVC: #define __FINITE_MATH_ONLY__ 0
601 // AARCH64-MSVC: #define __FLT_DECIMAL_DIG__ 9
602 // AARCH64-MSVC: #define __FLT_DENORM_MIN__ 1.40129846e-45F
603 // AARCH64-MSVC: #define __FLT_DIG__ 6
604 // AARCH64-MSVC: #define __FLT_EPSILON__ 1.19209290e-7F
605 // AARCH64-MSVC: #define __FLT_HAS_DENORM__ 1
606 // AARCH64-MSVC: #define __FLT_HAS_INFINITY__ 1
607 // AARCH64-MSVC: #define __FLT_HAS_QUIET_NAN__ 1
608 // AARCH64-MSVC: #define __FLT_MANT_DIG__ 24
609 // AARCH64-MSVC: #define __FLT_MAX_10_EXP__ 38
610 // AARCH64-MSVC: #define __FLT_MAX_EXP__ 128
611 // AARCH64-MSVC: #define __FLT_MAX__ 3.40282347e+38F
612 // AARCH64-MSVC: #define __FLT_MIN_10_EXP__ (-37)
613 // AARCH64-MSVC: #define __FLT_MIN_EXP__ (-125)
614 // AARCH64-MSVC: #define __FLT_MIN__ 1.17549435e-38F
615 // AARCH64-MSVC: #define __FLT_RADIX__ 2
616 // AARCH64-MSVC: #define __INT_MAX__ 2147483647
617 // AARCH64-MSVC: #define __LDBL_DECIMAL_DIG__ 17
618 // AARCH64-MSVC: #define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
619 // AARCH64-MSVC: #define __LDBL_DIG__ 15
620 // AARCH64-MSVC: #define __LDBL_EPSILON__ 2.2204460492503131e-16L
621 // AARCH64-MSVC: #define __LDBL_HAS_DENORM__ 1
622 // AARCH64-MSVC: #define __LDBL_HAS_INFINITY__ 1
623 // AARCH64-MSVC: #define __LDBL_HAS_QUIET_NAN__ 1
624 // AARCH64-MSVC: #define __LDBL_MANT_DIG__ 53
625 // AARCH64-MSVC: #define __LDBL_MAX_10_EXP__ 308
626 // AARCH64-MSVC: #define __LDBL_MAX_EXP__ 1024
627 // AARCH64-MSVC: #define __LDBL_MAX__ 1.7976931348623157e+308L
628 // AARCH64-MSVC: #define __LDBL_MIN_10_EXP__ (-307)
629 // AARCH64-MSVC: #define __LDBL_MIN_EXP__ (-1021)
630 // AARCH64-MSVC: #define __LDBL_MIN__ 2.2250738585072014e-308L
631 // AARCH64-MSVC: #define __LITTLE_ENDIAN__ 1
632 // AARCH64-MSVC: #define __LONG_LONG_MAX__ 9223372036854775807LL
633 // AARCH64-MSVC: #define __LONG_MAX__ 2147483647L
634 // AARCH64-MSVC-NOT: #define __LP64__ 1
635 // AARCH64-MSVC: #define __NO_INLINE__ 1
636 // AARCH64-MSVC: #define __OBJC_BOOL_IS_BOOL 0
637 // AARCH64-MSVC: #define __ORDER_BIG_ENDIAN__ 4321
638 // AARCH64-MSVC: #define __ORDER_LITTLE_ENDIAN__ 1234
639 // AARCH64-MSVC: #define __ORDER_PDP_ENDIAN__ 3412
640 // AARCH64-MSVC: #define __POINTER_WIDTH__ 64
641 // AARCH64-MSVC: #define __PRAGMA_REDEFINE_EXTNAME 1
642 // AARCH64-MSVC: #define __SCHAR_MAX__ 127
643 // AARCH64-MSVC: #define __SHRT_MAX__ 32767
644 // AARCH64-MSVC: #define __SIG_ATOMIC_MAX__ 2147483647
645 // AARCH64-MSVC: #define __SIG_ATOMIC_WIDTH__ 32
646 // AARCH64-MSVC: #define __SIZEOF_DOUBLE__ 8
647 // AARCH64-MSVC: #define __SIZEOF_FLOAT__ 4
648 // AARCH64-MSVC: #define __SIZEOF_INT128__ 16
649 // AARCH64-MSVC: #define __SIZEOF_INT__ 4
650 // AARCH64-MSVC: #define __SIZEOF_LONG_DOUBLE__ 8
651 // AARCH64-MSVC: #define __SIZEOF_LONG_LONG__ 8
652 // AARCH64-MSVC: #define __SIZEOF_LONG__ 4
653 // AARCH64-MSVC: #define __SIZEOF_POINTER__ 8
654 // AARCH64-MSVC: #define __SIZEOF_PTRDIFF_T__ 8
655 // AARCH64-MSVC: #define __SIZEOF_SHORT__ 2
656 // AARCH64-MSVC: #define __SIZEOF_SIZE_T__ 8
657 // AARCH64-MSVC: #define __SIZEOF_WCHAR_T__ 2
658 // AARCH64-MSVC: #define __SIZEOF_WINT_T__ 2
659 // AARCH64-MSVC: #define __SIZE_MAX__ 18446744073709551615ULL
660 // AARCH64-MSVC: #define __SIZE_TYPE__ long long unsigned int
661 // AARCH64-MSVC: #define __SIZE_WIDTH__ 64
662 // AARCH64-MSVC: #define __STDC_HOSTED__ 0
663 // AARCH64-MSVC: #define __STDC_UTF_16__ 1
664 // AARCH64-MSVC: #define __STDC_UTF_32__ 1
665 // AARCH64-MSVC: #define __STDC_VERSION__ 201710L
666 // AARCH64-MSVC: #define __STDC__ 1
667 // AARCH64-MSVC: #define __UINT16_C_SUFFIX__
668 // AARCH64-MSVC: #define __UINT16_MAX__ 65535
669 // AARCH64-MSVC: #define __UINT16_TYPE__ unsigned short
670 // AARCH64-MSVC: #define __UINT32_C_SUFFIX__ U
671 // AARCH64-MSVC: #define __UINT32_MAX__ 4294967295U
672 // AARCH64-MSVC: #define __UINT32_TYPE__ unsigned int
673 // AARCH64-MSVC: #define __UINT64_C_SUFFIX__ ULL
674 // AARCH64-MSVC: #define __UINT64_MAX__ 18446744073709551615ULL
675 // AARCH64-MSVC: #define __UINT64_TYPE__ long long unsigned int
676 // AARCH64-MSVC: #define __UINT8_C_SUFFIX__
677 // AARCH64-MSVC: #define __UINT8_MAX__ 255
678 // AARCH64-MSVC: #define __UINT8_TYPE__ unsigned char
679 // AARCH64-MSVC: #define __UINTMAX_C_SUFFIX__ ULL
680 // AARCH64-MSVC: #define __UINTMAX_MAX__ 18446744073709551615ULL
681 // AARCH64-MSVC: #define __UINTMAX_TYPE__ long long unsigned int
682 // AARCH64-MSVC: #define __UINTMAX_WIDTH__ 64
683 // AARCH64-MSVC: #define __UINTPTR_MAX__ 18446744073709551615ULL
684 // AARCH64-MSVC: #define __UINTPTR_TYPE__ long long unsigned int
685 // AARCH64-MSVC: #define __UINTPTR_WIDTH__ 64
686 // AARCH64-MSVC: #define __UINT_FAST16_MAX__ 65535
687 // AARCH64-MSVC: #define __UINT_FAST16_TYPE__ unsigned short
688 // AARCH64-MSVC: #define __UINT_FAST32_MAX__ 4294967295U
689 // AARCH64-MSVC: #define __UINT_FAST32_TYPE__ unsigned int
690 // AARCH64-MSVC: #define __UINT_FAST64_MAX__ 18446744073709551615ULL
691 // AARCH64-MSVC: #define __UINT_FAST64_TYPE__ long long unsigned int
692 // AARCH64-MSVC: #define __UINT_FAST8_MAX__ 255
693 // AARCH64-MSVC: #define __UINT_FAST8_TYPE__ unsigned char
694 // AARCH64-MSVC: #define __UINT_LEAST16_MAX__ 65535
695 // AARCH64-MSVC: #define __UINT_LEAST16_TYPE__ unsigned short
696 // AARCH64-MSVC: #define __UINT_LEAST32_MAX__ 4294967295U
697 // AARCH64-MSVC: #define __UINT_LEAST32_TYPE__ unsigned int
698 // AARCH64-MSVC: #define __UINT_LEAST64_MAX__ 18446744073709551615ULL
699 // AARCH64-MSVC: #define __UINT_LEAST64_TYPE__ long long unsigned int
700 // AARCH64-MSVC: #define __UINT_LEAST8_MAX__ 255
701 // AARCH64-MSVC: #define __UINT_LEAST8_TYPE__ unsigned char
702 // AARCH64-MSVC: #define __USER_LABEL_PREFIX__
703 // AARCH64-MSVC: #define __WCHAR_MAX__ 65535
704 // AARCH64-MSVC: #define __WCHAR_TYPE__ unsigned short
705 // AARCH64-MSVC: #define __WCHAR_UNSIGNED__ 1
706 // AARCH64-MSVC: #define __WCHAR_WIDTH__ 16
707 // AARCH64-MSVC: #define __WINT_TYPE__ unsigned short
708 // AARCH64-MSVC: #define __WINT_WIDTH__ 16
709 // AARCH64-MSVC: #define __aarch64__ 1
711 // RUN: %clang_cc1 -triple=aarch64 -E -dM -mcmodel=small -xc /dev/null | FileCheck --check-prefix=CMODEL_SMALL %s
712 // RUN: %clang_cc1 -triple=aarch64 -E -dM -mcmodel=tiny -xc /dev/null | FileCheck --check-prefix=CMODEL_TINY %s
713 // RUN: %clang_cc1 -triple=aarch64 -E -dM -mcmodel=large -xc /dev/null | FileCheck --check-prefix=CMODEL_LARGE %s
715 // CMODEL_TINY: #define __AARCH64_CMODEL_TINY__ 1
716 // CMODEL_SMALL: #define __AARCH64_CMODEL_SMALL__ 1
717 // CMODEL_LARGE: #define __AARCH64_CMODEL_LARGE__ 1