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 future -fno-signed-char < /dev/null | FileCheck -match-full-lines -check-prefix PPCFUTURE %s
631 //
632 // PPCFUTURE:#define _ARCH_PPC 1
633 // PPCFUTURE:#define _ARCH_PPC64 1
634 // PPCFUTURE:#define _ARCH_PPCGR 1
635 // PPCFUTURE:#define _ARCH_PPCSQ 1
636 // PPCFUTURE:#define _ARCH_PWR4 1
637 // PPCFUTURE:#define _ARCH_PWR5 1
638 // PPCFUTURE:#define _ARCH_PWR5X 1
639 // PPCFUTURE:#define _ARCH_PWR6 1
640 // PPCFUTURE-NOT:#define _ARCH_PWR6X 1
641 // PPCFUTURE:#define _ARCH_PWR7 1
642 // PPCFUTURE:#define _ARCH_PWR8 1
643 // PPCFUTURE:#define _ARCH_PWR9 1
644 // PPCFUTURE:#define _ARCH_PWR_FUTURE 1
645 //
646 // 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
647 // PPC-FLOAT128:#define __FLOAT128__ 1
648 //
649 // 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
650 //
651 // PPC64-AIX:#define _AIX 1
652 // PPC64-AIX:#define _ARCH_PPC 1
653 // PPC64-AIX:#define _ARCH_PPC64 1
654 // PPC64-AIX:#define _BIG_ENDIAN 1
655 // PPC64-AIX:#define _IBMR2 1
656 // PPC64-AIX-NOT:#define _ILP32 1
657 // PPC64-AIX:#define _LONG_LONG 1
658 // PPC64-AIX:#define _LP64 1
659 // PPC64-AIX:#define _POWER 1
660 // PPC64-AIX:#define __64BIT__ 1
661 // PPC64-AIX:#define __BIGGEST_ALIGNMENT__ 8
662 // PPC64-AIX:#define __BIG_ENDIAN__ 1
663 // PPC64-AIX:#define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__
664 // PPC64-AIX:#define __CHAR16_TYPE__ unsigned short
665 // PPC64-AIX:#define __CHAR32_TYPE__ unsigned int
666 // PPC64-AIX:#define __CHAR_BIT__ 8
667 // PPC64-AIX:#define __CHAR_UNSIGNED__ 1
668 // PPC64-AIX:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
669 // PPC64-AIX:#define __DBL_DIG__ 15
670 // PPC64-AIX:#define __DBL_EPSILON__ 2.2204460492503131e-16
671 // PPC64-AIX:#define __DBL_HAS_DENORM__ 1
672 // PPC64-AIX:#define __DBL_HAS_INFINITY__ 1
673 // PPC64-AIX:#define __DBL_HAS_QUIET_NAN__ 1
674 // PPC64-AIX:#define __DBL_MANT_DIG__ 53
675 // PPC64-AIX:#define __DBL_MAX_10_EXP__ 308
676 // PPC64-AIX:#define __DBL_MAX_EXP__ 1024
677 // PPC64-AIX:#define __DBL_MAX__ 1.7976931348623157e+308
678 // PPC64-AIX:#define __DBL_MIN_10_EXP__ (-307)
679 // PPC64-AIX:#define __DBL_MIN_EXP__ (-1021)
680 // PPC64-AIX:#define __DBL_MIN__ 2.2250738585072014e-308
681 // PPC64-AIX:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
682 // PPC64-AIX:#define __FLT_DENORM_MIN__ 1.40129846e-45F
683 // PPC64-AIX:#define __FLT_DIG__ 6
684 // PPC64-AIX:#define __FLT_EPSILON__ 1.19209290e-7F
685 // PPC64-AIX:#define __FLT_EVAL_METHOD__ 1
686 // PPC64-AIX:#define __FLT_HAS_DENORM__ 1
687 // PPC64-AIX:#define __FLT_HAS_INFINITY__ 1
688 // PPC64-AIX:#define __FLT_HAS_QUIET_NAN__ 1
689 // PPC64-AIX:#define __FLT_MANT_DIG__ 24
690 // PPC64-AIX:#define __FLT_MAX_10_EXP__ 38
691 // PPC64-AIX:#define __FLT_MAX_EXP__ 128
692 // PPC64-AIX:#define __FLT_MAX__ 3.40282347e+38F
693 // PPC64-AIX:#define __FLT_MIN_10_EXP__ (-37)
694 // PPC64-AIX:#define __FLT_MIN_EXP__ (-125)
695 // PPC64-AIX:#define __FLT_MIN__ 1.17549435e-38F
696 // PPC64-AIX:#define __FLT_RADIX__ 2
697 // PPC64-AIX-NOT:#define __ILP32__ 1
698 // PPC64-AIX:#define __INT16_C_SUFFIX__
699 // PPC64-AIX:#define __INT16_FMTd__ "hd"
700 // PPC64-AIX:#define __INT16_FMTi__ "hi"
701 // PPC64-AIX:#define __INT16_MAX__ 32767
702 // PPC64-AIX:#define __INT16_TYPE__ short
703 // PPC64-AIX:#define __INT32_C_SUFFIX__
704 // PPC64-AIX:#define __INT32_FMTd__ "d"
705 // PPC64-AIX:#define __INT32_FMTi__ "i"
706 // PPC64-AIX:#define __INT32_MAX__ 2147483647
707 // PPC64-AIX:#define __INT32_TYPE__ int
708 // PPC64-AIX:#define __INT64_C_SUFFIX__ L
709 // PPC64-AIX:#define __INT64_FMTd__ "ld"
710 // PPC64-AIX:#define __INT64_FMTi__ "li"
711 // PPC64-AIX:#define __INT64_MAX__ 9223372036854775807L
712 // PPC64-AIX:#define __INT64_TYPE__ long int
713 // PPC64-AIX:#define __INT8_C_SUFFIX__
714 // PPC64-AIX:#define __INT8_FMTd__ "hhd"
715 // PPC64-AIX:#define __INT8_FMTi__ "hhi"
716 // PPC64-AIX:#define __INT8_MAX__ 127
717 // PPC64-AIX:#define __INT8_TYPE__ signed char
718 // PPC64-AIX:#define __INTMAX_C_SUFFIX__ L
719 // PPC64-AIX:#define __INTMAX_FMTd__ "ld"
720 // PPC64-AIX:#define __INTMAX_FMTi__ "li"
721 // PPC64-AIX:#define __INTMAX_MAX__ 9223372036854775807L
722 // PPC64-AIX:#define __INTMAX_TYPE__ long int
723 // PPC64-AIX:#define __INTMAX_WIDTH__ 64
724 // PPC64-AIX:#define __INTPTR_FMTd__ "ld"
725 // PPC64-AIX:#define __INTPTR_FMTi__ "li"
726 // PPC64-AIX:#define __INTPTR_MAX__ 9223372036854775807L
727 // PPC64-AIX:#define __INTPTR_TYPE__ long int
728 // PPC64-AIX:#define __INTPTR_WIDTH__ 64
729 // PPC64-AIX:#define __INT_FAST16_FMTd__ "hd"
730 // PPC64-AIX:#define __INT_FAST16_FMTi__ "hi"
731 // PPC64-AIX:#define __INT_FAST16_MAX__ 32767
732 // PPC64-AIX:#define __INT_FAST16_TYPE__ short
733 // PPC64-AIX:#define __INT_FAST32_FMTd__ "d"
734 // PPC64-AIX:#define __INT_FAST32_FMTi__ "i"
735 // PPC64-AIX:#define __INT_FAST32_MAX__ 2147483647
736 // PPC64-AIX:#define __INT_FAST32_TYPE__ int
737 // PPC64-AIX:#define __INT_FAST64_FMTd__ "ld"
738 // PPC64-AIX:#define __INT_FAST64_FMTi__ "li"
739 // PPC64-AIX:#define __INT_FAST64_MAX__ 9223372036854775807L
740 // PPC64-AIX:#define __INT_FAST64_TYPE__ long int
741 // PPC64-AIX:#define __INT_FAST8_FMTd__ "hhd"
742 // PPC64-AIX:#define __INT_FAST8_FMTi__ "hhi"
743 // PPC64-AIX:#define __INT_FAST8_MAX__ 127
744 // PPC64-AIX:#define __INT_FAST8_TYPE__ signed char
745 // PPC64-AIX:#define __INT_LEAST16_FMTd__ "hd"
746 // PPC64-AIX:#define __INT_LEAST16_FMTi__ "hi"
747 // PPC64-AIX:#define __INT_LEAST16_MAX__ 32767
748 // PPC64-AIX:#define __INT_LEAST16_TYPE__ short
749 // PPC64-AIX:#define __INT_LEAST32_FMTd__ "d"
750 // PPC64-AIX:#define __INT_LEAST32_FMTi__ "i"
751 // PPC64-AIX:#define __INT_LEAST32_MAX__ 2147483647
752 // PPC64-AIX:#define __INT_LEAST32_TYPE__ int
753 // PPC64-AIX:#define __INT_LEAST64_FMTd__ "ld"
754 // PPC64-AIX:#define __INT_LEAST64_FMTi__ "li"
755 // PPC64-AIX:#define __INT_LEAST64_MAX__ 9223372036854775807L
756 // PPC64-AIX:#define __INT_LEAST64_TYPE__ long int
757 // PPC64-AIX:#define __INT_LEAST8_FMTd__ "hhd"
758 // PPC64-AIX:#define __INT_LEAST8_FMTi__ "hhi"
759 // PPC64-AIX:#define __INT_LEAST8_MAX__ 127
760 // PPC64-AIX:#define __INT_LEAST8_TYPE__ signed char
761 // PPC64-AIX:#define __INT_MAX__ 2147483647
762 // PPC64-AIX:#define __LDBL_DECIMAL_DIG__ 17
763 // PPC64-AIX:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
764 // PPC64-AIX:#define __LDBL_DIG__ 15
765 // PPC64-AIX:#define __LDBL_EPSILON__ 2.2204460492503131e-16L
766 // PPC64-AIX:#define __LDBL_HAS_DENORM__ 1
767 // PPC64-AIX:#define __LDBL_HAS_INFINITY__ 1
768 // PPC64-AIX:#define __LDBL_HAS_QUIET_NAN__ 1
769 // PPC64-AIX:#define __LDBL_MANT_DIG__ 53
770 // PPC64-AIX:#define __LDBL_MAX_10_EXP__ 308
771 // PPC64-AIX:#define __LDBL_MAX_EXP__ 1024
772 // PPC64-AIX:#define __LDBL_MAX__ 1.7976931348623157e+308L
773 // PPC64-AIX:#define __LDBL_MIN_10_EXP__ (-307)
774 // PPC64-AIX:#define __LDBL_MIN_EXP__ (-1021)
775 // PPC64-AIX:#define __LDBL_MIN__ 2.2250738585072014e-308L
776 // PPC64-AIX:#define __LONG_LONG_MAX__ 9223372036854775807LL
777 // PPC64-AIX:#define __LONG_MAX__ 9223372036854775807L
778 // PPC64-AIX:#define __LP64__ 1
779 // PPC64-AIX-NOT:#define __NATURAL_ALIGNMENT__ 1
780 // PPC64-AIX:#define __POINTER_WIDTH__ 64
781 // PPC64-AIX:#define __POWERPC__ 1
782 // PPC64-AIX:#define __PPC64__ 1
783 // PPC64-AIX:#define __PPC__ 1
784 // PPC64-AIX:#define __PTRDIFF_TYPE__ long int
785 // PPC64-AIX:#define __PTRDIFF_WIDTH__ 64
786 // PPC64-AIX:#define __REGISTER_PREFIX__
787 // PPC64-AIX:#define __SCHAR_MAX__ 127
788 // PPC64-AIX:#define __SHRT_MAX__ 32767
789 // PPC64-AIX:#define __SIG_ATOMIC_MAX__ 2147483647
790 // PPC64-AIX:#define __SIG_ATOMIC_WIDTH__ 32
791 // PPC64-AIX:#define __SIZEOF_DOUBLE__ 8
792 // PPC64-AIX:#define __SIZEOF_FLOAT__ 4
793 // PPC64-AIX:#define __SIZEOF_INT__ 4
794 // PPC64-AIX:#define __SIZEOF_LONG_DOUBLE__ 8
795 // PPC64-AIX:#define __SIZEOF_LONG_LONG__ 8
796 // PPC64-AIX:#define __SIZEOF_LONG__ 8
797 // PPC64-AIX:#define __SIZEOF_POINTER__ 8
798 // PPC64-AIX:#define __SIZEOF_PTRDIFF_T__ 8
799 // PPC64-AIX:#define __SIZEOF_SHORT__ 2
800 // PPC64-AIX:#define __SIZEOF_SIZE_T__ 8
801 // PPC64-AIX:#define __SIZEOF_WCHAR_T__ 4
802 // PPC64-AIX:#define __SIZEOF_WINT_T__ 4
803 // PPC64-AIX:#define __SIZE_MAX__ 18446744073709551615UL
804 // PPC64-AIX:#define __SIZE_TYPE__ long unsigned int
805 // PPC64-AIX:#define __SIZE_WIDTH__ 64
806 // PPC64-AIX:#define __UINT16_C_SUFFIX__
807 // PPC64-AIX:#define __UINT16_MAX__ 65535
808 // PPC64-AIX:#define __UINT16_TYPE__ unsigned short
809 // PPC64-AIX:#define __UINT32_C_SUFFIX__ U
810 // PPC64-AIX:#define __UINT32_MAX__ 4294967295U
811 // PPC64-AIX:#define __UINT32_TYPE__ unsigned int
812 // PPC64-AIX:#define __UINT64_C_SUFFIX__ UL
813 // PPC64-AIX:#define __UINT64_MAX__ 18446744073709551615UL
814 // PPC64-AIX:#define __UINT64_TYPE__ long unsigned int
815 // PPC64-AIX:#define __UINT8_C_SUFFIX__
816 // PPC64-AIX:#define __UINT8_MAX__ 255
817 // PPC64-AIX:#define __UINT8_TYPE__ unsigned char
818 // PPC64-AIX:#define __UINTMAX_C_SUFFIX__ UL
819 // PPC64-AIX:#define __UINTMAX_MAX__ 18446744073709551615UL
820 // PPC64-AIX:#define __UINTMAX_TYPE__ long unsigned int
821 // PPC64-AIX:#define __UINTMAX_WIDTH__ 64
822 // PPC64-AIX:#define __UINTPTR_MAX__ 18446744073709551615UL
823 // PPC64-AIX:#define __UINTPTR_TYPE__ long unsigned int
824 // PPC64-AIX:#define __UINTPTR_WIDTH__ 64
825 // PPC64-AIX:#define __UINT_FAST16_MAX__ 65535
826 // PPC64-AIX:#define __UINT_FAST16_TYPE__ unsigned short
827 // PPC64-AIX:#define __UINT_FAST32_MAX__ 4294967295U
828 // PPC64-AIX:#define __UINT_FAST32_TYPE__ unsigned int
829 // PPC64-AIX:#define __UINT_FAST64_MAX__ 18446744073709551615UL
830 // PPC64-AIX:#define __UINT_FAST64_TYPE__ long unsigned int
831 // PPC64-AIX:#define __UINT_FAST8_MAX__ 255
832 // PPC64-AIX:#define __UINT_FAST8_TYPE__ unsigned char
833 // PPC64-AIX:#define __UINT_LEAST16_MAX__ 65535
834 // PPC64-AIX:#define __UINT_LEAST16_TYPE__ unsigned short
835 // PPC64-AIX:#define __UINT_LEAST32_MAX__ 4294967295U
836 // PPC64-AIX:#define __UINT_LEAST32_TYPE__ unsigned int
837 // PPC64-AIX:#define __UINT_LEAST64_MAX__ 18446744073709551615UL
838 // PPC64-AIX:#define __UINT_LEAST64_TYPE__ long unsigned int
839 // PPC64-AIX:#define __UINT_LEAST8_MAX__ 255
840 // PPC64-AIX:#define __UINT_LEAST8_TYPE__ unsigned char
841 // PPC64-AIX:#define __USER_LABEL_PREFIX__
842 // PPC64-AIX:#define __WCHAR_MAX__ 4294967295U
843 // PPC64-AIX:#define __WCHAR_TYPE__ unsigned int
844 // PPC64-AIX:#define __WCHAR_WIDTH__ 32
845 // PPC64-AIX:#define __WINT_TYPE__ int
846 // PPC64-AIX:#define __WINT_WIDTH__ 32
847 // PPC64-AIX:#define __powerpc64__ 1
848 // PPC64-AIX:#define __powerpc__ 1
849 // PPC64-AIX:#define __ppc64__ 1
850 // PPC64-AIX:#define __ppc__ 1
851 //
852 // 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
853 //
854 // PPC64-LINUX:#define _ARCH_PPC 1
855 // PPC64-LINUX:#define _ARCH_PPC64 1
856 // PPC64-LINUX:#define _BIG_ENDIAN 1
857 // PPC64-LINUX:#define _CALL_LINUX 1
858 // PPC64-LINUX:#define _LP64 1
859 // PPC64-LINUX:#define __BIGGEST_ALIGNMENT__ 16
860 // PPC64-LINUX:#define __BIG_ENDIAN__ 1
861 // PPC64-LINUX:#define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__
862 // PPC64-LINUX:#define __CHAR16_TYPE__ unsigned short
863 // PPC64-LINUX:#define __CHAR32_TYPE__ unsigned int
864 // PPC64-LINUX:#define __CHAR_BIT__ 8
865 // PPC64-LINUX:#define __CHAR_UNSIGNED__ 1
866 // PPC64-LINUX:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
867 // PPC64-LINUX:#define __DBL_DIG__ 15
868 // PPC64-LINUX:#define __DBL_EPSILON__ 2.2204460492503131e-16
869 // PPC64-LINUX:#define __DBL_HAS_DENORM__ 1
870 // PPC64-LINUX:#define __DBL_HAS_INFINITY__ 1
871 // PPC64-LINUX:#define __DBL_HAS_QUIET_NAN__ 1
872 // PPC64-LINUX:#define __DBL_MANT_DIG__ 53
873 // PPC64-LINUX:#define __DBL_MAX_10_EXP__ 308
874 // PPC64-LINUX:#define __DBL_MAX_EXP__ 1024
875 // PPC64-LINUX:#define __DBL_MAX__ 1.7976931348623157e+308
876 // PPC64-LINUX:#define __DBL_MIN_10_EXP__ (-307)
877 // PPC64-LINUX:#define __DBL_MIN_EXP__ (-1021)
878 // PPC64-LINUX:#define __DBL_MIN__ 2.2250738585072014e-308
879 // PPC64-LINUX:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
880 // PPC64-LINUX:#define __FLT_DENORM_MIN__ 1.40129846e-45F
881 // PPC64-LINUX:#define __FLT_DIG__ 6
882 // PPC64-LINUX:#define __FLT_EPSILON__ 1.19209290e-7F
883 // PPC64-LINUX:#define __FLT_EVAL_METHOD__ 0
884 // PPC64-LINUX:#define __FLT_HAS_DENORM__ 1
885 // PPC64-LINUX:#define __FLT_HAS_INFINITY__ 1
886 // PPC64-LINUX:#define __FLT_HAS_QUIET_NAN__ 1
887 // PPC64-LINUX:#define __FLT_MANT_DIG__ 24
888 // PPC64-LINUX:#define __FLT_MAX_10_EXP__ 38
889 // PPC64-LINUX:#define __FLT_MAX_EXP__ 128
890 // PPC64-LINUX:#define __FLT_MAX__ 3.40282347e+38F
891 // PPC64-LINUX:#define __FLT_MIN_10_EXP__ (-37)
892 // PPC64-LINUX:#define __FLT_MIN_EXP__ (-125)
893 // PPC64-LINUX:#define __FLT_MIN__ 1.17549435e-38F
894 // PPC64-LINUX:#define __FLT_RADIX__ 2
895 // PPC64-LINUX:#define __HAVE_BSWAP__ 1
896 // PPC64-LINUX:#define __INT16_C_SUFFIX__
897 // PPC64-LINUX:#define __INT16_FMTd__ "hd"
898 // PPC64-LINUX:#define __INT16_FMTi__ "hi"
899 // PPC64-LINUX:#define __INT16_MAX__ 32767
900 // PPC64-LINUX:#define __INT16_TYPE__ short
901 // PPC64-LINUX:#define __INT32_C_SUFFIX__
902 // PPC64-LINUX:#define __INT32_FMTd__ "d"
903 // PPC64-LINUX:#define __INT32_FMTi__ "i"
904 // PPC64-LINUX:#define __INT32_MAX__ 2147483647
905 // PPC64-LINUX:#define __INT32_TYPE__ int
906 // PPC64-LINUX:#define __INT64_C_SUFFIX__ L
907 // PPC64-LINUX:#define __INT64_FMTd__ "ld"
908 // PPC64-LINUX:#define __INT64_FMTi__ "li"
909 // PPC64-LINUX:#define __INT64_MAX__ 9223372036854775807L
910 // PPC64-LINUX:#define __INT64_TYPE__ long int
911 // PPC64-LINUX:#define __INT8_C_SUFFIX__
912 // PPC64-LINUX:#define __INT8_FMTd__ "hhd"
913 // PPC64-LINUX:#define __INT8_FMTi__ "hhi"
914 // PPC64-LINUX:#define __INT8_MAX__ 127
915 // PPC64-LINUX:#define __INT8_TYPE__ signed char
916 // PPC64-LINUX:#define __INTMAX_C_SUFFIX__ L
917 // PPC64-LINUX:#define __INTMAX_FMTd__ "ld"
918 // PPC64-LINUX:#define __INTMAX_FMTi__ "li"
919 // PPC64-LINUX:#define __INTMAX_MAX__ 9223372036854775807L
920 // PPC64-LINUX:#define __INTMAX_TYPE__ long int
921 // PPC64-LINUX:#define __INTMAX_WIDTH__ 64
922 // PPC64-LINUX:#define __INTPTR_FMTd__ "ld"
923 // PPC64-LINUX:#define __INTPTR_FMTi__ "li"
924 // PPC64-LINUX:#define __INTPTR_MAX__ 9223372036854775807L
925 // PPC64-LINUX:#define __INTPTR_TYPE__ long int
926 // PPC64-LINUX:#define __INTPTR_WIDTH__ 64
927 // PPC64-LINUX:#define __INT_FAST16_FMTd__ "hd"
928 // PPC64-LINUX:#define __INT_FAST16_FMTi__ "hi"
929 // PPC64-LINUX:#define __INT_FAST16_MAX__ 32767
930 // PPC64-LINUX:#define __INT_FAST16_TYPE__ short
931 // PPC64-LINUX:#define __INT_FAST32_FMTd__ "d"
932 // PPC64-LINUX:#define __INT_FAST32_FMTi__ "i"
933 // PPC64-LINUX:#define __INT_FAST32_MAX__ 2147483647
934 // PPC64-LINUX:#define __INT_FAST32_TYPE__ int
935 // PPC64-LINUX:#define __INT_FAST64_FMTd__ "ld"
936 // PPC64-LINUX:#define __INT_FAST64_FMTi__ "li"
937 // PPC64-LINUX:#define __INT_FAST64_MAX__ 9223372036854775807L
938 // PPC64-LINUX:#define __INT_FAST64_TYPE__ long int
939 // PPC64-LINUX:#define __INT_FAST8_FMTd__ "hhd"
940 // PPC64-LINUX:#define __INT_FAST8_FMTi__ "hhi"
941 // PPC64-LINUX:#define __INT_FAST8_MAX__ 127
942 // PPC64-LINUX:#define __INT_FAST8_TYPE__ signed char
943 // PPC64-LINUX:#define __INT_LEAST16_FMTd__ "hd"
944 // PPC64-LINUX:#define __INT_LEAST16_FMTi__ "hi"
945 // PPC64-LINUX:#define __INT_LEAST16_MAX__ 32767
946 // PPC64-LINUX:#define __INT_LEAST16_TYPE__ short
947 // PPC64-LINUX:#define __INT_LEAST32_FMTd__ "d"
948 // PPC64-LINUX:#define __INT_LEAST32_FMTi__ "i"
949 // PPC64-LINUX:#define __INT_LEAST32_MAX__ 2147483647
950 // PPC64-LINUX:#define __INT_LEAST32_TYPE__ int
951 // PPC64-LINUX:#define __INT_LEAST64_FMTd__ "ld"
952 // PPC64-LINUX:#define __INT_LEAST64_FMTi__ "li"
953 // PPC64-LINUX:#define __INT_LEAST64_MAX__ 9223372036854775807L
954 // PPC64-LINUX:#define __INT_LEAST64_TYPE__ long int
955 // PPC64-LINUX:#define __INT_LEAST8_FMTd__ "hhd"
956 // PPC64-LINUX:#define __INT_LEAST8_FMTi__ "hhi"
957 // PPC64-LINUX:#define __INT_LEAST8_MAX__ 127
958 // PPC64-LINUX:#define __INT_LEAST8_TYPE__ signed char
959 // PPC64-LINUX:#define __INT_MAX__ 2147483647
960 // PPC64-LINUX:#define __LDBL_DENORM_MIN__ 4.94065645841246544176568792868221e-324L
961 // PPC64-LINUX:#define __LDBL_DIG__ 31
962 // PPC64-LINUX:#define __LDBL_EPSILON__ 4.94065645841246544176568792868221e-324L
963 // PPC64-LINUX:#define __LDBL_HAS_DENORM__ 1
964 // PPC64-LINUX:#define __LDBL_HAS_INFINITY__ 1
965 // PPC64-LINUX:#define __LDBL_HAS_QUIET_NAN__ 1
966 // PPC64-LINUX:#define __LDBL_MANT_DIG__ 106
967 // PPC64-LINUX:#define __LDBL_MAX_10_EXP__ 308
968 // PPC64-LINUX:#define __LDBL_MAX_EXP__ 1024
969 // PPC64-LINUX:#define __LDBL_MAX__ 1.79769313486231580793728971405301e+308L
970 // PPC64-LINUX:#define __LDBL_MIN_10_EXP__ (-291)
971 // PPC64-LINUX:#define __LDBL_MIN_EXP__ (-968)
972 // PPC64-LINUX:#define __LDBL_MIN__ 2.00416836000897277799610805135016e-292L
973 // PPC64-LINUX:#define __LONGDOUBLE128 1
974 // PPC64-LINUX:#define __LONG_DOUBLE_128__ 1
975 // PPC64-LINUX:#define __LONG_LONG_MAX__ 9223372036854775807LL
976 // PPC64-LINUX:#define __LONG_MAX__ 9223372036854775807L
977 // PPC64-LINUX:#define __LP64__ 1
978 // PPC64-LINUX:#define __NATURAL_ALIGNMENT__ 1
979 // PPC64-LINUX:#define __POINTER_WIDTH__ 64
980 // PPC64-LINUX:#define __POWERPC__ 1
981 // PPC64-LINUX:#define __PPC64__ 1
982 // PPC64-LINUX:#define __PPC__ 1
983 // PPC64-LINUX:#define __PTRDIFF_TYPE__ long int
984 // PPC64-LINUX:#define __PTRDIFF_WIDTH__ 64
985 // PPC64-LINUX:#define __REGISTER_PREFIX__
986 // PPC64-LINUX:#define __SCHAR_MAX__ 127
987 // PPC64-LINUX:#define __SHRT_MAX__ 32767
988 // PPC64-LINUX:#define __SIG_ATOMIC_MAX__ 2147483647
989 // PPC64-LINUX:#define __SIG_ATOMIC_WIDTH__ 32
990 // PPC64-LINUX:#define __SIZEOF_DOUBLE__ 8
991 // PPC64-LINUX:#define __SIZEOF_FLOAT__ 4
992 // PPC64-LINUX:#define __SIZEOF_INT__ 4
993 // PPC64-LINUX:#define __SIZEOF_LONG_DOUBLE__ 16
994 // PPC64-LINUX:#define __SIZEOF_LONG_LONG__ 8
995 // PPC64-LINUX:#define __SIZEOF_LONG__ 8
996 // PPC64-LINUX:#define __SIZEOF_POINTER__ 8
997 // PPC64-LINUX:#define __SIZEOF_PTRDIFF_T__ 8
998 // PPC64-LINUX:#define __SIZEOF_SHORT__ 2
999 // PPC64-LINUX:#define __SIZEOF_SIZE_T__ 8
1000 // PPC64-LINUX:#define __SIZEOF_WCHAR_T__ 4
1001 // PPC64-LINUX:#define __SIZEOF_WINT_T__ 4
1002 // PPC64-LINUX:#define __SIZE_MAX__ 18446744073709551615UL
1003 // PPC64-LINUX:#define __SIZE_TYPE__ long unsigned int
1004 // PPC64-LINUX:#define __SIZE_WIDTH__ 64
1005 // PPC64-LINUX:#define __UINT16_C_SUFFIX__
1006 // PPC64-LINUX:#define __UINT16_MAX__ 65535
1007 // PPC64-LINUX:#define __UINT16_TYPE__ unsigned short
1008 // PPC64-LINUX:#define __UINT32_C_SUFFIX__ U
1009 // PPC64-LINUX:#define __UINT32_MAX__ 4294967295U
1010 // PPC64-LINUX:#define __UINT32_TYPE__ unsigned int
1011 // PPC64-LINUX:#define __UINT64_C_SUFFIX__ UL
1012 // PPC64-LINUX:#define __UINT64_MAX__ 18446744073709551615UL
1013 // PPC64-LINUX:#define __UINT64_TYPE__ long unsigned int
1014 // PPC64-LINUX:#define __UINT8_C_SUFFIX__
1015 // PPC64-LINUX:#define __UINT8_MAX__ 255
1016 // PPC64-LINUX:#define __UINT8_TYPE__ unsigned char
1017 // PPC64-LINUX:#define __UINTMAX_C_SUFFIX__ UL
1018 // PPC64-LINUX:#define __UINTMAX_MAX__ 18446744073709551615UL
1019 // PPC64-LINUX:#define __UINTMAX_TYPE__ long unsigned int
1020 // PPC64-LINUX:#define __UINTMAX_WIDTH__ 64
1021 // PPC64-LINUX:#define __UINTPTR_MAX__ 18446744073709551615UL
1022 // PPC64-LINUX:#define __UINTPTR_TYPE__ long unsigned int
1023 // PPC64-LINUX:#define __UINTPTR_WIDTH__ 64
1024 // PPC64-LINUX:#define __UINT_FAST16_MAX__ 65535
1025 // PPC64-LINUX:#define __UINT_FAST16_TYPE__ unsigned short
1026 // PPC64-LINUX:#define __UINT_FAST32_MAX__ 4294967295U
1027 // PPC64-LINUX:#define __UINT_FAST32_TYPE__ unsigned int
1028 // PPC64-LINUX:#define __UINT_FAST64_MAX__ 18446744073709551615UL
1029 // PPC64-LINUX:#define __UINT_FAST64_TYPE__ long unsigned int
1030 // PPC64-LINUX:#define __UINT_FAST8_MAX__ 255
1031 // PPC64-LINUX:#define __UINT_FAST8_TYPE__ unsigned char
1032 // PPC64-LINUX:#define __UINT_LEAST16_MAX__ 65535
1033 // PPC64-LINUX:#define __UINT_LEAST16_TYPE__ unsigned short
1034 // PPC64-LINUX:#define __UINT_LEAST32_MAX__ 4294967295U
1035 // PPC64-LINUX:#define __UINT_LEAST32_TYPE__ unsigned int
1036 // PPC64-LINUX:#define __UINT_LEAST64_MAX__ 18446744073709551615UL
1037 // PPC64-LINUX:#define __UINT_LEAST64_TYPE__ long unsigned int
1038 // PPC64-LINUX:#define __UINT_LEAST8_MAX__ 255
1039 // PPC64-LINUX:#define __UINT_LEAST8_TYPE__ unsigned char
1040 // PPC64-LINUX:#define __USER_LABEL_PREFIX__
1041 // PPC64-LINUX:#define __WCHAR_MAX__ 2147483647
1042 // PPC64-LINUX:#define __WCHAR_TYPE__ int
1043 // PPC64-LINUX:#define __WCHAR_WIDTH__ 32
1044 // PPC64-LINUX:#define __WINT_TYPE__ unsigned int
1045 // PPC64-LINUX:#define __WINT_UNSIGNED__ 1
1046 // PPC64-LINUX:#define __WINT_WIDTH__ 32
1047 // PPC64-LINUX:#define __powerpc64__ 1
1048 // PPC64-LINUX:#define __powerpc__ 1
1049 // PPC64-LINUX:#define __ppc64__ 1
1050 // PPC64-LINUX:#define __ppc__ 1
1051 
1052 // 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
1053 // 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
1054 // 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
1055 // 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
1056 // 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
1057 // 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
1058 // 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
1059 
1060 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-unknown-freebsd11 -target-abi elfv1 -xc /dev/null | FileCheck --check-prefix=PPC64-ELFv1 %s
1061 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-unknown-freebsd12 -target-abi elfv1 -xc /dev/null | FileCheck --check-prefix=PPC64-ELFv1 %s
1062 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-unknown-freebsd13 -target-abi elfv2 -xc /dev/null | FileCheck --check-prefix=PPC64-ELFv2 %s
1063 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-linux-musl -target-abi elfv2 -xc /dev/null | FileCheck --check-prefix=PPC64-ELFv2 %s
1064 
1065 // PPC64-ELFv1:#define _CALL_ELF 1
1066 // PPC64-ELFv2:#define _CALL_ELF 2
1067 //
1068 // Most of this is encompassed in other places.
1069 // 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
1070 //
1071 // PPC64LE-LINUX:#define _CALL_LINUX 1
1072 
1073 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-unknown-freebsd < /dev/null | FileCheck -match-full-lines -check-prefix PPC64-FREEBSD %s
1074 // PPC64-FREEBSD-NOT: #define __LONG_DOUBLE_128__ 1
1075