Daniel Dunbar | 4fcfde4 | 2009-11-08 01:45:36 +0000 | [diff] [blame] | 1 | // RUN: clang-cc -E -dM -x=assembler-with-cpp < /dev/null | FileCheck -check-prefix ASM %s |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 2 | // |
| 3 | // ASM:#define __ASSEMBLER__ 1 |
| 4 | // |
| 5 | // |
Daniel Dunbar | 4fcfde4 | 2009-11-08 01:45:36 +0000 | [diff] [blame] | 6 | // RUN: clang-cc -fblocks -E -dM < /dev/null | FileCheck -check-prefix BLOCKS %s |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 7 | // |
| 8 | // BLOCKS:#define __BLOCKS__ 1 |
| 9 | // BLOCKS:#define __block __attribute__((__blocks__(byref))) |
| 10 | // |
| 11 | // |
Daniel Dunbar | 4fcfde4 | 2009-11-08 01:45:36 +0000 | [diff] [blame] | 12 | // RUN: clang-cc -x=c++ -std=c++0x -E -dM < /dev/null | FileCheck -check-prefix CXX0X %s |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 13 | // |
| 14 | // CXX0X:#define _GNU_SOURCE 1 |
| 15 | // CXX0X:#define __DEPRECATED 1 |
| 16 | // CXX0X:#define __GNUG__ |
| 17 | // CXX0X:#define __GXX_EXPERIMENTAL_CXX0X__ 1 |
| 18 | // CXX0X:#define __GXX_WEAK__ 1 |
| 19 | // CXX0X:#define __cplusplus 199711L |
| 20 | // CXX0X:#define __private_extern__ extern |
| 21 | // |
| 22 | // |
Daniel Dunbar | 4fcfde4 | 2009-11-08 01:45:36 +0000 | [diff] [blame] | 23 | // RUN: clang-cc -x=c++ -std=c++98 -E -dM < /dev/null | FileCheck -check-prefix CXX98 %s |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 24 | // |
| 25 | // CXX98:#define _GNU_SOURCE 1 |
| 26 | // CXX98:#define __DEPRECATED 1 |
| 27 | // CXX98:#define __GNUG__ |
| 28 | // CXX98:#define __GXX_WEAK__ 1 |
| 29 | // CXX98:#define __cplusplus 199711L |
| 30 | // CXX98:#define __private_extern__ extern |
| 31 | // |
| 32 | // |
Daniel Dunbar | 4fcfde4 | 2009-11-08 01:45:36 +0000 | [diff] [blame] | 33 | // RUN: clang-cc -std=c99 -E -dM < /dev/null | FileCheck -check-prefix C99 %s |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 34 | // |
| 35 | // C99:#define __STDC_VERSION__ 199901L |
| 36 | // C99:#define __STRICT_ANSI__ 1 |
| 37 | // |
| 38 | // |
Daniel Dunbar | 4fcfde4 | 2009-11-08 01:45:36 +0000 | [diff] [blame] | 39 | // RUN: clang-cc -E -dM -fms-extensions=0 < /dev/null | FileCheck -check-prefix COMMON %s |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 40 | // |
| 41 | // COMMON:#define __CONSTANT_CFSTRINGS__ 1 |
| 42 | // COMMON:#define __FINITE_MATH_ONLY__ 0 |
| 43 | // COMMON:#define __GNUC_MINOR__ |
| 44 | // COMMON:#define __GNUC_PATCHLEVEL__ |
| 45 | // COMMON:#define __GNUC_STDC_INLINE__ 1 |
| 46 | // COMMON:#define __GNUC__ |
| 47 | // COMMON:#define __GXX_ABI_VERSION |
| 48 | // COMMON:#define __STDC_HOSTED__ 1 |
| 49 | // COMMON:#define __STDC_VERSION__ |
| 50 | // COMMON:#define __STDC__ 1 |
| 51 | // COMMON:#define __VERSION__ |
| 52 | // COMMON:#define __clang__ 1 |
| 53 | // COMMON:#define __llvm__ 1 |
| 54 | // |
| 55 | // |
Daniel Dunbar | 4fcfde4 | 2009-11-08 01:45:36 +0000 | [diff] [blame] | 56 | // RUN: clang-cc -ffreestanding -E -dM < /dev/null | FileCheck -check-prefix FREESTANDING %s |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 57 | // FREESTANDING:#define __STDC_HOSTED__ 0 |
| 58 | // |
Daniel Dunbar | 4fcfde4 | 2009-11-08 01:45:36 +0000 | [diff] [blame] | 59 | // RUN: clang-cc -x=c++ -std=gnu++98 -E -dM < /dev/null | FileCheck -check-prefix GXX98 %s |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 60 | // |
| 61 | // GXX98:#define _GNU_SOURCE 1 |
| 62 | // GXX98:#define __DEPRECATED 1 |
| 63 | // GXX98:#define __GNUG__ |
| 64 | // GXX98:#define __GXX_WEAK__ 1 |
| 65 | // GXX98:#define __cplusplus 1 |
| 66 | // GXX98:#define __private_extern__ extern |
| 67 | // |
| 68 | // |
Daniel Dunbar | 4fcfde4 | 2009-11-08 01:45:36 +0000 | [diff] [blame] | 69 | // RUN: clang-cc -std=iso9899:199409 -E -dM < /dev/null | FileCheck -check-prefix C94 %s |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 70 | // |
| 71 | // C94:#define __STDC_VERSION__ 199409L |
| 72 | // |
| 73 | // |
Daniel Dunbar | 4fcfde4 | 2009-11-08 01:45:36 +0000 | [diff] [blame] | 74 | // RUN: clang-cc -fms-extensions -E -dM < /dev/null | FileCheck -check-prefix MSEXT %s |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 75 | // |
| 76 | // MSEXT-NOT:#define __STDC__ |
| 77 | // MSEXT:#define __int16 __INT16_TYPE__ |
| 78 | // MSEXT:#define __int32 __INT32_TYPE__ |
| 79 | // MSEXT:#define __int64 __INT64_TYPE__ |
| 80 | // MSEXT:#define __int8 __INT8_TYPE__ |
| 81 | // |
| 82 | // |
Daniel Dunbar | 4fcfde4 | 2009-11-08 01:45:36 +0000 | [diff] [blame] | 83 | // RUN: clang-cc -x=objective-c -E -dM < /dev/null | FileCheck -check-prefix OBJC %s |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 84 | // |
| 85 | // OBJC:#define OBJC_NEW_PROPERTIES 1 |
Daniel Dunbar | c5a97ec | 2009-11-17 07:07:28 +0000 | [diff] [blame] | 86 | // OBJC:#define __NEXT_RUNTIME__ 1 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 87 | // OBJC:#define __OBJC__ 1 |
| 88 | // |
Daniel Dunbar | c5a97ec | 2009-11-17 07:07:28 +0000 | [diff] [blame] | 89 | // |
Daniel Dunbar | 4fcfde4 | 2009-11-08 01:45:36 +0000 | [diff] [blame] | 90 | // RUN: clang-cc -x=objective-c -fobjc-gc -E -dM < /dev/null | FileCheck -check-prefix OBJCGC %s |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 91 | // |
| 92 | // OBJCGC:#define __OBJC_GC__ 1 |
| 93 | // |
| 94 | // |
Daniel Dunbar | 4fcfde4 | 2009-11-08 01:45:36 +0000 | [diff] [blame] | 95 | // RUN: clang-cc -x=objective-c -fobjc-nonfragile-abi -E -dM < /dev/null | FileCheck -check-prefix NONFRAGILE %s |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 96 | // |
| 97 | // NONFRAGILE:#define OBJC_ZEROCOST_EXCEPTIONS 1 |
| 98 | // NONFRAGILE:#define __OBJC2__ 1 |
| 99 | // |
| 100 | // |
Daniel Dunbar | 4fcfde4 | 2009-11-08 01:45:36 +0000 | [diff] [blame] | 101 | // RUN: clang-cc -O1 -E -dM < /dev/null | FileCheck -check-prefix O1 %s |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 102 | // |
| 103 | // O1:#define __OPTIMIZE__ 1 |
| 104 | // |
| 105 | // |
Daniel Dunbar | 4fcfde4 | 2009-11-08 01:45:36 +0000 | [diff] [blame] | 106 | // RUN: clang-cc -fpascal-strings -E -dM < /dev/null | FileCheck -check-prefix PASCAL %s |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 107 | // |
| 108 | // PASCAL:#define __PASCAL_STRINGS__ 1 |
| 109 | // |
| 110 | // |
Daniel Dunbar | 4fcfde4 | 2009-11-08 01:45:36 +0000 | [diff] [blame] | 111 | // RUN: clang-cc -fsigned-char -E -dM -fms-extensions=0 < /dev/null | FileCheck -check-prefix SCHAR %s |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 112 | // |
| 113 | // SCHAR:#define __STDC__ 1 |
| 114 | // SCHAR-NOT:#define __UNSIGNED_CHAR__ |
| 115 | // SCHAR:#define __clang__ 1 |
| 116 | // |
Daniel Dunbar | 4fcfde4 | 2009-11-08 01:45:36 +0000 | [diff] [blame] | 117 | // RUN: clang-cc -E -dM -ffreestanding -triple=arm-none-none < /dev/null | FileCheck -check-prefix ARM %s |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 118 | // |
| 119 | // ARM:#define __APCS_32__ 1 |
| 120 | // ARM:#define __ARMEL__ 1 |
| 121 | // ARM:#define __ARM_ARCH_6K__ 1 |
| 122 | // ARM:#define __CHAR_BIT__ 8 |
| 123 | // ARM:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324 |
| 124 | // ARM:#define __DBL_DIG__ 15 |
| 125 | // ARM:#define __DBL_EPSILON__ 2.2204460492503131e-16 |
| 126 | // ARM:#define __DBL_HAS_DENORM__ 1 |
| 127 | // ARM:#define __DBL_HAS_INFINITY__ 1 |
| 128 | // ARM:#define __DBL_HAS_QUIET_NAN__ 1 |
| 129 | // ARM:#define __DBL_MANT_DIG__ 53 |
| 130 | // ARM:#define __DBL_MAX_10_EXP__ 308 |
| 131 | // ARM:#define __DBL_MAX_EXP__ 1024 |
| 132 | // ARM:#define __DBL_MAX__ 1.7976931348623157e+308 |
| 133 | // ARM:#define __DBL_MIN_10_EXP__ (-307) |
| 134 | // ARM:#define __DBL_MIN_EXP__ (-1021) |
| 135 | // ARM:#define __DBL_MIN__ 2.2250738585072014e-308 |
| 136 | // ARM:#define __DECIMAL_DIG__ 17 |
| 137 | // ARM:#define __FLT_DENORM_MIN__ 1.40129846e-45F |
| 138 | // ARM:#define __FLT_DIG__ 6 |
| 139 | // ARM:#define __FLT_EPSILON__ 1.19209290e-7F |
| 140 | // ARM:#define __FLT_EVAL_METHOD__ 0 |
| 141 | // ARM:#define __FLT_HAS_DENORM__ 1 |
| 142 | // ARM:#define __FLT_HAS_INFINITY__ 1 |
| 143 | // ARM:#define __FLT_HAS_QUIET_NAN__ 1 |
| 144 | // ARM:#define __FLT_MANT_DIG__ 24 |
| 145 | // ARM:#define __FLT_MAX_10_EXP__ 38 |
| 146 | // ARM:#define __FLT_MAX_EXP__ 128 |
| 147 | // ARM:#define __FLT_MAX__ 3.40282347e+38F |
| 148 | // ARM:#define __FLT_MIN_10_EXP__ (-37) |
| 149 | // ARM:#define __FLT_MIN_EXP__ (-125) |
| 150 | // ARM:#define __FLT_MIN__ 1.17549435e-38F |
| 151 | // ARM:#define __FLT_RADIX__ 2 |
| 152 | // ARM:#define __INT16_TYPE__ short |
| 153 | // ARM:#define __INT32_TYPE__ int |
Ken Dyck | eef22ef | 2009-11-16 16:36:33 +0000 | [diff] [blame] | 154 | // ARM:#define __INT64_C_SUFFIX__ LL |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 155 | // ARM:#define __INT64_TYPE__ long long int |
| 156 | // ARM:#define __INT8_TYPE__ char |
| 157 | // ARM:#define __INTMAX_MAX__ 9223372036854775807LL |
Ken Dyck | 8241d73 | 2009-11-19 13:18:59 +0000 | [diff] [blame] | 158 | // ARM:#define __INTMAX_TYPE__ long long int |
Ken Dyck | 186696b | 2009-11-18 13:52:57 +0000 | [diff] [blame] | 159 | // ARM:#define __INTMAX_WIDTH__ 64 |
Ken Dyck | 8241d73 | 2009-11-19 13:18:59 +0000 | [diff] [blame] | 160 | // ARM:#define __INTPTR_TYPE__ long int |
Ken Dyck | d896e1a | 2009-11-18 20:05:48 +0000 | [diff] [blame] | 161 | // ARM:#define __INTPTR_WIDTH__ 32 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 162 | // ARM:#define __INT_MAX__ 2147483647 |
| 163 | // ARM:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324 |
| 164 | // ARM:#define __LDBL_DIG__ 15 |
| 165 | // ARM:#define __LDBL_EPSILON__ 2.2204460492503131e-16 |
| 166 | // ARM:#define __LDBL_HAS_DENORM__ 1 |
| 167 | // ARM:#define __LDBL_HAS_INFINITY__ 1 |
| 168 | // ARM:#define __LDBL_HAS_QUIET_NAN__ 1 |
| 169 | // ARM:#define __LDBL_MANT_DIG__ 53 |
| 170 | // ARM:#define __LDBL_MAX_10_EXP__ 308 |
| 171 | // ARM:#define __LDBL_MAX_EXP__ 1024 |
| 172 | // ARM:#define __LDBL_MAX__ 1.7976931348623157e+308 |
| 173 | // ARM:#define __LDBL_MIN_10_EXP__ (-307) |
| 174 | // ARM:#define __LDBL_MIN_EXP__ (-1021) |
| 175 | // ARM:#define __LDBL_MIN__ 2.2250738585072014e-308 |
| 176 | // ARM:#define __LITTLE_ENDIAN__ 1 |
| 177 | // ARM:#define __LONG_LONG_MAX__ 9223372036854775807LL |
| 178 | // ARM:#define __LONG_MAX__ 2147483647L |
| 179 | // ARM:#define __NO_INLINE__ 1 |
| 180 | // ARM:#define __POINTER_WIDTH__ 32 |
Ken Dyck | 8241d73 | 2009-11-19 13:18:59 +0000 | [diff] [blame] | 181 | // ARM:#define __PTRDIFF_TYPE__ int |
Ken Dyck | d00c751 | 2009-11-19 12:21:52 +0000 | [diff] [blame] | 182 | // ARM:#define __PTRDIFF_WIDTH__ 32 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 183 | // ARM:#define __SCHAR_MAX__ 127 |
| 184 | // ARM:#define __SHRT_MAX__ 32767 |
Ken Dyck | 3e945c8 | 2009-11-22 15:41:04 +0000 | [diff] [blame^] | 185 | // ARM:#define __SIG_ATOMIC_WIDTH__ 32 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 186 | // ARM:#define __SIZE_TYPE__ unsigned int |
Ken Dyck | 7484e5d | 2009-11-19 13:42:09 +0000 | [diff] [blame] | 187 | // ARM:#define __SIZE_WIDTH__ 32 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 188 | // ARM:#define __THUMB_INTERWORK__ 1 |
Ken Dyck | 8241d73 | 2009-11-19 13:18:59 +0000 | [diff] [blame] | 189 | // ARM:#define __UINTMAX_TYPE__ long long unsigned int |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 190 | // ARM:#define __USER_LABEL_PREFIX__ _ |
| 191 | // ARM:#define __VFP_FP__ 1 |
| 192 | // ARM:#define __WCHAR_MAX__ 2147483647 |
| 193 | // ARM:#define __WCHAR_TYPE__ int |
Ken Dyck | 63e6561 | 2009-11-19 15:47:58 +0000 | [diff] [blame] | 194 | // ARM:#define __WCHAR_WIDTH__ 32 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 195 | // ARM:#define __WINT_TYPE__ int |
Ken Dyck | 7635d21 | 2009-11-19 14:16:57 +0000 | [diff] [blame] | 196 | // ARM:#define __WINT_WIDTH__ 32 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 197 | // ARM:#define __arm 1 |
| 198 | // ARM:#define __arm__ 1 |
| 199 | // |
Daniel Dunbar | 4fcfde4 | 2009-11-08 01:45:36 +0000 | [diff] [blame] | 200 | // RUN: clang-cc -E -dM -ffreestanding -triple=bfin-none-none < /dev/null | FileCheck -check-prefix BFIN %s |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 201 | // |
| 202 | // BFIN:#define BFIN 1 |
| 203 | // BFIN:#define __ADSPBLACKFIN__ 1 |
| 204 | // BFIN:#define __ADSPLPBLACKFIN__ 1 |
| 205 | // BFIN:#define __BFIN 1 |
| 206 | // BFIN:#define __BFIN__ 1 |
| 207 | // BFIN:#define __CHAR_BIT__ 8 |
| 208 | // BFIN:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324 |
| 209 | // BFIN:#define __DBL_DIG__ 15 |
| 210 | // BFIN:#define __DBL_EPSILON__ 2.2204460492503131e-16 |
| 211 | // BFIN:#define __DBL_HAS_DENORM__ 1 |
| 212 | // BFIN:#define __DBL_HAS_INFINITY__ 1 |
| 213 | // BFIN:#define __DBL_HAS_QUIET_NAN__ 1 |
| 214 | // BFIN:#define __DBL_MANT_DIG__ 53 |
| 215 | // BFIN:#define __DBL_MAX_10_EXP__ 308 |
| 216 | // BFIN:#define __DBL_MAX_EXP__ 1024 |
| 217 | // BFIN:#define __DBL_MAX__ 1.7976931348623157e+308 |
| 218 | // BFIN:#define __DBL_MIN_10_EXP__ (-307) |
| 219 | // BFIN:#define __DBL_MIN_EXP__ (-1021) |
| 220 | // BFIN:#define __DBL_MIN__ 2.2250738585072014e-308 |
| 221 | // BFIN:#define __DECIMAL_DIG__ 17 |
| 222 | // BFIN:#define __FLT_DENORM_MIN__ 1.40129846e-45F |
| 223 | // BFIN:#define __FLT_DIG__ 6 |
| 224 | // BFIN:#define __FLT_EPSILON__ 1.19209290e-7F |
| 225 | // BFIN:#define __FLT_EVAL_METHOD__ 0 |
| 226 | // BFIN:#define __FLT_HAS_DENORM__ 1 |
| 227 | // BFIN:#define __FLT_HAS_INFINITY__ 1 |
| 228 | // BFIN:#define __FLT_HAS_QUIET_NAN__ 1 |
| 229 | // BFIN:#define __FLT_MANT_DIG__ 24 |
| 230 | // BFIN:#define __FLT_MAX_10_EXP__ 38 |
| 231 | // BFIN:#define __FLT_MAX_EXP__ 128 |
| 232 | // BFIN:#define __FLT_MAX__ 3.40282347e+38F |
| 233 | // BFIN:#define __FLT_MIN_10_EXP__ (-37) |
| 234 | // BFIN:#define __FLT_MIN_EXP__ (-125) |
| 235 | // BFIN:#define __FLT_MIN__ 1.17549435e-38F |
| 236 | // BFIN:#define __FLT_RADIX__ 2 |
| 237 | // BFIN:#define __INT16_TYPE__ short |
| 238 | // BFIN:#define __INT32_TYPE__ int |
Ken Dyck | eef22ef | 2009-11-16 16:36:33 +0000 | [diff] [blame] | 239 | // BFIN:#define __INT64_C_SUFFIX__ LL |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 240 | // BFIN:#define __INT64_TYPE__ long long int |
| 241 | // BFIN:#define __INT8_TYPE__ char |
| 242 | // BFIN:#define __INTMAX_MAX__ 9223372036854775807LL |
Ken Dyck | 8241d73 | 2009-11-19 13:18:59 +0000 | [diff] [blame] | 243 | // BFIN:#define __INTMAX_TYPE__ long long int |
Ken Dyck | 186696b | 2009-11-18 13:52:57 +0000 | [diff] [blame] | 244 | // BFIN:#define __INTMAX_WIDTH__ 64 |
Ken Dyck | 8241d73 | 2009-11-19 13:18:59 +0000 | [diff] [blame] | 245 | // BFIN:#define __INTPTR_TYPE__ long int |
Ken Dyck | d896e1a | 2009-11-18 20:05:48 +0000 | [diff] [blame] | 246 | // BFIN:#define __INTPTR_WIDTH__ 32 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 247 | // BFIN:#define __INT_MAX__ 2147483647 |
| 248 | // BFIN:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324 |
| 249 | // BFIN:#define __LDBL_DIG__ 15 |
| 250 | // BFIN:#define __LDBL_EPSILON__ 2.2204460492503131e-16 |
| 251 | // BFIN:#define __LDBL_HAS_DENORM__ 1 |
| 252 | // BFIN:#define __LDBL_HAS_INFINITY__ 1 |
| 253 | // BFIN:#define __LDBL_HAS_QUIET_NAN__ 1 |
| 254 | // BFIN:#define __LDBL_MANT_DIG__ 53 |
| 255 | // BFIN:#define __LDBL_MAX_10_EXP__ 308 |
| 256 | // BFIN:#define __LDBL_MAX_EXP__ 1024 |
| 257 | // BFIN:#define __LDBL_MAX__ 1.7976931348623157e+308 |
| 258 | // BFIN:#define __LDBL_MIN_10_EXP__ (-307) |
| 259 | // BFIN:#define __LDBL_MIN_EXP__ (-1021) |
| 260 | // BFIN:#define __LDBL_MIN__ 2.2250738585072014e-308 |
| 261 | // BFIN:#define __LONG_LONG_MAX__ 9223372036854775807LL |
| 262 | // BFIN:#define __LONG_MAX__ 2147483647L |
| 263 | // BFIN:#define __NO_INLINE__ 1 |
| 264 | // BFIN:#define __POINTER_WIDTH__ 32 |
Ken Dyck | 8241d73 | 2009-11-19 13:18:59 +0000 | [diff] [blame] | 265 | // BFIN:#define __PTRDIFF_TYPE__ long int |
Ken Dyck | d00c751 | 2009-11-19 12:21:52 +0000 | [diff] [blame] | 266 | // BFIN:#define __PTRDIFF_WIDTH__ 32 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 267 | // BFIN:#define __SCHAR_MAX__ 127 |
| 268 | // BFIN:#define __SHRT_MAX__ 32767 |
Ken Dyck | 3e945c8 | 2009-11-22 15:41:04 +0000 | [diff] [blame^] | 269 | // BFIN:#define __SIG_ATOMIC_WIDTH__ 32 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 270 | // BFIN:#define __SIZE_TYPE__ long unsigned int |
Ken Dyck | 7484e5d | 2009-11-19 13:42:09 +0000 | [diff] [blame] | 271 | // BFIN:#define __SIZE_WIDTH__ 32 |
Ken Dyck | 8241d73 | 2009-11-19 13:18:59 +0000 | [diff] [blame] | 272 | // BFIN:#define __UINTMAX_TYPE__ long long unsigned int |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 273 | // BFIN:#define __USER_LABEL_PREFIX__ _ |
| 274 | // BFIN:#define __WCHAR_MAX__ 2147483647 |
| 275 | // BFIN:#define __WCHAR_TYPE__ int |
Ken Dyck | 63e6561 | 2009-11-19 15:47:58 +0000 | [diff] [blame] | 276 | // BFIN:#define __WCHAR_WIDTH__ 32 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 277 | // BFIN:#define __WINT_TYPE__ int |
Ken Dyck | 7635d21 | 2009-11-19 14:16:57 +0000 | [diff] [blame] | 278 | // BFIN:#define __WINT_WIDTH__ 32 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 279 | // BFIN:#define __bfin 1 |
| 280 | // BFIN:#define __bfin__ 1 |
| 281 | // BFIN:#define bfin 1 |
| 282 | // |
Daniel Dunbar | 4fcfde4 | 2009-11-08 01:45:36 +0000 | [diff] [blame] | 283 | // RUN: clang-cc -E -dM -ffreestanding -triple=i386-none-none < /dev/null | FileCheck -check-prefix I386 %s |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 284 | // |
| 285 | // I386:#define __CHAR_BIT__ 8 |
| 286 | // I386:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324 |
| 287 | // I386:#define __DBL_DIG__ 15 |
| 288 | // I386:#define __DBL_EPSILON__ 2.2204460492503131e-16 |
| 289 | // I386:#define __DBL_HAS_DENORM__ 1 |
| 290 | // I386:#define __DBL_HAS_INFINITY__ 1 |
| 291 | // I386:#define __DBL_HAS_QUIET_NAN__ 1 |
| 292 | // I386:#define __DBL_MANT_DIG__ 53 |
| 293 | // I386:#define __DBL_MAX_10_EXP__ 308 |
| 294 | // I386:#define __DBL_MAX_EXP__ 1024 |
| 295 | // I386:#define __DBL_MAX__ 1.7976931348623157e+308 |
| 296 | // I386:#define __DBL_MIN_10_EXP__ (-307) |
| 297 | // I386:#define __DBL_MIN_EXP__ (-1021) |
| 298 | // I386:#define __DBL_MIN__ 2.2250738585072014e-308 |
| 299 | // I386:#define __DECIMAL_DIG__ 21 |
| 300 | // I386:#define __FLT_DENORM_MIN__ 1.40129846e-45F |
| 301 | // I386:#define __FLT_DIG__ 6 |
| 302 | // I386:#define __FLT_EPSILON__ 1.19209290e-7F |
| 303 | // I386:#define __FLT_EVAL_METHOD__ 0 |
| 304 | // I386:#define __FLT_HAS_DENORM__ 1 |
| 305 | // I386:#define __FLT_HAS_INFINITY__ 1 |
| 306 | // I386:#define __FLT_HAS_QUIET_NAN__ 1 |
| 307 | // I386:#define __FLT_MANT_DIG__ 24 |
| 308 | // I386:#define __FLT_MAX_10_EXP__ 38 |
| 309 | // I386:#define __FLT_MAX_EXP__ 128 |
| 310 | // I386:#define __FLT_MAX__ 3.40282347e+38F |
| 311 | // I386:#define __FLT_MIN_10_EXP__ (-37) |
| 312 | // I386:#define __FLT_MIN_EXP__ (-125) |
| 313 | // I386:#define __FLT_MIN__ 1.17549435e-38F |
| 314 | // I386:#define __FLT_RADIX__ 2 |
| 315 | // I386:#define __INT16_TYPE__ short |
| 316 | // I386:#define __INT32_TYPE__ int |
Ken Dyck | eef22ef | 2009-11-16 16:36:33 +0000 | [diff] [blame] | 317 | // I386:#define __INT64_C_SUFFIX__ LL |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 318 | // I386:#define __INT64_TYPE__ long long int |
| 319 | // I386:#define __INT8_TYPE__ char |
| 320 | // I386:#define __INTMAX_MAX__ 9223372036854775807LL |
Ken Dyck | 8241d73 | 2009-11-19 13:18:59 +0000 | [diff] [blame] | 321 | // I386:#define __INTMAX_TYPE__ long long int |
Ken Dyck | 186696b | 2009-11-18 13:52:57 +0000 | [diff] [blame] | 322 | // I386:#define __INTMAX_WIDTH__ 64 |
Ken Dyck | 8241d73 | 2009-11-19 13:18:59 +0000 | [diff] [blame] | 323 | // I386:#define __INTPTR_TYPE__ int |
Ken Dyck | d896e1a | 2009-11-18 20:05:48 +0000 | [diff] [blame] | 324 | // I386:#define __INTPTR_WIDTH__ 32 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 325 | // I386:#define __INT_MAX__ 2147483647 |
| 326 | // I386:#define __LDBL_DENORM_MIN__ 3.64519953188247460253e-4951L |
| 327 | // I386:#define __LDBL_DIG__ 18 |
| 328 | // I386:#define __LDBL_EPSILON__ 1.08420217248550443401e-19L |
| 329 | // I386:#define __LDBL_HAS_DENORM__ 1 |
| 330 | // I386:#define __LDBL_HAS_INFINITY__ 1 |
| 331 | // I386:#define __LDBL_HAS_QUIET_NAN__ 1 |
| 332 | // I386:#define __LDBL_MANT_DIG__ 64 |
| 333 | // I386:#define __LDBL_MAX_10_EXP__ 4932 |
| 334 | // I386:#define __LDBL_MAX_EXP__ 16384 |
| 335 | // I386:#define __LDBL_MAX__ 1.18973149535723176502e+4932L |
| 336 | // I386:#define __LDBL_MIN_10_EXP__ (-4931) |
| 337 | // I386:#define __LDBL_MIN_EXP__ (-16381) |
| 338 | // I386:#define __LDBL_MIN__ 3.36210314311209350626e-4932L |
| 339 | // I386:#define __LITTLE_ENDIAN__ 1 |
| 340 | // I386:#define __LONG_LONG_MAX__ 9223372036854775807LL |
| 341 | // I386:#define __LONG_MAX__ 2147483647L |
| 342 | // I386:#define __NO_INLINE__ 1 |
| 343 | // I386:#define __NO_MATH_INLINES 1 |
| 344 | // I386:#define __POINTER_WIDTH__ 32 |
Ken Dyck | 8241d73 | 2009-11-19 13:18:59 +0000 | [diff] [blame] | 345 | // I386:#define __PTRDIFF_TYPE__ int |
Ken Dyck | d00c751 | 2009-11-19 12:21:52 +0000 | [diff] [blame] | 346 | // I386:#define __PTRDIFF_WIDTH__ 32 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 347 | // I386:#define __REGISTER_PREFIX__ |
| 348 | // I386:#define __SCHAR_MAX__ 127 |
| 349 | // I386:#define __SHRT_MAX__ 32767 |
Ken Dyck | 3e945c8 | 2009-11-22 15:41:04 +0000 | [diff] [blame^] | 350 | // I386:#define __SIG_ATOMIC_WIDTH__ 32 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 351 | // I386:#define __SIZE_TYPE__ unsigned int |
Ken Dyck | 7484e5d | 2009-11-19 13:42:09 +0000 | [diff] [blame] | 352 | // I386:#define __SIZE_WIDTH__ 32 |
Ken Dyck | 8241d73 | 2009-11-19 13:18:59 +0000 | [diff] [blame] | 353 | // I386:#define __UINTMAX_TYPE__ long long unsigned int |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 354 | // I386:#define __USER_LABEL_PREFIX__ _ |
| 355 | // I386:#define __WCHAR_MAX__ 2147483647 |
| 356 | // I386:#define __WCHAR_TYPE__ int |
Ken Dyck | 63e6561 | 2009-11-19 15:47:58 +0000 | [diff] [blame] | 357 | // I386:#define __WCHAR_WIDTH__ 32 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 358 | // I386:#define __WINT_TYPE__ int |
Ken Dyck | 7635d21 | 2009-11-19 14:16:57 +0000 | [diff] [blame] | 359 | // I386:#define __WINT_WIDTH__ 32 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 360 | // I386:#define __i386 1 |
| 361 | // I386:#define __i386__ 1 |
| 362 | // I386:#define __nocona 1 |
| 363 | // I386:#define __nocona__ 1 |
| 364 | // I386:#define __tune_nocona__ 1 |
| 365 | // I386:#define i386 1 |
| 366 | // |
Daniel Dunbar | 4fcfde4 | 2009-11-08 01:45:36 +0000 | [diff] [blame] | 367 | // RUN: clang-cc -E -dM -ffreestanding -triple=msp430-none-none < /dev/null | FileCheck -check-prefix MSP430 %s |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 368 | // |
| 369 | // MSP430:#define MSP430 1 |
| 370 | // MSP430:#define __CHAR_BIT__ 8 |
| 371 | // MSP430:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324 |
| 372 | // MSP430:#define __DBL_DIG__ 15 |
| 373 | // MSP430:#define __DBL_EPSILON__ 2.2204460492503131e-16 |
| 374 | // MSP430:#define __DBL_HAS_DENORM__ 1 |
| 375 | // MSP430:#define __DBL_HAS_INFINITY__ 1 |
| 376 | // MSP430:#define __DBL_HAS_QUIET_NAN__ 1 |
| 377 | // MSP430:#define __DBL_MANT_DIG__ 53 |
| 378 | // MSP430:#define __DBL_MAX_10_EXP__ 308 |
| 379 | // MSP430:#define __DBL_MAX_EXP__ 1024 |
| 380 | // MSP430:#define __DBL_MAX__ 1.7976931348623157e+308 |
| 381 | // MSP430:#define __DBL_MIN_10_EXP__ (-307) |
| 382 | // MSP430:#define __DBL_MIN_EXP__ (-1021) |
| 383 | // MSP430:#define __DBL_MIN__ 2.2250738585072014e-308 |
| 384 | // MSP430:#define __DECIMAL_DIG__ 17 |
| 385 | // MSP430:#define __FLT_DENORM_MIN__ 1.40129846e-45F |
| 386 | // MSP430:#define __FLT_DIG__ 6 |
| 387 | // MSP430:#define __FLT_EPSILON__ 1.19209290e-7F |
| 388 | // MSP430:#define __FLT_EVAL_METHOD__ 0 |
| 389 | // MSP430:#define __FLT_HAS_DENORM__ 1 |
| 390 | // MSP430:#define __FLT_HAS_INFINITY__ 1 |
| 391 | // MSP430:#define __FLT_HAS_QUIET_NAN__ 1 |
| 392 | // MSP430:#define __FLT_MANT_DIG__ 24 |
| 393 | // MSP430:#define __FLT_MAX_10_EXP__ 38 |
| 394 | // MSP430:#define __FLT_MAX_EXP__ 128 |
| 395 | // MSP430:#define __FLT_MAX__ 3.40282347e+38F |
| 396 | // MSP430:#define __FLT_MIN_10_EXP__ (-37) |
| 397 | // MSP430:#define __FLT_MIN_EXP__ (-125) |
| 398 | // MSP430:#define __FLT_MIN__ 1.17549435e-38F |
| 399 | // MSP430:#define __FLT_RADIX__ 2 |
| 400 | // MSP430:#define __INT16_TYPE__ short |
Ken Dyck | eef22ef | 2009-11-16 16:36:33 +0000 | [diff] [blame] | 401 | // MSP430:#define __INT32_C_SUFFIX__ L |
Chris Lattner | dcdd2a0 | 2009-11-12 08:08:27 +0000 | [diff] [blame] | 402 | // MSP430:#define __INT32_TYPE__ long int |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 403 | // MSP430:#define __INT8_TYPE__ char |
| 404 | // MSP430:#define __INTMAX_MAX__ 2147483647L |
Ken Dyck | 8241d73 | 2009-11-19 13:18:59 +0000 | [diff] [blame] | 405 | // MSP430:#define __INTMAX_TYPE__ long int |
Ken Dyck | 186696b | 2009-11-18 13:52:57 +0000 | [diff] [blame] | 406 | // MSP430:#define __INTMAX_WIDTH__ 32 |
Ken Dyck | 8241d73 | 2009-11-19 13:18:59 +0000 | [diff] [blame] | 407 | // MSP430:#define __INTPTR_TYPE__ short |
Ken Dyck | d896e1a | 2009-11-18 20:05:48 +0000 | [diff] [blame] | 408 | // MSP430:#define __INTPTR_WIDTH__ 16 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 409 | // MSP430:#define __INT_MAX__ 32767 |
| 410 | // MSP430:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324 |
| 411 | // MSP430:#define __LDBL_DIG__ 15 |
| 412 | // MSP430:#define __LDBL_EPSILON__ 2.2204460492503131e-16 |
| 413 | // MSP430:#define __LDBL_HAS_DENORM__ 1 |
| 414 | // MSP430:#define __LDBL_HAS_INFINITY__ 1 |
| 415 | // MSP430:#define __LDBL_HAS_QUIET_NAN__ 1 |
| 416 | // MSP430:#define __LDBL_MANT_DIG__ 53 |
| 417 | // MSP430:#define __LDBL_MAX_10_EXP__ 308 |
| 418 | // MSP430:#define __LDBL_MAX_EXP__ 1024 |
| 419 | // MSP430:#define __LDBL_MAX__ 1.7976931348623157e+308 |
| 420 | // MSP430:#define __LDBL_MIN_10_EXP__ (-307) |
| 421 | // MSP430:#define __LDBL_MIN_EXP__ (-1021) |
| 422 | // MSP430:#define __LDBL_MIN__ 2.2250738585072014e-308 |
| 423 | // MSP430:#define __LONG_LONG_MAX__ 2147483647LL |
| 424 | // MSP430:#define __LONG_MAX__ 2147483647L |
| 425 | // MSP430:#define __MSP430__ 1 |
| 426 | // MSP430:#define __NO_INLINE__ 1 |
| 427 | // MSP430:#define __POINTER_WIDTH__ 16 |
Ken Dyck | 8241d73 | 2009-11-19 13:18:59 +0000 | [diff] [blame] | 428 | // MSP430:#define __PTRDIFF_TYPE__ int |
Ken Dyck | d00c751 | 2009-11-19 12:21:52 +0000 | [diff] [blame] | 429 | // MSP430:#define __PTRDIFF_WIDTH__ 16 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 430 | // MSP430:#define __SCHAR_MAX__ 127 |
| 431 | // MSP430:#define __SHRT_MAX__ 32767 |
Ken Dyck | 3e945c8 | 2009-11-22 15:41:04 +0000 | [diff] [blame^] | 432 | // MSP430:#define __SIG_ATOMIC_WIDTH__ 32 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 433 | // MSP430:#define __SIZE_TYPE__ unsigned int |
Ken Dyck | 7484e5d | 2009-11-19 13:42:09 +0000 | [diff] [blame] | 434 | // MSP430:#define __SIZE_WIDTH__ 16 |
Ken Dyck | 8241d73 | 2009-11-19 13:18:59 +0000 | [diff] [blame] | 435 | // MSP430:#define __UINTMAX_TYPE__ long unsigned int |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 436 | // MSP430:#define __USER_LABEL_PREFIX__ _ |
Chris Lattner | 9184646 | 2009-11-12 08:04:33 +0000 | [diff] [blame] | 437 | // MSP430:#define __WCHAR_MAX__ 32767 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 438 | // MSP430:#define __WCHAR_TYPE__ int |
Ken Dyck | 63e6561 | 2009-11-19 15:47:58 +0000 | [diff] [blame] | 439 | // MSP430:#define __WCHAR_WIDTH__ 16 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 440 | // MSP430:#define __WINT_TYPE__ int |
Ken Dyck | 7635d21 | 2009-11-19 14:16:57 +0000 | [diff] [blame] | 441 | // MSP430:#define __WINT_WIDTH__ 16 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 442 | // MSP430:#define __clang__ 1 |
| 443 | // |
Daniel Dunbar | 4fcfde4 | 2009-11-08 01:45:36 +0000 | [diff] [blame] | 444 | // RUN: clang-cc -E -dM -ffreestanding -triple=pic16-none-none < /dev/null | FileCheck -check-prefix PIC16 %s |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 445 | // |
| 446 | // PIC16:#define _CONFIG(conf) asm("CONFIG "#conf) |
| 447 | // PIC16:#define __CHAR_BIT__ 8 |
| 448 | // PIC16:#define __DBL_DENORM_MIN__ 1.40129846e-45F |
| 449 | // PIC16:#define __DBL_DIG__ 6 |
| 450 | // PIC16:#define __DBL_EPSILON__ 1.19209290e-7F |
| 451 | // PIC16:#define __DBL_HAS_DENORM__ 1 |
| 452 | // PIC16:#define __DBL_HAS_INFINITY__ 1 |
| 453 | // PIC16:#define __DBL_HAS_QUIET_NAN__ 1 |
| 454 | // PIC16:#define __DBL_MANT_DIG__ 24 |
| 455 | // PIC16:#define __DBL_MAX_10_EXP__ 38 |
| 456 | // PIC16:#define __DBL_MAX_EXP__ 128 |
| 457 | // PIC16:#define __DBL_MAX__ 3.40282347e+38F |
| 458 | // PIC16:#define __DBL_MIN_10_EXP__ (-37) |
| 459 | // PIC16:#define __DBL_MIN_EXP__ (-125) |
| 460 | // PIC16:#define __DBL_MIN__ 1.17549435e-38F |
| 461 | // PIC16:#define __DECIMAL_DIG__ -1 |
| 462 | // PIC16:#define __FLT_DENORM_MIN__ 1.40129846e-45F |
| 463 | // PIC16:#define __FLT_DIG__ 6 |
| 464 | // PIC16:#define __FLT_EPSILON__ 1.19209290e-7F |
| 465 | // PIC16:#define __FLT_EVAL_METHOD__ 0 |
| 466 | // PIC16:#define __FLT_HAS_DENORM__ 1 |
| 467 | // PIC16:#define __FLT_HAS_INFINITY__ 1 |
| 468 | // PIC16:#define __FLT_HAS_QUIET_NAN__ 1 |
| 469 | // PIC16:#define __FLT_MANT_DIG__ 24 |
| 470 | // PIC16:#define __FLT_MAX_10_EXP__ 38 |
| 471 | // PIC16:#define __FLT_MAX_EXP__ 128 |
| 472 | // PIC16:#define __FLT_MAX__ 3.40282347e+38F |
| 473 | // PIC16:#define __FLT_MIN_10_EXP__ (-37) |
| 474 | // PIC16:#define __FLT_MIN_EXP__ (-125) |
| 475 | // PIC16:#define __FLT_MIN__ 1.17549435e-38F |
| 476 | // PIC16:#define __FLT_RADIX__ 2 |
| 477 | // PIC16:#define __INT16_TYPE__ short |
Ken Dyck | eef22ef | 2009-11-16 16:36:33 +0000 | [diff] [blame] | 478 | // PIC16:#define __INT32_C_SUFFIX__ L |
Chris Lattner | dcdd2a0 | 2009-11-12 08:08:27 +0000 | [diff] [blame] | 479 | // PIC16:#define __INT32_TYPE__ long int |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 480 | // PIC16:#define __INT8_TYPE__ char |
| 481 | // PIC16:#define __INTMAX_MAX__ 2147483647L |
Ken Dyck | 8241d73 | 2009-11-19 13:18:59 +0000 | [diff] [blame] | 482 | // PIC16:#define __INTMAX_TYPE__ long int |
Ken Dyck | 186696b | 2009-11-18 13:52:57 +0000 | [diff] [blame] | 483 | // PIC16:#define __INTMAX_WIDTH__ 32 |
Ken Dyck | 8241d73 | 2009-11-19 13:18:59 +0000 | [diff] [blame] | 484 | // PIC16:#define __INTPTR_TYPE__ short |
Ken Dyck | d896e1a | 2009-11-18 20:05:48 +0000 | [diff] [blame] | 485 | // PIC16:#define __INTPTR_WIDTH__ 16 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 486 | // PIC16:#define __INT_MAX__ 32767 |
| 487 | // PIC16:#define __LDBL_DENORM_MIN__ 1.40129846e-45F |
| 488 | // PIC16:#define __LDBL_DIG__ 6 |
| 489 | // PIC16:#define __LDBL_EPSILON__ 1.19209290e-7F |
| 490 | // PIC16:#define __LDBL_HAS_DENORM__ 1 |
| 491 | // PIC16:#define __LDBL_HAS_INFINITY__ 1 |
| 492 | // PIC16:#define __LDBL_HAS_QUIET_NAN__ 1 |
| 493 | // PIC16:#define __LDBL_MANT_DIG__ 24 |
| 494 | // PIC16:#define __LDBL_MAX_10_EXP__ 38 |
| 495 | // PIC16:#define __LDBL_MAX_EXP__ 128 |
| 496 | // PIC16:#define __LDBL_MAX__ 3.40282347e+38F |
| 497 | // PIC16:#define __LDBL_MIN_10_EXP__ (-37) |
| 498 | // PIC16:#define __LDBL_MIN_EXP__ (-125) |
| 499 | // PIC16:#define __LDBL_MIN__ 1.17549435e-38F |
| 500 | // PIC16:#define __LONG_LONG_MAX__ 2147483647LL |
| 501 | // PIC16:#define __LONG_MAX__ 2147483647L |
| 502 | // PIC16:#define __NO_INLINE__ 1 |
| 503 | // PIC16:#define __POINTER_WIDTH__ 16 |
Ken Dyck | 8241d73 | 2009-11-19 13:18:59 +0000 | [diff] [blame] | 504 | // PIC16:#define __PTRDIFF_TYPE__ int |
Ken Dyck | d00c751 | 2009-11-19 12:21:52 +0000 | [diff] [blame] | 505 | // PIC16:#define __PTRDIFF_WIDTH__ 16 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 506 | // PIC16:#define __SCHAR_MAX__ 127 |
| 507 | // PIC16:#define __SHRT_MAX__ 32767 |
Ken Dyck | 3e945c8 | 2009-11-22 15:41:04 +0000 | [diff] [blame^] | 508 | // PIC16:#define __SIG_ATOMIC_WIDTH__ 32 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 509 | // PIC16:#define __SIZE_TYPE__ unsigned int |
Ken Dyck | 7484e5d | 2009-11-19 13:42:09 +0000 | [diff] [blame] | 510 | // PIC16:#define __SIZE_WIDTH__ 16 |
Ken Dyck | 8241d73 | 2009-11-19 13:18:59 +0000 | [diff] [blame] | 511 | // PIC16:#define __UINTMAX_TYPE__ long unsigned int |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 512 | // PIC16:#define __USER_LABEL_PREFIX__ _ |
Chris Lattner | 9184646 | 2009-11-12 08:04:33 +0000 | [diff] [blame] | 513 | // PIC16:#define __WCHAR_MAX__ 32767 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 514 | // PIC16:#define __WCHAR_TYPE__ int |
Ken Dyck | 63e6561 | 2009-11-19 15:47:58 +0000 | [diff] [blame] | 515 | // PIC16:#define __WCHAR_WIDTH__ 16 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 516 | // PIC16:#define __WINT_TYPE__ int |
Ken Dyck | 7635d21 | 2009-11-19 14:16:57 +0000 | [diff] [blame] | 517 | // PIC16:#define __WINT_WIDTH__ 16 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 518 | // PIC16:#define __clang__ 1 |
| 519 | // PIC16:#define __llvm__ 1 |
| 520 | // PIC16:#define __pic16 1 |
| 521 | // PIC16:#define _address(Addr) __attribute__((section("Address="#Addr))) |
| 522 | // PIC16:#define _interrupt __attribute__((section("interrupt=0x4"))) __attribute__((used)) |
| 523 | // PIC16:#define _section(SectName) __attribute__((section(SectName))) |
| 524 | // PIC16:#define ram __attribute__((address_space(0))) |
| 525 | // PIC16:#define rom __attribute__((address_space(1))) |
| 526 | // |
Daniel Dunbar | 1f95e65 | 2009-11-17 06:37:03 +0000 | [diff] [blame] | 527 | // RUN: clang-cc -E -dM -ffreestanding -triple=powerpc64-none-none -fsigned-char=0 < /dev/null | FileCheck -check-prefix PPC64 %s |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 528 | // |
| 529 | // PPC64:#define _ARCH_PPC 1 |
| 530 | // PPC64:#define _ARCH_PPC64 1 |
| 531 | // PPC64:#define _BIG_ENDIAN 1 |
| 532 | // PPC64:#define _LP64 1 |
| 533 | // PPC64:#define __BIG_ENDIAN__ 1 |
| 534 | // PPC64:#define __CHAR_BIT__ 8 |
| 535 | // PPC64:#define __CHAR_UNSIGNED__ 1 |
| 536 | // PPC64:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324 |
| 537 | // PPC64:#define __DBL_DIG__ 15 |
| 538 | // PPC64:#define __DBL_EPSILON__ 2.2204460492503131e-16 |
| 539 | // PPC64:#define __DBL_HAS_DENORM__ 1 |
| 540 | // PPC64:#define __DBL_HAS_INFINITY__ 1 |
| 541 | // PPC64:#define __DBL_HAS_QUIET_NAN__ 1 |
| 542 | // PPC64:#define __DBL_MANT_DIG__ 53 |
| 543 | // PPC64:#define __DBL_MAX_10_EXP__ 308 |
| 544 | // PPC64:#define __DBL_MAX_EXP__ 1024 |
| 545 | // PPC64:#define __DBL_MAX__ 1.7976931348623157e+308 |
| 546 | // PPC64:#define __DBL_MIN_10_EXP__ (-307) |
| 547 | // PPC64:#define __DBL_MIN_EXP__ (-1021) |
| 548 | // PPC64:#define __DBL_MIN__ 2.2250738585072014e-308 |
| 549 | // PPC64:#define __DECIMAL_DIG__ 17 |
| 550 | // PPC64:#define __FLT_DENORM_MIN__ 1.40129846e-45F |
| 551 | // PPC64:#define __FLT_DIG__ 6 |
| 552 | // PPC64:#define __FLT_EPSILON__ 1.19209290e-7F |
| 553 | // PPC64:#define __FLT_EVAL_METHOD__ 0 |
| 554 | // PPC64:#define __FLT_HAS_DENORM__ 1 |
| 555 | // PPC64:#define __FLT_HAS_INFINITY__ 1 |
| 556 | // PPC64:#define __FLT_HAS_QUIET_NAN__ 1 |
| 557 | // PPC64:#define __FLT_MANT_DIG__ 24 |
| 558 | // PPC64:#define __FLT_MAX_10_EXP__ 38 |
| 559 | // PPC64:#define __FLT_MAX_EXP__ 128 |
| 560 | // PPC64:#define __FLT_MAX__ 3.40282347e+38F |
| 561 | // PPC64:#define __FLT_MIN_10_EXP__ (-37) |
| 562 | // PPC64:#define __FLT_MIN_EXP__ (-125) |
| 563 | // PPC64:#define __FLT_MIN__ 1.17549435e-38F |
| 564 | // PPC64:#define __FLT_RADIX__ 2 |
| 565 | // PPC64:#define __INT16_TYPE__ short |
| 566 | // PPC64:#define __INT32_TYPE__ int |
Ken Dyck | eef22ef | 2009-11-16 16:36:33 +0000 | [diff] [blame] | 567 | // PPC64:#define __INT64_C_SUFFIX__ L |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 568 | // PPC64:#define __INT64_TYPE__ long int |
| 569 | // PPC64:#define __INT8_TYPE__ char |
| 570 | // PPC64:#define __INTMAX_MAX__ 9223372036854775807L |
Ken Dyck | 8241d73 | 2009-11-19 13:18:59 +0000 | [diff] [blame] | 571 | // PPC64:#define __INTMAX_TYPE__ long int |
Ken Dyck | 186696b | 2009-11-18 13:52:57 +0000 | [diff] [blame] | 572 | // PPC64:#define __INTMAX_WIDTH__ 64 |
Ken Dyck | 8241d73 | 2009-11-19 13:18:59 +0000 | [diff] [blame] | 573 | // PPC64:#define __INTPTR_TYPE__ long int |
Ken Dyck | d896e1a | 2009-11-18 20:05:48 +0000 | [diff] [blame] | 574 | // PPC64:#define __INTPTR_WIDTH__ 64 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 575 | // PPC64:#define __INT_MAX__ 2147483647 |
| 576 | // PPC64:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324 |
| 577 | // PPC64:#define __LDBL_DIG__ 15 |
| 578 | // PPC64:#define __LDBL_EPSILON__ 2.2204460492503131e-16 |
| 579 | // PPC64:#define __LDBL_HAS_DENORM__ 1 |
| 580 | // PPC64:#define __LDBL_HAS_INFINITY__ 1 |
| 581 | // PPC64:#define __LDBL_HAS_QUIET_NAN__ 1 |
| 582 | // PPC64:#define __LDBL_MANT_DIG__ 53 |
| 583 | // PPC64:#define __LDBL_MAX_10_EXP__ 308 |
| 584 | // PPC64:#define __LDBL_MAX_EXP__ 1024 |
| 585 | // PPC64:#define __LDBL_MAX__ 1.7976931348623157e+308 |
| 586 | // PPC64:#define __LDBL_MIN_10_EXP__ (-307) |
| 587 | // PPC64:#define __LDBL_MIN_EXP__ (-1021) |
| 588 | // PPC64:#define __LDBL_MIN__ 2.2250738585072014e-308 |
| 589 | // PPC64:#define __LONG_DOUBLE_128__ 1 |
| 590 | // PPC64:#define __LONG_LONG_MAX__ 9223372036854775807LL |
| 591 | // PPC64:#define __LONG_MAX__ 9223372036854775807L |
| 592 | // PPC64:#define __LP64__ 1 |
| 593 | // PPC64:#define __NATURAL_ALIGNMENT__ 1 |
| 594 | // PPC64:#define __NO_INLINE__ 1 |
| 595 | // PPC64:#define __POINTER_WIDTH__ 64 |
| 596 | // PPC64:#define __POWERPC__ 1 |
Ken Dyck | 8241d73 | 2009-11-19 13:18:59 +0000 | [diff] [blame] | 597 | // PPC64:#define __PTRDIFF_TYPE__ long int |
Ken Dyck | d00c751 | 2009-11-19 12:21:52 +0000 | [diff] [blame] | 598 | // PPC64:#define __PTRDIFF_WIDTH__ 64 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 599 | // PPC64:#define __REGISTER_PREFIX__ |
| 600 | // PPC64:#define __SCHAR_MAX__ 127 |
| 601 | // PPC64:#define __SHRT_MAX__ 32767 |
Ken Dyck | 3e945c8 | 2009-11-22 15:41:04 +0000 | [diff] [blame^] | 602 | // PPC64:#define __SIG_ATOMIC_WIDTH__ 32 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 603 | // PPC64:#define __SIZE_TYPE__ long unsigned int |
Ken Dyck | 7484e5d | 2009-11-19 13:42:09 +0000 | [diff] [blame] | 604 | // PPC64:#define __SIZE_WIDTH__ 64 |
Ken Dyck | 8241d73 | 2009-11-19 13:18:59 +0000 | [diff] [blame] | 605 | // PPC64:#define __UINTMAX_TYPE__ long unsigned int |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 606 | // PPC64:#define __USER_LABEL_PREFIX__ _ |
| 607 | // PPC64:#define __WCHAR_MAX__ 2147483647 |
| 608 | // PPC64:#define __WCHAR_TYPE__ int |
Ken Dyck | 63e6561 | 2009-11-19 15:47:58 +0000 | [diff] [blame] | 609 | // PPC64:#define __WCHAR_WIDTH__ 32 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 610 | // PPC64:#define __WINT_TYPE__ int |
Ken Dyck | 7635d21 | 2009-11-19 14:16:57 +0000 | [diff] [blame] | 611 | // PPC64:#define __WINT_WIDTH__ 32 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 612 | // PPC64:#define __ppc64__ 1 |
| 613 | // PPC64:#define __ppc__ 1 |
| 614 | // |
Daniel Dunbar | 1f95e65 | 2009-11-17 06:37:03 +0000 | [diff] [blame] | 615 | // RUN: clang-cc -E -dM -ffreestanding -triple=powerpc-none-none -fsigned-char=0 < /dev/null | FileCheck -check-prefix PPC %s |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 616 | // |
| 617 | // PPC:#define _ARCH_PPC 1 |
| 618 | // PPC:#define _BIG_ENDIAN 1 |
| 619 | // PPC:#define __BIG_ENDIAN__ 1 |
| 620 | // PPC:#define __CHAR_BIT__ 8 |
| 621 | // PPC:#define __CHAR_UNSIGNED__ 1 |
| 622 | // PPC:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324 |
| 623 | // PPC:#define __DBL_DIG__ 15 |
| 624 | // PPC:#define __DBL_EPSILON__ 2.2204460492503131e-16 |
| 625 | // PPC:#define __DBL_HAS_DENORM__ 1 |
| 626 | // PPC:#define __DBL_HAS_INFINITY__ 1 |
| 627 | // PPC:#define __DBL_HAS_QUIET_NAN__ 1 |
| 628 | // PPC:#define __DBL_MANT_DIG__ 53 |
| 629 | // PPC:#define __DBL_MAX_10_EXP__ 308 |
| 630 | // PPC:#define __DBL_MAX_EXP__ 1024 |
| 631 | // PPC:#define __DBL_MAX__ 1.7976931348623157e+308 |
| 632 | // PPC:#define __DBL_MIN_10_EXP__ (-307) |
| 633 | // PPC:#define __DBL_MIN_EXP__ (-1021) |
| 634 | // PPC:#define __DBL_MIN__ 2.2250738585072014e-308 |
| 635 | // PPC:#define __DECIMAL_DIG__ 17 |
| 636 | // PPC:#define __FLT_DENORM_MIN__ 1.40129846e-45F |
| 637 | // PPC:#define __FLT_DIG__ 6 |
| 638 | // PPC:#define __FLT_EPSILON__ 1.19209290e-7F |
| 639 | // PPC:#define __FLT_EVAL_METHOD__ 0 |
| 640 | // PPC:#define __FLT_HAS_DENORM__ 1 |
| 641 | // PPC:#define __FLT_HAS_INFINITY__ 1 |
| 642 | // PPC:#define __FLT_HAS_QUIET_NAN__ 1 |
| 643 | // PPC:#define __FLT_MANT_DIG__ 24 |
| 644 | // PPC:#define __FLT_MAX_10_EXP__ 38 |
| 645 | // PPC:#define __FLT_MAX_EXP__ 128 |
| 646 | // PPC:#define __FLT_MAX__ 3.40282347e+38F |
| 647 | // PPC:#define __FLT_MIN_10_EXP__ (-37) |
| 648 | // PPC:#define __FLT_MIN_EXP__ (-125) |
| 649 | // PPC:#define __FLT_MIN__ 1.17549435e-38F |
| 650 | // PPC:#define __FLT_RADIX__ 2 |
| 651 | // PPC:#define __INT16_TYPE__ short |
| 652 | // PPC:#define __INT32_TYPE__ int |
Ken Dyck | eef22ef | 2009-11-16 16:36:33 +0000 | [diff] [blame] | 653 | // PPC:#define __INT64_C_SUFFIX__ LL |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 654 | // PPC:#define __INT64_TYPE__ long long int |
| 655 | // PPC:#define __INT8_TYPE__ char |
| 656 | // PPC:#define __INTMAX_MAX__ 9223372036854775807LL |
Ken Dyck | 8241d73 | 2009-11-19 13:18:59 +0000 | [diff] [blame] | 657 | // PPC:#define __INTMAX_TYPE__ long long int |
Ken Dyck | 186696b | 2009-11-18 13:52:57 +0000 | [diff] [blame] | 658 | // PPC:#define __INTMAX_WIDTH__ 64 |
Ken Dyck | 8241d73 | 2009-11-19 13:18:59 +0000 | [diff] [blame] | 659 | // PPC:#define __INTPTR_TYPE__ long int |
Ken Dyck | d896e1a | 2009-11-18 20:05:48 +0000 | [diff] [blame] | 660 | // PPC:#define __INTPTR_WIDTH__ 32 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 661 | // PPC:#define __INT_MAX__ 2147483647 |
| 662 | // PPC:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324 |
| 663 | // PPC:#define __LDBL_DIG__ 15 |
| 664 | // PPC:#define __LDBL_EPSILON__ 2.2204460492503131e-16 |
| 665 | // PPC:#define __LDBL_HAS_DENORM__ 1 |
| 666 | // PPC:#define __LDBL_HAS_INFINITY__ 1 |
| 667 | // PPC:#define __LDBL_HAS_QUIET_NAN__ 1 |
| 668 | // PPC:#define __LDBL_MANT_DIG__ 53 |
| 669 | // PPC:#define __LDBL_MAX_10_EXP__ 308 |
| 670 | // PPC:#define __LDBL_MAX_EXP__ 1024 |
| 671 | // PPC:#define __LDBL_MAX__ 1.7976931348623157e+308 |
| 672 | // PPC:#define __LDBL_MIN_10_EXP__ (-307) |
| 673 | // PPC:#define __LDBL_MIN_EXP__ (-1021) |
| 674 | // PPC:#define __LDBL_MIN__ 2.2250738585072014e-308 |
| 675 | // PPC:#define __LONG_DOUBLE_128__ 1 |
| 676 | // PPC:#define __LONG_LONG_MAX__ 9223372036854775807LL |
| 677 | // PPC:#define __LONG_MAX__ 2147483647L |
| 678 | // PPC:#define __NATURAL_ALIGNMENT__ 1 |
| 679 | // PPC:#define __NO_INLINE__ 1 |
| 680 | // PPC:#define __POINTER_WIDTH__ 32 |
| 681 | // PPC:#define __POWERPC__ 1 |
Ken Dyck | 8241d73 | 2009-11-19 13:18:59 +0000 | [diff] [blame] | 682 | // PPC:#define __PTRDIFF_TYPE__ long int |
Ken Dyck | d00c751 | 2009-11-19 12:21:52 +0000 | [diff] [blame] | 683 | // PPC:#define __PTRDIFF_WIDTH__ 32 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 684 | // PPC:#define __REGISTER_PREFIX__ |
| 685 | // PPC:#define __SCHAR_MAX__ 127 |
| 686 | // PPC:#define __SHRT_MAX__ 32767 |
Ken Dyck | 3e945c8 | 2009-11-22 15:41:04 +0000 | [diff] [blame^] | 687 | // PPC:#define __SIG_ATOMIC_WIDTH__ 32 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 688 | // PPC:#define __SIZE_TYPE__ long unsigned int |
Ken Dyck | 7484e5d | 2009-11-19 13:42:09 +0000 | [diff] [blame] | 689 | // PPC:#define __SIZE_WIDTH__ 32 |
Ken Dyck | 8241d73 | 2009-11-19 13:18:59 +0000 | [diff] [blame] | 690 | // PPC:#define __UINTMAX_TYPE__ long long unsigned int |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 691 | // PPC:#define __USER_LABEL_PREFIX__ _ |
| 692 | // PPC:#define __WCHAR_MAX__ 2147483647 |
| 693 | // PPC:#define __WCHAR_TYPE__ int |
Ken Dyck | 63e6561 | 2009-11-19 15:47:58 +0000 | [diff] [blame] | 694 | // PPC:#define __WCHAR_WIDTH__ 32 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 695 | // PPC:#define __WINT_TYPE__ int |
Ken Dyck | 7635d21 | 2009-11-19 14:16:57 +0000 | [diff] [blame] | 696 | // PPC:#define __WINT_WIDTH__ 32 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 697 | // PPC:#define __ppc__ 1 |
| 698 | // |
Daniel Dunbar | 1f95e65 | 2009-11-17 06:37:03 +0000 | [diff] [blame] | 699 | // RUN: clang-cc -E -dM -ffreestanding -triple=s390x-none-none -fsigned-char=0 < /dev/null | FileCheck -check-prefix S390X %s |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 700 | // |
| 701 | // S390X:#define __CHAR_BIT__ 8 |
| 702 | // S390X:#define __CHAR_UNSIGNED__ 1 |
| 703 | // S390X:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324 |
| 704 | // S390X:#define __DBL_DIG__ 15 |
| 705 | // S390X:#define __DBL_EPSILON__ 2.2204460492503131e-16 |
| 706 | // S390X:#define __DBL_HAS_DENORM__ 1 |
| 707 | // S390X:#define __DBL_HAS_INFINITY__ 1 |
| 708 | // S390X:#define __DBL_HAS_QUIET_NAN__ 1 |
| 709 | // S390X:#define __DBL_MANT_DIG__ 53 |
| 710 | // S390X:#define __DBL_MAX_10_EXP__ 308 |
| 711 | // S390X:#define __DBL_MAX_EXP__ 1024 |
| 712 | // S390X:#define __DBL_MAX__ 1.7976931348623157e+308 |
| 713 | // S390X:#define __DBL_MIN_10_EXP__ (-307) |
| 714 | // S390X:#define __DBL_MIN_EXP__ (-1021) |
| 715 | // S390X:#define __DBL_MIN__ 2.2250738585072014e-308 |
| 716 | // S390X:#define __DECIMAL_DIG__ 17 |
| 717 | // S390X:#define __FLT_DENORM_MIN__ 1.40129846e-45F |
| 718 | // S390X:#define __FLT_DIG__ 6 |
| 719 | // S390X:#define __FLT_EPSILON__ 1.19209290e-7F |
| 720 | // S390X:#define __FLT_EVAL_METHOD__ 0 |
| 721 | // S390X:#define __FLT_HAS_DENORM__ 1 |
| 722 | // S390X:#define __FLT_HAS_INFINITY__ 1 |
| 723 | // S390X:#define __FLT_HAS_QUIET_NAN__ 1 |
| 724 | // S390X:#define __FLT_MANT_DIG__ 24 |
| 725 | // S390X:#define __FLT_MAX_10_EXP__ 38 |
| 726 | // S390X:#define __FLT_MAX_EXP__ 128 |
| 727 | // S390X:#define __FLT_MAX__ 3.40282347e+38F |
| 728 | // S390X:#define __FLT_MIN_10_EXP__ (-37) |
| 729 | // S390X:#define __FLT_MIN_EXP__ (-125) |
| 730 | // S390X:#define __FLT_MIN__ 1.17549435e-38F |
| 731 | // S390X:#define __FLT_RADIX__ 2 |
| 732 | // S390X:#define __INT16_TYPE__ short |
| 733 | // S390X:#define __INT32_TYPE__ int |
Ken Dyck | eef22ef | 2009-11-16 16:36:33 +0000 | [diff] [blame] | 734 | // S390X:#define __INT64_C_SUFFIX__ L |
Chris Lattner | dcdd2a0 | 2009-11-12 08:08:27 +0000 | [diff] [blame] | 735 | // S390X:#define __INT64_TYPE__ long int |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 736 | // S390X:#define __INT8_TYPE__ char |
| 737 | // S390X:#define __INTMAX_MAX__ 9223372036854775807LL |
Ken Dyck | 8241d73 | 2009-11-19 13:18:59 +0000 | [diff] [blame] | 738 | // S390X:#define __INTMAX_TYPE__ long long int |
Ken Dyck | 186696b | 2009-11-18 13:52:57 +0000 | [diff] [blame] | 739 | // S390X:#define __INTMAX_WIDTH__ 64 |
Ken Dyck | 8241d73 | 2009-11-19 13:18:59 +0000 | [diff] [blame] | 740 | // S390X:#define __INTPTR_TYPE__ long int |
Ken Dyck | d896e1a | 2009-11-18 20:05:48 +0000 | [diff] [blame] | 741 | // S390X:#define __INTPTR_WIDTH__ 64 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 742 | // S390X:#define __INT_MAX__ 2147483647 |
| 743 | // S390X:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324 |
| 744 | // S390X:#define __LDBL_DIG__ 15 |
| 745 | // S390X:#define __LDBL_EPSILON__ 2.2204460492503131e-16 |
| 746 | // S390X:#define __LDBL_HAS_DENORM__ 1 |
| 747 | // S390X:#define __LDBL_HAS_INFINITY__ 1 |
| 748 | // S390X:#define __LDBL_HAS_QUIET_NAN__ 1 |
| 749 | // S390X:#define __LDBL_MANT_DIG__ 53 |
| 750 | // S390X:#define __LDBL_MAX_10_EXP__ 308 |
| 751 | // S390X:#define __LDBL_MAX_EXP__ 1024 |
| 752 | // S390X:#define __LDBL_MAX__ 1.7976931348623157e+308 |
| 753 | // S390X:#define __LDBL_MIN_10_EXP__ (-307) |
| 754 | // S390X:#define __LDBL_MIN_EXP__ (-1021) |
| 755 | // S390X:#define __LDBL_MIN__ 2.2250738585072014e-308 |
| 756 | // S390X:#define __LONG_LONG_MAX__ 9223372036854775807LL |
| 757 | // S390X:#define __LONG_MAX__ 9223372036854775807L |
| 758 | // S390X:#define __NO_INLINE__ 1 |
| 759 | // S390X:#define __POINTER_WIDTH__ 64 |
Ken Dyck | 8241d73 | 2009-11-19 13:18:59 +0000 | [diff] [blame] | 760 | // S390X:#define __PTRDIFF_TYPE__ long int |
Ken Dyck | d00c751 | 2009-11-19 12:21:52 +0000 | [diff] [blame] | 761 | // S390X:#define __PTRDIFF_WIDTH__ 64 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 762 | // S390X:#define __SCHAR_MAX__ 127 |
| 763 | // S390X:#define __SHRT_MAX__ 32767 |
Ken Dyck | 3e945c8 | 2009-11-22 15:41:04 +0000 | [diff] [blame^] | 764 | // S390X:#define __SIG_ATOMIC_WIDTH__ 32 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 765 | // S390X:#define __SIZE_TYPE__ long unsigned int |
Ken Dyck | 7484e5d | 2009-11-19 13:42:09 +0000 | [diff] [blame] | 766 | // S390X:#define __SIZE_WIDTH__ 64 |
Ken Dyck | 8241d73 | 2009-11-19 13:18:59 +0000 | [diff] [blame] | 767 | // S390X:#define __UINTMAX_TYPE__ long long unsigned int |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 768 | // S390X:#define __USER_LABEL_PREFIX__ _ |
| 769 | // S390X:#define __WCHAR_MAX__ 2147483647 |
| 770 | // S390X:#define __WCHAR_TYPE__ int |
Ken Dyck | 63e6561 | 2009-11-19 15:47:58 +0000 | [diff] [blame] | 771 | // S390X:#define __WCHAR_WIDTH__ 32 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 772 | // S390X:#define __WINT_TYPE__ int |
Ken Dyck | 7635d21 | 2009-11-19 14:16:57 +0000 | [diff] [blame] | 773 | // S390X:#define __WINT_WIDTH__ 32 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 774 | // S390X:#define __s390__ 1 |
| 775 | // S390X:#define __s390x__ 1 |
| 776 | // |
Daniel Dunbar | 4fcfde4 | 2009-11-08 01:45:36 +0000 | [diff] [blame] | 777 | // RUN: clang-cc -E -dM -ffreestanding -triple=sparc-none-none < /dev/null | FileCheck -check-prefix SPARC %s |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 778 | // |
| 779 | // SPARC:#define __CHAR_BIT__ 8 |
| 780 | // SPARC:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324 |
| 781 | // SPARC:#define __DBL_DIG__ 15 |
| 782 | // SPARC:#define __DBL_EPSILON__ 2.2204460492503131e-16 |
| 783 | // SPARC:#define __DBL_HAS_DENORM__ 1 |
| 784 | // SPARC:#define __DBL_HAS_INFINITY__ 1 |
| 785 | // SPARC:#define __DBL_HAS_QUIET_NAN__ 1 |
| 786 | // SPARC:#define __DBL_MANT_DIG__ 53 |
| 787 | // SPARC:#define __DBL_MAX_10_EXP__ 308 |
| 788 | // SPARC:#define __DBL_MAX_EXP__ 1024 |
| 789 | // SPARC:#define __DBL_MAX__ 1.7976931348623157e+308 |
| 790 | // SPARC:#define __DBL_MIN_10_EXP__ (-307) |
| 791 | // SPARC:#define __DBL_MIN_EXP__ (-1021) |
| 792 | // SPARC:#define __DBL_MIN__ 2.2250738585072014e-308 |
| 793 | // SPARC:#define __DECIMAL_DIG__ 17 |
| 794 | // SPARC:#define __FLT_DENORM_MIN__ 1.40129846e-45F |
| 795 | // SPARC:#define __FLT_DIG__ 6 |
| 796 | // SPARC:#define __FLT_EPSILON__ 1.19209290e-7F |
| 797 | // SPARC:#define __FLT_EVAL_METHOD__ 0 |
| 798 | // SPARC:#define __FLT_HAS_DENORM__ 1 |
| 799 | // SPARC:#define __FLT_HAS_INFINITY__ 1 |
| 800 | // SPARC:#define __FLT_HAS_QUIET_NAN__ 1 |
| 801 | // SPARC:#define __FLT_MANT_DIG__ 24 |
| 802 | // SPARC:#define __FLT_MAX_10_EXP__ 38 |
| 803 | // SPARC:#define __FLT_MAX_EXP__ 128 |
| 804 | // SPARC:#define __FLT_MAX__ 3.40282347e+38F |
| 805 | // SPARC:#define __FLT_MIN_10_EXP__ (-37) |
| 806 | // SPARC:#define __FLT_MIN_EXP__ (-125) |
| 807 | // SPARC:#define __FLT_MIN__ 1.17549435e-38F |
| 808 | // SPARC:#define __FLT_RADIX__ 2 |
| 809 | // SPARC:#define __INT16_TYPE__ short |
| 810 | // SPARC:#define __INT32_TYPE__ int |
Ken Dyck | eef22ef | 2009-11-16 16:36:33 +0000 | [diff] [blame] | 811 | // SPARC:#define __INT64_C_SUFFIX__ LL |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 812 | // SPARC:#define __INT64_TYPE__ long long int |
| 813 | // SPARC:#define __INT8_TYPE__ char |
| 814 | // SPARC:#define __INTMAX_MAX__ 9223372036854775807LL |
Ken Dyck | 8241d73 | 2009-11-19 13:18:59 +0000 | [diff] [blame] | 815 | // SPARC:#define __INTMAX_TYPE__ long long int |
Ken Dyck | 186696b | 2009-11-18 13:52:57 +0000 | [diff] [blame] | 816 | // SPARC:#define __INTMAX_WIDTH__ 64 |
Ken Dyck | 8241d73 | 2009-11-19 13:18:59 +0000 | [diff] [blame] | 817 | // SPARC:#define __INTPTR_TYPE__ long int |
Ken Dyck | d896e1a | 2009-11-18 20:05:48 +0000 | [diff] [blame] | 818 | // SPARC:#define __INTPTR_WIDTH__ 32 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 819 | // SPARC:#define __INT_MAX__ 2147483647 |
| 820 | // SPARC:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324 |
| 821 | // SPARC:#define __LDBL_DIG__ 15 |
| 822 | // SPARC:#define __LDBL_EPSILON__ 2.2204460492503131e-16 |
| 823 | // SPARC:#define __LDBL_HAS_DENORM__ 1 |
| 824 | // SPARC:#define __LDBL_HAS_INFINITY__ 1 |
| 825 | // SPARC:#define __LDBL_HAS_QUIET_NAN__ 1 |
| 826 | // SPARC:#define __LDBL_MANT_DIG__ 53 |
| 827 | // SPARC:#define __LDBL_MAX_10_EXP__ 308 |
| 828 | // SPARC:#define __LDBL_MAX_EXP__ 1024 |
| 829 | // SPARC:#define __LDBL_MAX__ 1.7976931348623157e+308 |
| 830 | // SPARC:#define __LDBL_MIN_10_EXP__ (-307) |
| 831 | // SPARC:#define __LDBL_MIN_EXP__ (-1021) |
| 832 | // SPARC:#define __LDBL_MIN__ 2.2250738585072014e-308 |
| 833 | // SPARC:#define __LONG_LONG_MAX__ 9223372036854775807LL |
| 834 | // SPARC:#define __LONG_MAX__ 2147483647L |
| 835 | // SPARC:#define __NO_INLINE__ 1 |
| 836 | // SPARC:#define __POINTER_WIDTH__ 32 |
Ken Dyck | 8241d73 | 2009-11-19 13:18:59 +0000 | [diff] [blame] | 837 | // SPARC:#define __PTRDIFF_TYPE__ long int |
Ken Dyck | d00c751 | 2009-11-19 12:21:52 +0000 | [diff] [blame] | 838 | // SPARC:#define __PTRDIFF_WIDTH__ 32 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 839 | // SPARC:#define __REGISTER_PREFIX__ |
| 840 | // SPARC:#define __SCHAR_MAX__ 127 |
| 841 | // SPARC:#define __SHRT_MAX__ 32767 |
Ken Dyck | 3e945c8 | 2009-11-22 15:41:04 +0000 | [diff] [blame^] | 842 | // SPARC:#define __SIG_ATOMIC_WIDTH__ 32 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 843 | // SPARC:#define __SIZE_TYPE__ long unsigned int |
Ken Dyck | 7484e5d | 2009-11-19 13:42:09 +0000 | [diff] [blame] | 844 | // SPARC:#define __SIZE_WIDTH__ 32 |
Ken Dyck | 8241d73 | 2009-11-19 13:18:59 +0000 | [diff] [blame] | 845 | // SPARC:#define __UINTMAX_TYPE__ long long unsigned int |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 846 | // SPARC:#define __USER_LABEL_PREFIX__ _ |
| 847 | // SPARC:#define __VERSION__ "4.2.1 Compatible Clang Compiler" |
| 848 | // SPARC:#define __WCHAR_MAX__ 2147483647 |
| 849 | // SPARC:#define __WCHAR_TYPE__ int |
Ken Dyck | 63e6561 | 2009-11-19 15:47:58 +0000 | [diff] [blame] | 850 | // SPARC:#define __WCHAR_WIDTH__ 32 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 851 | // SPARC:#define __WINT_TYPE__ int |
Ken Dyck | 7635d21 | 2009-11-19 14:16:57 +0000 | [diff] [blame] | 852 | // SPARC:#define __WINT_WIDTH__ 32 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 853 | // SPARC:#define __sparc 1 |
| 854 | // SPARC:#define __sparc__ 1 |
| 855 | // SPARC:#define __sparcv8 1 |
| 856 | // SPARC:#define sparc 1 |
| 857 | // |
Daniel Dunbar | 4fcfde4 | 2009-11-08 01:45:36 +0000 | [diff] [blame] | 858 | // RUN: clang-cc -E -dM -ffreestanding -triple=tce-none-none < /dev/null | FileCheck -check-prefix TCE %s |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 859 | // |
| 860 | // TCE:#define __CHAR_BIT__ 8 |
| 861 | // TCE:#define __DBL_DENORM_MIN__ 1.40129846e-45F |
| 862 | // TCE:#define __DBL_DIG__ 6 |
| 863 | // TCE:#define __DBL_EPSILON__ 1.19209290e-7F |
| 864 | // TCE:#define __DBL_HAS_DENORM__ 1 |
| 865 | // TCE:#define __DBL_HAS_INFINITY__ 1 |
| 866 | // TCE:#define __DBL_HAS_QUIET_NAN__ 1 |
| 867 | // TCE:#define __DBL_MANT_DIG__ 24 |
| 868 | // TCE:#define __DBL_MAX_10_EXP__ 38 |
| 869 | // TCE:#define __DBL_MAX_EXP__ 128 |
| 870 | // TCE:#define __DBL_MAX__ 3.40282347e+38F |
| 871 | // TCE:#define __DBL_MIN_10_EXP__ (-37) |
| 872 | // TCE:#define __DBL_MIN_EXP__ (-125) |
| 873 | // TCE:#define __DBL_MIN__ 1.17549435e-38F |
| 874 | // TCE:#define __DECIMAL_DIG__ -1 |
| 875 | // TCE:#define __FLT_DENORM_MIN__ 1.40129846e-45F |
| 876 | // TCE:#define __FLT_DIG__ 6 |
| 877 | // TCE:#define __FLT_EPSILON__ 1.19209290e-7F |
| 878 | // TCE:#define __FLT_EVAL_METHOD__ 0 |
| 879 | // TCE:#define __FLT_HAS_DENORM__ 1 |
| 880 | // TCE:#define __FLT_HAS_INFINITY__ 1 |
| 881 | // TCE:#define __FLT_HAS_QUIET_NAN__ 1 |
| 882 | // TCE:#define __FLT_MANT_DIG__ 24 |
| 883 | // TCE:#define __FLT_MAX_10_EXP__ 38 |
| 884 | // TCE:#define __FLT_MAX_EXP__ 128 |
| 885 | // TCE:#define __FLT_MAX__ 3.40282347e+38F |
| 886 | // TCE:#define __FLT_MIN_10_EXP__ (-37) |
| 887 | // TCE:#define __FLT_MIN_EXP__ (-125) |
| 888 | // TCE:#define __FLT_MIN__ 1.17549435e-38F |
| 889 | // TCE:#define __FLT_RADIX__ 2 |
| 890 | // TCE:#define __INT16_TYPE__ short |
| 891 | // TCE:#define __INT32_TYPE__ int |
| 892 | // TCE:#define __INT8_TYPE__ char |
| 893 | // TCE:#define __INTMAX_MAX__ 2147483647L |
Ken Dyck | 8241d73 | 2009-11-19 13:18:59 +0000 | [diff] [blame] | 894 | // TCE:#define __INTMAX_TYPE__ long int |
Ken Dyck | 186696b | 2009-11-18 13:52:57 +0000 | [diff] [blame] | 895 | // TCE:#define __INTMAX_WIDTH__ 32 |
Ken Dyck | 8241d73 | 2009-11-19 13:18:59 +0000 | [diff] [blame] | 896 | // TCE:#define __INTPTR_TYPE__ int |
Ken Dyck | d896e1a | 2009-11-18 20:05:48 +0000 | [diff] [blame] | 897 | // TCE:#define __INTPTR_WIDTH__ 32 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 898 | // TCE:#define __INT_MAX__ 2147483647 |
| 899 | // TCE:#define __LDBL_DENORM_MIN__ 1.40129846e-45F |
| 900 | // TCE:#define __LDBL_DIG__ 6 |
| 901 | // TCE:#define __LDBL_EPSILON__ 1.19209290e-7F |
| 902 | // TCE:#define __LDBL_HAS_DENORM__ 1 |
| 903 | // TCE:#define __LDBL_HAS_INFINITY__ 1 |
| 904 | // TCE:#define __LDBL_HAS_QUIET_NAN__ 1 |
| 905 | // TCE:#define __LDBL_MANT_DIG__ 24 |
| 906 | // TCE:#define __LDBL_MAX_10_EXP__ 38 |
| 907 | // TCE:#define __LDBL_MAX_EXP__ 128 |
| 908 | // TCE:#define __LDBL_MAX__ 3.40282347e+38F |
| 909 | // TCE:#define __LDBL_MIN_10_EXP__ (-37) |
| 910 | // TCE:#define __LDBL_MIN_EXP__ (-125) |
| 911 | // TCE:#define __LDBL_MIN__ 1.17549435e-38F |
| 912 | // TCE:#define __LONG_LONG_MAX__ 2147483647LL |
| 913 | // TCE:#define __LONG_MAX__ 2147483647L |
| 914 | // TCE:#define __NO_INLINE__ 1 |
| 915 | // TCE:#define __POINTER_WIDTH__ 32 |
Ken Dyck | 8241d73 | 2009-11-19 13:18:59 +0000 | [diff] [blame] | 916 | // TCE:#define __PTRDIFF_TYPE__ int |
Ken Dyck | d00c751 | 2009-11-19 12:21:52 +0000 | [diff] [blame] | 917 | // TCE:#define __PTRDIFF_WIDTH__ 32 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 918 | // TCE:#define __SCHAR_MAX__ 127 |
| 919 | // TCE:#define __SHRT_MAX__ 32767 |
Ken Dyck | 3e945c8 | 2009-11-22 15:41:04 +0000 | [diff] [blame^] | 920 | // TCE:#define __SIG_ATOMIC_WIDTH__ 32 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 921 | // TCE:#define __SIZE_TYPE__ unsigned int |
Ken Dyck | 7484e5d | 2009-11-19 13:42:09 +0000 | [diff] [blame] | 922 | // TCE:#define __SIZE_WIDTH__ 32 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 923 | // TCE:#define __TCE_V1__ 1 |
| 924 | // TCE:#define __TCE__ 1 |
Ken Dyck | 8241d73 | 2009-11-19 13:18:59 +0000 | [diff] [blame] | 925 | // TCE:#define __UINTMAX_TYPE__ long unsigned int |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 926 | // TCE:#define __USER_LABEL_PREFIX__ _ |
| 927 | // TCE:#define __WCHAR_MAX__ 2147483647 |
| 928 | // TCE:#define __WCHAR_TYPE__ int |
Ken Dyck | 63e6561 | 2009-11-19 15:47:58 +0000 | [diff] [blame] | 929 | // TCE:#define __WCHAR_WIDTH__ 32 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 930 | // TCE:#define __WINT_TYPE__ int |
Ken Dyck | 7635d21 | 2009-11-19 14:16:57 +0000 | [diff] [blame] | 931 | // TCE:#define __WINT_WIDTH__ 32 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 932 | // TCE:#define __tce 1 |
| 933 | // TCE:#define __tce__ 1 |
| 934 | // TCE:#define tce 1 |
| 935 | // |
Daniel Dunbar | 4fcfde4 | 2009-11-08 01:45:36 +0000 | [diff] [blame] | 936 | // RUN: clang-cc -E -dM -ffreestanding -triple=x86_64-none-none < /dev/null | FileCheck -check-prefix X86_64 %s |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 937 | // |
| 938 | // X86_64:#define _LP64 1 |
| 939 | // X86_64:#define __CHAR_BIT__ 8 |
| 940 | // X86_64:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324 |
| 941 | // X86_64:#define __DBL_DIG__ 15 |
| 942 | // X86_64:#define __DBL_EPSILON__ 2.2204460492503131e-16 |
| 943 | // X86_64:#define __DBL_HAS_DENORM__ 1 |
| 944 | // X86_64:#define __DBL_HAS_INFINITY__ 1 |
| 945 | // X86_64:#define __DBL_HAS_QUIET_NAN__ 1 |
| 946 | // X86_64:#define __DBL_MANT_DIG__ 53 |
| 947 | // X86_64:#define __DBL_MAX_10_EXP__ 308 |
| 948 | // X86_64:#define __DBL_MAX_EXP__ 1024 |
| 949 | // X86_64:#define __DBL_MAX__ 1.7976931348623157e+308 |
| 950 | // X86_64:#define __DBL_MIN_10_EXP__ (-307) |
| 951 | // X86_64:#define __DBL_MIN_EXP__ (-1021) |
| 952 | // X86_64:#define __DBL_MIN__ 2.2250738585072014e-308 |
| 953 | // X86_64:#define __DECIMAL_DIG__ 21 |
| 954 | // X86_64:#define __FLT_DENORM_MIN__ 1.40129846e-45F |
| 955 | // X86_64:#define __FLT_DIG__ 6 |
| 956 | // X86_64:#define __FLT_EPSILON__ 1.19209290e-7F |
| 957 | // X86_64:#define __FLT_EVAL_METHOD__ 0 |
| 958 | // X86_64:#define __FLT_HAS_DENORM__ 1 |
| 959 | // X86_64:#define __FLT_HAS_INFINITY__ 1 |
| 960 | // X86_64:#define __FLT_HAS_QUIET_NAN__ 1 |
| 961 | // X86_64:#define __FLT_MANT_DIG__ 24 |
| 962 | // X86_64:#define __FLT_MAX_10_EXP__ 38 |
| 963 | // X86_64:#define __FLT_MAX_EXP__ 128 |
| 964 | // X86_64:#define __FLT_MAX__ 3.40282347e+38F |
| 965 | // X86_64:#define __FLT_MIN_10_EXP__ (-37) |
| 966 | // X86_64:#define __FLT_MIN_EXP__ (-125) |
| 967 | // X86_64:#define __FLT_MIN__ 1.17549435e-38F |
| 968 | // X86_64:#define __FLT_RADIX__ 2 |
| 969 | // X86_64:#define __INT16_TYPE__ short |
| 970 | // X86_64:#define __INT32_TYPE__ int |
Ken Dyck | eef22ef | 2009-11-16 16:36:33 +0000 | [diff] [blame] | 971 | // X86_64:#define __INT64_C_SUFFIX__ L |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 972 | // X86_64:#define __INT64_TYPE__ long int |
| 973 | // X86_64:#define __INT8_TYPE__ char |
| 974 | // X86_64:#define __INTMAX_MAX__ 9223372036854775807L |
Ken Dyck | 8241d73 | 2009-11-19 13:18:59 +0000 | [diff] [blame] | 975 | // X86_64:#define __INTMAX_TYPE__ long int |
Ken Dyck | 186696b | 2009-11-18 13:52:57 +0000 | [diff] [blame] | 976 | // X86_64:#define __INTMAX_WIDTH__ 64 |
Ken Dyck | 8241d73 | 2009-11-19 13:18:59 +0000 | [diff] [blame] | 977 | // X86_64:#define __INTPTR_TYPE__ long int |
Ken Dyck | d896e1a | 2009-11-18 20:05:48 +0000 | [diff] [blame] | 978 | // X86_64:#define __INTPTR_WIDTH__ 64 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 979 | // X86_64:#define __INT_MAX__ 2147483647 |
| 980 | // X86_64:#define __LDBL_DENORM_MIN__ 3.64519953188247460253e-4951L |
| 981 | // X86_64:#define __LDBL_DIG__ 18 |
| 982 | // X86_64:#define __LDBL_EPSILON__ 1.08420217248550443401e-19L |
| 983 | // X86_64:#define __LDBL_HAS_DENORM__ 1 |
| 984 | // X86_64:#define __LDBL_HAS_INFINITY__ 1 |
| 985 | // X86_64:#define __LDBL_HAS_QUIET_NAN__ 1 |
| 986 | // X86_64:#define __LDBL_MANT_DIG__ 64 |
| 987 | // X86_64:#define __LDBL_MAX_10_EXP__ 4932 |
| 988 | // X86_64:#define __LDBL_MAX_EXP__ 16384 |
| 989 | // X86_64:#define __LDBL_MAX__ 1.18973149535723176502e+4932L |
| 990 | // X86_64:#define __LDBL_MIN_10_EXP__ (-4931) |
| 991 | // X86_64:#define __LDBL_MIN_EXP__ (-16381) |
| 992 | // X86_64:#define __LDBL_MIN__ 3.36210314311209350626e-4932L |
| 993 | // X86_64:#define __LITTLE_ENDIAN__ 1 |
| 994 | // X86_64:#define __LONG_LONG_MAX__ 9223372036854775807LL |
| 995 | // X86_64:#define __LONG_MAX__ 9223372036854775807L |
| 996 | // X86_64:#define __LP64__ 1 |
| 997 | // X86_64:#define __MMX__ 1 |
| 998 | // X86_64:#define __NO_INLINE__ 1 |
| 999 | // X86_64:#define __NO_MATH_INLINES 1 |
| 1000 | // X86_64:#define __POINTER_WIDTH__ 64 |
Ken Dyck | 8241d73 | 2009-11-19 13:18:59 +0000 | [diff] [blame] | 1001 | // X86_64:#define __PTRDIFF_TYPE__ long int |
Ken Dyck | d00c751 | 2009-11-19 12:21:52 +0000 | [diff] [blame] | 1002 | // X86_64:#define __PTRDIFF_WIDTH__ 64 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 1003 | // X86_64:#define __REGISTER_PREFIX__ |
| 1004 | // X86_64:#define __SCHAR_MAX__ 127 |
| 1005 | // X86_64:#define __SHRT_MAX__ 32767 |
Ken Dyck | 3e945c8 | 2009-11-22 15:41:04 +0000 | [diff] [blame^] | 1006 | // X86_64:#define __SIG_ATOMIC_WIDTH__ 32 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 1007 | // X86_64:#define __SIZE_TYPE__ long unsigned int |
Ken Dyck | 7484e5d | 2009-11-19 13:42:09 +0000 | [diff] [blame] | 1008 | // X86_64:#define __SIZE_WIDTH__ 64 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 1009 | // X86_64:#define __SSE2_MATH__ 1 |
| 1010 | // X86_64:#define __SSE2__ 1 |
| 1011 | // X86_64:#define __SSE_MATH__ 1 |
| 1012 | // X86_64:#define __SSE__ 1 |
Ken Dyck | 8241d73 | 2009-11-19 13:18:59 +0000 | [diff] [blame] | 1013 | // X86_64:#define __UINTMAX_TYPE__ long unsigned int |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 1014 | // X86_64:#define __USER_LABEL_PREFIX__ _ |
| 1015 | // X86_64:#define __WCHAR_MAX__ 2147483647 |
| 1016 | // X86_64:#define __WCHAR_TYPE__ int |
Ken Dyck | 63e6561 | 2009-11-19 15:47:58 +0000 | [diff] [blame] | 1017 | // X86_64:#define __WCHAR_WIDTH__ 32 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 1018 | // X86_64:#define __WINT_TYPE__ int |
Ken Dyck | 7635d21 | 2009-11-19 14:16:57 +0000 | [diff] [blame] | 1019 | // X86_64:#define __WINT_WIDTH__ 32 |
Chris Lattner | bceaf86 | 2009-10-29 04:55:36 +0000 | [diff] [blame] | 1020 | // X86_64:#define __amd64 1 |
| 1021 | // X86_64:#define __amd64__ 1 |
| 1022 | // X86_64:#define __nocona 1 |
| 1023 | // X86_64:#define __nocona__ 1 |
| 1024 | // X86_64:#define __tune_nocona__ 1 |
| 1025 | // X86_64:#define __x86_64 1 |
| 1026 | // X86_64:#define __x86_64__ 1 |
| 1027 | // |