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