Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Preprocessor / init-ppc64.c
blob42e5232824de77ca3acb698e499230d46bc2325e
1 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-cpu pwr7 -fno-signed-char < /dev/null | FileCheck -match-full-lines -check-prefix PPC64 %s
2 // RUN: %clang_cc1 -x c++ -E -dM -ffreestanding -triple=powerpc64-none-none -target-cpu pwr7 -fno-signed-char < /dev/null | FileCheck -match-full-lines -check-prefix PPC64 -check-prefix PPC64-CXX %s
3 //
4 // PPC64:#define _ARCH_PPC 1
5 // PPC64:#define _ARCH_PPC64 1
6 // PPC64:#define _ARCH_PPCGR 1
7 // PPC64:#define _ARCH_PPCSQ 1
8 // PPC64:#define _ARCH_PWR4 1
9 // PPC64:#define _ARCH_PWR5 1
10 // PPC64:#define _ARCH_PWR6 1
11 // PPC64:#define _ARCH_PWR7 1
12 // PPC64:#define _BIG_ENDIAN 1
13 // PPC64:#define _LP64 1
14 // PPC64:#define __BIGGEST_ALIGNMENT__ 16
15 // PPC64:#define __BIG_ENDIAN__ 1
16 // PPC64:#define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__
17 // PPC64:#define __CHAR16_TYPE__ unsigned short
18 // PPC64:#define __CHAR32_TYPE__ unsigned int
19 // PPC64:#define __CHAR_BIT__ 8
20 // PPC64:#define __CHAR_UNSIGNED__ 1
21 // PPC64:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
22 // PPC64:#define __DBL_DIG__ 15
23 // PPC64:#define __DBL_EPSILON__ 2.2204460492503131e-16
24 // PPC64:#define __DBL_HAS_DENORM__ 1
25 // PPC64:#define __DBL_HAS_INFINITY__ 1
26 // PPC64:#define __DBL_HAS_QUIET_NAN__ 1
27 // PPC64:#define __DBL_MANT_DIG__ 53
28 // PPC64:#define __DBL_MAX_10_EXP__ 308
29 // PPC64:#define __DBL_MAX_EXP__ 1024
30 // PPC64:#define __DBL_MAX__ 1.7976931348623157e+308
31 // PPC64:#define __DBL_MIN_10_EXP__ (-307)
32 // PPC64:#define __DBL_MIN_EXP__ (-1021)
33 // PPC64:#define __DBL_MIN__ 2.2250738585072014e-308
34 // PPC64:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
35 // PPC64:#define __FLT_DENORM_MIN__ 1.40129846e-45F
36 // PPC64:#define __FLT_DIG__ 6
37 // PPC64:#define __FLT_EPSILON__ 1.19209290e-7F
38 // PPC64:#define __FLT_HAS_DENORM__ 1
39 // PPC64:#define __FLT_HAS_INFINITY__ 1
40 // PPC64:#define __FLT_HAS_QUIET_NAN__ 1
41 // PPC64:#define __FLT_MANT_DIG__ 24
42 // PPC64:#define __FLT_MAX_10_EXP__ 38
43 // PPC64:#define __FLT_MAX_EXP__ 128
44 // PPC64:#define __FLT_MAX__ 3.40282347e+38F
45 // PPC64:#define __FLT_MIN_10_EXP__ (-37)
46 // PPC64:#define __FLT_MIN_EXP__ (-125)
47 // PPC64:#define __FLT_MIN__ 1.17549435e-38F
48 // PPC64:#define __FLT_RADIX__ 2
49 // PPC64:#define __HAVE_BSWAP__ 1
50 // PPC64:#define __INT16_C_SUFFIX__
51 // PPC64:#define __INT16_FMTd__ "hd"
52 // PPC64:#define __INT16_FMTi__ "hi"
53 // PPC64:#define __INT16_MAX__ 32767
54 // PPC64:#define __INT16_TYPE__ short
55 // PPC64:#define __INT32_C_SUFFIX__
56 // PPC64:#define __INT32_FMTd__ "d"
57 // PPC64:#define __INT32_FMTi__ "i"
58 // PPC64:#define __INT32_MAX__ 2147483647
59 // PPC64:#define __INT32_TYPE__ int
60 // PPC64:#define __INT64_C_SUFFIX__ L
61 // PPC64:#define __INT64_FMTd__ "ld"
62 // PPC64:#define __INT64_FMTi__ "li"
63 // PPC64:#define __INT64_MAX__ 9223372036854775807L
64 // PPC64:#define __INT64_TYPE__ long int
65 // PPC64:#define __INT8_C_SUFFIX__
66 // PPC64:#define __INT8_FMTd__ "hhd"
67 // PPC64:#define __INT8_FMTi__ "hhi"
68 // PPC64:#define __INT8_MAX__ 127
69 // PPC64:#define __INT8_TYPE__ signed char
70 // PPC64:#define __INTMAX_C_SUFFIX__ L
71 // PPC64:#define __INTMAX_FMTd__ "ld"
72 // PPC64:#define __INTMAX_FMTi__ "li"
73 // PPC64:#define __INTMAX_MAX__ 9223372036854775807L
74 // PPC64:#define __INTMAX_TYPE__ long int
75 // PPC64:#define __INTMAX_WIDTH__ 64
76 // PPC64:#define __INTPTR_FMTd__ "ld"
77 // PPC64:#define __INTPTR_FMTi__ "li"
78 // PPC64:#define __INTPTR_MAX__ 9223372036854775807L
79 // PPC64:#define __INTPTR_TYPE__ long int
80 // PPC64:#define __INTPTR_WIDTH__ 64
81 // PPC64:#define __INT_FAST16_FMTd__ "hd"
82 // PPC64:#define __INT_FAST16_FMTi__ "hi"
83 // PPC64:#define __INT_FAST16_MAX__ 32767
84 // PPC64:#define __INT_FAST16_TYPE__ short
85 // PPC64:#define __INT_FAST32_FMTd__ "d"
86 // PPC64:#define __INT_FAST32_FMTi__ "i"
87 // PPC64:#define __INT_FAST32_MAX__ 2147483647
88 // PPC64:#define __INT_FAST32_TYPE__ int
89 // PPC64:#define __INT_FAST64_FMTd__ "ld"
90 // PPC64:#define __INT_FAST64_FMTi__ "li"
91 // PPC64:#define __INT_FAST64_MAX__ 9223372036854775807L
92 // PPC64:#define __INT_FAST64_TYPE__ long int
93 // PPC64:#define __INT_FAST8_FMTd__ "hhd"
94 // PPC64:#define __INT_FAST8_FMTi__ "hhi"
95 // PPC64:#define __INT_FAST8_MAX__ 127
96 // PPC64:#define __INT_FAST8_TYPE__ signed char
97 // PPC64:#define __INT_LEAST16_FMTd__ "hd"
98 // PPC64:#define __INT_LEAST16_FMTi__ "hi"
99 // PPC64:#define __INT_LEAST16_MAX__ 32767
100 // PPC64:#define __INT_LEAST16_TYPE__ short
101 // PPC64:#define __INT_LEAST32_FMTd__ "d"
102 // PPC64:#define __INT_LEAST32_FMTi__ "i"
103 // PPC64:#define __INT_LEAST32_MAX__ 2147483647
104 // PPC64:#define __INT_LEAST32_TYPE__ int
105 // PPC64:#define __INT_LEAST64_FMTd__ "ld"
106 // PPC64:#define __INT_LEAST64_FMTi__ "li"
107 // PPC64:#define __INT_LEAST64_MAX__ 9223372036854775807L
108 // PPC64:#define __INT_LEAST64_TYPE__ long int
109 // PPC64:#define __INT_LEAST8_FMTd__ "hhd"
110 // PPC64:#define __INT_LEAST8_FMTi__ "hhi"
111 // PPC64:#define __INT_LEAST8_MAX__ 127
112 // PPC64:#define __INT_LEAST8_TYPE__ signed char
113 // PPC64:#define __INT_MAX__ 2147483647
114 // PPC64:#define __LDBL_DENORM_MIN__ 4.94065645841246544176568792868221e-324L
115 // PPC64:#define __LDBL_DIG__ 31
116 // PPC64:#define __LDBL_EPSILON__ 4.94065645841246544176568792868221e-324L
117 // PPC64:#define __LDBL_HAS_DENORM__ 1
118 // PPC64:#define __LDBL_HAS_INFINITY__ 1
119 // PPC64:#define __LDBL_HAS_QUIET_NAN__ 1
120 // PPC64:#define __LDBL_MANT_DIG__ 106
121 // PPC64:#define __LDBL_MAX_10_EXP__ 308
122 // PPC64:#define __LDBL_MAX_EXP__ 1024
123 // PPC64:#define __LDBL_MAX__ 1.79769313486231580793728971405301e+308L
124 // PPC64:#define __LDBL_MIN_10_EXP__ (-291)
125 // PPC64:#define __LDBL_MIN_EXP__ (-968)
126 // PPC64:#define __LDBL_MIN__ 2.00416836000897277799610805135016e-292L
127 // PPC64:#define __LONGDOUBLE128 1
128 // PPC64:#define __LONG_DOUBLE_128__ 1
129 // PPC64:#define __LONG_LONG_MAX__ 9223372036854775807LL
130 // PPC64:#define __LONG_MAX__ 9223372036854775807L
131 // PPC64:#define __LP64__ 1
132 // PPC64:#define __NATURAL_ALIGNMENT__ 1
133 // PPC64:#define __POINTER_WIDTH__ 64
134 // PPC64:#define __POWERPC__ 1
135 // PPC64:#define __PPC64__ 1
136 // PPC64:#define __PPC__ 1
137 // PPC64:#define __PTRDIFF_TYPE__ long int
138 // PPC64:#define __PTRDIFF_WIDTH__ 64
139 // PPC64:#define __REGISTER_PREFIX__
140 // PPC64:#define __SCHAR_MAX__ 127
141 // PPC64:#define __SHRT_MAX__ 32767
142 // PPC64:#define __SIG_ATOMIC_MAX__ 2147483647
143 // PPC64:#define __SIG_ATOMIC_WIDTH__ 32
144 // PPC64:#define __SIZEOF_DOUBLE__ 8
145 // PPC64:#define __SIZEOF_FLOAT__ 4
146 // PPC64:#define __SIZEOF_INT__ 4
147 // PPC64:#define __SIZEOF_LONG_DOUBLE__ 16
148 // PPC64:#define __SIZEOF_LONG_LONG__ 8
149 // PPC64:#define __SIZEOF_LONG__ 8
150 // PPC64:#define __SIZEOF_POINTER__ 8
151 // PPC64:#define __SIZEOF_PTRDIFF_T__ 8
152 // PPC64:#define __SIZEOF_SHORT__ 2
153 // PPC64:#define __SIZEOF_SIZE_T__ 8
154 // PPC64:#define __SIZEOF_WCHAR_T__ 4
155 // PPC64:#define __SIZEOF_WINT_T__ 4
156 // PPC64:#define __SIZE_MAX__ 18446744073709551615UL
157 // PPC64:#define __SIZE_TYPE__ long unsigned int
158 // PPC64:#define __SIZE_WIDTH__ 64
159 // PPC64-CXX:#define __STDCPP_DEFAULT_NEW_ALIGNMENT__ 16UL
160 // PPC64:#define __UINT16_C_SUFFIX__
161 // PPC64:#define __UINT16_MAX__ 65535
162 // PPC64:#define __UINT16_TYPE__ unsigned short
163 // PPC64:#define __UINT32_C_SUFFIX__ U
164 // PPC64:#define __UINT32_MAX__ 4294967295U
165 // PPC64:#define __UINT32_TYPE__ unsigned int
166 // PPC64:#define __UINT64_C_SUFFIX__ UL
167 // PPC64:#define __UINT64_MAX__ 18446744073709551615UL
168 // PPC64:#define __UINT64_TYPE__ long unsigned int
169 // PPC64:#define __UINT8_C_SUFFIX__
170 // PPC64:#define __UINT8_MAX__ 255
171 // PPC64:#define __UINT8_TYPE__ unsigned char
172 // PPC64:#define __UINTMAX_C_SUFFIX__ UL
173 // PPC64:#define __UINTMAX_MAX__ 18446744073709551615UL
174 // PPC64:#define __UINTMAX_TYPE__ long unsigned int
175 // PPC64:#define __UINTMAX_WIDTH__ 64
176 // PPC64:#define __UINTPTR_MAX__ 18446744073709551615UL
177 // PPC64:#define __UINTPTR_TYPE__ long unsigned int
178 // PPC64:#define __UINTPTR_WIDTH__ 64
179 // PPC64:#define __UINT_FAST16_MAX__ 65535
180 // PPC64:#define __UINT_FAST16_TYPE__ unsigned short
181 // PPC64:#define __UINT_FAST32_MAX__ 4294967295U
182 // PPC64:#define __UINT_FAST32_TYPE__ unsigned int
183 // PPC64:#define __UINT_FAST64_MAX__ 18446744073709551615UL
184 // PPC64:#define __UINT_FAST64_TYPE__ long unsigned int
185 // PPC64:#define __UINT_FAST8_MAX__ 255
186 // PPC64:#define __UINT_FAST8_TYPE__ unsigned char
187 // PPC64:#define __UINT_LEAST16_MAX__ 65535
188 // PPC64:#define __UINT_LEAST16_TYPE__ unsigned short
189 // PPC64:#define __UINT_LEAST32_MAX__ 4294967295U
190 // PPC64:#define __UINT_LEAST32_TYPE__ unsigned int
191 // PPC64:#define __UINT_LEAST64_MAX__ 18446744073709551615UL
192 // PPC64:#define __UINT_LEAST64_TYPE__ long unsigned int
193 // PPC64:#define __UINT_LEAST8_MAX__ 255
194 // PPC64:#define __UINT_LEAST8_TYPE__ unsigned char
195 // PPC64:#define __USER_LABEL_PREFIX__
196 // PPC64:#define __WCHAR_MAX__ 2147483647
197 // PPC64:#define __WCHAR_TYPE__ int
198 // PPC64:#define __WCHAR_WIDTH__ 32
199 // PPC64:#define __WINT_TYPE__ int
200 // PPC64:#define __WINT_WIDTH__ 32
201 // PPC64:#define __ppc__ 1
203 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64le-none-none -target-cpu pwr7 -fno-signed-char < /dev/null | FileCheck -match-full-lines -check-prefix PPC64LE %s
205 // PPC64LE:#define _ARCH_PPC 1
206 // PPC64LE:#define _ARCH_PPC64 1
207 // PPC64LE:#define _ARCH_PPCGR 1
208 // PPC64LE:#define _ARCH_PPCSQ 1
209 // PPC64LE:#define _ARCH_PWR4 1
210 // PPC64LE:#define _ARCH_PWR5 1
211 // PPC64LE:#define _ARCH_PWR5X 1
212 // PPC64LE:#define _ARCH_PWR6 1
213 // PPC64LE-NOT:#define _ARCH_PWR6X 1
214 // PPC64LE:#define _ARCH_PWR7 1
215 // PPC64LE:#define _CALL_ELF 2
216 // PPC64LE:#define _LITTLE_ENDIAN 1
217 // PPC64LE:#define _LP64 1
218 // PPC64LE:#define __BIGGEST_ALIGNMENT__ 16
219 // PPC64LE:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
220 // PPC64LE:#define __CHAR16_TYPE__ unsigned short
221 // PPC64LE:#define __CHAR32_TYPE__ unsigned int
222 // PPC64LE:#define __CHAR_BIT__ 8
223 // PPC64LE:#define __CHAR_UNSIGNED__ 1
224 // PPC64LE:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
225 // PPC64LE:#define __DBL_DIG__ 15
226 // PPC64LE:#define __DBL_EPSILON__ 2.2204460492503131e-16
227 // PPC64LE:#define __DBL_HAS_DENORM__ 1
228 // PPC64LE:#define __DBL_HAS_INFINITY__ 1
229 // PPC64LE:#define __DBL_HAS_QUIET_NAN__ 1
230 // PPC64LE:#define __DBL_MANT_DIG__ 53
231 // PPC64LE:#define __DBL_MAX_10_EXP__ 308
232 // PPC64LE:#define __DBL_MAX_EXP__ 1024
233 // PPC64LE:#define __DBL_MAX__ 1.7976931348623157e+308
234 // PPC64LE:#define __DBL_MIN_10_EXP__ (-307)
235 // PPC64LE:#define __DBL_MIN_EXP__ (-1021)
236 // PPC64LE:#define __DBL_MIN__ 2.2250738585072014e-308
237 // PPC64LE:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
238 // PPC64LE:#define __FLT_DENORM_MIN__ 1.40129846e-45F
239 // PPC64LE:#define __FLT_DIG__ 6
240 // PPC64LE:#define __FLT_EPSILON__ 1.19209290e-7F
241 // PPC64LE:#define __FLT_HAS_DENORM__ 1
242 // PPC64LE:#define __FLT_HAS_INFINITY__ 1
243 // PPC64LE:#define __FLT_HAS_QUIET_NAN__ 1
244 // PPC64LE:#define __FLT_MANT_DIG__ 24
245 // PPC64LE:#define __FLT_MAX_10_EXP__ 38
246 // PPC64LE:#define __FLT_MAX_EXP__ 128
247 // PPC64LE:#define __FLT_MAX__ 3.40282347e+38F
248 // PPC64LE:#define __FLT_MIN_10_EXP__ (-37)
249 // PPC64LE:#define __FLT_MIN_EXP__ (-125)
250 // PPC64LE:#define __FLT_MIN__ 1.17549435e-38F
251 // PPC64LE:#define __FLT_RADIX__ 2
252 // PPC64LE:#define __HAVE_BSWAP__ 1
253 // PPC64LE:#define __INT16_C_SUFFIX__
254 // PPC64LE:#define __INT16_FMTd__ "hd"
255 // PPC64LE:#define __INT16_FMTi__ "hi"
256 // PPC64LE:#define __INT16_MAX__ 32767
257 // PPC64LE:#define __INT16_TYPE__ short
258 // PPC64LE:#define __INT32_C_SUFFIX__
259 // PPC64LE:#define __INT32_FMTd__ "d"
260 // PPC64LE:#define __INT32_FMTi__ "i"
261 // PPC64LE:#define __INT32_MAX__ 2147483647
262 // PPC64LE:#define __INT32_TYPE__ int
263 // PPC64LE:#define __INT64_C_SUFFIX__ L
264 // PPC64LE:#define __INT64_FMTd__ "ld"
265 // PPC64LE:#define __INT64_FMTi__ "li"
266 // PPC64LE:#define __INT64_MAX__ 9223372036854775807L
267 // PPC64LE:#define __INT64_TYPE__ long int
268 // PPC64LE:#define __INT8_C_SUFFIX__
269 // PPC64LE:#define __INT8_FMTd__ "hhd"
270 // PPC64LE:#define __INT8_FMTi__ "hhi"
271 // PPC64LE:#define __INT8_MAX__ 127
272 // PPC64LE:#define __INT8_TYPE__ signed char
273 // PPC64LE:#define __INTMAX_C_SUFFIX__ L
274 // PPC64LE:#define __INTMAX_FMTd__ "ld"
275 // PPC64LE:#define __INTMAX_FMTi__ "li"
276 // PPC64LE:#define __INTMAX_MAX__ 9223372036854775807L
277 // PPC64LE:#define __INTMAX_TYPE__ long int
278 // PPC64LE:#define __INTMAX_WIDTH__ 64
279 // PPC64LE:#define __INTPTR_FMTd__ "ld"
280 // PPC64LE:#define __INTPTR_FMTi__ "li"
281 // PPC64LE:#define __INTPTR_MAX__ 9223372036854775807L
282 // PPC64LE:#define __INTPTR_TYPE__ long int
283 // PPC64LE:#define __INTPTR_WIDTH__ 64
284 // PPC64LE:#define __INT_FAST16_FMTd__ "hd"
285 // PPC64LE:#define __INT_FAST16_FMTi__ "hi"
286 // PPC64LE:#define __INT_FAST16_MAX__ 32767
287 // PPC64LE:#define __INT_FAST16_TYPE__ short
288 // PPC64LE:#define __INT_FAST32_FMTd__ "d"
289 // PPC64LE:#define __INT_FAST32_FMTi__ "i"
290 // PPC64LE:#define __INT_FAST32_MAX__ 2147483647
291 // PPC64LE:#define __INT_FAST32_TYPE__ int
292 // PPC64LE:#define __INT_FAST64_FMTd__ "ld"
293 // PPC64LE:#define __INT_FAST64_FMTi__ "li"
294 // PPC64LE:#define __INT_FAST64_MAX__ 9223372036854775807L
295 // PPC64LE:#define __INT_FAST64_TYPE__ long int
296 // PPC64LE:#define __INT_FAST8_FMTd__ "hhd"
297 // PPC64LE:#define __INT_FAST8_FMTi__ "hhi"
298 // PPC64LE:#define __INT_FAST8_MAX__ 127
299 // PPC64LE:#define __INT_FAST8_TYPE__ signed char
300 // PPC64LE:#define __INT_LEAST16_FMTd__ "hd"
301 // PPC64LE:#define __INT_LEAST16_FMTi__ "hi"
302 // PPC64LE:#define __INT_LEAST16_MAX__ 32767
303 // PPC64LE:#define __INT_LEAST16_TYPE__ short
304 // PPC64LE:#define __INT_LEAST32_FMTd__ "d"
305 // PPC64LE:#define __INT_LEAST32_FMTi__ "i"
306 // PPC64LE:#define __INT_LEAST32_MAX__ 2147483647
307 // PPC64LE:#define __INT_LEAST32_TYPE__ int
308 // PPC64LE:#define __INT_LEAST64_FMTd__ "ld"
309 // PPC64LE:#define __INT_LEAST64_FMTi__ "li"
310 // PPC64LE:#define __INT_LEAST64_MAX__ 9223372036854775807L
311 // PPC64LE:#define __INT_LEAST64_TYPE__ long int
312 // PPC64LE:#define __INT_LEAST8_FMTd__ "hhd"
313 // PPC64LE:#define __INT_LEAST8_FMTi__ "hhi"
314 // PPC64LE:#define __INT_LEAST8_MAX__ 127
315 // PPC64LE:#define __INT_LEAST8_TYPE__ signed char
316 // PPC64LE:#define __INT_MAX__ 2147483647
317 // PPC64LE:#define __LDBL_DENORM_MIN__ 4.94065645841246544176568792868221e-324L
318 // PPC64LE:#define __LDBL_DIG__ 31
319 // PPC64LE:#define __LDBL_EPSILON__ 4.94065645841246544176568792868221e-324L
320 // PPC64LE:#define __LDBL_HAS_DENORM__ 1
321 // PPC64LE:#define __LDBL_HAS_INFINITY__ 1
322 // PPC64LE:#define __LDBL_HAS_QUIET_NAN__ 1
323 // PPC64LE:#define __LDBL_MANT_DIG__ 106
324 // PPC64LE:#define __LDBL_MAX_10_EXP__ 308
325 // PPC64LE:#define __LDBL_MAX_EXP__ 1024
326 // PPC64LE:#define __LDBL_MAX__ 1.79769313486231580793728971405301e+308L
327 // PPC64LE:#define __LDBL_MIN_10_EXP__ (-291)
328 // PPC64LE:#define __LDBL_MIN_EXP__ (-968)
329 // PPC64LE:#define __LDBL_MIN__ 2.00416836000897277799610805135016e-292L
330 // PPC64LE:#define __LITTLE_ENDIAN__ 1
331 // PPC64LE:#define __LONGDOUBLE128 1
332 // PPC64LE:#define __LONG_DOUBLE_128__ 1
333 // PPC64LE:#define __LONG_LONG_MAX__ 9223372036854775807LL
334 // PPC64LE:#define __LONG_MAX__ 9223372036854775807L
335 // PPC64LE:#define __LP64__ 1
336 // PPC64LE:#define __NATURAL_ALIGNMENT__ 1
337 // PPC64LE:#define __POINTER_WIDTH__ 64
338 // PPC64LE:#define __POWERPC__ 1
339 // PPC64LE:#define __PPC64__ 1
340 // PPC64LE:#define __PPC__ 1
341 // PPC64LE:#define __PTRDIFF_TYPE__ long int
342 // PPC64LE:#define __PTRDIFF_WIDTH__ 64
343 // PPC64LE:#define __REGISTER_PREFIX__
344 // PPC64LE:#define __SCHAR_MAX__ 127
345 // PPC64LE:#define __SHRT_MAX__ 32767
346 // PPC64LE:#define __SIG_ATOMIC_MAX__ 2147483647
347 // PPC64LE:#define __SIG_ATOMIC_WIDTH__ 32
348 // PPC64LE:#define __SIZEOF_DOUBLE__ 8
349 // PPC64LE:#define __SIZEOF_FLOAT__ 4
350 // PPC64LE:#define __SIZEOF_INT__ 4
351 // PPC64LE:#define __SIZEOF_LONG_DOUBLE__ 16
352 // PPC64LE:#define __SIZEOF_LONG_LONG__ 8
353 // PPC64LE:#define __SIZEOF_LONG__ 8
354 // PPC64LE:#define __SIZEOF_POINTER__ 8
355 // PPC64LE:#define __SIZEOF_PTRDIFF_T__ 8
356 // PPC64LE:#define __SIZEOF_SHORT__ 2
357 // PPC64LE:#define __SIZEOF_SIZE_T__ 8
358 // PPC64LE:#define __SIZEOF_WCHAR_T__ 4
359 // PPC64LE:#define __SIZEOF_WINT_T__ 4
360 // PPC64LE:#define __SIZE_MAX__ 18446744073709551615UL
361 // PPC64LE:#define __SIZE_TYPE__ long unsigned int
362 // PPC64LE:#define __SIZE_WIDTH__ 64
363 // PPC64LE:#define __STRUCT_PARM_ALIGN__ 16
364 // PPC64LE:#define __UINT16_C_SUFFIX__
365 // PPC64LE:#define __UINT16_MAX__ 65535
366 // PPC64LE:#define __UINT16_TYPE__ unsigned short
367 // PPC64LE:#define __UINT32_C_SUFFIX__ U
368 // PPC64LE:#define __UINT32_MAX__ 4294967295U
369 // PPC64LE:#define __UINT32_TYPE__ unsigned int
370 // PPC64LE:#define __UINT64_C_SUFFIX__ UL
371 // PPC64LE:#define __UINT64_MAX__ 18446744073709551615UL
372 // PPC64LE:#define __UINT64_TYPE__ long unsigned int
373 // PPC64LE:#define __UINT8_C_SUFFIX__
374 // PPC64LE:#define __UINT8_MAX__ 255
375 // PPC64LE:#define __UINT8_TYPE__ unsigned char
376 // PPC64LE:#define __UINTMAX_C_SUFFIX__ UL
377 // PPC64LE:#define __UINTMAX_MAX__ 18446744073709551615UL
378 // PPC64LE:#define __UINTMAX_TYPE__ long unsigned int
379 // PPC64LE:#define __UINTMAX_WIDTH__ 64
380 // PPC64LE:#define __UINTPTR_MAX__ 18446744073709551615UL
381 // PPC64LE:#define __UINTPTR_TYPE__ long unsigned int
382 // PPC64LE:#define __UINTPTR_WIDTH__ 64
383 // PPC64LE:#define __UINT_FAST16_MAX__ 65535
384 // PPC64LE:#define __UINT_FAST16_TYPE__ unsigned short
385 // PPC64LE:#define __UINT_FAST32_MAX__ 4294967295U
386 // PPC64LE:#define __UINT_FAST32_TYPE__ unsigned int
387 // PPC64LE:#define __UINT_FAST64_MAX__ 18446744073709551615UL
388 // PPC64LE:#define __UINT_FAST64_TYPE__ long unsigned int
389 // PPC64LE:#define __UINT_FAST8_MAX__ 255
390 // PPC64LE:#define __UINT_FAST8_TYPE__ unsigned char
391 // PPC64LE:#define __UINT_LEAST16_MAX__ 65535
392 // PPC64LE:#define __UINT_LEAST16_TYPE__ unsigned short
393 // PPC64LE:#define __UINT_LEAST32_MAX__ 4294967295U
394 // PPC64LE:#define __UINT_LEAST32_TYPE__ unsigned int
395 // PPC64LE:#define __UINT_LEAST64_MAX__ 18446744073709551615UL
396 // PPC64LE:#define __UINT_LEAST64_TYPE__ long unsigned int
397 // PPC64LE:#define __UINT_LEAST8_MAX__ 255
398 // PPC64LE:#define __UINT_LEAST8_TYPE__ unsigned char
399 // PPC64LE:#define __USER_LABEL_PREFIX__
400 // PPC64LE:#define __WCHAR_MAX__ 2147483647
401 // PPC64LE:#define __WCHAR_TYPE__ int
402 // PPC64LE:#define __WCHAR_WIDTH__ 32
403 // PPC64LE:#define __WINT_TYPE__ int
404 // PPC64LE:#define __WINT_WIDTH__ 32
405 // PPC64LE:#define __ppc__ 1
407 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-cpu 630 -fno-signed-char < /dev/null | FileCheck -match-full-lines -check-prefix PPC630 %s
409 // PPC630:#define _ARCH_630 1
410 // PPC630:#define _ARCH_PPC 1
411 // PPC630:#define _ARCH_PPC64 1
412 // PPC630:#define _ARCH_PPCGR 1
414 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-cpu pwr3 -fno-signed-char < /dev/null | FileCheck -match-full-lines -check-prefix PPCPWR3 %s
416 // PPCPWR3:#define _ARCH_PPC 1
417 // PPCPWR3:#define _ARCH_PPC64 1
418 // PPCPWR3:#define _ARCH_PPCGR 1
420 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-cpu power3 -fno-signed-char < /dev/null | FileCheck -match-full-lines -check-prefix PPCPOWER3 %s
422 // PPCPOWER3:#define _ARCH_PPC 1
423 // PPCPOWER3:#define _ARCH_PPC64 1
424 // PPCPOWER3:#define _ARCH_PPCGR 1
426 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-cpu pwr4 -fno-signed-char < /dev/null | FileCheck -match-full-lines -check-prefix PPCPWR4 %s
428 // PPCPWR4:#define _ARCH_PPC 1
429 // PPCPWR4:#define _ARCH_PPC64 1
430 // PPCPWR4:#define _ARCH_PPCGR 1
431 // PPCPWR4:#define _ARCH_PPCSQ 1
432 // PPCPWR4:#define _ARCH_PWR4 1
434 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-cpu power4 -fno-signed-char < /dev/null | FileCheck -match-full-lines -check-prefix PPCPOWER4 %s
436 // PPCPOWER4:#define _ARCH_PPC 1
437 // PPCPOWER4:#define _ARCH_PPC64 1
438 // PPCPOWER4:#define _ARCH_PPCGR 1
439 // PPCPOWER4:#define _ARCH_PPCSQ 1
440 // PPCPOWER4:#define _ARCH_PWR4 1
442 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-cpu pwr5 -fno-signed-char < /dev/null | FileCheck -match-full-lines -check-prefix PPCPWR5 %s
444 // PPCPWR5:#define _ARCH_PPC 1
445 // PPCPWR5:#define _ARCH_PPC64 1
446 // PPCPWR5:#define _ARCH_PPCGR 1
447 // PPCPWR5:#define _ARCH_PPCSQ 1
448 // PPCPWR5:#define _ARCH_PWR4 1
449 // PPCPWR5:#define _ARCH_PWR5 1
451 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-cpu power5 -fno-signed-char < /dev/null | FileCheck -match-full-lines -check-prefix PPCPOWER5 %s
453 // PPCPOWER5:#define _ARCH_PPC 1
454 // PPCPOWER5:#define _ARCH_PPC64 1
455 // PPCPOWER5:#define _ARCH_PPCGR 1
456 // PPCPOWER5:#define _ARCH_PPCSQ 1
457 // PPCPOWER5:#define _ARCH_PWR4 1
458 // PPCPOWER5:#define _ARCH_PWR5 1
460 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-cpu pwr5x -fno-signed-char < /dev/null | FileCheck -match-full-lines -check-prefix PPCPWR5X %s
462 // PPCPWR5X:#define _ARCH_PPC 1
463 // PPCPWR5X:#define _ARCH_PPC64 1
464 // PPCPWR5X:#define _ARCH_PPCGR 1
465 // PPCPWR5X:#define _ARCH_PPCSQ 1
466 // PPCPWR5X:#define _ARCH_PWR4 1
467 // PPCPWR5X:#define _ARCH_PWR5 1
468 // PPCPWR5X:#define _ARCH_PWR5X 1
470 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-cpu power5x -fno-signed-char < /dev/null | FileCheck -match-full-lines -check-prefix PPCPOWER5X %s
472 // PPCPOWER5X:#define _ARCH_PPC 1
473 // PPCPOWER5X:#define _ARCH_PPC64 1
474 // PPCPOWER5X:#define _ARCH_PPCGR 1
475 // PPCPOWER5X:#define _ARCH_PPCSQ 1
476 // PPCPOWER5X:#define _ARCH_PWR4 1
477 // PPCPOWER5X:#define _ARCH_PWR5 1
478 // PPCPOWER5X:#define _ARCH_PWR5X 1
480 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-cpu pwr6 -fno-signed-char < /dev/null | FileCheck -match-full-lines -check-prefix PPCPWR6 %s
482 // PPCPWR6:#define _ARCH_PPC 1
483 // PPCPWR6:#define _ARCH_PPC64 1
484 // PPCPWR6:#define _ARCH_PPCGR 1
485 // PPCPWR6:#define _ARCH_PPCSQ 1
486 // PPCPWR6:#define _ARCH_PWR4 1
487 // PPCPWR6:#define _ARCH_PWR5 1
488 // PPCPWR6:#define _ARCH_PWR5X 1
489 // PPCPWR6:#define _ARCH_PWR6 1
491 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-cpu power6 -fno-signed-char < /dev/null | FileCheck -match-full-lines -check-prefix PPCPOWER6 %s
493 // PPCPOWER6:#define _ARCH_PPC 1
494 // PPCPOWER6:#define _ARCH_PPC64 1
495 // PPCPOWER6:#define _ARCH_PPCGR 1
496 // PPCPOWER6:#define _ARCH_PPCSQ 1
497 // PPCPOWER6:#define _ARCH_PWR4 1
498 // PPCPOWER6:#define _ARCH_PWR5 1
499 // PPCPOWER6:#define _ARCH_PWR5X 1
500 // PPCPOWER6:#define _ARCH_PWR6 1
502 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-cpu pwr6x -fno-signed-char < /dev/null | FileCheck -match-full-lines -check-prefix PPCPWR6X %s
504 // PPCPWR6X:#define _ARCH_PPC 1
505 // PPCPWR6X:#define _ARCH_PPC64 1
506 // PPCPWR6X:#define _ARCH_PPCGR 1
507 // PPCPWR6X:#define _ARCH_PPCSQ 1
508 // PPCPWR6X:#define _ARCH_PWR4 1
509 // PPCPWR6X:#define _ARCH_PWR5 1
510 // PPCPWR6X:#define _ARCH_PWR5X 1
511 // PPCPWR6X:#define _ARCH_PWR6 1
512 // PPCPWR6X:#define _ARCH_PWR6X 1
514 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-cpu power6x -fno-signed-char < /dev/null | FileCheck -match-full-lines -check-prefix PPCPOWER6X %s
516 // PPCPOWER6X:#define _ARCH_PPC 1
517 // PPCPOWER6X:#define _ARCH_PPC64 1
518 // PPCPOWER6X:#define _ARCH_PPCGR 1
519 // PPCPOWER6X:#define _ARCH_PPCSQ 1
520 // PPCPOWER6X:#define _ARCH_PWR4 1
521 // PPCPOWER6X:#define _ARCH_PWR5 1
522 // PPCPOWER6X:#define _ARCH_PWR5X 1
523 // PPCPOWER6X:#define _ARCH_PWR6 1
524 // PPCPOWER6X:#define _ARCH_PWR6X 1
526 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-cpu pwr7 -fno-signed-char < /dev/null | FileCheck -match-full-lines -check-prefix PPCPWR7 %s
528 // PPCPWR7:#define _ARCH_PPC 1
529 // PPCPWR7:#define _ARCH_PPC64 1
530 // PPCPWR7:#define _ARCH_PPCGR 1
531 // PPCPWR7:#define _ARCH_PPCSQ 1
532 // PPCPWR7:#define _ARCH_PWR4 1
533 // PPCPWR7:#define _ARCH_PWR5 1
534 // PPCPWR7:#define _ARCH_PWR5X 1
535 // PPCPWR7:#define _ARCH_PWR6 1
536 // PPCPWR7-NOT:#define _ARCH_PWR6X 1
537 // PPCPWR7:#define _ARCH_PWR7 1
539 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-cpu power7 -fno-signed-char < /dev/null | FileCheck -match-full-lines -check-prefix PPCPOWER7 %s
541 // PPCPOWER7:#define _ARCH_PPC 1
542 // PPCPOWER7:#define _ARCH_PPC64 1
543 // PPCPOWER7:#define _ARCH_PPCGR 1
544 // PPCPOWER7:#define _ARCH_PPCSQ 1
545 // PPCPOWER7:#define _ARCH_PWR4 1
546 // PPCPOWER7:#define _ARCH_PWR5 1
547 // PPCPOWER7:#define _ARCH_PWR5X 1
548 // PPCPOWER7:#define _ARCH_PWR6 1
549 // PPCPOWER7-NOT:#define _ARCH_PWR6X 1
550 // PPCPOWER7:#define _ARCH_PWR7 1
552 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-cpu pwr8 -fno-signed-char < /dev/null | FileCheck -match-full-lines -check-prefix PPCPWR8 %s
554 // PPCPWR8:#define _ARCH_PPC 1
555 // PPCPWR8:#define _ARCH_PPC64 1
556 // PPCPWR8:#define _ARCH_PPCGR 1
557 // PPCPWR8:#define _ARCH_PPCSQ 1
558 // PPCPWR8:#define _ARCH_PWR4 1
559 // PPCPWR8:#define _ARCH_PWR5 1
560 // PPCPWR8:#define _ARCH_PWR5X 1
561 // PPCPWR8:#define _ARCH_PWR6 1
562 // PPCPWR8-NOT:#define _ARCH_PWR6X 1
563 // PPCPWR8:#define _ARCH_PWR7 1
564 // PPCPWR8:#define _ARCH_PWR8 1
565 // PPCPWR8-NOT:#define __ROP_PROTECT__ 1
567 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-cpu power8 -fno-signed-char < /dev/null | FileCheck -match-full-lines -check-prefix PPCPOWER8 %s
569 // ppc64le also defaults to power8.
570 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64le-none-none -target-cpu ppc64le -fno-signed-char < /dev/null | FileCheck -match-full-lines -check-prefix PPCPOWER8 %s
572 // PPCPOWER8:#define _ARCH_PPC 1
573 // PPCPOWER8:#define _ARCH_PPC64 1
574 // PPCPOWER8:#define _ARCH_PPCGR 1
575 // PPCPOWER8:#define _ARCH_PPCSQ 1
576 // PPCPOWER8:#define _ARCH_PWR4 1
577 // PPCPOWER8:#define _ARCH_PWR5 1
578 // PPCPOWER8:#define _ARCH_PWR5X 1
579 // PPCPOWER8:#define _ARCH_PWR6 1
580 // PPCPOWER8-NOT:#define _ARCH_PWR6X 1
581 // PPCPOWER8:#define _ARCH_PWR7 1
582 // PPCPOWER8:#define _ARCH_PWR8 1
583 // PPCPOWER8-NOT:#define __ROP_PROTECT__ 1
585 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-cpu pwr9 -fno-signed-char < /dev/null | FileCheck -match-full-lines -check-prefix PPCPWR9 %s
587 // PPCPWR9:#define _ARCH_PPC 1
588 // PPCPWR9:#define _ARCH_PPC64 1
589 // PPCPWR9:#define _ARCH_PPCGR 1
590 // PPCPWR9:#define _ARCH_PPCSQ 1
591 // PPCPWR9:#define _ARCH_PWR4 1
592 // PPCPWR9:#define _ARCH_PWR5 1
593 // PPCPWR9:#define _ARCH_PWR5X 1
594 // PPCPWR9:#define _ARCH_PWR6 1
595 // PPCPWR9-NOT:#define _ARCH_PWR6X 1
596 // PPCPWR9:#define _ARCH_PWR7 1
597 // PPCPWR9:#define _ARCH_PWR9 1
598 // PPCPWR9-NOT:#define __ROP_PROTECT__ 1
600 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-cpu power9 -fno-signed-char < /dev/null | FileCheck -match-full-lines -check-prefix PPCPOWER9 %s
602 // PPCPOWER9:#define _ARCH_PPC 1
603 // PPCPOWER9:#define _ARCH_PPC64 1
604 // PPCPOWER9:#define _ARCH_PPCGR 1
605 // PPCPOWER9:#define _ARCH_PPCSQ 1
606 // PPCPOWER9:#define _ARCH_PWR4 1
607 // PPCPOWER9:#define _ARCH_PWR5 1
608 // PPCPOWER9:#define _ARCH_PWR5X 1
609 // PPCPOWER9:#define _ARCH_PWR6 1
610 // PPCPOWER9-NOT:#define _ARCH_PWR6X 1
611 // PPCPOWER9:#define _ARCH_PWR7 1
612 // PPCPOWER9:#define _ARCH_PWR9 1
613 // PPCPOWER9-NOT:#define __ROP_PROTECT__ 1
615 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-cpu pwr10 -fno-signed-char < /dev/null | FileCheck -match-full-lines -check-prefix PPCPOWER10 %s
616 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-cpu power10 -fno-signed-char < /dev/null | FileCheck -match-full-lines -check-prefix PPCPOWER10 %s
618 // PPCPOWER10:#define _ARCH_PPC 1
619 // PPCPOWER10:#define _ARCH_PPC64 1
620 // PPCPOWER10:#define _ARCH_PPCGR 1
621 // PPCPOWER10:#define _ARCH_PPCSQ 1
622 // PPCPOWER10:#define _ARCH_PWR10 1
623 // PPCPOWER10:#define _ARCH_PWR4 1
624 // PPCPOWER10:#define _ARCH_PWR5 1
625 // PPCPOWER10:#define _ARCH_PWR5X 1
626 // PPCPOWER10:#define _ARCH_PWR6 1
627 // PPCPOWER10-NOT:#define _ARCH_PWR6X 1
628 // PPCPOWER10:#define _ARCH_PWR7 1
629 // PPCPOWER10:#define _ARCH_PWR8 1
630 // PPCPOWER10:#define _ARCH_PWR9 1
631 // PPCPOWER10:#define __MMA__ 1
632 // PPCPOWER10:#define __PCREL__ 1
633 // PPCPOWER10-NOT:#define __ROP_PROTECT__ 1
635 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-cpu future -fno-signed-char < /dev/null | FileCheck -match-full-lines -check-prefix PPCFUTURE %s
637 // PPCFUTURE:#define _ARCH_PPC 1
638 // PPCFUTURE:#define _ARCH_PPC64 1
639 // PPCFUTURE:#define _ARCH_PPCGR 1
640 // PPCFUTURE:#define _ARCH_PPCSQ 1
641 // PPCFUTURE:#define _ARCH_PWR10 1
642 // PPCFUTURE:#define _ARCH_PWR4 1
643 // PPCFUTURE:#define _ARCH_PWR5 1
644 // PPCFUTURE:#define _ARCH_PWR5X 1
645 // PPCFUTURE:#define _ARCH_PWR6 1
646 // PPCFUTURE-NOT:#define _ARCH_PWR6X 1
647 // PPCFUTURE:#define _ARCH_PWR7 1
648 // PPCFUTURE:#define _ARCH_PWR8 1
649 // PPCFUTURE:#define _ARCH_PWR9 1
650 // PPCFUTURE:#define _ARCH_PWR_FUTURE 1
651 // PPCFUTURE:#define __MMA__ 1
652 // PPCFUTURE:#define __PCREL__ 1
653 // PPCFUTURE-NOT:#define __ROP_PROTECT__ 1
655 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-feature +mma -target-cpu power10 -fno-signed-char < /dev/null | FileCheck -check-prefix PPC-MMA %s
656 // PPC-MMA:#define __MMA__ 1
658 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-feature +rop-protect -target-cpu power10 -fno-signed-char < /dev/null | FileCheck -check-prefix PPC-ROP %s
659 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-feature +rop-protect -target-cpu power9 -fno-signed-char < /dev/null | FileCheck -check-prefix PPC-ROP %s
660 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-feature +rop-protect -target-cpu power8 -fno-signed-char < /dev/null | FileCheck -check-prefix PPC-ROP %s
661 // PPC-ROP:#define __ROP_PROTECT__ 1
663 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-feature +float128 -target-cpu power9 -fno-signed-char < /dev/null | FileCheck -check-prefix PPC-FLOAT128 %s
664 // PPC-FLOAT128:#define __FLOAT128__ 1
666 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-ibm-aix7.1.0.0 -fno-signed-char < /dev/null | FileCheck -match-full-lines -check-prefix PPC64-AIX %s
668 // PPC64-AIX:#define _AIX 1
669 // PPC64-AIX:#define _ARCH_PPC 1
670 // PPC64-AIX:#define _ARCH_PPC64 1
671 // PPC64-AIX:#define _BIG_ENDIAN 1
672 // PPC64-AIX:#define _IBMR2 1
673 // PPC64-AIX-NOT:#define _ILP32 1
674 // PPC64-AIX:#define _LONG_LONG 1
675 // PPC64-AIX:#define _LP64 1
676 // PPC64-AIX:#define _POWER 1
677 // PPC64-AIX:#define __64BIT__ 1
678 // PPC64-AIX:#define __BIGGEST_ALIGNMENT__ 16
679 // PPC64-AIX:#define __BIG_ENDIAN__ 1
680 // PPC64-AIX:#define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__
681 // PPC64-AIX:#define __CHAR16_TYPE__ unsigned short
682 // PPC64-AIX:#define __CHAR32_TYPE__ unsigned int
683 // PPC64-AIX:#define __CHAR_BIT__ 8
684 // PPC64-AIX:#define __CHAR_UNSIGNED__ 1
685 // PPC64-AIX:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
686 // PPC64-AIX:#define __DBL_DIG__ 15
687 // PPC64-AIX:#define __DBL_EPSILON__ 2.2204460492503131e-16
688 // PPC64-AIX:#define __DBL_HAS_DENORM__ 1
689 // PPC64-AIX:#define __DBL_HAS_INFINITY__ 1
690 // PPC64-AIX:#define __DBL_HAS_QUIET_NAN__ 1
691 // PPC64-AIX:#define __DBL_MANT_DIG__ 53
692 // PPC64-AIX:#define __DBL_MAX_10_EXP__ 308
693 // PPC64-AIX:#define __DBL_MAX_EXP__ 1024
694 // PPC64-AIX:#define __DBL_MAX__ 1.7976931348623157e+308
695 // PPC64-AIX:#define __DBL_MIN_10_EXP__ (-307)
696 // PPC64-AIX:#define __DBL_MIN_EXP__ (-1021)
697 // PPC64-AIX:#define __DBL_MIN__ 2.2250738585072014e-308
698 // PPC64-AIX:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
699 // PPC64-AIX:#define __FLT_DENORM_MIN__ 1.40129846e-45F
700 // PPC64-AIX:#define __FLT_DIG__ 6
701 // PPC64-AIX:#define __FLT_EPSILON__ 1.19209290e-7F
702 // PPC64-AIX:#define __FLT_HAS_DENORM__ 1
703 // PPC64-AIX:#define __FLT_HAS_INFINITY__ 1
704 // PPC64-AIX:#define __FLT_HAS_QUIET_NAN__ 1
705 // PPC64-AIX:#define __FLT_MANT_DIG__ 24
706 // PPC64-AIX:#define __FLT_MAX_10_EXP__ 38
707 // PPC64-AIX:#define __FLT_MAX_EXP__ 128
708 // PPC64-AIX:#define __FLT_MAX__ 3.40282347e+38F
709 // PPC64-AIX:#define __FLT_MIN_10_EXP__ (-37)
710 // PPC64-AIX:#define __FLT_MIN_EXP__ (-125)
711 // PPC64-AIX:#define __FLT_MIN__ 1.17549435e-38F
712 // PPC64-AIX:#define __FLT_RADIX__ 2
713 // PPC64-AIX-NOT:#define __ILP32__ 1
714 // PPC64-AIX:#define __INT16_C_SUFFIX__
715 // PPC64-AIX:#define __INT16_FMTd__ "hd"
716 // PPC64-AIX:#define __INT16_FMTi__ "hi"
717 // PPC64-AIX:#define __INT16_MAX__ 32767
718 // PPC64-AIX:#define __INT16_TYPE__ short
719 // PPC64-AIX:#define __INT32_C_SUFFIX__
720 // PPC64-AIX:#define __INT32_FMTd__ "d"
721 // PPC64-AIX:#define __INT32_FMTi__ "i"
722 // PPC64-AIX:#define __INT32_MAX__ 2147483647
723 // PPC64-AIX:#define __INT32_TYPE__ int
724 // PPC64-AIX:#define __INT64_C_SUFFIX__ L
725 // PPC64-AIX:#define __INT64_FMTd__ "ld"
726 // PPC64-AIX:#define __INT64_FMTi__ "li"
727 // PPC64-AIX:#define __INT64_MAX__ 9223372036854775807L
728 // PPC64-AIX:#define __INT64_TYPE__ long int
729 // PPC64-AIX:#define __INT8_C_SUFFIX__
730 // PPC64-AIX:#define __INT8_FMTd__ "hhd"
731 // PPC64-AIX:#define __INT8_FMTi__ "hhi"
732 // PPC64-AIX:#define __INT8_MAX__ 127
733 // PPC64-AIX:#define __INT8_TYPE__ signed char
734 // PPC64-AIX:#define __INTMAX_C_SUFFIX__ L
735 // PPC64-AIX:#define __INTMAX_FMTd__ "ld"
736 // PPC64-AIX:#define __INTMAX_FMTi__ "li"
737 // PPC64-AIX:#define __INTMAX_MAX__ 9223372036854775807L
738 // PPC64-AIX:#define __INTMAX_TYPE__ long int
739 // PPC64-AIX:#define __INTMAX_WIDTH__ 64
740 // PPC64-AIX:#define __INTPTR_FMTd__ "ld"
741 // PPC64-AIX:#define __INTPTR_FMTi__ "li"
742 // PPC64-AIX:#define __INTPTR_MAX__ 9223372036854775807L
743 // PPC64-AIX:#define __INTPTR_TYPE__ long int
744 // PPC64-AIX:#define __INTPTR_WIDTH__ 64
745 // PPC64-AIX:#define __INT_FAST16_FMTd__ "hd"
746 // PPC64-AIX:#define __INT_FAST16_FMTi__ "hi"
747 // PPC64-AIX:#define __INT_FAST16_MAX__ 32767
748 // PPC64-AIX:#define __INT_FAST16_TYPE__ short
749 // PPC64-AIX:#define __INT_FAST32_FMTd__ "d"
750 // PPC64-AIX:#define __INT_FAST32_FMTi__ "i"
751 // PPC64-AIX:#define __INT_FAST32_MAX__ 2147483647
752 // PPC64-AIX:#define __INT_FAST32_TYPE__ int
753 // PPC64-AIX:#define __INT_FAST64_FMTd__ "ld"
754 // PPC64-AIX:#define __INT_FAST64_FMTi__ "li"
755 // PPC64-AIX:#define __INT_FAST64_MAX__ 9223372036854775807L
756 // PPC64-AIX:#define __INT_FAST64_TYPE__ long int
757 // PPC64-AIX:#define __INT_FAST8_FMTd__ "hhd"
758 // PPC64-AIX:#define __INT_FAST8_FMTi__ "hhi"
759 // PPC64-AIX:#define __INT_FAST8_MAX__ 127
760 // PPC64-AIX:#define __INT_FAST8_TYPE__ signed char
761 // PPC64-AIX:#define __INT_LEAST16_FMTd__ "hd"
762 // PPC64-AIX:#define __INT_LEAST16_FMTi__ "hi"
763 // PPC64-AIX:#define __INT_LEAST16_MAX__ 32767
764 // PPC64-AIX:#define __INT_LEAST16_TYPE__ short
765 // PPC64-AIX:#define __INT_LEAST32_FMTd__ "d"
766 // PPC64-AIX:#define __INT_LEAST32_FMTi__ "i"
767 // PPC64-AIX:#define __INT_LEAST32_MAX__ 2147483647
768 // PPC64-AIX:#define __INT_LEAST32_TYPE__ int
769 // PPC64-AIX:#define __INT_LEAST64_FMTd__ "ld"
770 // PPC64-AIX:#define __INT_LEAST64_FMTi__ "li"
771 // PPC64-AIX:#define __INT_LEAST64_MAX__ 9223372036854775807L
772 // PPC64-AIX:#define __INT_LEAST64_TYPE__ long int
773 // PPC64-AIX:#define __INT_LEAST8_FMTd__ "hhd"
774 // PPC64-AIX:#define __INT_LEAST8_FMTi__ "hhi"
775 // PPC64-AIX:#define __INT_LEAST8_MAX__ 127
776 // PPC64-AIX:#define __INT_LEAST8_TYPE__ signed char
777 // PPC64-AIX:#define __INT_MAX__ 2147483647
778 // PPC64-AIX:#define __LDBL_DECIMAL_DIG__ 17
779 // PPC64-AIX:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
780 // PPC64-AIX:#define __LDBL_DIG__ 15
781 // PPC64-AIX:#define __LDBL_EPSILON__ 2.2204460492503131e-16L
782 // PPC64-AIX:#define __LDBL_HAS_DENORM__ 1
783 // PPC64-AIX:#define __LDBL_HAS_INFINITY__ 1
784 // PPC64-AIX:#define __LDBL_HAS_QUIET_NAN__ 1
785 // PPC64-AIX:#define __LDBL_MANT_DIG__ 53
786 // PPC64-AIX:#define __LDBL_MAX_10_EXP__ 308
787 // PPC64-AIX:#define __LDBL_MAX_EXP__ 1024
788 // PPC64-AIX:#define __LDBL_MAX__ 1.7976931348623157e+308L
789 // PPC64-AIX:#define __LDBL_MIN_10_EXP__ (-307)
790 // PPC64-AIX:#define __LDBL_MIN_EXP__ (-1021)
791 // PPC64-AIX:#define __LDBL_MIN__ 2.2250738585072014e-308L
792 // PPC64-AIX:#define __LONG_LONG_MAX__ 9223372036854775807LL
793 // PPC64-AIX:#define __LONG_MAX__ 9223372036854775807L
794 // PPC64-AIX:#define __LP64__ 1
795 // PPC64-AIX-NOT:#define __NATURAL_ALIGNMENT__ 1
796 // PPC64-AIX:#define __POINTER_WIDTH__ 64
797 // PPC64-AIX:#define __POWERPC__ 1
798 // PPC64-AIX:#define __PPC64__ 1
799 // PPC64-AIX:#define __PPC__ 1
800 // PPC64-AIX:#define __PTRDIFF_TYPE__ long int
801 // PPC64-AIX:#define __PTRDIFF_WIDTH__ 64
802 // PPC64-AIX:#define __REGISTER_PREFIX__
803 // PPC64-AIX:#define __SCHAR_MAX__ 127
804 // PPC64-AIX:#define __SHRT_MAX__ 32767
805 // PPC64-AIX:#define __SIG_ATOMIC_MAX__ 2147483647
806 // PPC64-AIX:#define __SIG_ATOMIC_WIDTH__ 32
807 // PPC64-AIX:#define __SIZEOF_DOUBLE__ 8
808 // PPC64-AIX:#define __SIZEOF_FLOAT__ 4
809 // PPC64-AIX:#define __SIZEOF_INT128__ 16
810 // PPC64-AIX:#define __SIZEOF_INT__ 4
811 // PPC64-AIX:#define __SIZEOF_LONG_DOUBLE__ 8
812 // PPC64-AIX:#define __SIZEOF_LONG_LONG__ 8
813 // PPC64-AIX:#define __SIZEOF_LONG__ 8
814 // PPC64-AIX:#define __SIZEOF_POINTER__ 8
815 // PPC64-AIX:#define __SIZEOF_PTRDIFF_T__ 8
816 // PPC64-AIX:#define __SIZEOF_SHORT__ 2
817 // PPC64-AIX:#define __SIZEOF_SIZE_T__ 8
818 // PPC64-AIX:#define __SIZEOF_WCHAR_T__ 4
819 // PPC64-AIX:#define __SIZEOF_WINT_T__ 4
820 // PPC64-AIX:#define __SIZE_MAX__ 18446744073709551615UL
821 // PPC64-AIX:#define __SIZE_TYPE__ long unsigned int
822 // PPC64-AIX:#define __SIZE_WIDTH__ 64
823 // PPC64-AIX:#define __UINT16_C_SUFFIX__
824 // PPC64-AIX:#define __UINT16_MAX__ 65535
825 // PPC64-AIX:#define __UINT16_TYPE__ unsigned short
826 // PPC64-AIX:#define __UINT32_C_SUFFIX__ U
827 // PPC64-AIX:#define __UINT32_MAX__ 4294967295U
828 // PPC64-AIX:#define __UINT32_TYPE__ unsigned int
829 // PPC64-AIX:#define __UINT64_C_SUFFIX__ UL
830 // PPC64-AIX:#define __UINT64_MAX__ 18446744073709551615UL
831 // PPC64-AIX:#define __UINT64_TYPE__ long unsigned int
832 // PPC64-AIX:#define __UINT8_C_SUFFIX__
833 // PPC64-AIX:#define __UINT8_MAX__ 255
834 // PPC64-AIX:#define __UINT8_TYPE__ unsigned char
835 // PPC64-AIX:#define __UINTMAX_C_SUFFIX__ UL
836 // PPC64-AIX:#define __UINTMAX_MAX__ 18446744073709551615UL
837 // PPC64-AIX:#define __UINTMAX_TYPE__ long unsigned int
838 // PPC64-AIX:#define __UINTMAX_WIDTH__ 64
839 // PPC64-AIX:#define __UINTPTR_MAX__ 18446744073709551615UL
840 // PPC64-AIX:#define __UINTPTR_TYPE__ long unsigned int
841 // PPC64-AIX:#define __UINTPTR_WIDTH__ 64
842 // PPC64-AIX:#define __UINT_FAST16_MAX__ 65535
843 // PPC64-AIX:#define __UINT_FAST16_TYPE__ unsigned short
844 // PPC64-AIX:#define __UINT_FAST32_MAX__ 4294967295U
845 // PPC64-AIX:#define __UINT_FAST32_TYPE__ unsigned int
846 // PPC64-AIX:#define __UINT_FAST64_MAX__ 18446744073709551615UL
847 // PPC64-AIX:#define __UINT_FAST64_TYPE__ long unsigned int
848 // PPC64-AIX:#define __UINT_FAST8_MAX__ 255
849 // PPC64-AIX:#define __UINT_FAST8_TYPE__ unsigned char
850 // PPC64-AIX:#define __UINT_LEAST16_MAX__ 65535
851 // PPC64-AIX:#define __UINT_LEAST16_TYPE__ unsigned short
852 // PPC64-AIX:#define __UINT_LEAST32_MAX__ 4294967295U
853 // PPC64-AIX:#define __UINT_LEAST32_TYPE__ unsigned int
854 // PPC64-AIX:#define __UINT_LEAST64_MAX__ 18446744073709551615UL
855 // PPC64-AIX:#define __UINT_LEAST64_TYPE__ long unsigned int
856 // PPC64-AIX:#define __UINT_LEAST8_MAX__ 255
857 // PPC64-AIX:#define __UINT_LEAST8_TYPE__ unsigned char
858 // PPC64-AIX:#define __USER_LABEL_PREFIX__
859 // PPC64-AIX:#define __WCHAR_MAX__ 4294967295U
860 // PPC64-AIX:#define __WCHAR_TYPE__ unsigned int
861 // PPC64-AIX:#define __WCHAR_WIDTH__ 32
862 // PPC64-AIX:#define __WINT_TYPE__ int
863 // PPC64-AIX:#define __WINT_WIDTH__ 32
864 // PPC64-AIX:#define __powerpc64__ 1
865 // PPC64-AIX:#define __powerpc__ 1
866 // PPC64-AIX:#define __ppc__ 1
868 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-unknown-linux-gnu -fno-signed-char < /dev/null | FileCheck -match-full-lines -check-prefix PPC64-LINUX %s
870 // PPC64-LINUX:#define _ARCH_PPC 1
871 // PPC64-LINUX:#define _ARCH_PPC64 1
872 // PPC64-LINUX:#define _BIG_ENDIAN 1
873 // PPC64-LINUX:#define _CALL_LINUX 1
874 // PPC64-LINUX:#define _LP64 1
875 // PPC64-LINUX:#define __BIGGEST_ALIGNMENT__ 16
876 // PPC64-LINUX:#define __BIG_ENDIAN__ 1
877 // PPC64-LINUX:#define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__
878 // PPC64-LINUX:#define __CHAR16_TYPE__ unsigned short
879 // PPC64-LINUX:#define __CHAR32_TYPE__ unsigned int
880 // PPC64-LINUX:#define __CHAR_BIT__ 8
881 // PPC64-LINUX:#define __CHAR_UNSIGNED__ 1
882 // PPC64-LINUX:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
883 // PPC64-LINUX:#define __DBL_DIG__ 15
884 // PPC64-LINUX:#define __DBL_EPSILON__ 2.2204460492503131e-16
885 // PPC64-LINUX:#define __DBL_HAS_DENORM__ 1
886 // PPC64-LINUX:#define __DBL_HAS_INFINITY__ 1
887 // PPC64-LINUX:#define __DBL_HAS_QUIET_NAN__ 1
888 // PPC64-LINUX:#define __DBL_MANT_DIG__ 53
889 // PPC64-LINUX:#define __DBL_MAX_10_EXP__ 308
890 // PPC64-LINUX:#define __DBL_MAX_EXP__ 1024
891 // PPC64-LINUX:#define __DBL_MAX__ 1.7976931348623157e+308
892 // PPC64-LINUX:#define __DBL_MIN_10_EXP__ (-307)
893 // PPC64-LINUX:#define __DBL_MIN_EXP__ (-1021)
894 // PPC64-LINUX:#define __DBL_MIN__ 2.2250738585072014e-308
895 // PPC64-LINUX:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
896 // PPC64-LINUX:#define __FLT_DENORM_MIN__ 1.40129846e-45F
897 // PPC64-LINUX:#define __FLT_DIG__ 6
898 // PPC64-LINUX:#define __FLT_EPSILON__ 1.19209290e-7F
899 // PPC64-LINUX:#define __FLT_HAS_DENORM__ 1
900 // PPC64-LINUX:#define __FLT_HAS_INFINITY__ 1
901 // PPC64-LINUX:#define __FLT_HAS_QUIET_NAN__ 1
902 // PPC64-LINUX:#define __FLT_MANT_DIG__ 24
903 // PPC64-LINUX:#define __FLT_MAX_10_EXP__ 38
904 // PPC64-LINUX:#define __FLT_MAX_EXP__ 128
905 // PPC64-LINUX:#define __FLT_MAX__ 3.40282347e+38F
906 // PPC64-LINUX:#define __FLT_MIN_10_EXP__ (-37)
907 // PPC64-LINUX:#define __FLT_MIN_EXP__ (-125)
908 // PPC64-LINUX:#define __FLT_MIN__ 1.17549435e-38F
909 // PPC64-LINUX:#define __FLT_RADIX__ 2
910 // PPC64-LINUX:#define __HAVE_BSWAP__ 1
911 // PPC64-LINUX:#define __INT16_C_SUFFIX__
912 // PPC64-LINUX:#define __INT16_FMTd__ "hd"
913 // PPC64-LINUX:#define __INT16_FMTi__ "hi"
914 // PPC64-LINUX:#define __INT16_MAX__ 32767
915 // PPC64-LINUX:#define __INT16_TYPE__ short
916 // PPC64-LINUX:#define __INT32_C_SUFFIX__
917 // PPC64-LINUX:#define __INT32_FMTd__ "d"
918 // PPC64-LINUX:#define __INT32_FMTi__ "i"
919 // PPC64-LINUX:#define __INT32_MAX__ 2147483647
920 // PPC64-LINUX:#define __INT32_TYPE__ int
921 // PPC64-LINUX:#define __INT64_C_SUFFIX__ L
922 // PPC64-LINUX:#define __INT64_FMTd__ "ld"
923 // PPC64-LINUX:#define __INT64_FMTi__ "li"
924 // PPC64-LINUX:#define __INT64_MAX__ 9223372036854775807L
925 // PPC64-LINUX:#define __INT64_TYPE__ long int
926 // PPC64-LINUX:#define __INT8_C_SUFFIX__
927 // PPC64-LINUX:#define __INT8_FMTd__ "hhd"
928 // PPC64-LINUX:#define __INT8_FMTi__ "hhi"
929 // PPC64-LINUX:#define __INT8_MAX__ 127
930 // PPC64-LINUX:#define __INT8_TYPE__ signed char
931 // PPC64-LINUX:#define __INTMAX_C_SUFFIX__ L
932 // PPC64-LINUX:#define __INTMAX_FMTd__ "ld"
933 // PPC64-LINUX:#define __INTMAX_FMTi__ "li"
934 // PPC64-LINUX:#define __INTMAX_MAX__ 9223372036854775807L
935 // PPC64-LINUX:#define __INTMAX_TYPE__ long int
936 // PPC64-LINUX:#define __INTMAX_WIDTH__ 64
937 // PPC64-LINUX:#define __INTPTR_FMTd__ "ld"
938 // PPC64-LINUX:#define __INTPTR_FMTi__ "li"
939 // PPC64-LINUX:#define __INTPTR_MAX__ 9223372036854775807L
940 // PPC64-LINUX:#define __INTPTR_TYPE__ long int
941 // PPC64-LINUX:#define __INTPTR_WIDTH__ 64
942 // PPC64-LINUX:#define __INT_FAST16_FMTd__ "hd"
943 // PPC64-LINUX:#define __INT_FAST16_FMTi__ "hi"
944 // PPC64-LINUX:#define __INT_FAST16_MAX__ 32767
945 // PPC64-LINUX:#define __INT_FAST16_TYPE__ short
946 // PPC64-LINUX:#define __INT_FAST32_FMTd__ "d"
947 // PPC64-LINUX:#define __INT_FAST32_FMTi__ "i"
948 // PPC64-LINUX:#define __INT_FAST32_MAX__ 2147483647
949 // PPC64-LINUX:#define __INT_FAST32_TYPE__ int
950 // PPC64-LINUX:#define __INT_FAST64_FMTd__ "ld"
951 // PPC64-LINUX:#define __INT_FAST64_FMTi__ "li"
952 // PPC64-LINUX:#define __INT_FAST64_MAX__ 9223372036854775807L
953 // PPC64-LINUX:#define __INT_FAST64_TYPE__ long int
954 // PPC64-LINUX:#define __INT_FAST8_FMTd__ "hhd"
955 // PPC64-LINUX:#define __INT_FAST8_FMTi__ "hhi"
956 // PPC64-LINUX:#define __INT_FAST8_MAX__ 127
957 // PPC64-LINUX:#define __INT_FAST8_TYPE__ signed char
958 // PPC64-LINUX:#define __INT_LEAST16_FMTd__ "hd"
959 // PPC64-LINUX:#define __INT_LEAST16_FMTi__ "hi"
960 // PPC64-LINUX:#define __INT_LEAST16_MAX__ 32767
961 // PPC64-LINUX:#define __INT_LEAST16_TYPE__ short
962 // PPC64-LINUX:#define __INT_LEAST32_FMTd__ "d"
963 // PPC64-LINUX:#define __INT_LEAST32_FMTi__ "i"
964 // PPC64-LINUX:#define __INT_LEAST32_MAX__ 2147483647
965 // PPC64-LINUX:#define __INT_LEAST32_TYPE__ int
966 // PPC64-LINUX:#define __INT_LEAST64_FMTd__ "ld"
967 // PPC64-LINUX:#define __INT_LEAST64_FMTi__ "li"
968 // PPC64-LINUX:#define __INT_LEAST64_MAX__ 9223372036854775807L
969 // PPC64-LINUX:#define __INT_LEAST64_TYPE__ long int
970 // PPC64-LINUX:#define __INT_LEAST8_FMTd__ "hhd"
971 // PPC64-LINUX:#define __INT_LEAST8_FMTi__ "hhi"
972 // PPC64-LINUX:#define __INT_LEAST8_MAX__ 127
973 // PPC64-LINUX:#define __INT_LEAST8_TYPE__ signed char
974 // PPC64-LINUX:#define __INT_MAX__ 2147483647
975 // PPC64-LINUX:#define __LDBL_DENORM_MIN__ 4.94065645841246544176568792868221e-324L
976 // PPC64-LINUX:#define __LDBL_DIG__ 31
977 // PPC64-LINUX:#define __LDBL_EPSILON__ 4.94065645841246544176568792868221e-324L
978 // PPC64-LINUX:#define __LDBL_HAS_DENORM__ 1
979 // PPC64-LINUX:#define __LDBL_HAS_INFINITY__ 1
980 // PPC64-LINUX:#define __LDBL_HAS_QUIET_NAN__ 1
981 // PPC64-LINUX:#define __LDBL_MANT_DIG__ 106
982 // PPC64-LINUX:#define __LDBL_MAX_10_EXP__ 308
983 // PPC64-LINUX:#define __LDBL_MAX_EXP__ 1024
984 // PPC64-LINUX:#define __LDBL_MAX__ 1.79769313486231580793728971405301e+308L
985 // PPC64-LINUX:#define __LDBL_MIN_10_EXP__ (-291)
986 // PPC64-LINUX:#define __LDBL_MIN_EXP__ (-968)
987 // PPC64-LINUX:#define __LDBL_MIN__ 2.00416836000897277799610805135016e-292L
988 // PPC64-LINUX:#define __LONGDOUBLE128 1
989 // PPC64-LINUX:#define __LONG_DOUBLE_128__ 1
990 // PPC64-LINUX:#define __LONG_LONG_MAX__ 9223372036854775807LL
991 // PPC64-LINUX:#define __LONG_MAX__ 9223372036854775807L
992 // PPC64-LINUX:#define __LP64__ 1
993 // PPC64-LINUX:#define __NATURAL_ALIGNMENT__ 1
994 // PPC64-LINUX:#define __POINTER_WIDTH__ 64
995 // PPC64-LINUX:#define __POWERPC__ 1
996 // PPC64-LINUX:#define __PPC64__ 1
997 // PPC64-LINUX:#define __PPC__ 1
998 // PPC64-LINUX:#define __PTRDIFF_TYPE__ long int
999 // PPC64-LINUX:#define __PTRDIFF_WIDTH__ 64
1000 // PPC64-LINUX:#define __REGISTER_PREFIX__
1001 // PPC64-LINUX:#define __SCHAR_MAX__ 127
1002 // PPC64-LINUX:#define __SHRT_MAX__ 32767
1003 // PPC64-LINUX:#define __SIG_ATOMIC_MAX__ 2147483647
1004 // PPC64-LINUX:#define __SIG_ATOMIC_WIDTH__ 32
1005 // PPC64-LINUX:#define __SIZEOF_DOUBLE__ 8
1006 // PPC64-LINUX:#define __SIZEOF_FLOAT__ 4
1007 // PPC64-LINUX:#define __SIZEOF_INT__ 4
1008 // PPC64-LINUX:#define __SIZEOF_LONG_DOUBLE__ 16
1009 // PPC64-LINUX:#define __SIZEOF_LONG_LONG__ 8
1010 // PPC64-LINUX:#define __SIZEOF_LONG__ 8
1011 // PPC64-LINUX:#define __SIZEOF_POINTER__ 8
1012 // PPC64-LINUX:#define __SIZEOF_PTRDIFF_T__ 8
1013 // PPC64-LINUX:#define __SIZEOF_SHORT__ 2
1014 // PPC64-LINUX:#define __SIZEOF_SIZE_T__ 8
1015 // PPC64-LINUX:#define __SIZEOF_WCHAR_T__ 4
1016 // PPC64-LINUX:#define __SIZEOF_WINT_T__ 4
1017 // PPC64-LINUX:#define __SIZE_MAX__ 18446744073709551615UL
1018 // PPC64-LINUX:#define __SIZE_TYPE__ long unsigned int
1019 // PPC64-LINUX:#define __SIZE_WIDTH__ 64
1020 // PPC64-LINUX:#define __UINT16_C_SUFFIX__
1021 // PPC64-LINUX:#define __UINT16_MAX__ 65535
1022 // PPC64-LINUX:#define __UINT16_TYPE__ unsigned short
1023 // PPC64-LINUX:#define __UINT32_C_SUFFIX__ U
1024 // PPC64-LINUX:#define __UINT32_MAX__ 4294967295U
1025 // PPC64-LINUX:#define __UINT32_TYPE__ unsigned int
1026 // PPC64-LINUX:#define __UINT64_C_SUFFIX__ UL
1027 // PPC64-LINUX:#define __UINT64_MAX__ 18446744073709551615UL
1028 // PPC64-LINUX:#define __UINT64_TYPE__ long unsigned int
1029 // PPC64-LINUX:#define __UINT8_C_SUFFIX__
1030 // PPC64-LINUX:#define __UINT8_MAX__ 255
1031 // PPC64-LINUX:#define __UINT8_TYPE__ unsigned char
1032 // PPC64-LINUX:#define __UINTMAX_C_SUFFIX__ UL
1033 // PPC64-LINUX:#define __UINTMAX_MAX__ 18446744073709551615UL
1034 // PPC64-LINUX:#define __UINTMAX_TYPE__ long unsigned int
1035 // PPC64-LINUX:#define __UINTMAX_WIDTH__ 64
1036 // PPC64-LINUX:#define __UINTPTR_MAX__ 18446744073709551615UL
1037 // PPC64-LINUX:#define __UINTPTR_TYPE__ long unsigned int
1038 // PPC64-LINUX:#define __UINTPTR_WIDTH__ 64
1039 // PPC64-LINUX:#define __UINT_FAST16_MAX__ 65535
1040 // PPC64-LINUX:#define __UINT_FAST16_TYPE__ unsigned short
1041 // PPC64-LINUX:#define __UINT_FAST32_MAX__ 4294967295U
1042 // PPC64-LINUX:#define __UINT_FAST32_TYPE__ unsigned int
1043 // PPC64-LINUX:#define __UINT_FAST64_MAX__ 18446744073709551615UL
1044 // PPC64-LINUX:#define __UINT_FAST64_TYPE__ long unsigned int
1045 // PPC64-LINUX:#define __UINT_FAST8_MAX__ 255
1046 // PPC64-LINUX:#define __UINT_FAST8_TYPE__ unsigned char
1047 // PPC64-LINUX:#define __UINT_LEAST16_MAX__ 65535
1048 // PPC64-LINUX:#define __UINT_LEAST16_TYPE__ unsigned short
1049 // PPC64-LINUX:#define __UINT_LEAST32_MAX__ 4294967295U
1050 // PPC64-LINUX:#define __UINT_LEAST32_TYPE__ unsigned int
1051 // PPC64-LINUX:#define __UINT_LEAST64_MAX__ 18446744073709551615UL
1052 // PPC64-LINUX:#define __UINT_LEAST64_TYPE__ long unsigned int
1053 // PPC64-LINUX:#define __UINT_LEAST8_MAX__ 255
1054 // PPC64-LINUX:#define __UINT_LEAST8_TYPE__ unsigned char
1055 // PPC64-LINUX:#define __USER_LABEL_PREFIX__
1056 // PPC64-LINUX:#define __WCHAR_MAX__ 2147483647
1057 // PPC64-LINUX:#define __WCHAR_TYPE__ int
1058 // PPC64-LINUX:#define __WCHAR_WIDTH__ 32
1059 // PPC64-LINUX:#define __WINT_TYPE__ unsigned int
1060 // PPC64-LINUX:#define __WINT_UNSIGNED__ 1
1061 // PPC64-LINUX:#define __WINT_WIDTH__ 32
1062 // PPC64-LINUX:#define __powerpc64__ 1
1063 // PPC64-LINUX:#define __powerpc__ 1
1064 // PPC64-LINUX:#define __ppc__ 1
1066 // RUN: %clang_cc1 -E -dM -ffreestanding -fgnuc-version=4.2.1 -triple=powerpc64-unknown-linux-gnu < /dev/null | FileCheck -match-full-lines -check-prefix PPC64-ELFv1 %s
1067 // RUN: %clang_cc1 -E -dM -ffreestanding -fgnuc-version=4.2.1 -triple=powerpc64-unknown-linux-gnu -target-abi elfv1 < /dev/null | FileCheck -match-full-lines -check-prefix PPC64-ELFv1 %s
1068 // RUN: %clang_cc1 -E -dM -ffreestanding -fgnuc-version=4.2.1 -triple=powerpc64-unknown-linux-gnu -target-abi elfv2 < /dev/null | FileCheck -match-full-lines -check-prefix PPC64-ELFv2 %s
1069 // RUN: %clang_cc1 -E -dM -ffreestanding -fgnuc-version=4.2.1 -triple=powerpc64le-unknown-linux-gnu < /dev/null | FileCheck -match-full-lines -check-prefix PPC64-ELFv2 %s
1070 // RUN: %clang_cc1 -E -dM -ffreestanding -fgnuc-version=4.2.1 -triple=powerpc64le-unknown-linux-gnu -target-abi elfv1 < /dev/null | FileCheck -match-full-lines -check-prefix PPC64-ELFv1 %s
1071 // RUN: %clang_cc1 -E -dM -ffreestanding -fgnuc-version=4.2.1 -triple=powerpc64le-unknown-linux-gnu -target-abi elfv2 < /dev/null | FileCheck -match-full-lines -check-prefix PPC64-ELFv2 %s
1073 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-unknown-freebsd11 -target-abi elfv1 -xc /dev/null | FileCheck --check-prefix=PPC64-ELFv1 %s
1074 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-unknown-freebsd12 -target-abi elfv1 -xc /dev/null | FileCheck --check-prefix=PPC64-ELFv1 %s
1075 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-unknown-freebsd13 -target-abi elfv2 -xc /dev/null | FileCheck --check-prefix=PPC64-ELFv2 %s
1076 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64le-unknown-freebsd13 -target-abi elfv2 -xc /dev/null | FileCheck --check-prefix=PPC64-ELFv2 %s
1077 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-unknown-openbsd -target-abi elfv2 -xc /dev/null | FileCheck --check-prefix=PPC64-ELFv2 %s
1078 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-linux-musl -target-abi elfv2 -xc /dev/null | FileCheck --check-prefix=PPC64-ELFv2 %s
1080 // PPC64-ELFv1:#define _CALL_ELF 1
1081 // PPC64-ELFv2:#define _CALL_ELF 2
1083 // Most of this is encompassed in other places.
1084 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64le-unknown-linux-gnu -target-abi elfv2 < /dev/null | FileCheck -match-full-lines -check-prefix PPC64LE-LINUX %s
1086 // PPC64LE-LINUX:#define _CALL_LINUX 1
1088 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-unknown-freebsd < /dev/null | FileCheck -match-full-lines -check-prefix PPC64-FREEBSD %s
1089 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64le-unknown-freebsd < /dev/null | FileCheck -match-full-lines -check-prefix PPC64-FREEBSD %s
1090 // PPC64-FREEBSD-NOT: #define __LONG_DOUBLE_128__ 1