1 // 2 // RUN: %clang_cc1 -E -dM -ffreestanding -fgnuc-version=4.2.1 -triple=mips-none-none < /dev/null | FileCheck -match-full-lines -check-prefix MIPS32BE -check-prefix MIPS32BE-C %s 3 // RUN: %clang_cc1 -x c++ -E -dM -ffreestanding -fgnuc-version=4.2.1 -triple=mips-none-none < /dev/null | FileCheck -match-full-lines -check-prefix MIPS32BE -check-prefix MIPS32BE-CXX %s 4 // 5 // MIPS32BE:#define MIPSEB 1 6 // MIPS32BE:#define _ABIO32 1 7 // MIPS32BE-NOT:#define _LP64 8 // MIPS32BE:#define _MIPSEB 1 9 // MIPS32BE:#define _MIPS_ARCH "mips32r2" 10 // MIPS32BE:#define _MIPS_ARCH_MIPS32R2 1 11 // MIPS32BE:#define _MIPS_FPSET 16 12 // MIPS32BE:#define _MIPS_SIM _ABIO32 13 // MIPS32BE:#define _MIPS_SZINT 32 14 // MIPS32BE:#define _MIPS_SZLONG 32 15 // MIPS32BE:#define _MIPS_SZPTR 32 16 // MIPS32BE:#define __BIGGEST_ALIGNMENT__ 8 17 // MIPS32BE:#define __BIG_ENDIAN__ 1 18 // MIPS32BE:#define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__ 19 // MIPS32BE:#define __CHAR16_TYPE__ unsigned short 20 // MIPS32BE:#define __CHAR32_TYPE__ unsigned int 21 // MIPS32BE:#define __CHAR_BIT__ 8 22 // MIPS32BE:#define __CONSTANT_CFSTRINGS__ 1 23 // MIPS32BE:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324 24 // MIPS32BE:#define __DBL_DIG__ 15 25 // MIPS32BE:#define __DBL_EPSILON__ 2.2204460492503131e-16 26 // MIPS32BE:#define __DBL_HAS_DENORM__ 1 27 // MIPS32BE:#define __DBL_HAS_INFINITY__ 1 28 // MIPS32BE:#define __DBL_HAS_QUIET_NAN__ 1 29 // MIPS32BE:#define __DBL_MANT_DIG__ 53 30 // MIPS32BE:#define __DBL_MAX_10_EXP__ 308 31 // MIPS32BE:#define __DBL_MAX_EXP__ 1024 32 // MIPS32BE:#define __DBL_MAX__ 1.7976931348623157e+308 33 // MIPS32BE:#define __DBL_MIN_10_EXP__ (-307) 34 // MIPS32BE:#define __DBL_MIN_EXP__ (-1021) 35 // MIPS32BE:#define __DBL_MIN__ 2.2250738585072014e-308 36 // MIPS32BE:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__ 37 // MIPS32BE:#define __FLT_DENORM_MIN__ 1.40129846e-45F 38 // MIPS32BE:#define __FLT_DIG__ 6 39 // MIPS32BE:#define __FLT_EPSILON__ 1.19209290e-7F 40 // MIPS32BE:#define __FLT_HAS_DENORM__ 1 41 // MIPS32BE:#define __FLT_HAS_INFINITY__ 1 42 // MIPS32BE:#define __FLT_HAS_QUIET_NAN__ 1 43 // MIPS32BE:#define __FLT_MANT_DIG__ 24 44 // MIPS32BE:#define __FLT_MAX_10_EXP__ 38 45 // MIPS32BE:#define __FLT_MAX_EXP__ 128 46 // MIPS32BE:#define __FLT_MAX__ 3.40282347e+38F 47 // MIPS32BE:#define __FLT_MIN_10_EXP__ (-37) 48 // MIPS32BE:#define __FLT_MIN_EXP__ (-125) 49 // MIPS32BE:#define __FLT_MIN__ 1.17549435e-38F 50 // MIPS32BE:#define __FLT_RADIX__ 2 51 // MIPS32BE:#define __INT16_C_SUFFIX__ 52 // MIPS32BE:#define __INT16_FMTd__ "hd" 53 // MIPS32BE:#define __INT16_FMTi__ "hi" 54 // MIPS32BE:#define __INT16_MAX__ 32767 55 // MIPS32BE:#define __INT16_TYPE__ short 56 // MIPS32BE:#define __INT32_C_SUFFIX__ 57 // MIPS32BE:#define __INT32_FMTd__ "d" 58 // MIPS32BE:#define __INT32_FMTi__ "i" 59 // MIPS32BE:#define __INT32_MAX__ 2147483647 60 // MIPS32BE:#define __INT32_TYPE__ int 61 // MIPS32BE:#define __INT64_C_SUFFIX__ LL 62 // MIPS32BE:#define __INT64_FMTd__ "lld" 63 // MIPS32BE:#define __INT64_FMTi__ "lli" 64 // MIPS32BE:#define __INT64_MAX__ 9223372036854775807LL 65 // MIPS32BE:#define __INT64_TYPE__ long long int 66 // MIPS32BE:#define __INT8_C_SUFFIX__ 67 // MIPS32BE:#define __INT8_FMTd__ "hhd" 68 // MIPS32BE:#define __INT8_FMTi__ "hhi" 69 // MIPS32BE:#define __INT8_MAX__ 127 70 // MIPS32BE:#define __INT8_TYPE__ signed char 71 // MIPS32BE:#define __INTMAX_C_SUFFIX__ LL 72 // MIPS32BE:#define __INTMAX_FMTd__ "lld" 73 // MIPS32BE:#define __INTMAX_FMTi__ "lli" 74 // MIPS32BE:#define __INTMAX_MAX__ 9223372036854775807LL 75 // MIPS32BE:#define __INTMAX_TYPE__ long long int 76 // MIPS32BE:#define __INTMAX_WIDTH__ 64 77 // MIPS32BE:#define __INTPTR_FMTd__ "ld" 78 // MIPS32BE:#define __INTPTR_FMTi__ "li" 79 // MIPS32BE:#define __INTPTR_MAX__ 2147483647L 80 // MIPS32BE:#define __INTPTR_TYPE__ long int 81 // MIPS32BE:#define __INTPTR_WIDTH__ 32 82 // MIPS32BE:#define __INT_FAST16_FMTd__ "hd" 83 // MIPS32BE:#define __INT_FAST16_FMTi__ "hi" 84 // MIPS32BE:#define __INT_FAST16_MAX__ 32767 85 // MIPS32BE:#define __INT_FAST16_TYPE__ short 86 // MIPS32BE:#define __INT_FAST32_FMTd__ "d" 87 // MIPS32BE:#define __INT_FAST32_FMTi__ "i" 88 // MIPS32BE:#define __INT_FAST32_MAX__ 2147483647 89 // MIPS32BE:#define __INT_FAST32_TYPE__ int 90 // MIPS32BE:#define __INT_FAST64_FMTd__ "lld" 91 // MIPS32BE:#define __INT_FAST64_FMTi__ "lli" 92 // MIPS32BE:#define __INT_FAST64_MAX__ 9223372036854775807LL 93 // MIPS32BE:#define __INT_FAST64_TYPE__ long long int 94 // MIPS32BE:#define __INT_FAST8_FMTd__ "hhd" 95 // MIPS32BE:#define __INT_FAST8_FMTi__ "hhi" 96 // MIPS32BE:#define __INT_FAST8_MAX__ 127 97 // MIPS32BE:#define __INT_FAST8_TYPE__ signed char 98 // MIPS32BE:#define __INT_LEAST16_FMTd__ "hd" 99 // MIPS32BE:#define __INT_LEAST16_FMTi__ "hi" 100 // MIPS32BE:#define __INT_LEAST16_MAX__ 32767 101 // MIPS32BE:#define __INT_LEAST16_TYPE__ short 102 // MIPS32BE:#define __INT_LEAST32_FMTd__ "d" 103 // MIPS32BE:#define __INT_LEAST32_FMTi__ "i" 104 // MIPS32BE:#define __INT_LEAST32_MAX__ 2147483647 105 // MIPS32BE:#define __INT_LEAST32_TYPE__ int 106 // MIPS32BE:#define __INT_LEAST64_FMTd__ "lld" 107 // MIPS32BE:#define __INT_LEAST64_FMTi__ "lli" 108 // MIPS32BE:#define __INT_LEAST64_MAX__ 9223372036854775807LL 109 // MIPS32BE:#define __INT_LEAST64_TYPE__ long long int 110 // MIPS32BE:#define __INT_LEAST8_FMTd__ "hhd" 111 // MIPS32BE:#define __INT_LEAST8_FMTi__ "hhi" 112 // MIPS32BE:#define __INT_LEAST8_MAX__ 127 113 // MIPS32BE:#define __INT_LEAST8_TYPE__ signed char 114 // MIPS32BE:#define __INT_MAX__ 2147483647 115 // MIPS32BE:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L 116 // MIPS32BE:#define __LDBL_DIG__ 15 117 // MIPS32BE:#define __LDBL_EPSILON__ 2.2204460492503131e-16L 118 // MIPS32BE:#define __LDBL_HAS_DENORM__ 1 119 // MIPS32BE:#define __LDBL_HAS_INFINITY__ 1 120 // MIPS32BE:#define __LDBL_HAS_QUIET_NAN__ 1 121 // MIPS32BE:#define __LDBL_MANT_DIG__ 53 122 // MIPS32BE:#define __LDBL_MAX_10_EXP__ 308 123 // MIPS32BE:#define __LDBL_MAX_EXP__ 1024 124 // MIPS32BE:#define __LDBL_MAX__ 1.7976931348623157e+308L 125 // MIPS32BE:#define __LDBL_MIN_10_EXP__ (-307) 126 // MIPS32BE:#define __LDBL_MIN_EXP__ (-1021) 127 // MIPS32BE:#define __LDBL_MIN__ 2.2250738585072014e-308L 128 // MIPS32BE:#define __LONG_LONG_MAX__ 9223372036854775807LL 129 // MIPS32BE:#define __LONG_MAX__ 2147483647L 130 // MIPS32BE-NOT:#define __LP64__ 131 // MIPS32BE:#define __MIPSEB 1 132 // MIPS32BE:#define __MIPSEB__ 1 133 // MIPS32BE:#define __POINTER_WIDTH__ 32 134 // MIPS32BE:#define __PRAGMA_REDEFINE_EXTNAME 1 135 // MIPS32BE:#define __PTRDIFF_TYPE__ int 136 // MIPS32BE:#define __PTRDIFF_WIDTH__ 32 137 // MIPS32BE:#define __REGISTER_PREFIX__ 138 // MIPS32BE:#define __SCHAR_MAX__ 127 139 // MIPS32BE:#define __SHRT_MAX__ 32767 140 // MIPS32BE:#define __SIG_ATOMIC_MAX__ 2147483647 141 // MIPS32BE:#define __SIG_ATOMIC_WIDTH__ 32 142 // MIPS32BE:#define __SIZEOF_DOUBLE__ 8 143 // MIPS32BE:#define __SIZEOF_FLOAT__ 4 144 // MIPS32BE:#define __SIZEOF_INT__ 4 145 // MIPS32BE:#define __SIZEOF_LONG_DOUBLE__ 8 146 // MIPS32BE:#define __SIZEOF_LONG_LONG__ 8 147 // MIPS32BE:#define __SIZEOF_LONG__ 4 148 // MIPS32BE:#define __SIZEOF_POINTER__ 4 149 // MIPS32BE:#define __SIZEOF_PTRDIFF_T__ 4 150 // MIPS32BE:#define __SIZEOF_SHORT__ 2 151 // MIPS32BE:#define __SIZEOF_SIZE_T__ 4 152 // MIPS32BE:#define __SIZEOF_WCHAR_T__ 4 153 // MIPS32BE:#define __SIZEOF_WINT_T__ 4 154 // MIPS32BE:#define __SIZE_MAX__ 4294967295U 155 // MIPS32BE:#define __SIZE_TYPE__ unsigned int 156 // MIPS32BE:#define __SIZE_WIDTH__ 32 157 // MIPS32BE-CXX:#define __STDCPP_DEFAULT_NEW_ALIGNMENT__ 8U 158 // MIPS32BE:#define __STDC_HOSTED__ 0 159 // MIPS32BE-C:#define __STDC_VERSION__ 201710L 160 // MIPS32BE:#define __STDC__ 1 161 // MIPS32BE:#define __UINT16_C_SUFFIX__ 162 // MIPS32BE:#define __UINT16_MAX__ 65535 163 // MIPS32BE:#define __UINT16_TYPE__ unsigned short 164 // MIPS32BE:#define __UINT32_C_SUFFIX__ U 165 // MIPS32BE:#define __UINT32_MAX__ 4294967295U 166 // MIPS32BE:#define __UINT32_TYPE__ unsigned int 167 // MIPS32BE:#define __UINT64_C_SUFFIX__ ULL 168 // MIPS32BE:#define __UINT64_MAX__ 18446744073709551615ULL 169 // MIPS32BE:#define __UINT64_TYPE__ long long unsigned int 170 // MIPS32BE:#define __UINT8_C_SUFFIX__ 171 // MIPS32BE:#define __UINT8_MAX__ 255 172 // MIPS32BE:#define __UINT8_TYPE__ unsigned char 173 // MIPS32BE:#define __UINTMAX_C_SUFFIX__ ULL 174 // MIPS32BE:#define __UINTMAX_MAX__ 18446744073709551615ULL 175 // MIPS32BE:#define __UINTMAX_TYPE__ long long unsigned int 176 // MIPS32BE:#define __UINTMAX_WIDTH__ 64 177 // MIPS32BE:#define __UINTPTR_MAX__ 4294967295UL 178 // MIPS32BE:#define __UINTPTR_TYPE__ long unsigned int 179 // MIPS32BE:#define __UINTPTR_WIDTH__ 32 180 // MIPS32BE:#define __UINT_FAST16_MAX__ 65535 181 // MIPS32BE:#define __UINT_FAST16_TYPE__ unsigned short 182 // MIPS32BE:#define __UINT_FAST32_MAX__ 4294967295U 183 // MIPS32BE:#define __UINT_FAST32_TYPE__ unsigned int 184 // MIPS32BE:#define __UINT_FAST64_MAX__ 18446744073709551615ULL 185 // MIPS32BE:#define __UINT_FAST64_TYPE__ long long unsigned int 186 // MIPS32BE:#define __UINT_FAST8_MAX__ 255 187 // MIPS32BE:#define __UINT_FAST8_TYPE__ unsigned char 188 // MIPS32BE:#define __UINT_LEAST16_MAX__ 65535 189 // MIPS32BE:#define __UINT_LEAST16_TYPE__ unsigned short 190 // MIPS32BE:#define __UINT_LEAST32_MAX__ 4294967295U 191 // MIPS32BE:#define __UINT_LEAST32_TYPE__ unsigned int 192 // MIPS32BE:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL 193 // MIPS32BE:#define __UINT_LEAST64_TYPE__ long long unsigned int 194 // MIPS32BE:#define __UINT_LEAST8_MAX__ 255 195 // MIPS32BE:#define __UINT_LEAST8_TYPE__ unsigned char 196 // MIPS32BE:#define __USER_LABEL_PREFIX__ 197 // MIPS32BE:#define __WCHAR_MAX__ 2147483647 198 // MIPS32BE:#define __WCHAR_TYPE__ int 199 // MIPS32BE:#define __WCHAR_WIDTH__ 32 200 // MIPS32BE:#define __WINT_TYPE__ int 201 // MIPS32BE:#define __WINT_WIDTH__ 32 202 // MIPS32BE:#define __clang__ 1 203 // MIPS32BE:#define __llvm__ 1 204 // MIPS32BE:#define __mips 32 205 // MIPS32BE:#define __mips__ 1 206 // MIPS32BE:#define __mips_abicalls 1 207 // MIPS32BE:#define __mips_fpr 0 208 // MIPS32BE:#define __mips_hard_float 1 209 // MIPS32BE:#define __mips_o32 1 210 // MIPS32BE:#define _mips 1 211 // MIPS32BE:#define mips 1 212 213 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mipsel-none-none < /dev/null | FileCheck -match-full-lines -check-prefix MIPS32EL %s 214 // 215 // MIPS32EL:#define MIPSEL 1 216 // MIPS32EL:#define _ABIO32 1 217 // MIPS32EL-NOT:#define _LP64 218 // MIPS32EL:#define _MIPSEL 1 219 // MIPS32EL:#define _MIPS_ARCH "mips32r2" 220 // MIPS32EL:#define _MIPS_ARCH_MIPS32R2 1 221 // MIPS32EL:#define _MIPS_FPSET 16 222 // MIPS32EL:#define _MIPS_SIM _ABIO32 223 // MIPS32EL:#define _MIPS_SZINT 32 224 // MIPS32EL:#define _MIPS_SZLONG 32 225 // MIPS32EL:#define _MIPS_SZPTR 32 226 // MIPS32EL:#define __BIGGEST_ALIGNMENT__ 8 227 // MIPS32EL:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__ 228 // MIPS32EL:#define __CHAR16_TYPE__ unsigned short 229 // MIPS32EL:#define __CHAR32_TYPE__ unsigned int 230 // MIPS32EL:#define __CHAR_BIT__ 8 231 // MIPS32EL:#define __CONSTANT_CFSTRINGS__ 1 232 // MIPS32EL:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324 233 // MIPS32EL:#define __DBL_DIG__ 15 234 // MIPS32EL:#define __DBL_EPSILON__ 2.2204460492503131e-16 235 // MIPS32EL:#define __DBL_HAS_DENORM__ 1 236 // MIPS32EL:#define __DBL_HAS_INFINITY__ 1 237 // MIPS32EL:#define __DBL_HAS_QUIET_NAN__ 1 238 // MIPS32EL:#define __DBL_MANT_DIG__ 53 239 // MIPS32EL:#define __DBL_MAX_10_EXP__ 308 240 // MIPS32EL:#define __DBL_MAX_EXP__ 1024 241 // MIPS32EL:#define __DBL_MAX__ 1.7976931348623157e+308 242 // MIPS32EL:#define __DBL_MIN_10_EXP__ (-307) 243 // MIPS32EL:#define __DBL_MIN_EXP__ (-1021) 244 // MIPS32EL:#define __DBL_MIN__ 2.2250738585072014e-308 245 // MIPS32EL:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__ 246 // MIPS32EL:#define __FLT_DENORM_MIN__ 1.40129846e-45F 247 // MIPS32EL:#define __FLT_DIG__ 6 248 // MIPS32EL:#define __FLT_EPSILON__ 1.19209290e-7F 249 // MIPS32EL:#define __FLT_HAS_DENORM__ 1 250 // MIPS32EL:#define __FLT_HAS_INFINITY__ 1 251 // MIPS32EL:#define __FLT_HAS_QUIET_NAN__ 1 252 // MIPS32EL:#define __FLT_MANT_DIG__ 24 253 // MIPS32EL:#define __FLT_MAX_10_EXP__ 38 254 // MIPS32EL:#define __FLT_MAX_EXP__ 128 255 // MIPS32EL:#define __FLT_MAX__ 3.40282347e+38F 256 // MIPS32EL:#define __FLT_MIN_10_EXP__ (-37) 257 // MIPS32EL:#define __FLT_MIN_EXP__ (-125) 258 // MIPS32EL:#define __FLT_MIN__ 1.17549435e-38F 259 // MIPS32EL:#define __FLT_RADIX__ 2 260 // MIPS32EL:#define __INT16_C_SUFFIX__ 261 // MIPS32EL:#define __INT16_FMTd__ "hd" 262 // MIPS32EL:#define __INT16_FMTi__ "hi" 263 // MIPS32EL:#define __INT16_MAX__ 32767 264 // MIPS32EL:#define __INT16_TYPE__ short 265 // MIPS32EL:#define __INT32_C_SUFFIX__ 266 // MIPS32EL:#define __INT32_FMTd__ "d" 267 // MIPS32EL:#define __INT32_FMTi__ "i" 268 // MIPS32EL:#define __INT32_MAX__ 2147483647 269 // MIPS32EL:#define __INT32_TYPE__ int 270 // MIPS32EL:#define __INT64_C_SUFFIX__ LL 271 // MIPS32EL:#define __INT64_FMTd__ "lld" 272 // MIPS32EL:#define __INT64_FMTi__ "lli" 273 // MIPS32EL:#define __INT64_MAX__ 9223372036854775807LL 274 // MIPS32EL:#define __INT64_TYPE__ long long int 275 // MIPS32EL:#define __INT8_C_SUFFIX__ 276 // MIPS32EL:#define __INT8_FMTd__ "hhd" 277 // MIPS32EL:#define __INT8_FMTi__ "hhi" 278 // MIPS32EL:#define __INT8_MAX__ 127 279 // MIPS32EL:#define __INT8_TYPE__ signed char 280 // MIPS32EL:#define __INTMAX_C_SUFFIX__ LL 281 // MIPS32EL:#define __INTMAX_FMTd__ "lld" 282 // MIPS32EL:#define __INTMAX_FMTi__ "lli" 283 // MIPS32EL:#define __INTMAX_MAX__ 9223372036854775807LL 284 // MIPS32EL:#define __INTMAX_TYPE__ long long int 285 // MIPS32EL:#define __INTMAX_WIDTH__ 64 286 // MIPS32EL:#define __INTPTR_FMTd__ "ld" 287 // MIPS32EL:#define __INTPTR_FMTi__ "li" 288 // MIPS32EL:#define __INTPTR_MAX__ 2147483647L 289 // MIPS32EL:#define __INTPTR_TYPE__ long int 290 // MIPS32EL:#define __INTPTR_WIDTH__ 32 291 // MIPS32EL:#define __INT_FAST16_FMTd__ "hd" 292 // MIPS32EL:#define __INT_FAST16_FMTi__ "hi" 293 // MIPS32EL:#define __INT_FAST16_MAX__ 32767 294 // MIPS32EL:#define __INT_FAST16_TYPE__ short 295 // MIPS32EL:#define __INT_FAST32_FMTd__ "d" 296 // MIPS32EL:#define __INT_FAST32_FMTi__ "i" 297 // MIPS32EL:#define __INT_FAST32_MAX__ 2147483647 298 // MIPS32EL:#define __INT_FAST32_TYPE__ int 299 // MIPS32EL:#define __INT_FAST64_FMTd__ "lld" 300 // MIPS32EL:#define __INT_FAST64_FMTi__ "lli" 301 // MIPS32EL:#define __INT_FAST64_MAX__ 9223372036854775807LL 302 // MIPS32EL:#define __INT_FAST64_TYPE__ long long int 303 // MIPS32EL:#define __INT_FAST8_FMTd__ "hhd" 304 // MIPS32EL:#define __INT_FAST8_FMTi__ "hhi" 305 // MIPS32EL:#define __INT_FAST8_MAX__ 127 306 // MIPS32EL:#define __INT_FAST8_TYPE__ signed char 307 // MIPS32EL:#define __INT_LEAST16_FMTd__ "hd" 308 // MIPS32EL:#define __INT_LEAST16_FMTi__ "hi" 309 // MIPS32EL:#define __INT_LEAST16_MAX__ 32767 310 // MIPS32EL:#define __INT_LEAST16_TYPE__ short 311 // MIPS32EL:#define __INT_LEAST32_FMTd__ "d" 312 // MIPS32EL:#define __INT_LEAST32_FMTi__ "i" 313 // MIPS32EL:#define __INT_LEAST32_MAX__ 2147483647 314 // MIPS32EL:#define __INT_LEAST32_TYPE__ int 315 // MIPS32EL:#define __INT_LEAST64_FMTd__ "lld" 316 // MIPS32EL:#define __INT_LEAST64_FMTi__ "lli" 317 // MIPS32EL:#define __INT_LEAST64_MAX__ 9223372036854775807LL 318 // MIPS32EL:#define __INT_LEAST64_TYPE__ long long int 319 // MIPS32EL:#define __INT_LEAST8_FMTd__ "hhd" 320 // MIPS32EL:#define __INT_LEAST8_FMTi__ "hhi" 321 // MIPS32EL:#define __INT_LEAST8_MAX__ 127 322 // MIPS32EL:#define __INT_LEAST8_TYPE__ signed char 323 // MIPS32EL:#define __INT_MAX__ 2147483647 324 // MIPS32EL:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L 325 // MIPS32EL:#define __LDBL_DIG__ 15 326 // MIPS32EL:#define __LDBL_EPSILON__ 2.2204460492503131e-16L 327 // MIPS32EL:#define __LDBL_HAS_DENORM__ 1 328 // MIPS32EL:#define __LDBL_HAS_INFINITY__ 1 329 // MIPS32EL:#define __LDBL_HAS_QUIET_NAN__ 1 330 // MIPS32EL:#define __LDBL_MANT_DIG__ 53 331 // MIPS32EL:#define __LDBL_MAX_10_EXP__ 308 332 // MIPS32EL:#define __LDBL_MAX_EXP__ 1024 333 // MIPS32EL:#define __LDBL_MAX__ 1.7976931348623157e+308L 334 // MIPS32EL:#define __LDBL_MIN_10_EXP__ (-307) 335 // MIPS32EL:#define __LDBL_MIN_EXP__ (-1021) 336 // MIPS32EL:#define __LDBL_MIN__ 2.2250738585072014e-308L 337 // MIPS32EL:#define __LITTLE_ENDIAN__ 1 338 // MIPS32EL:#define __LONG_LONG_MAX__ 9223372036854775807LL 339 // MIPS32EL:#define __LONG_MAX__ 2147483647L 340 // MIPS32EL-NOT:#define __LP64__ 341 // MIPS32EL:#define __MIPSEL 1 342 // MIPS32EL:#define __MIPSEL__ 1 343 // MIPS32EL:#define __POINTER_WIDTH__ 32 344 // MIPS32EL:#define __PRAGMA_REDEFINE_EXTNAME 1 345 // MIPS32EL:#define __PTRDIFF_TYPE__ int 346 // MIPS32EL:#define __PTRDIFF_WIDTH__ 32 347 // MIPS32EL:#define __REGISTER_PREFIX__ 348 // MIPS32EL:#define __SCHAR_MAX__ 127 349 // MIPS32EL:#define __SHRT_MAX__ 32767 350 // MIPS32EL:#define __SIG_ATOMIC_MAX__ 2147483647 351 // MIPS32EL:#define __SIG_ATOMIC_WIDTH__ 32 352 // MIPS32EL:#define __SIZEOF_DOUBLE__ 8 353 // MIPS32EL:#define __SIZEOF_FLOAT__ 4 354 // MIPS32EL:#define __SIZEOF_INT__ 4 355 // MIPS32EL:#define __SIZEOF_LONG_DOUBLE__ 8 356 // MIPS32EL:#define __SIZEOF_LONG_LONG__ 8 357 // MIPS32EL:#define __SIZEOF_LONG__ 4 358 // MIPS32EL:#define __SIZEOF_POINTER__ 4 359 // MIPS32EL:#define __SIZEOF_PTRDIFF_T__ 4 360 // MIPS32EL:#define __SIZEOF_SHORT__ 2 361 // MIPS32EL:#define __SIZEOF_SIZE_T__ 4 362 // MIPS32EL:#define __SIZEOF_WCHAR_T__ 4 363 // MIPS32EL:#define __SIZEOF_WINT_T__ 4 364 // MIPS32EL:#define __SIZE_MAX__ 4294967295U 365 // MIPS32EL:#define __SIZE_TYPE__ unsigned int 366 // MIPS32EL:#define __SIZE_WIDTH__ 32 367 // MIPS32EL:#define __UINT16_C_SUFFIX__ 368 // MIPS32EL:#define __UINT16_MAX__ 65535 369 // MIPS32EL:#define __UINT16_TYPE__ unsigned short 370 // MIPS32EL:#define __UINT32_C_SUFFIX__ U 371 // MIPS32EL:#define __UINT32_MAX__ 4294967295U 372 // MIPS32EL:#define __UINT32_TYPE__ unsigned int 373 // MIPS32EL:#define __UINT64_C_SUFFIX__ ULL 374 // MIPS32EL:#define __UINT64_MAX__ 18446744073709551615ULL 375 // MIPS32EL:#define __UINT64_TYPE__ long long unsigned int 376 // MIPS32EL:#define __UINT8_C_SUFFIX__ 377 // MIPS32EL:#define __UINT8_MAX__ 255 378 // MIPS32EL:#define __UINT8_TYPE__ unsigned char 379 // MIPS32EL:#define __UINTMAX_C_SUFFIX__ ULL 380 // MIPS32EL:#define __UINTMAX_MAX__ 18446744073709551615ULL 381 // MIPS32EL:#define __UINTMAX_TYPE__ long long unsigned int 382 // MIPS32EL:#define __UINTMAX_WIDTH__ 64 383 // MIPS32EL:#define __UINTPTR_MAX__ 4294967295UL 384 // MIPS32EL:#define __UINTPTR_TYPE__ long unsigned int 385 // MIPS32EL:#define __UINTPTR_WIDTH__ 32 386 // MIPS32EL:#define __UINT_FAST16_MAX__ 65535 387 // MIPS32EL:#define __UINT_FAST16_TYPE__ unsigned short 388 // MIPS32EL:#define __UINT_FAST32_MAX__ 4294967295U 389 // MIPS32EL:#define __UINT_FAST32_TYPE__ unsigned int 390 // MIPS32EL:#define __UINT_FAST64_MAX__ 18446744073709551615ULL 391 // MIPS32EL:#define __UINT_FAST64_TYPE__ long long unsigned int 392 // MIPS32EL:#define __UINT_FAST8_MAX__ 255 393 // MIPS32EL:#define __UINT_FAST8_TYPE__ unsigned char 394 // MIPS32EL:#define __UINT_LEAST16_MAX__ 65535 395 // MIPS32EL:#define __UINT_LEAST16_TYPE__ unsigned short 396 // MIPS32EL:#define __UINT_LEAST32_MAX__ 4294967295U 397 // MIPS32EL:#define __UINT_LEAST32_TYPE__ unsigned int 398 // MIPS32EL:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL 399 // MIPS32EL:#define __UINT_LEAST64_TYPE__ long long unsigned int 400 // MIPS32EL:#define __UINT_LEAST8_MAX__ 255 401 // MIPS32EL:#define __UINT_LEAST8_TYPE__ unsigned char 402 // MIPS32EL:#define __USER_LABEL_PREFIX__ 403 // MIPS32EL:#define __WCHAR_MAX__ 2147483647 404 // MIPS32EL:#define __WCHAR_TYPE__ int 405 // MIPS32EL:#define __WCHAR_WIDTH__ 32 406 // MIPS32EL:#define __WINT_TYPE__ int 407 // MIPS32EL:#define __WINT_WIDTH__ 32 408 // MIPS32EL:#define __clang__ 1 409 // MIPS32EL:#define __llvm__ 1 410 // MIPS32EL:#define __mips 32 411 // MIPS32EL:#define __mips__ 1 412 // MIPS32EL:#define __mips_abicalls 1 413 // MIPS32EL:#define __mips_fpr 0 414 // MIPS32EL:#define __mips_hard_float 1 415 // MIPS32EL:#define __mips_o32 1 416 // MIPS32EL:#define _mips 1 417 // MIPS32EL:#define mips 1 418 419 // RUN: %clang_cc1 -E -dM -ffreestanding -fgnuc-version=4.2.1 \ 420 // RUN: -triple=mips64-none-none -target-abi n32 < /dev/null \ 421 // RUN: | FileCheck -match-full-lines -check-prefix MIPSN32BE -check-prefix MIPSN32BE-C %s 422 // RUN: %clang_cc1 -x c++ -E -dM -ffreestanding -fgnuc-version=4.2.1 \ 423 // RUN: -triple=mips64-none-none -target-abi n32 < /dev/null \ 424 // RUN: | FileCheck -match-full-lines -check-prefix MIPSN32BE -check-prefix MIPSN32BE-CXX %s 425 // 426 // MIPSN32BE: #define MIPSEB 1 427 // MIPSN32BE: #define _ABIN32 2 428 // MIPSN32BE: #define _ILP32 1 429 // MIPSN32BE: #define _MIPSEB 1 430 // MIPSN32BE: #define _MIPS_ARCH "mips64r2" 431 // MIPSN32BE: #define _MIPS_ARCH_MIPS64R2 1 432 // MIPSN32BE: #define _MIPS_FPSET 32 433 // MIPSN32BE: #define _MIPS_ISA _MIPS_ISA_MIPS64 434 // MIPSN32BE: #define _MIPS_SIM _ABIN32 435 // MIPSN32BE: #define _MIPS_SZINT 32 436 // MIPSN32BE: #define _MIPS_SZLONG 32 437 // MIPSN32BE: #define _MIPS_SZPTR 32 438 // MIPSN32BE: #define __ATOMIC_ACQUIRE 2 439 // MIPSN32BE: #define __ATOMIC_ACQ_REL 4 440 // MIPSN32BE: #define __ATOMIC_CONSUME 1 441 // MIPSN32BE: #define __ATOMIC_RELAXED 0 442 // MIPSN32BE: #define __ATOMIC_RELEASE 3 443 // MIPSN32BE: #define __ATOMIC_SEQ_CST 5 444 // MIPSN32BE: #define __BIG_ENDIAN__ 1 445 // MIPSN32BE: #define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__ 446 // MIPSN32BE: #define __CHAR16_TYPE__ unsigned short 447 // MIPSN32BE: #define __CHAR32_TYPE__ unsigned int 448 // MIPSN32BE: #define __CHAR_BIT__ 8 449 // MIPSN32BE: #define __CONSTANT_CFSTRINGS__ 1 450 // MIPSN32BE: #define __DBL_DENORM_MIN__ 4.9406564584124654e-324 451 // MIPSN32BE: #define __DBL_DIG__ 15 452 // MIPSN32BE: #define __DBL_EPSILON__ 2.2204460492503131e-16 453 // MIPSN32BE: #define __DBL_HAS_DENORM__ 1 454 // MIPSN32BE: #define __DBL_HAS_INFINITY__ 1 455 // MIPSN32BE: #define __DBL_HAS_QUIET_NAN__ 1 456 // MIPSN32BE: #define __DBL_MANT_DIG__ 53 457 // MIPSN32BE: #define __DBL_MAX_10_EXP__ 308 458 // MIPSN32BE: #define __DBL_MAX_EXP__ 1024 459 // MIPSN32BE: #define __DBL_MAX__ 1.7976931348623157e+308 460 // MIPSN32BE: #define __DBL_MIN_10_EXP__ (-307) 461 // MIPSN32BE: #define __DBL_MIN_EXP__ (-1021) 462 // MIPSN32BE: #define __DBL_MIN__ 2.2250738585072014e-308 463 // MIPSN32BE: #define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__ 464 // MIPSN32BE: #define __FINITE_MATH_ONLY__ 0 465 // MIPSN32BE: #define __FLT_DENORM_MIN__ 1.40129846e-45F 466 // MIPSN32BE: #define __FLT_DIG__ 6 467 // MIPSN32BE: #define __FLT_EPSILON__ 1.19209290e-7F 468 // MIPSN32BE: #define __FLT_HAS_DENORM__ 1 469 // MIPSN32BE: #define __FLT_HAS_INFINITY__ 1 470 // MIPSN32BE: #define __FLT_HAS_QUIET_NAN__ 1 471 // MIPSN32BE: #define __FLT_MANT_DIG__ 24 472 // MIPSN32BE: #define __FLT_MAX_10_EXP__ 38 473 // MIPSN32BE: #define __FLT_MAX_EXP__ 128 474 // MIPSN32BE: #define __FLT_MAX__ 3.40282347e+38F 475 // MIPSN32BE: #define __FLT_MIN_10_EXP__ (-37) 476 // MIPSN32BE: #define __FLT_MIN_EXP__ (-125) 477 // MIPSN32BE: #define __FLT_MIN__ 1.17549435e-38F 478 // MIPSN32BE: #define __FLT_RADIX__ 2 479 // MIPSN32BE: #define __GCC_ATOMIC_BOOL_LOCK_FREE 2 480 // MIPSN32BE: #define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2 481 // MIPSN32BE: #define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2 482 // MIPSN32BE: #define __GCC_ATOMIC_CHAR_LOCK_FREE 2 483 // MIPSN32BE: #define __GCC_ATOMIC_INT_LOCK_FREE 2 484 // MIPSN32BE: #define __GCC_ATOMIC_LLONG_LOCK_FREE 2 485 // MIPSN32BE: #define __GCC_ATOMIC_LONG_LOCK_FREE 2 486 // MIPSN32BE: #define __GCC_ATOMIC_POINTER_LOCK_FREE 2 487 // MIPSN32BE: #define __GCC_ATOMIC_SHORT_LOCK_FREE 2 488 // MIPSN32BE: #define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1 489 // MIPSN32BE: #define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2 490 // MIPSN32BE: #define __GNUC_MINOR__ 2 491 // MIPSN32BE: #define __GNUC_PATCHLEVEL__ 1 492 // MIPSN32BE-C: #define __GNUC_STDC_INLINE__ 1 493 // MIPSN32BE: #define __GNUC__ 4 494 // MIPSN32BE: #define __GXX_ABI_VERSION 1002 495 // MIPSN32BE: #define __ILP32__ 1 496 // MIPSN32BE: #define __INT16_C_SUFFIX__ 497 // MIPSN32BE: #define __INT16_FMTd__ "hd" 498 // MIPSN32BE: #define __INT16_FMTi__ "hi" 499 // MIPSN32BE: #define __INT16_MAX__ 32767 500 // MIPSN32BE: #define __INT16_TYPE__ short 501 // MIPSN32BE: #define __INT32_C_SUFFIX__ 502 // MIPSN32BE: #define __INT32_FMTd__ "d" 503 // MIPSN32BE: #define __INT32_FMTi__ "i" 504 // MIPSN32BE: #define __INT32_MAX__ 2147483647 505 // MIPSN32BE: #define __INT32_TYPE__ int 506 // MIPSN32BE: #define __INT64_C_SUFFIX__ LL 507 // MIPSN32BE: #define __INT64_FMTd__ "lld" 508 // MIPSN32BE: #define __INT64_FMTi__ "lli" 509 // MIPSN32BE: #define __INT64_MAX__ 9223372036854775807LL 510 // MIPSN32BE: #define __INT64_TYPE__ long long int 511 // MIPSN32BE: #define __INT8_C_SUFFIX__ 512 // MIPSN32BE: #define __INT8_FMTd__ "hhd" 513 // MIPSN32BE: #define __INT8_FMTi__ "hhi" 514 // MIPSN32BE: #define __INT8_MAX__ 127 515 // MIPSN32BE: #define __INT8_TYPE__ signed char 516 // MIPSN32BE: #define __INTMAX_C_SUFFIX__ LL 517 // MIPSN32BE: #define __INTMAX_FMTd__ "lld" 518 // MIPSN32BE: #define __INTMAX_FMTi__ "lli" 519 // MIPSN32BE: #define __INTMAX_MAX__ 9223372036854775807LL 520 // MIPSN32BE: #define __INTMAX_TYPE__ long long int 521 // MIPSN32BE: #define __INTMAX_WIDTH__ 64 522 // MIPSN32BE: #define __INTPTR_FMTd__ "ld" 523 // MIPSN32BE: #define __INTPTR_FMTi__ "li" 524 // MIPSN32BE: #define __INTPTR_MAX__ 2147483647L 525 // MIPSN32BE: #define __INTPTR_TYPE__ long int 526 // MIPSN32BE: #define __INTPTR_WIDTH__ 32 527 // MIPSN32BE: #define __INT_FAST16_FMTd__ "hd" 528 // MIPSN32BE: #define __INT_FAST16_FMTi__ "hi" 529 // MIPSN32BE: #define __INT_FAST16_MAX__ 32767 530 // MIPSN32BE: #define __INT_FAST16_TYPE__ short 531 // MIPSN32BE: #define __INT_FAST32_FMTd__ "d" 532 // MIPSN32BE: #define __INT_FAST32_FMTi__ "i" 533 // MIPSN32BE: #define __INT_FAST32_MAX__ 2147483647 534 // MIPSN32BE: #define __INT_FAST32_TYPE__ int 535 // MIPSN32BE: #define __INT_FAST64_FMTd__ "lld" 536 // MIPSN32BE: #define __INT_FAST64_FMTi__ "lli" 537 // MIPSN32BE: #define __INT_FAST64_MAX__ 9223372036854775807LL 538 // MIPSN32BE: #define __INT_FAST64_TYPE__ long long int 539 // MIPSN32BE: #define __INT_FAST8_FMTd__ "hhd" 540 // MIPSN32BE: #define __INT_FAST8_FMTi__ "hhi" 541 // MIPSN32BE: #define __INT_FAST8_MAX__ 127 542 // MIPSN32BE: #define __INT_FAST8_TYPE__ signed char 543 // MIPSN32BE: #define __INT_LEAST16_FMTd__ "hd" 544 // MIPSN32BE: #define __INT_LEAST16_FMTi__ "hi" 545 // MIPSN32BE: #define __INT_LEAST16_MAX__ 32767 546 // MIPSN32BE: #define __INT_LEAST16_TYPE__ short 547 // MIPSN32BE: #define __INT_LEAST32_FMTd__ "d" 548 // MIPSN32BE: #define __INT_LEAST32_FMTi__ "i" 549 // MIPSN32BE: #define __INT_LEAST32_MAX__ 2147483647 550 // MIPSN32BE: #define __INT_LEAST32_TYPE__ int 551 // MIPSN32BE: #define __INT_LEAST64_FMTd__ "lld" 552 // MIPSN32BE: #define __INT_LEAST64_FMTi__ "lli" 553 // MIPSN32BE: #define __INT_LEAST64_MAX__ 9223372036854775807LL 554 // MIPSN32BE: #define __INT_LEAST64_TYPE__ long long int 555 // MIPSN32BE: #define __INT_LEAST8_FMTd__ "hhd" 556 // MIPSN32BE: #define __INT_LEAST8_FMTi__ "hhi" 557 // MIPSN32BE: #define __INT_LEAST8_MAX__ 127 558 // MIPSN32BE: #define __INT_LEAST8_TYPE__ signed char 559 // MIPSN32BE: #define __INT_MAX__ 2147483647 560 // MIPSN32BE: #define __LDBL_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966L 561 // MIPSN32BE: #define __LDBL_DIG__ 33 562 // MIPSN32BE: #define __LDBL_EPSILON__ 1.92592994438723585305597794258492732e-34L 563 // MIPSN32BE: #define __LDBL_HAS_DENORM__ 1 564 // MIPSN32BE: #define __LDBL_HAS_INFINITY__ 1 565 // MIPSN32BE: #define __LDBL_HAS_QUIET_NAN__ 1 566 // MIPSN32BE: #define __LDBL_MANT_DIG__ 113 567 // MIPSN32BE: #define __LDBL_MAX_10_EXP__ 4932 568 // MIPSN32BE: #define __LDBL_MAX_EXP__ 16384 569 // MIPSN32BE: #define __LDBL_MAX__ 1.18973149535723176508575932662800702e+4932L 570 // MIPSN32BE: #define __LDBL_MIN_10_EXP__ (-4931) 571 // MIPSN32BE: #define __LDBL_MIN_EXP__ (-16381) 572 // MIPSN32BE: #define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L 573 // MIPSN32BE: #define __LONG_LONG_MAX__ 9223372036854775807LL 574 // MIPSN32BE: #define __LONG_MAX__ 2147483647L 575 // MIPSN32BE: #define __MIPSEB 1 576 // MIPSN32BE: #define __MIPSEB__ 1 577 // MIPSN32BE: #define __NO_INLINE__ 1 578 // MIPSN32BE: #define __ORDER_BIG_ENDIAN__ 4321 579 // MIPSN32BE: #define __ORDER_LITTLE_ENDIAN__ 1234 580 // MIPSN32BE: #define __ORDER_PDP_ENDIAN__ 3412 581 // MIPSN32BE: #define __POINTER_WIDTH__ 32 582 // MIPSN32BE: #define __PRAGMA_REDEFINE_EXTNAME 1 583 // MIPSN32BE: #define __PTRDIFF_FMTd__ "d" 584 // MIPSN32BE: #define __PTRDIFF_FMTi__ "i" 585 // MIPSN32BE: #define __PTRDIFF_MAX__ 2147483647 586 // MIPSN32BE: #define __PTRDIFF_TYPE__ int 587 // MIPSN32BE: #define __PTRDIFF_WIDTH__ 32 588 // MIPSN32BE: #define __REGISTER_PREFIX__ 589 // MIPSN32BE: #define __SCHAR_MAX__ 127 590 // MIPSN32BE: #define __SHRT_MAX__ 32767 591 // MIPSN32BE: #define __SIG_ATOMIC_MAX__ 2147483647 592 // MIPSN32BE: #define __SIG_ATOMIC_WIDTH__ 32 593 // MIPSN32BE: #define __SIZEOF_DOUBLE__ 8 594 // MIPSN32BE: #define __SIZEOF_FLOAT__ 4 595 // MIPSN32BE: #define __SIZEOF_INT__ 4 596 // MIPSN32BE: #define __SIZEOF_LONG_DOUBLE__ 16 597 // MIPSN32BE: #define __SIZEOF_LONG_LONG__ 8 598 // MIPSN32BE: #define __SIZEOF_LONG__ 4 599 // MIPSN32BE: #define __SIZEOF_POINTER__ 4 600 // MIPSN32BE: #define __SIZEOF_PTRDIFF_T__ 4 601 // MIPSN32BE: #define __SIZEOF_SHORT__ 2 602 // MIPSN32BE: #define __SIZEOF_SIZE_T__ 4 603 // MIPSN32BE: #define __SIZEOF_WCHAR_T__ 4 604 // MIPSN32BE: #define __SIZEOF_WINT_T__ 4 605 // MIPSN32BE: #define __SIZE_FMTX__ "X" 606 // MIPSN32BE: #define __SIZE_FMTo__ "o" 607 // MIPSN32BE: #define __SIZE_FMTu__ "u" 608 // MIPSN32BE: #define __SIZE_FMTx__ "x" 609 // MIPSN32BE: #define __SIZE_MAX__ 4294967295U 610 // MIPSN32BE: #define __SIZE_TYPE__ unsigned int 611 // MIPSN32BE: #define __SIZE_WIDTH__ 32 612 // MIPSN32BE-CXX: #define __STDCPP_DEFAULT_NEW_ALIGNMENT__ 16U 613 // MIPSN32BE: #define __STDC_HOSTED__ 0 614 // MIPSN32BE: #define __STDC_UTF_16__ 1 615 // MIPSN32BE: #define __STDC_UTF_32__ 1 616 // MIPSN32BE-C: #define __STDC_VERSION__ 201710L 617 // MIPSN32BE: #define __STDC__ 1 618 // MIPSN32BE: #define __UINT16_C_SUFFIX__ 619 // MIPSN32BE: #define __UINT16_FMTX__ "hX" 620 // MIPSN32BE: #define __UINT16_FMTo__ "ho" 621 // MIPSN32BE: #define __UINT16_FMTu__ "hu" 622 // MIPSN32BE: #define __UINT16_FMTx__ "hx" 623 // MIPSN32BE: #define __UINT16_MAX__ 65535 624 // MIPSN32BE: #define __UINT16_TYPE__ unsigned short 625 // MIPSN32BE: #define __UINT32_C_SUFFIX__ U 626 // MIPSN32BE: #define __UINT32_FMTX__ "X" 627 // MIPSN32BE: #define __UINT32_FMTo__ "o" 628 // MIPSN32BE: #define __UINT32_FMTu__ "u" 629 // MIPSN32BE: #define __UINT32_FMTx__ "x" 630 // MIPSN32BE: #define __UINT32_MAX__ 4294967295U 631 // MIPSN32BE: #define __UINT32_TYPE__ unsigned int 632 // MIPSN32BE: #define __UINT64_C_SUFFIX__ ULL 633 // MIPSN32BE: #define __UINT64_FMTX__ "llX" 634 // MIPSN32BE: #define __UINT64_FMTo__ "llo" 635 // MIPSN32BE: #define __UINT64_FMTu__ "llu" 636 // MIPSN32BE: #define __UINT64_FMTx__ "llx" 637 // MIPSN32BE: #define __UINT64_MAX__ 18446744073709551615ULL 638 // MIPSN32BE: #define __UINT64_TYPE__ long long unsigned int 639 // MIPSN32BE: #define __UINT8_C_SUFFIX__ 640 // MIPSN32BE: #define __UINT8_FMTX__ "hhX" 641 // MIPSN32BE: #define __UINT8_FMTo__ "hho" 642 // MIPSN32BE: #define __UINT8_FMTu__ "hhu" 643 // MIPSN32BE: #define __UINT8_FMTx__ "hhx" 644 // MIPSN32BE: #define __UINT8_MAX__ 255 645 // MIPSN32BE: #define __UINT8_TYPE__ unsigned char 646 // MIPSN32BE: #define __UINTMAX_C_SUFFIX__ ULL 647 // MIPSN32BE: #define __UINTMAX_FMTX__ "llX" 648 // MIPSN32BE: #define __UINTMAX_FMTo__ "llo" 649 // MIPSN32BE: #define __UINTMAX_FMTu__ "llu" 650 // MIPSN32BE: #define __UINTMAX_FMTx__ "llx" 651 // MIPSN32BE: #define __UINTMAX_MAX__ 18446744073709551615ULL 652 // MIPSN32BE: #define __UINTMAX_TYPE__ long long unsigned int 653 // MIPSN32BE: #define __UINTMAX_WIDTH__ 64 654 // MIPSN32BE: #define __UINTPTR_FMTX__ "lX" 655 // MIPSN32BE: #define __UINTPTR_FMTo__ "lo" 656 // MIPSN32BE: #define __UINTPTR_FMTu__ "lu" 657 // MIPSN32BE: #define __UINTPTR_FMTx__ "lx" 658 // MIPSN32BE: #define __UINTPTR_MAX__ 4294967295UL 659 // MIPSN32BE: #define __UINTPTR_TYPE__ long unsigned int 660 // MIPSN32BE: #define __UINTPTR_WIDTH__ 32 661 // MIPSN32BE: #define __UINT_FAST16_FMTX__ "hX" 662 // MIPSN32BE: #define __UINT_FAST16_FMTo__ "ho" 663 // MIPSN32BE: #define __UINT_FAST16_FMTu__ "hu" 664 // MIPSN32BE: #define __UINT_FAST16_FMTx__ "hx" 665 // MIPSN32BE: #define __UINT_FAST16_MAX__ 65535 666 // MIPSN32BE: #define __UINT_FAST16_TYPE__ unsigned short 667 // MIPSN32BE: #define __UINT_FAST32_FMTX__ "X" 668 // MIPSN32BE: #define __UINT_FAST32_FMTo__ "o" 669 // MIPSN32BE: #define __UINT_FAST32_FMTu__ "u" 670 // MIPSN32BE: #define __UINT_FAST32_FMTx__ "x" 671 // MIPSN32BE: #define __UINT_FAST32_MAX__ 4294967295U 672 // MIPSN32BE: #define __UINT_FAST32_TYPE__ unsigned int 673 // MIPSN32BE: #define __UINT_FAST64_FMTX__ "llX" 674 // MIPSN32BE: #define __UINT_FAST64_FMTo__ "llo" 675 // MIPSN32BE: #define __UINT_FAST64_FMTu__ "llu" 676 // MIPSN32BE: #define __UINT_FAST64_FMTx__ "llx" 677 // MIPSN32BE: #define __UINT_FAST64_MAX__ 18446744073709551615ULL 678 // MIPSN32BE: #define __UINT_FAST64_TYPE__ long long unsigned int 679 // MIPSN32BE: #define __UINT_FAST8_FMTX__ "hhX" 680 // MIPSN32BE: #define __UINT_FAST8_FMTo__ "hho" 681 // MIPSN32BE: #define __UINT_FAST8_FMTu__ "hhu" 682 // MIPSN32BE: #define __UINT_FAST8_FMTx__ "hhx" 683 // MIPSN32BE: #define __UINT_FAST8_MAX__ 255 684 // MIPSN32BE: #define __UINT_FAST8_TYPE__ unsigned char 685 // MIPSN32BE: #define __UINT_LEAST16_FMTX__ "hX" 686 // MIPSN32BE: #define __UINT_LEAST16_FMTo__ "ho" 687 // MIPSN32BE: #define __UINT_LEAST16_FMTu__ "hu" 688 // MIPSN32BE: #define __UINT_LEAST16_FMTx__ "hx" 689 // MIPSN32BE: #define __UINT_LEAST16_MAX__ 65535 690 // MIPSN32BE: #define __UINT_LEAST16_TYPE__ unsigned short 691 // MIPSN32BE: #define __UINT_LEAST32_FMTX__ "X" 692 // MIPSN32BE: #define __UINT_LEAST32_FMTo__ "o" 693 // MIPSN32BE: #define __UINT_LEAST32_FMTu__ "u" 694 // MIPSN32BE: #define __UINT_LEAST32_FMTx__ "x" 695 // MIPSN32BE: #define __UINT_LEAST32_MAX__ 4294967295U 696 // MIPSN32BE: #define __UINT_LEAST32_TYPE__ unsigned int 697 // MIPSN32BE: #define __UINT_LEAST64_FMTX__ "llX" 698 // MIPSN32BE: #define __UINT_LEAST64_FMTo__ "llo" 699 // MIPSN32BE: #define __UINT_LEAST64_FMTu__ "llu" 700 // MIPSN32BE: #define __UINT_LEAST64_FMTx__ "llx" 701 // MIPSN32BE: #define __UINT_LEAST64_MAX__ 18446744073709551615ULL 702 // MIPSN32BE: #define __UINT_LEAST64_TYPE__ long long unsigned int 703 // MIPSN32BE: #define __UINT_LEAST8_FMTX__ "hhX" 704 // MIPSN32BE: #define __UINT_LEAST8_FMTo__ "hho" 705 // MIPSN32BE: #define __UINT_LEAST8_FMTu__ "hhu" 706 // MIPSN32BE: #define __UINT_LEAST8_FMTx__ "hhx" 707 // MIPSN32BE: #define __UINT_LEAST8_MAX__ 255 708 // MIPSN32BE: #define __UINT_LEAST8_TYPE__ unsigned char 709 // MIPSN32BE: #define __USER_LABEL_PREFIX__ 710 // MIPSN32BE: #define __WCHAR_MAX__ 2147483647 711 // MIPSN32BE: #define __WCHAR_TYPE__ int 712 // MIPSN32BE: #define __WCHAR_WIDTH__ 32 713 // MIPSN32BE: #define __WINT_TYPE__ int 714 // MIPSN32BE: #define __WINT_WIDTH__ 32 715 // MIPSN32BE: #define __clang__ 1 716 // MIPSN32BE: #define __llvm__ 1 717 // MIPSN32BE: #define __mips 64 718 // MIPSN32BE: #define __mips64 1 719 // MIPSN32BE: #define __mips64__ 1 720 // MIPSN32BE: #define __mips__ 1 721 // MIPSN32BE: #define __mips_abicalls 1 722 // MIPSN32BE: #define __mips_fpr 64 723 // MIPSN32BE: #define __mips_hard_float 1 724 // MIPSN32BE: #define __mips_isa_rev 2 725 // MIPSN32BE: #define __mips_n32 1 726 // MIPSN32BE: #define _mips 1 727 // MIPSN32BE: #define mips 1 728 729 // RUN: %clang_cc1 -E -dM -ffreestanding -fgnuc-version=4.2.1 \ 730 // RUN: -triple=mips64el-none-none -target-abi n32 < /dev/null \ 731 // RUN: | FileCheck -match-full-lines -check-prefix MIPSN32EL %s 732 // 733 // MIPSN32EL: #define MIPSEL 1 734 // MIPSN32EL: #define _ABIN32 2 735 // MIPSN32EL: #define _ILP32 1 736 // MIPSN32EL: #define _MIPSEL 1 737 // MIPSN32EL: #define _MIPS_ARCH "mips64r2" 738 // MIPSN32EL: #define _MIPS_ARCH_MIPS64R2 1 739 // MIPSN32EL: #define _MIPS_FPSET 32 740 // MIPSN32EL: #define _MIPS_ISA _MIPS_ISA_MIPS64 741 // MIPSN32EL: #define _MIPS_SIM _ABIN32 742 // MIPSN32EL: #define _MIPS_SZINT 32 743 // MIPSN32EL: #define _MIPS_SZLONG 32 744 // MIPSN32EL: #define _MIPS_SZPTR 32 745 // MIPSN32EL: #define __ATOMIC_ACQUIRE 2 746 // MIPSN32EL: #define __ATOMIC_ACQ_REL 4 747 // MIPSN32EL: #define __ATOMIC_CONSUME 1 748 // MIPSN32EL: #define __ATOMIC_RELAXED 0 749 // MIPSN32EL: #define __ATOMIC_RELEASE 3 750 // MIPSN32EL: #define __ATOMIC_SEQ_CST 5 751 // MIPSN32EL: #define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__ 752 // MIPSN32EL: #define __CHAR16_TYPE__ unsigned short 753 // MIPSN32EL: #define __CHAR32_TYPE__ unsigned int 754 // MIPSN32EL: #define __CHAR_BIT__ 8 755 // MIPSN32EL: #define __CONSTANT_CFSTRINGS__ 1 756 // MIPSN32EL: #define __DBL_DENORM_MIN__ 4.9406564584124654e-324 757 // MIPSN32EL: #define __DBL_DIG__ 15 758 // MIPSN32EL: #define __DBL_EPSILON__ 2.2204460492503131e-16 759 // MIPSN32EL: #define __DBL_HAS_DENORM__ 1 760 // MIPSN32EL: #define __DBL_HAS_INFINITY__ 1 761 // MIPSN32EL: #define __DBL_HAS_QUIET_NAN__ 1 762 // MIPSN32EL: #define __DBL_MANT_DIG__ 53 763 // MIPSN32EL: #define __DBL_MAX_10_EXP__ 308 764 // MIPSN32EL: #define __DBL_MAX_EXP__ 1024 765 // MIPSN32EL: #define __DBL_MAX__ 1.7976931348623157e+308 766 // MIPSN32EL: #define __DBL_MIN_10_EXP__ (-307) 767 // MIPSN32EL: #define __DBL_MIN_EXP__ (-1021) 768 // MIPSN32EL: #define __DBL_MIN__ 2.2250738585072014e-308 769 // MIPSN32EL: #define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__ 770 // MIPSN32EL: #define __FINITE_MATH_ONLY__ 0 771 // MIPSN32EL: #define __FLT_DENORM_MIN__ 1.40129846e-45F 772 // MIPSN32EL: #define __FLT_DIG__ 6 773 // MIPSN32EL: #define __FLT_EPSILON__ 1.19209290e-7F 774 // MIPSN32EL: #define __FLT_HAS_DENORM__ 1 775 // MIPSN32EL: #define __FLT_HAS_INFINITY__ 1 776 // MIPSN32EL: #define __FLT_HAS_QUIET_NAN__ 1 777 // MIPSN32EL: #define __FLT_MANT_DIG__ 24 778 // MIPSN32EL: #define __FLT_MAX_10_EXP__ 38 779 // MIPSN32EL: #define __FLT_MAX_EXP__ 128 780 // MIPSN32EL: #define __FLT_MAX__ 3.40282347e+38F 781 // MIPSN32EL: #define __FLT_MIN_10_EXP__ (-37) 782 // MIPSN32EL: #define __FLT_MIN_EXP__ (-125) 783 // MIPSN32EL: #define __FLT_MIN__ 1.17549435e-38F 784 // MIPSN32EL: #define __FLT_RADIX__ 2 785 // MIPSN32EL: #define __GCC_ATOMIC_BOOL_LOCK_FREE 2 786 // MIPSN32EL: #define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2 787 // MIPSN32EL: #define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2 788 // MIPSN32EL: #define __GCC_ATOMIC_CHAR_LOCK_FREE 2 789 // MIPSN32EL: #define __GCC_ATOMIC_INT_LOCK_FREE 2 790 // MIPSN32EL: #define __GCC_ATOMIC_LLONG_LOCK_FREE 2 791 // MIPSN32EL: #define __GCC_ATOMIC_LONG_LOCK_FREE 2 792 // MIPSN32EL: #define __GCC_ATOMIC_POINTER_LOCK_FREE 2 793 // MIPSN32EL: #define __GCC_ATOMIC_SHORT_LOCK_FREE 2 794 // MIPSN32EL: #define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1 795 // MIPSN32EL: #define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2 796 // MIPSN32EL: #define __GNUC_MINOR__ 2 797 // MIPSN32EL: #define __GNUC_PATCHLEVEL__ 1 798 // MIPSN32EL: #define __GNUC_STDC_INLINE__ 1 799 // MIPSN32EL: #define __GNUC__ 4 800 // MIPSN32EL: #define __GXX_ABI_VERSION 1002 801 // MIPSN32EL: #define __ILP32__ 1 802 // MIPSN32EL: #define __INT16_C_SUFFIX__ 803 // MIPSN32EL: #define __INT16_FMTd__ "hd" 804 // MIPSN32EL: #define __INT16_FMTi__ "hi" 805 // MIPSN32EL: #define __INT16_MAX__ 32767 806 // MIPSN32EL: #define __INT16_TYPE__ short 807 // MIPSN32EL: #define __INT32_C_SUFFIX__ 808 // MIPSN32EL: #define __INT32_FMTd__ "d" 809 // MIPSN32EL: #define __INT32_FMTi__ "i" 810 // MIPSN32EL: #define __INT32_MAX__ 2147483647 811 // MIPSN32EL: #define __INT32_TYPE__ int 812 // MIPSN32EL: #define __INT64_C_SUFFIX__ LL 813 // MIPSN32EL: #define __INT64_FMTd__ "lld" 814 // MIPSN32EL: #define __INT64_FMTi__ "lli" 815 // MIPSN32EL: #define __INT64_MAX__ 9223372036854775807LL 816 // MIPSN32EL: #define __INT64_TYPE__ long long int 817 // MIPSN32EL: #define __INT8_C_SUFFIX__ 818 // MIPSN32EL: #define __INT8_FMTd__ "hhd" 819 // MIPSN32EL: #define __INT8_FMTi__ "hhi" 820 // MIPSN32EL: #define __INT8_MAX__ 127 821 // MIPSN32EL: #define __INT8_TYPE__ signed char 822 // MIPSN32EL: #define __INTMAX_C_SUFFIX__ LL 823 // MIPSN32EL: #define __INTMAX_FMTd__ "lld" 824 // MIPSN32EL: #define __INTMAX_FMTi__ "lli" 825 // MIPSN32EL: #define __INTMAX_MAX__ 9223372036854775807LL 826 // MIPSN32EL: #define __INTMAX_TYPE__ long long int 827 // MIPSN32EL: #define __INTMAX_WIDTH__ 64 828 // MIPSN32EL: #define __INTPTR_FMTd__ "ld" 829 // MIPSN32EL: #define __INTPTR_FMTi__ "li" 830 // MIPSN32EL: #define __INTPTR_MAX__ 2147483647L 831 // MIPSN32EL: #define __INTPTR_TYPE__ long int 832 // MIPSN32EL: #define __INTPTR_WIDTH__ 32 833 // MIPSN32EL: #define __INT_FAST16_FMTd__ "hd" 834 // MIPSN32EL: #define __INT_FAST16_FMTi__ "hi" 835 // MIPSN32EL: #define __INT_FAST16_MAX__ 32767 836 // MIPSN32EL: #define __INT_FAST16_TYPE__ short 837 // MIPSN32EL: #define __INT_FAST32_FMTd__ "d" 838 // MIPSN32EL: #define __INT_FAST32_FMTi__ "i" 839 // MIPSN32EL: #define __INT_FAST32_MAX__ 2147483647 840 // MIPSN32EL: #define __INT_FAST32_TYPE__ int 841 // MIPSN32EL: #define __INT_FAST64_FMTd__ "lld" 842 // MIPSN32EL: #define __INT_FAST64_FMTi__ "lli" 843 // MIPSN32EL: #define __INT_FAST64_MAX__ 9223372036854775807LL 844 // MIPSN32EL: #define __INT_FAST64_TYPE__ long long int 845 // MIPSN32EL: #define __INT_FAST8_FMTd__ "hhd" 846 // MIPSN32EL: #define __INT_FAST8_FMTi__ "hhi" 847 // MIPSN32EL: #define __INT_FAST8_MAX__ 127 848 // MIPSN32EL: #define __INT_FAST8_TYPE__ signed char 849 // MIPSN32EL: #define __INT_LEAST16_FMTd__ "hd" 850 // MIPSN32EL: #define __INT_LEAST16_FMTi__ "hi" 851 // MIPSN32EL: #define __INT_LEAST16_MAX__ 32767 852 // MIPSN32EL: #define __INT_LEAST16_TYPE__ short 853 // MIPSN32EL: #define __INT_LEAST32_FMTd__ "d" 854 // MIPSN32EL: #define __INT_LEAST32_FMTi__ "i" 855 // MIPSN32EL: #define __INT_LEAST32_MAX__ 2147483647 856 // MIPSN32EL: #define __INT_LEAST32_TYPE__ int 857 // MIPSN32EL: #define __INT_LEAST64_FMTd__ "lld" 858 // MIPSN32EL: #define __INT_LEAST64_FMTi__ "lli" 859 // MIPSN32EL: #define __INT_LEAST64_MAX__ 9223372036854775807LL 860 // MIPSN32EL: #define __INT_LEAST64_TYPE__ long long int 861 // MIPSN32EL: #define __INT_LEAST8_FMTd__ "hhd" 862 // MIPSN32EL: #define __INT_LEAST8_FMTi__ "hhi" 863 // MIPSN32EL: #define __INT_LEAST8_MAX__ 127 864 // MIPSN32EL: #define __INT_LEAST8_TYPE__ signed char 865 // MIPSN32EL: #define __INT_MAX__ 2147483647 866 // MIPSN32EL: #define __LDBL_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966L 867 // MIPSN32EL: #define __LDBL_DIG__ 33 868 // MIPSN32EL: #define __LDBL_EPSILON__ 1.92592994438723585305597794258492732e-34L 869 // MIPSN32EL: #define __LDBL_HAS_DENORM__ 1 870 // MIPSN32EL: #define __LDBL_HAS_INFINITY__ 1 871 // MIPSN32EL: #define __LDBL_HAS_QUIET_NAN__ 1 872 // MIPSN32EL: #define __LDBL_MANT_DIG__ 113 873 // MIPSN32EL: #define __LDBL_MAX_10_EXP__ 4932 874 // MIPSN32EL: #define __LDBL_MAX_EXP__ 16384 875 // MIPSN32EL: #define __LDBL_MAX__ 1.18973149535723176508575932662800702e+4932L 876 // MIPSN32EL: #define __LDBL_MIN_10_EXP__ (-4931) 877 // MIPSN32EL: #define __LDBL_MIN_EXP__ (-16381) 878 // MIPSN32EL: #define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L 879 // MIPSN32EL: #define __LITTLE_ENDIAN__ 1 880 // MIPSN32EL: #define __LONG_LONG_MAX__ 9223372036854775807LL 881 // MIPSN32EL: #define __LONG_MAX__ 2147483647L 882 // MIPSN32EL: #define __MIPSEL 1 883 // MIPSN32EL: #define __MIPSEL__ 1 884 // MIPSN32EL: #define __NO_INLINE__ 1 885 // MIPSN32EL: #define __ORDER_BIG_ENDIAN__ 4321 886 // MIPSN32EL: #define __ORDER_LITTLE_ENDIAN__ 1234 887 // MIPSN32EL: #define __ORDER_PDP_ENDIAN__ 3412 888 // MIPSN32EL: #define __POINTER_WIDTH__ 32 889 // MIPSN32EL: #define __PRAGMA_REDEFINE_EXTNAME 1 890 // MIPSN32EL: #define __PTRDIFF_FMTd__ "d" 891 // MIPSN32EL: #define __PTRDIFF_FMTi__ "i" 892 // MIPSN32EL: #define __PTRDIFF_MAX__ 2147483647 893 // MIPSN32EL: #define __PTRDIFF_TYPE__ int 894 // MIPSN32EL: #define __PTRDIFF_WIDTH__ 32 895 // MIPSN32EL: #define __REGISTER_PREFIX__ 896 // MIPSN32EL: #define __SCHAR_MAX__ 127 897 // MIPSN32EL: #define __SHRT_MAX__ 32767 898 // MIPSN32EL: #define __SIG_ATOMIC_MAX__ 2147483647 899 // MIPSN32EL: #define __SIG_ATOMIC_WIDTH__ 32 900 // MIPSN32EL: #define __SIZEOF_DOUBLE__ 8 901 // MIPSN32EL: #define __SIZEOF_FLOAT__ 4 902 // MIPSN32EL: #define __SIZEOF_INT__ 4 903 // MIPSN32EL: #define __SIZEOF_LONG_DOUBLE__ 16 904 // MIPSN32EL: #define __SIZEOF_LONG_LONG__ 8 905 // MIPSN32EL: #define __SIZEOF_LONG__ 4 906 // MIPSN32EL: #define __SIZEOF_POINTER__ 4 907 // MIPSN32EL: #define __SIZEOF_PTRDIFF_T__ 4 908 // MIPSN32EL: #define __SIZEOF_SHORT__ 2 909 // MIPSN32EL: #define __SIZEOF_SIZE_T__ 4 910 // MIPSN32EL: #define __SIZEOF_WCHAR_T__ 4 911 // MIPSN32EL: #define __SIZEOF_WINT_T__ 4 912 // MIPSN32EL: #define __SIZE_FMTX__ "X" 913 // MIPSN32EL: #define __SIZE_FMTo__ "o" 914 // MIPSN32EL: #define __SIZE_FMTu__ "u" 915 // MIPSN32EL: #define __SIZE_FMTx__ "x" 916 // MIPSN32EL: #define __SIZE_MAX__ 4294967295U 917 // MIPSN32EL: #define __SIZE_TYPE__ unsigned int 918 // MIPSN32EL: #define __SIZE_WIDTH__ 32 919 // MIPSN32EL: #define __STDC_HOSTED__ 0 920 // MIPSN32EL: #define __STDC_UTF_16__ 1 921 // MIPSN32EL: #define __STDC_UTF_32__ 1 922 // MIPSN32EL: #define __STDC_VERSION__ 201710L 923 // MIPSN32EL: #define __STDC__ 1 924 // MIPSN32EL: #define __UINT16_C_SUFFIX__ 925 // MIPSN32EL: #define __UINT16_FMTX__ "hX" 926 // MIPSN32EL: #define __UINT16_FMTo__ "ho" 927 // MIPSN32EL: #define __UINT16_FMTu__ "hu" 928 // MIPSN32EL: #define __UINT16_FMTx__ "hx" 929 // MIPSN32EL: #define __UINT16_MAX__ 65535 930 // MIPSN32EL: #define __UINT16_TYPE__ unsigned short 931 // MIPSN32EL: #define __UINT32_C_SUFFIX__ U 932 // MIPSN32EL: #define __UINT32_FMTX__ "X" 933 // MIPSN32EL: #define __UINT32_FMTo__ "o" 934 // MIPSN32EL: #define __UINT32_FMTu__ "u" 935 // MIPSN32EL: #define __UINT32_FMTx__ "x" 936 // MIPSN32EL: #define __UINT32_MAX__ 4294967295U 937 // MIPSN32EL: #define __UINT32_TYPE__ unsigned int 938 // MIPSN32EL: #define __UINT64_C_SUFFIX__ ULL 939 // MIPSN32EL: #define __UINT64_FMTX__ "llX" 940 // MIPSN32EL: #define __UINT64_FMTo__ "llo" 941 // MIPSN32EL: #define __UINT64_FMTu__ "llu" 942 // MIPSN32EL: #define __UINT64_FMTx__ "llx" 943 // MIPSN32EL: #define __UINT64_MAX__ 18446744073709551615ULL 944 // MIPSN32EL: #define __UINT64_TYPE__ long long unsigned int 945 // MIPSN32EL: #define __UINT8_C_SUFFIX__ 946 // MIPSN32EL: #define __UINT8_FMTX__ "hhX" 947 // MIPSN32EL: #define __UINT8_FMTo__ "hho" 948 // MIPSN32EL: #define __UINT8_FMTu__ "hhu" 949 // MIPSN32EL: #define __UINT8_FMTx__ "hhx" 950 // MIPSN32EL: #define __UINT8_MAX__ 255 951 // MIPSN32EL: #define __UINT8_TYPE__ unsigned char 952 // MIPSN32EL: #define __UINTMAX_C_SUFFIX__ ULL 953 // MIPSN32EL: #define __UINTMAX_FMTX__ "llX" 954 // MIPSN32EL: #define __UINTMAX_FMTo__ "llo" 955 // MIPSN32EL: #define __UINTMAX_FMTu__ "llu" 956 // MIPSN32EL: #define __UINTMAX_FMTx__ "llx" 957 // MIPSN32EL: #define __UINTMAX_MAX__ 18446744073709551615ULL 958 // MIPSN32EL: #define __UINTMAX_TYPE__ long long unsigned int 959 // MIPSN32EL: #define __UINTMAX_WIDTH__ 64 960 // MIPSN32EL: #define __UINTPTR_FMTX__ "lX" 961 // MIPSN32EL: #define __UINTPTR_FMTo__ "lo" 962 // MIPSN32EL: #define __UINTPTR_FMTu__ "lu" 963 // MIPSN32EL: #define __UINTPTR_FMTx__ "lx" 964 // MIPSN32EL: #define __UINTPTR_MAX__ 4294967295UL 965 // MIPSN32EL: #define __UINTPTR_TYPE__ long unsigned int 966 // MIPSN32EL: #define __UINTPTR_WIDTH__ 32 967 // MIPSN32EL: #define __UINT_FAST16_FMTX__ "hX" 968 // MIPSN32EL: #define __UINT_FAST16_FMTo__ "ho" 969 // MIPSN32EL: #define __UINT_FAST16_FMTu__ "hu" 970 // MIPSN32EL: #define __UINT_FAST16_FMTx__ "hx" 971 // MIPSN32EL: #define __UINT_FAST16_MAX__ 65535 972 // MIPSN32EL: #define __UINT_FAST16_TYPE__ unsigned short 973 // MIPSN32EL: #define __UINT_FAST32_FMTX__ "X" 974 // MIPSN32EL: #define __UINT_FAST32_FMTo__ "o" 975 // MIPSN32EL: #define __UINT_FAST32_FMTu__ "u" 976 // MIPSN32EL: #define __UINT_FAST32_FMTx__ "x" 977 // MIPSN32EL: #define __UINT_FAST32_MAX__ 4294967295U 978 // MIPSN32EL: #define __UINT_FAST32_TYPE__ unsigned int 979 // MIPSN32EL: #define __UINT_FAST64_FMTX__ "llX" 980 // MIPSN32EL: #define __UINT_FAST64_FMTo__ "llo" 981 // MIPSN32EL: #define __UINT_FAST64_FMTu__ "llu" 982 // MIPSN32EL: #define __UINT_FAST64_FMTx__ "llx" 983 // MIPSN32EL: #define __UINT_FAST64_MAX__ 18446744073709551615ULL 984 // MIPSN32EL: #define __UINT_FAST64_TYPE__ long long unsigned int 985 // MIPSN32EL: #define __UINT_FAST8_FMTX__ "hhX" 986 // MIPSN32EL: #define __UINT_FAST8_FMTo__ "hho" 987 // MIPSN32EL: #define __UINT_FAST8_FMTu__ "hhu" 988 // MIPSN32EL: #define __UINT_FAST8_FMTx__ "hhx" 989 // MIPSN32EL: #define __UINT_FAST8_MAX__ 255 990 // MIPSN32EL: #define __UINT_FAST8_TYPE__ unsigned char 991 // MIPSN32EL: #define __UINT_LEAST16_FMTX__ "hX" 992 // MIPSN32EL: #define __UINT_LEAST16_FMTo__ "ho" 993 // MIPSN32EL: #define __UINT_LEAST16_FMTu__ "hu" 994 // MIPSN32EL: #define __UINT_LEAST16_FMTx__ "hx" 995 // MIPSN32EL: #define __UINT_LEAST16_MAX__ 65535 996 // MIPSN32EL: #define __UINT_LEAST16_TYPE__ unsigned short 997 // MIPSN32EL: #define __UINT_LEAST32_FMTX__ "X" 998 // MIPSN32EL: #define __UINT_LEAST32_FMTo__ "o" 999 // MIPSN32EL: #define __UINT_LEAST32_FMTu__ "u" 1000 // MIPSN32EL: #define __UINT_LEAST32_FMTx__ "x" 1001 // MIPSN32EL: #define __UINT_LEAST32_MAX__ 4294967295U 1002 // MIPSN32EL: #define __UINT_LEAST32_TYPE__ unsigned int 1003 // MIPSN32EL: #define __UINT_LEAST64_FMTX__ "llX" 1004 // MIPSN32EL: #define __UINT_LEAST64_FMTo__ "llo" 1005 // MIPSN32EL: #define __UINT_LEAST64_FMTu__ "llu" 1006 // MIPSN32EL: #define __UINT_LEAST64_FMTx__ "llx" 1007 // MIPSN32EL: #define __UINT_LEAST64_MAX__ 18446744073709551615ULL 1008 // MIPSN32EL: #define __UINT_LEAST64_TYPE__ long long unsigned int 1009 // MIPSN32EL: #define __UINT_LEAST8_FMTX__ "hhX" 1010 // MIPSN32EL: #define __UINT_LEAST8_FMTo__ "hho" 1011 // MIPSN32EL: #define __UINT_LEAST8_FMTu__ "hhu" 1012 // MIPSN32EL: #define __UINT_LEAST8_FMTx__ "hhx" 1013 // MIPSN32EL: #define __UINT_LEAST8_MAX__ 255 1014 // MIPSN32EL: #define __UINT_LEAST8_TYPE__ unsigned char 1015 // MIPSN32EL: #define __USER_LABEL_PREFIX__ 1016 // MIPSN32EL: #define __WCHAR_MAX__ 2147483647 1017 // MIPSN32EL: #define __WCHAR_TYPE__ int 1018 // MIPSN32EL: #define __WCHAR_WIDTH__ 32 1019 // MIPSN32EL: #define __WINT_TYPE__ int 1020 // MIPSN32EL: #define __WINT_WIDTH__ 32 1021 // MIPSN32EL: #define __clang__ 1 1022 // MIPSN32EL: #define __llvm__ 1 1023 // MIPSN32EL: #define __mips 64 1024 // MIPSN32EL: #define __mips64 1 1025 // MIPSN32EL: #define __mips64__ 1 1026 // MIPSN32EL: #define __mips__ 1 1027 // MIPSN32EL: #define __mips_abicalls 1 1028 // MIPSN32EL: #define __mips_fpr 64 1029 // MIPSN32EL: #define __mips_hard_float 1 1030 // MIPSN32EL: #define __mips_isa_rev 2 1031 // MIPSN32EL: #define __mips_n32 1 1032 // MIPSN32EL: #define _mips 1 1033 // MIPSN32EL: #define mips 1 1034 1035 // RUN: %clang_cc1 -E -dM -ffreestanding -fgnuc-version=4.2.1 -triple=mips64-none-none < /dev/null | FileCheck -match-full-lines -check-prefix MIPS64BE %s 1036 // RUN: %clang_cc1 -x c++ -E -dM -ffreestanding -fgnuc-version=4.2.1 -triple=mips64-none-none < /dev/null | FileCheck -match-full-lines -check-prefix MIPS64BE -check-prefix MIPS64BE-CXX %s 1037 // 1038 // MIPS64BE:#define MIPSEB 1 1039 // MIPS64BE:#define _ABI64 3 1040 // MIPS64BE:#define _LP64 1 1041 // MIPS64BE:#define _MIPSEB 1 1042 // MIPS64BE:#define _MIPS_ARCH "mips64r2" 1043 // MIPS64BE:#define _MIPS_ARCH_MIPS64R2 1 1044 // MIPS64BE:#define _MIPS_FPSET 32 1045 // MIPS64BE:#define _MIPS_SIM _ABI64 1046 // MIPS64BE:#define _MIPS_SZINT 32 1047 // MIPS64BE:#define _MIPS_SZLONG 64 1048 // MIPS64BE:#define _MIPS_SZPTR 64 1049 // MIPS64BE:#define __BIGGEST_ALIGNMENT__ 16 1050 // MIPS64BE:#define __BIG_ENDIAN__ 1 1051 // MIPS64BE:#define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__ 1052 // MIPS64BE:#define __CHAR16_TYPE__ unsigned short 1053 // MIPS64BE:#define __CHAR32_TYPE__ unsigned int 1054 // MIPS64BE:#define __CHAR_BIT__ 8 1055 // MIPS64BE:#define __CONSTANT_CFSTRINGS__ 1 1056 // MIPS64BE:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324 1057 // MIPS64BE:#define __DBL_DIG__ 15 1058 // MIPS64BE:#define __DBL_EPSILON__ 2.2204460492503131e-16 1059 // MIPS64BE:#define __DBL_HAS_DENORM__ 1 1060 // MIPS64BE:#define __DBL_HAS_INFINITY__ 1 1061 // MIPS64BE:#define __DBL_HAS_QUIET_NAN__ 1 1062 // MIPS64BE:#define __DBL_MANT_DIG__ 53 1063 // MIPS64BE:#define __DBL_MAX_10_EXP__ 308 1064 // MIPS64BE:#define __DBL_MAX_EXP__ 1024 1065 // MIPS64BE:#define __DBL_MAX__ 1.7976931348623157e+308 1066 // MIPS64BE:#define __DBL_MIN_10_EXP__ (-307) 1067 // MIPS64BE:#define __DBL_MIN_EXP__ (-1021) 1068 // MIPS64BE:#define __DBL_MIN__ 2.2250738585072014e-308 1069 // MIPS64BE:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__ 1070 // MIPS64BE:#define __FLT_DENORM_MIN__ 1.40129846e-45F 1071 // MIPS64BE:#define __FLT_DIG__ 6 1072 // MIPS64BE:#define __FLT_EPSILON__ 1.19209290e-7F 1073 // MIPS64BE:#define __FLT_HAS_DENORM__ 1 1074 // MIPS64BE:#define __FLT_HAS_INFINITY__ 1 1075 // MIPS64BE:#define __FLT_HAS_QUIET_NAN__ 1 1076 // MIPS64BE:#define __FLT_MANT_DIG__ 24 1077 // MIPS64BE:#define __FLT_MAX_10_EXP__ 38 1078 // MIPS64BE:#define __FLT_MAX_EXP__ 128 1079 // MIPS64BE:#define __FLT_MAX__ 3.40282347e+38F 1080 // MIPS64BE:#define __FLT_MIN_10_EXP__ (-37) 1081 // MIPS64BE:#define __FLT_MIN_EXP__ (-125) 1082 // MIPS64BE:#define __FLT_MIN__ 1.17549435e-38F 1083 // MIPS64BE:#define __FLT_RADIX__ 2 1084 // MIPS64BE:#define __INT16_C_SUFFIX__ 1085 // MIPS64BE:#define __INT16_FMTd__ "hd" 1086 // MIPS64BE:#define __INT16_FMTi__ "hi" 1087 // MIPS64BE:#define __INT16_MAX__ 32767 1088 // MIPS64BE:#define __INT16_TYPE__ short 1089 // MIPS64BE:#define __INT32_C_SUFFIX__ 1090 // MIPS64BE:#define __INT32_FMTd__ "d" 1091 // MIPS64BE:#define __INT32_FMTi__ "i" 1092 // MIPS64BE:#define __INT32_MAX__ 2147483647 1093 // MIPS64BE:#define __INT32_TYPE__ int 1094 // MIPS64BE:#define __INT64_C_SUFFIX__ L 1095 // MIPS64BE:#define __INT64_FMTd__ "ld" 1096 // MIPS64BE:#define __INT64_FMTi__ "li" 1097 // MIPS64BE:#define __INT64_MAX__ 9223372036854775807L 1098 // MIPS64BE:#define __INT64_TYPE__ long int 1099 // MIPS64BE:#define __INT8_C_SUFFIX__ 1100 // MIPS64BE:#define __INT8_FMTd__ "hhd" 1101 // MIPS64BE:#define __INT8_FMTi__ "hhi" 1102 // MIPS64BE:#define __INT8_MAX__ 127 1103 // MIPS64BE:#define __INT8_TYPE__ signed char 1104 // MIPS64BE:#define __INTMAX_C_SUFFIX__ L 1105 // MIPS64BE:#define __INTMAX_FMTd__ "ld" 1106 // MIPS64BE:#define __INTMAX_FMTi__ "li" 1107 // MIPS64BE:#define __INTMAX_MAX__ 9223372036854775807L 1108 // MIPS64BE:#define __INTMAX_TYPE__ long int 1109 // MIPS64BE:#define __INTMAX_WIDTH__ 64 1110 // MIPS64BE:#define __INTPTR_FMTd__ "ld" 1111 // MIPS64BE:#define __INTPTR_FMTi__ "li" 1112 // MIPS64BE:#define __INTPTR_MAX__ 9223372036854775807L 1113 // MIPS64BE:#define __INTPTR_TYPE__ long int 1114 // MIPS64BE:#define __INTPTR_WIDTH__ 64 1115 // MIPS64BE:#define __INT_FAST16_FMTd__ "hd" 1116 // MIPS64BE:#define __INT_FAST16_FMTi__ "hi" 1117 // MIPS64BE:#define __INT_FAST16_MAX__ 32767 1118 // MIPS64BE:#define __INT_FAST16_TYPE__ short 1119 // MIPS64BE:#define __INT_FAST32_FMTd__ "d" 1120 // MIPS64BE:#define __INT_FAST32_FMTi__ "i" 1121 // MIPS64BE:#define __INT_FAST32_MAX__ 2147483647 1122 // MIPS64BE:#define __INT_FAST32_TYPE__ int 1123 // MIPS64BE:#define __INT_FAST64_FMTd__ "ld" 1124 // MIPS64BE:#define __INT_FAST64_FMTi__ "li" 1125 // MIPS64BE:#define __INT_FAST64_MAX__ 9223372036854775807L 1126 // MIPS64BE:#define __INT_FAST64_TYPE__ long int 1127 // MIPS64BE:#define __INT_FAST8_FMTd__ "hhd" 1128 // MIPS64BE:#define __INT_FAST8_FMTi__ "hhi" 1129 // MIPS64BE:#define __INT_FAST8_MAX__ 127 1130 // MIPS64BE:#define __INT_FAST8_TYPE__ signed char 1131 // MIPS64BE:#define __INT_LEAST16_FMTd__ "hd" 1132 // MIPS64BE:#define __INT_LEAST16_FMTi__ "hi" 1133 // MIPS64BE:#define __INT_LEAST16_MAX__ 32767 1134 // MIPS64BE:#define __INT_LEAST16_TYPE__ short 1135 // MIPS64BE:#define __INT_LEAST32_FMTd__ "d" 1136 // MIPS64BE:#define __INT_LEAST32_FMTi__ "i" 1137 // MIPS64BE:#define __INT_LEAST32_MAX__ 2147483647 1138 // MIPS64BE:#define __INT_LEAST32_TYPE__ int 1139 // MIPS64BE:#define __INT_LEAST64_FMTd__ "ld" 1140 // MIPS64BE:#define __INT_LEAST64_FMTi__ "li" 1141 // MIPS64BE:#define __INT_LEAST64_MAX__ 9223372036854775807L 1142 // MIPS64BE:#define __INT_LEAST64_TYPE__ long int 1143 // MIPS64BE:#define __INT_LEAST8_FMTd__ "hhd" 1144 // MIPS64BE:#define __INT_LEAST8_FMTi__ "hhi" 1145 // MIPS64BE:#define __INT_LEAST8_MAX__ 127 1146 // MIPS64BE:#define __INT_LEAST8_TYPE__ signed char 1147 // MIPS64BE:#define __INT_MAX__ 2147483647 1148 // MIPS64BE:#define __LDBL_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966L 1149 // MIPS64BE:#define __LDBL_DIG__ 33 1150 // MIPS64BE:#define __LDBL_EPSILON__ 1.92592994438723585305597794258492732e-34L 1151 // MIPS64BE:#define __LDBL_HAS_DENORM__ 1 1152 // MIPS64BE:#define __LDBL_HAS_INFINITY__ 1 1153 // MIPS64BE:#define __LDBL_HAS_QUIET_NAN__ 1 1154 // MIPS64BE:#define __LDBL_MANT_DIG__ 113 1155 // MIPS64BE:#define __LDBL_MAX_10_EXP__ 4932 1156 // MIPS64BE:#define __LDBL_MAX_EXP__ 16384 1157 // MIPS64BE:#define __LDBL_MAX__ 1.18973149535723176508575932662800702e+4932L 1158 // MIPS64BE:#define __LDBL_MIN_10_EXP__ (-4931) 1159 // MIPS64BE:#define __LDBL_MIN_EXP__ (-16381) 1160 // MIPS64BE:#define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L 1161 // MIPS64BE:#define __LONG_LONG_MAX__ 9223372036854775807LL 1162 // MIPS64BE:#define __LONG_MAX__ 9223372036854775807L 1163 // MIPS64BE:#define __LP64__ 1 1164 // MIPS64BE:#define __MIPSEB 1 1165 // MIPS64BE:#define __MIPSEB__ 1 1166 // MIPS64BE:#define __POINTER_WIDTH__ 64 1167 // MIPS64BE:#define __PRAGMA_REDEFINE_EXTNAME 1 1168 // MIPS64BE:#define __PTRDIFF_TYPE__ long int 1169 // MIPS64BE:#define __PTRDIFF_WIDTH__ 64 1170 // MIPS64BE:#define __REGISTER_PREFIX__ 1171 // MIPS64BE:#define __SCHAR_MAX__ 127 1172 // MIPS64BE:#define __SHRT_MAX__ 32767 1173 // MIPS64BE:#define __SIG_ATOMIC_MAX__ 2147483647 1174 // MIPS64BE:#define __SIG_ATOMIC_WIDTH__ 32 1175 // MIPS64BE:#define __SIZEOF_DOUBLE__ 8 1176 // MIPS64BE:#define __SIZEOF_FLOAT__ 4 1177 // MIPS64BE:#define __SIZEOF_INT128__ 16 1178 // MIPS64BE:#define __SIZEOF_INT__ 4 1179 // MIPS64BE:#define __SIZEOF_LONG_DOUBLE__ 16 1180 // MIPS64BE:#define __SIZEOF_LONG_LONG__ 8 1181 // MIPS64BE:#define __SIZEOF_LONG__ 8 1182 // MIPS64BE:#define __SIZEOF_POINTER__ 8 1183 // MIPS64BE:#define __SIZEOF_PTRDIFF_T__ 8 1184 // MIPS64BE:#define __SIZEOF_SHORT__ 2 1185 // MIPS64BE:#define __SIZEOF_SIZE_T__ 8 1186 // MIPS64BE:#define __SIZEOF_WCHAR_T__ 4 1187 // MIPS64BE:#define __SIZEOF_WINT_T__ 4 1188 // MIPS64BE:#define __SIZE_MAX__ 18446744073709551615UL 1189 // MIPS64BE:#define __SIZE_TYPE__ long unsigned int 1190 // MIPS64BE:#define __SIZE_WIDTH__ 64 1191 // MIPS64BE-CXX:#define __STDCPP_DEFAULT_NEW_ALIGNMENT__ 16UL 1192 // MIPS64BE:#define __UINT16_C_SUFFIX__ 1193 // MIPS64BE:#define __UINT16_MAX__ 65535 1194 // MIPS64BE:#define __UINT16_TYPE__ unsigned short 1195 // MIPS64BE:#define __UINT32_C_SUFFIX__ U 1196 // MIPS64BE:#define __UINT32_MAX__ 4294967295U 1197 // MIPS64BE:#define __UINT32_TYPE__ unsigned int 1198 // MIPS64BE:#define __UINT64_C_SUFFIX__ UL 1199 // MIPS64BE:#define __UINT64_MAX__ 18446744073709551615UL 1200 // MIPS64BE:#define __UINT64_TYPE__ long unsigned int 1201 // MIPS64BE:#define __UINT8_C_SUFFIX__ 1202 // MIPS64BE:#define __UINT8_MAX__ 255 1203 // MIPS64BE:#define __UINT8_TYPE__ unsigned char 1204 // MIPS64BE:#define __UINTMAX_C_SUFFIX__ UL 1205 // MIPS64BE:#define __UINTMAX_MAX__ 18446744073709551615UL 1206 // MIPS64BE:#define __UINTMAX_TYPE__ long unsigned int 1207 // MIPS64BE:#define __UINTMAX_WIDTH__ 64 1208 // MIPS64BE:#define __UINTPTR_MAX__ 18446744073709551615UL 1209 // MIPS64BE:#define __UINTPTR_TYPE__ long unsigned int 1210 // MIPS64BE:#define __UINTPTR_WIDTH__ 64 1211 // MIPS64BE:#define __UINT_FAST16_MAX__ 65535 1212 // MIPS64BE:#define __UINT_FAST16_TYPE__ unsigned short 1213 // MIPS64BE:#define __UINT_FAST32_MAX__ 4294967295U 1214 // MIPS64BE:#define __UINT_FAST32_TYPE__ unsigned int 1215 // MIPS64BE:#define __UINT_FAST64_MAX__ 18446744073709551615UL 1216 // MIPS64BE:#define __UINT_FAST64_TYPE__ long unsigned int 1217 // MIPS64BE:#define __UINT_FAST8_MAX__ 255 1218 // MIPS64BE:#define __UINT_FAST8_TYPE__ unsigned char 1219 // MIPS64BE:#define __UINT_LEAST16_MAX__ 65535 1220 // MIPS64BE:#define __UINT_LEAST16_TYPE__ unsigned short 1221 // MIPS64BE:#define __UINT_LEAST32_MAX__ 4294967295U 1222 // MIPS64BE:#define __UINT_LEAST32_TYPE__ unsigned int 1223 // MIPS64BE:#define __UINT_LEAST64_MAX__ 18446744073709551615UL 1224 // MIPS64BE:#define __UINT_LEAST64_TYPE__ long unsigned int 1225 // MIPS64BE:#define __UINT_LEAST8_MAX__ 255 1226 // MIPS64BE:#define __UINT_LEAST8_TYPE__ unsigned char 1227 // MIPS64BE:#define __USER_LABEL_PREFIX__ 1228 // MIPS64BE:#define __WCHAR_MAX__ 2147483647 1229 // MIPS64BE:#define __WCHAR_TYPE__ int 1230 // MIPS64BE:#define __WCHAR_WIDTH__ 32 1231 // MIPS64BE:#define __WINT_TYPE__ int 1232 // MIPS64BE:#define __WINT_WIDTH__ 32 1233 // MIPS64BE:#define __clang__ 1 1234 // MIPS64BE:#define __llvm__ 1 1235 // MIPS64BE:#define __mips 64 1236 // MIPS64BE:#define __mips64 1 1237 // MIPS64BE:#define __mips64__ 1 1238 // MIPS64BE:#define __mips__ 1 1239 // MIPS64BE:#define __mips_abicalls 1 1240 // MIPS64BE:#define __mips_fpr 64 1241 // MIPS64BE:#define __mips_hard_float 1 1242 // MIPS64BE:#define __mips_n64 1 1243 // MIPS64BE:#define _mips 1 1244 // MIPS64BE:#define mips 1 1245 1246 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mips64el-none-none < /dev/null | FileCheck -match-full-lines -check-prefix MIPS64EL %s 1247 // 1248 // MIPS64EL:#define MIPSEL 1 1249 // MIPS64EL:#define _ABI64 3 1250 // MIPS64EL:#define _LP64 1 1251 // MIPS64EL:#define _MIPSEL 1 1252 // MIPS64EL:#define _MIPS_ARCH "mips64r2" 1253 // MIPS64EL:#define _MIPS_ARCH_MIPS64R2 1 1254 // MIPS64EL:#define _MIPS_FPSET 32 1255 // MIPS64EL:#define _MIPS_SIM _ABI64 1256 // MIPS64EL:#define _MIPS_SZINT 32 1257 // MIPS64EL:#define _MIPS_SZLONG 64 1258 // MIPS64EL:#define _MIPS_SZPTR 64 1259 // MIPS64EL:#define __BIGGEST_ALIGNMENT__ 16 1260 // MIPS64EL:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__ 1261 // MIPS64EL:#define __CHAR16_TYPE__ unsigned short 1262 // MIPS64EL:#define __CHAR32_TYPE__ unsigned int 1263 // MIPS64EL:#define __CHAR_BIT__ 8 1264 // MIPS64EL:#define __CONSTANT_CFSTRINGS__ 1 1265 // MIPS64EL:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324 1266 // MIPS64EL:#define __DBL_DIG__ 15 1267 // MIPS64EL:#define __DBL_EPSILON__ 2.2204460492503131e-16 1268 // MIPS64EL:#define __DBL_HAS_DENORM__ 1 1269 // MIPS64EL:#define __DBL_HAS_INFINITY__ 1 1270 // MIPS64EL:#define __DBL_HAS_QUIET_NAN__ 1 1271 // MIPS64EL:#define __DBL_MANT_DIG__ 53 1272 // MIPS64EL:#define __DBL_MAX_10_EXP__ 308 1273 // MIPS64EL:#define __DBL_MAX_EXP__ 1024 1274 // MIPS64EL:#define __DBL_MAX__ 1.7976931348623157e+308 1275 // MIPS64EL:#define __DBL_MIN_10_EXP__ (-307) 1276 // MIPS64EL:#define __DBL_MIN_EXP__ (-1021) 1277 // MIPS64EL:#define __DBL_MIN__ 2.2250738585072014e-308 1278 // MIPS64EL:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__ 1279 // MIPS64EL:#define __FLT_DENORM_MIN__ 1.40129846e-45F 1280 // MIPS64EL:#define __FLT_DIG__ 6 1281 // MIPS64EL:#define __FLT_EPSILON__ 1.19209290e-7F 1282 // MIPS64EL:#define __FLT_HAS_DENORM__ 1 1283 // MIPS64EL:#define __FLT_HAS_INFINITY__ 1 1284 // MIPS64EL:#define __FLT_HAS_QUIET_NAN__ 1 1285 // MIPS64EL:#define __FLT_MANT_DIG__ 24 1286 // MIPS64EL:#define __FLT_MAX_10_EXP__ 38 1287 // MIPS64EL:#define __FLT_MAX_EXP__ 128 1288 // MIPS64EL:#define __FLT_MAX__ 3.40282347e+38F 1289 // MIPS64EL:#define __FLT_MIN_10_EXP__ (-37) 1290 // MIPS64EL:#define __FLT_MIN_EXP__ (-125) 1291 // MIPS64EL:#define __FLT_MIN__ 1.17549435e-38F 1292 // MIPS64EL:#define __FLT_RADIX__ 2 1293 // MIPS64EL:#define __INT16_C_SUFFIX__ 1294 // MIPS64EL:#define __INT16_FMTd__ "hd" 1295 // MIPS64EL:#define __INT16_FMTi__ "hi" 1296 // MIPS64EL:#define __INT16_MAX__ 32767 1297 // MIPS64EL:#define __INT16_TYPE__ short 1298 // MIPS64EL:#define __INT32_C_SUFFIX__ 1299 // MIPS64EL:#define __INT32_FMTd__ "d" 1300 // MIPS64EL:#define __INT32_FMTi__ "i" 1301 // MIPS64EL:#define __INT32_MAX__ 2147483647 1302 // MIPS64EL:#define __INT32_TYPE__ int 1303 // MIPS64EL:#define __INT64_C_SUFFIX__ L 1304 // MIPS64EL:#define __INT64_FMTd__ "ld" 1305 // MIPS64EL:#define __INT64_FMTi__ "li" 1306 // MIPS64EL:#define __INT64_MAX__ 9223372036854775807L 1307 // MIPS64EL:#define __INT64_TYPE__ long int 1308 // MIPS64EL:#define __INT8_C_SUFFIX__ 1309 // MIPS64EL:#define __INT8_FMTd__ "hhd" 1310 // MIPS64EL:#define __INT8_FMTi__ "hhi" 1311 // MIPS64EL:#define __INT8_MAX__ 127 1312 // MIPS64EL:#define __INT8_TYPE__ signed char 1313 // MIPS64EL:#define __INTMAX_C_SUFFIX__ L 1314 // MIPS64EL:#define __INTMAX_FMTd__ "ld" 1315 // MIPS64EL:#define __INTMAX_FMTi__ "li" 1316 // MIPS64EL:#define __INTMAX_MAX__ 9223372036854775807L 1317 // MIPS64EL:#define __INTMAX_TYPE__ long int 1318 // MIPS64EL:#define __INTMAX_WIDTH__ 64 1319 // MIPS64EL:#define __INTPTR_FMTd__ "ld" 1320 // MIPS64EL:#define __INTPTR_FMTi__ "li" 1321 // MIPS64EL:#define __INTPTR_MAX__ 9223372036854775807L 1322 // MIPS64EL:#define __INTPTR_TYPE__ long int 1323 // MIPS64EL:#define __INTPTR_WIDTH__ 64 1324 // MIPS64EL:#define __INT_FAST16_FMTd__ "hd" 1325 // MIPS64EL:#define __INT_FAST16_FMTi__ "hi" 1326 // MIPS64EL:#define __INT_FAST16_MAX__ 32767 1327 // MIPS64EL:#define __INT_FAST16_TYPE__ short 1328 // MIPS64EL:#define __INT_FAST32_FMTd__ "d" 1329 // MIPS64EL:#define __INT_FAST32_FMTi__ "i" 1330 // MIPS64EL:#define __INT_FAST32_MAX__ 2147483647 1331 // MIPS64EL:#define __INT_FAST32_TYPE__ int 1332 // MIPS64EL:#define __INT_FAST64_FMTd__ "ld" 1333 // MIPS64EL:#define __INT_FAST64_FMTi__ "li" 1334 // MIPS64EL:#define __INT_FAST64_MAX__ 9223372036854775807L 1335 // MIPS64EL:#define __INT_FAST64_TYPE__ long int 1336 // MIPS64EL:#define __INT_FAST8_FMTd__ "hhd" 1337 // MIPS64EL:#define __INT_FAST8_FMTi__ "hhi" 1338 // MIPS64EL:#define __INT_FAST8_MAX__ 127 1339 // MIPS64EL:#define __INT_FAST8_TYPE__ signed char 1340 // MIPS64EL:#define __INT_LEAST16_FMTd__ "hd" 1341 // MIPS64EL:#define __INT_LEAST16_FMTi__ "hi" 1342 // MIPS64EL:#define __INT_LEAST16_MAX__ 32767 1343 // MIPS64EL:#define __INT_LEAST16_TYPE__ short 1344 // MIPS64EL:#define __INT_LEAST32_FMTd__ "d" 1345 // MIPS64EL:#define __INT_LEAST32_FMTi__ "i" 1346 // MIPS64EL:#define __INT_LEAST32_MAX__ 2147483647 1347 // MIPS64EL:#define __INT_LEAST32_TYPE__ int 1348 // MIPS64EL:#define __INT_LEAST64_FMTd__ "ld" 1349 // MIPS64EL:#define __INT_LEAST64_FMTi__ "li" 1350 // MIPS64EL:#define __INT_LEAST64_MAX__ 9223372036854775807L 1351 // MIPS64EL:#define __INT_LEAST64_TYPE__ long int 1352 // MIPS64EL:#define __INT_LEAST8_FMTd__ "hhd" 1353 // MIPS64EL:#define __INT_LEAST8_FMTi__ "hhi" 1354 // MIPS64EL:#define __INT_LEAST8_MAX__ 127 1355 // MIPS64EL:#define __INT_LEAST8_TYPE__ signed char 1356 // MIPS64EL:#define __INT_MAX__ 2147483647 1357 // MIPS64EL:#define __LDBL_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966L 1358 // MIPS64EL:#define __LDBL_DIG__ 33 1359 // MIPS64EL:#define __LDBL_EPSILON__ 1.92592994438723585305597794258492732e-34L 1360 // MIPS64EL:#define __LDBL_HAS_DENORM__ 1 1361 // MIPS64EL:#define __LDBL_HAS_INFINITY__ 1 1362 // MIPS64EL:#define __LDBL_HAS_QUIET_NAN__ 1 1363 // MIPS64EL:#define __LDBL_MANT_DIG__ 113 1364 // MIPS64EL:#define __LDBL_MAX_10_EXP__ 4932 1365 // MIPS64EL:#define __LDBL_MAX_EXP__ 16384 1366 // MIPS64EL:#define __LDBL_MAX__ 1.18973149535723176508575932662800702e+4932L 1367 // MIPS64EL:#define __LDBL_MIN_10_EXP__ (-4931) 1368 // MIPS64EL:#define __LDBL_MIN_EXP__ (-16381) 1369 // MIPS64EL:#define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L 1370 // MIPS64EL:#define __LITTLE_ENDIAN__ 1 1371 // MIPS64EL:#define __LONG_LONG_MAX__ 9223372036854775807LL 1372 // MIPS64EL:#define __LONG_MAX__ 9223372036854775807L 1373 // MIPS64EL:#define __LP64__ 1 1374 // MIPS64EL:#define __MIPSEL 1 1375 // MIPS64EL:#define __MIPSEL__ 1 1376 // MIPS64EL:#define __POINTER_WIDTH__ 64 1377 // MIPS64EL:#define __PRAGMA_REDEFINE_EXTNAME 1 1378 // MIPS64EL:#define __PTRDIFF_TYPE__ long int 1379 // MIPS64EL:#define __PTRDIFF_WIDTH__ 64 1380 // MIPS64EL:#define __REGISTER_PREFIX__ 1381 // MIPS64EL:#define __SCHAR_MAX__ 127 1382 // MIPS64EL:#define __SHRT_MAX__ 32767 1383 // MIPS64EL:#define __SIG_ATOMIC_MAX__ 2147483647 1384 // MIPS64EL:#define __SIG_ATOMIC_WIDTH__ 32 1385 // MIPS64EL:#define __SIZEOF_DOUBLE__ 8 1386 // MIPS64EL:#define __SIZEOF_FLOAT__ 4 1387 // MIPS64EL:#define __SIZEOF_INT128__ 16 1388 // MIPS64EL:#define __SIZEOF_INT__ 4 1389 // MIPS64EL:#define __SIZEOF_LONG_DOUBLE__ 16 1390 // MIPS64EL:#define __SIZEOF_LONG_LONG__ 8 1391 // MIPS64EL:#define __SIZEOF_LONG__ 8 1392 // MIPS64EL:#define __SIZEOF_POINTER__ 8 1393 // MIPS64EL:#define __SIZEOF_PTRDIFF_T__ 8 1394 // MIPS64EL:#define __SIZEOF_SHORT__ 2 1395 // MIPS64EL:#define __SIZEOF_SIZE_T__ 8 1396 // MIPS64EL:#define __SIZEOF_WCHAR_T__ 4 1397 // MIPS64EL:#define __SIZEOF_WINT_T__ 4 1398 // MIPS64EL:#define __SIZE_MAX__ 18446744073709551615UL 1399 // MIPS64EL:#define __SIZE_TYPE__ long unsigned int 1400 // MIPS64EL:#define __SIZE_WIDTH__ 64 1401 // MIPS64EL:#define __UINT16_C_SUFFIX__ 1402 // MIPS64EL:#define __UINT16_MAX__ 65535 1403 // MIPS64EL:#define __UINT16_TYPE__ unsigned short 1404 // MIPS64EL:#define __UINT32_C_SUFFIX__ U 1405 // MIPS64EL:#define __UINT32_MAX__ 4294967295U 1406 // MIPS64EL:#define __UINT32_TYPE__ unsigned int 1407 // MIPS64EL:#define __UINT64_C_SUFFIX__ UL 1408 // MIPS64EL:#define __UINT64_MAX__ 18446744073709551615UL 1409 // MIPS64EL:#define __UINT64_TYPE__ long unsigned int 1410 // MIPS64EL:#define __UINT8_C_SUFFIX__ 1411 // MIPS64EL:#define __UINT8_MAX__ 255 1412 // MIPS64EL:#define __UINT8_TYPE__ unsigned char 1413 // MIPS64EL:#define __UINTMAX_C_SUFFIX__ UL 1414 // MIPS64EL:#define __UINTMAX_MAX__ 18446744073709551615UL 1415 // MIPS64EL:#define __UINTMAX_TYPE__ long unsigned int 1416 // MIPS64EL:#define __UINTMAX_WIDTH__ 64 1417 // MIPS64EL:#define __UINTPTR_MAX__ 18446744073709551615UL 1418 // MIPS64EL:#define __UINTPTR_TYPE__ long unsigned int 1419 // MIPS64EL:#define __UINTPTR_WIDTH__ 64 1420 // MIPS64EL:#define __UINT_FAST16_MAX__ 65535 1421 // MIPS64EL:#define __UINT_FAST16_TYPE__ unsigned short 1422 // MIPS64EL:#define __UINT_FAST32_MAX__ 4294967295U 1423 // MIPS64EL:#define __UINT_FAST32_TYPE__ unsigned int 1424 // MIPS64EL:#define __UINT_FAST64_MAX__ 18446744073709551615UL 1425 // MIPS64EL:#define __UINT_FAST64_TYPE__ long unsigned int 1426 // MIPS64EL:#define __UINT_FAST8_MAX__ 255 1427 // MIPS64EL:#define __UINT_FAST8_TYPE__ unsigned char 1428 // MIPS64EL:#define __UINT_LEAST16_MAX__ 65535 1429 // MIPS64EL:#define __UINT_LEAST16_TYPE__ unsigned short 1430 // MIPS64EL:#define __UINT_LEAST32_MAX__ 4294967295U 1431 // MIPS64EL:#define __UINT_LEAST32_TYPE__ unsigned int 1432 // MIPS64EL:#define __UINT_LEAST64_MAX__ 18446744073709551615UL 1433 // MIPS64EL:#define __UINT_LEAST64_TYPE__ long unsigned int 1434 // MIPS64EL:#define __UINT_LEAST8_MAX__ 255 1435 // MIPS64EL:#define __UINT_LEAST8_TYPE__ unsigned char 1436 // MIPS64EL:#define __USER_LABEL_PREFIX__ 1437 // MIPS64EL:#define __WCHAR_MAX__ 2147483647 1438 // MIPS64EL:#define __WCHAR_TYPE__ int 1439 // MIPS64EL:#define __WCHAR_WIDTH__ 32 1440 // MIPS64EL:#define __WINT_TYPE__ int 1441 // MIPS64EL:#define __WINT_WIDTH__ 32 1442 // MIPS64EL:#define __clang__ 1 1443 // MIPS64EL:#define __llvm__ 1 1444 // MIPS64EL:#define __mips 64 1445 // MIPS64EL:#define __mips64 1 1446 // MIPS64EL:#define __mips64__ 1 1447 // MIPS64EL:#define __mips__ 1 1448 // MIPS64EL:#define __mips_abicalls 1 1449 // MIPS64EL:#define __mips_fpr 64 1450 // MIPS64EL:#define __mips_hard_float 1 1451 // MIPS64EL:#define __mips_n64 1 1452 // MIPS64EL:#define _mips 1 1453 // MIPS64EL:#define mips 1 1454 1455 // Check MIPS arch and isa macros 1456 // 1457 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mips-none-none \ 1458 // RUN: < /dev/null \ 1459 // RUN: | FileCheck -match-full-lines -check-prefix MIPS-ARCH-DEF32 %s 1460 // 1461 // MIPS-ARCH-DEF32:#define _MIPS_ARCH "mips32r2" 1462 // MIPS-ARCH-DEF32:#define _MIPS_ARCH_MIPS32R2 1 1463 // MIPS-ARCH-DEF32:#define _MIPS_ISA _MIPS_ISA_MIPS32 1464 // MIPS-ARCH-DEF32:#define __mips_isa_rev 2 1465 1466 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mips-none-nones \ 1467 // RUN: -target-cpu mips32 < /dev/null \ 1468 // RUN: | FileCheck -match-full-lines -check-prefix MIPS-ARCH-32 %s 1469 // 1470 // MIPS-ARCH-32:#define _MIPS_ARCH "mips32" 1471 // MIPS-ARCH-32:#define _MIPS_ARCH_MIPS32 1 1472 // MIPS-ARCH-32:#define _MIPS_ISA _MIPS_ISA_MIPS32 1473 // MIPS-ARCH-32:#define __mips_isa_rev 1 1474 1475 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mips-none-none \ 1476 // RUN: -target-cpu mips32r2 < /dev/null \ 1477 // RUN: | FileCheck -match-full-lines -check-prefix MIPS-ARCH-32R2 %s 1478 // 1479 // MIPS-ARCH-32R2:#define _MIPS_ARCH "mips32r2" 1480 // MIPS-ARCH-32R2:#define _MIPS_ARCH_MIPS32R2 1 1481 // MIPS-ARCH-32R2:#define _MIPS_ISA _MIPS_ISA_MIPS32 1482 // MIPS-ARCH-32R2:#define __mips_isa_rev 2 1483 1484 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mips-none-none \ 1485 // RUN: -target-cpu mips32r3 < /dev/null \ 1486 // RUN: | FileCheck -match-full-lines -check-prefix MIPS-ARCH-32R3 %s 1487 // 1488 // MIPS-ARCH-32R3:#define _MIPS_ARCH "mips32r3" 1489 // MIPS-ARCH-32R3:#define _MIPS_ARCH_MIPS32R3 1 1490 // MIPS-ARCH-32R3:#define _MIPS_ISA _MIPS_ISA_MIPS32 1491 // MIPS-ARCH-32R3:#define __mips_isa_rev 3 1492 1493 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mips-none-none \ 1494 // RUN: -target-cpu mips32r5 < /dev/null \ 1495 // RUN: | FileCheck -match-full-lines -check-prefix MIPS-ARCH-32R5 %s 1496 // 1497 // MIPS-ARCH-32R5:#define _MIPS_ARCH "mips32r5" 1498 // MIPS-ARCH-32R5:#define _MIPS_ARCH_MIPS32R5 1 1499 // MIPS-ARCH-32R5:#define _MIPS_ISA _MIPS_ISA_MIPS32 1500 // MIPS-ARCH-32R5:#define __mips_isa_rev 5 1501 1502 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mips-none-none \ 1503 // RUN: -target-cpu mips32r6 < /dev/null \ 1504 // RUN: | FileCheck -match-full-lines -check-prefix MIPS-ARCH-32R6 %s 1505 // 1506 // MIPS-ARCH-32R6:#define _MIPS_ARCH "mips32r6" 1507 // MIPS-ARCH-32R6:#define _MIPS_ARCH_MIPS32R6 1 1508 // MIPS-ARCH-32R6:#define _MIPS_ISA _MIPS_ISA_MIPS32 1509 // MIPS-ARCH-32R6:#define __mips_isa_rev 6 1510 1511 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mips64-none-none \ 1512 // RUN: < /dev/null \ 1513 // RUN: | FileCheck -match-full-lines -check-prefix MIPS-ARCH-DEF64 %s 1514 // 1515 // MIPS-ARCH-DEF64:#define _MIPS_ARCH "mips64r2" 1516 // MIPS-ARCH-DEF64:#define _MIPS_ARCH_MIPS64R2 1 1517 // MIPS-ARCH-DEF64:#define _MIPS_ISA _MIPS_ISA_MIPS64 1518 // MIPS-ARCH-DEF64:#define __mips_isa_rev 2 1519 1520 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mips64-none-none \ 1521 // RUN: -target-cpu mips64 < /dev/null \ 1522 // RUN: | FileCheck -match-full-lines -check-prefix MIPS-ARCH-64 %s 1523 // 1524 // MIPS-ARCH-64:#define _MIPS_ARCH "mips64" 1525 // MIPS-ARCH-64:#define _MIPS_ARCH_MIPS64 1 1526 // MIPS-ARCH-64:#define _MIPS_ISA _MIPS_ISA_MIPS64 1527 // MIPS-ARCH-64:#define __mips_isa_rev 1 1528 1529 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mips64-none-none \ 1530 // RUN: -target-cpu mips64r2 < /dev/null \ 1531 // RUN: | FileCheck -match-full-lines -check-prefix MIPS-ARCH-64R2 %s 1532 // 1533 // MIPS-ARCH-64R2:#define _MIPS_ARCH "mips64r2" 1534 // MIPS-ARCH-64R2:#define _MIPS_ARCH_MIPS64R2 1 1535 // MIPS-ARCH-64R2:#define _MIPS_ISA _MIPS_ISA_MIPS64 1536 // MIPS-ARCH-64R2:#define __mips_isa_rev 2 1537 1538 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mips64-none-none \ 1539 // RUN: -target-cpu mips64r3 < /dev/null \ 1540 // RUN: | FileCheck -match-full-lines -check-prefix MIPS-ARCH-64R3 %s 1541 // 1542 // MIPS-ARCH-64R3:#define _MIPS_ARCH "mips64r3" 1543 // MIPS-ARCH-64R3:#define _MIPS_ARCH_MIPS64R3 1 1544 // MIPS-ARCH-64R3:#define _MIPS_ISA _MIPS_ISA_MIPS64 1545 // MIPS-ARCH-64R3:#define __mips_isa_rev 3 1546 1547 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mips64-none-none \ 1548 // RUN: -target-cpu mips64r5 < /dev/null \ 1549 // RUN: | FileCheck -match-full-lines -check-prefix MIPS-ARCH-64R5 %s 1550 // 1551 // MIPS-ARCH-64R5:#define _MIPS_ARCH "mips64r5" 1552 // MIPS-ARCH-64R5:#define _MIPS_ARCH_MIPS64R5 1 1553 // MIPS-ARCH-64R5:#define _MIPS_ISA _MIPS_ISA_MIPS64 1554 // MIPS-ARCH-64R5:#define __mips_isa_rev 5 1555 1556 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mips64-none-none \ 1557 // RUN: -target-cpu mips64r6 < /dev/null \ 1558 // RUN: | FileCheck -match-full-lines -check-prefix MIPS-ARCH-64R6 %s 1559 // 1560 // MIPS-ARCH-64R6:#define _MIPS_ARCH "mips64r6" 1561 // MIPS-ARCH-64R6:#define _MIPS_ARCH_MIPS64R6 1 1562 // MIPS-ARCH-64R6:#define _MIPS_ISA _MIPS_ISA_MIPS64 1563 // MIPS-ARCH-64R6:#define __mips_isa_rev 6 1564 1565 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mips64-none-none \ 1566 // RUN: -target-cpu octeon < /dev/null \ 1567 // RUN: | FileCheck -match-full-lines -check-prefix MIPS-ARCH-OCTEON %s 1568 // 1569 // MIPS-ARCH-OCTEON:#define _MIPS_ARCH "octeon" 1570 // MIPS-ARCH-OCTEON:#define _MIPS_ARCH_OCTEON 1 1571 // MIPS-ARCH-OCTEON:#define _MIPS_ISA _MIPS_ISA_MIPS64 1572 // MIPS-ARCH-OCTEON:#define __OCTEON__ 1 1573 // MIPS-ARCH-OCTEON:#define __mips_isa_rev 2 1574 1575 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mips64-none-none \ 1576 // RUN: -target-cpu octeon+ < /dev/null \ 1577 // RUN: | FileCheck -match-full-lines -check-prefix MIPS-ARCH-OCTEONP %s 1578 // 1579 // MIPS-ARCH-OCTEONP:#define _MIPS_ARCH "octeon+" 1580 // MIPS-ARCH-OCTEONP:#define _MIPS_ARCH_OCTEONP 1 1581 // MIPS-ARCH-OCTEONP:#define _MIPS_ISA _MIPS_ISA_MIPS64 1582 // MIPS-ARCH-OCTEONP:#define __OCTEON__ 1 1583 // MIPS-ARCH-OCTEONP:#define __mips_isa_rev 2 1584 1585 // Check MIPS float ABI macros 1586 // 1587 // RUN: %clang_cc1 -E -dM -ffreestanding \ 1588 // RUN: -triple=mips-none-none < /dev/null \ 1589 // RUN: | FileCheck -match-full-lines -check-prefix MIPS-FABI-HARD %s 1590 // MIPS-FABI-HARD:#define __mips_hard_float 1 1591 1592 // RUN: %clang_cc1 -target-feature +soft-float -E -dM -ffreestanding \ 1593 // RUN: -triple=mips-none-none < /dev/null \ 1594 // RUN: | FileCheck -match-full-lines -check-prefix MIPS-FABI-SOFT %s 1595 // MIPS-FABI-SOFT:#define __mips_soft_float 1 1596 1597 // RUN: %clang_cc1 -target-feature +single-float -E -dM -ffreestanding \ 1598 // RUN: -triple=mips-none-none < /dev/null \ 1599 // RUN: | FileCheck -match-full-lines -check-prefix MIPS-FABI-SINGLE %s 1600 // MIPS-FABI-SINGLE:#define __mips_hard_float 1 1601 // MIPS-FABI-SINGLE:#define __mips_single_float 1 1602 1603 // RUN: %clang_cc1 -target-feature +soft-float -target-feature +single-float \ 1604 // RUN: -E -dM -ffreestanding -triple=mips-none-none < /dev/null \ 1605 // RUN: | FileCheck -match-full-lines -check-prefix MIPS-FABI-SINGLE-SOFT %s 1606 // MIPS-FABI-SINGLE-SOFT:#define __mips_single_float 1 1607 // MIPS-FABI-SINGLE-SOFT:#define __mips_soft_float 1 1608 1609 // Check MIPS features macros 1610 // 1611 // RUN: %clang_cc1 -target-feature +mips16 \ 1612 // RUN: -E -dM -triple=mips-none-none < /dev/null \ 1613 // RUN: | FileCheck -match-full-lines -check-prefix MIPS16 %s 1614 // MIPS16:#define __mips16 1 1615 1616 // RUN: %clang_cc1 -target-feature -mips16 \ 1617 // RUN: -E -dM -triple=mips-none-none < /dev/null \ 1618 // RUN: | FileCheck -match-full-lines -check-prefix NOMIPS16 %s 1619 // NOMIPS16-NOT:#define __mips16 1 1620 1621 // RUN: %clang_cc1 -target-feature +micromips \ 1622 // RUN: -E -dM -triple=mips-none-none < /dev/null \ 1623 // RUN: | FileCheck -match-full-lines -check-prefix MICROMIPS %s 1624 // MICROMIPS:#define __mips_micromips 1 1625 1626 // RUN: %clang_cc1 -target-feature -micromips \ 1627 // RUN: -E -dM -triple=mips-none-none < /dev/null \ 1628 // RUN: | FileCheck -match-full-lines -check-prefix NOMICROMIPS %s 1629 // NOMICROMIPS-NOT:#define __mips_micromips 1 1630 1631 // RUN: %clang_cc1 -target-feature +dsp \ 1632 // RUN: -E -dM -triple=mips-none-none < /dev/null \ 1633 // RUN: | FileCheck -match-full-lines -check-prefix MIPS-DSP %s 1634 // MIPS-DSP:#define __mips_dsp 1 1635 // MIPS-DSP:#define __mips_dsp_rev 1 1636 // MIPS-DSP-NOT:#define __mips_dspr2 1 1637 1638 // RUN: %clang_cc1 -target-feature +dspr2 \ 1639 // RUN: -E -dM -triple=mips-none-none < /dev/null \ 1640 // RUN: | FileCheck -match-full-lines -check-prefix MIPS-DSPR2 %s 1641 // MIPS-DSPR2:#define __mips_dsp 1 1642 // MIPS-DSPR2:#define __mips_dsp_rev 2 1643 // MIPS-DSPR2:#define __mips_dspr2 1 1644 1645 // RUN: %clang_cc1 -target-feature +msa \ 1646 // RUN: -E -dM -triple=mips-none-none < /dev/null \ 1647 // RUN: | FileCheck -match-full-lines -check-prefix MIPS-MSA %s 1648 // MIPS-MSA:#define __mips_msa 1 1649 1650 // RUN: %clang_cc1 -target-feature +nomadd4 \ 1651 // RUN: -E -dM -triple=mips-none-none < /dev/null \ 1652 // RUN: | FileCheck -match-full-lines -check-prefix MIPS-NOMADD4 %s 1653 // MIPS-NOMADD4:#define __mips_no_madd4 1 1654 1655 // RUN: %clang_cc1 \ 1656 // RUN: -E -dM -triple=mips-none-none < /dev/null \ 1657 // RUN: | FileCheck -match-full-lines -check-prefix MIPS-MADD4 %s 1658 // MIPS-MADD4-NOT:#define __mips_no_madd4 1 1659 1660 // RUN: %clang_cc1 -target-cpu mips32r3 -target-feature +nan2008 \ 1661 // RUN: -E -dM -triple=mips-none-none < /dev/null \ 1662 // RUN: | FileCheck -match-full-lines -check-prefix MIPS-NAN2008 %s 1663 // MIPS-NAN2008:#define __mips_nan2008 1 1664 1665 // RUN: %clang_cc1 -target-cpu mips32r3 -target-feature -nan2008 \ 1666 // RUN: -E -dM -triple=mips-none-none < /dev/null \ 1667 // RUN: | FileCheck -match-full-lines -check-prefix NOMIPS-NAN2008 %s 1668 // NOMIPS-NAN2008-NOT:#define __mips_nan2008 1 1669 1670 // RUN: %clang_cc1 -target-cpu mips32r3 -target-feature +abs2008 \ 1671 // RUN: -E -dM -triple=mips-none-none < /dev/null \ 1672 // RUN: | FileCheck -match-full-lines -check-prefix MIPS-ABS2008 %s 1673 // MIPS-ABS2008:#define __mips_abs2008 1 1674 1675 // RUN: %clang_cc1 -target-cpu mips32r3 -target-feature -abs2008 \ 1676 // RUN: -E -dM -triple=mips-none-none < /dev/null \ 1677 // RUN: | FileCheck -match-full-lines -check-prefix NOMIPS-ABS2008 %s 1678 // NOMIPS-ABS2008-NOT:#define __mips_abs2008 1 1679 1680 // RUN: %clang_cc1 \ 1681 // RUN: -E -dM -triple=mips-none-none < /dev/null \ 1682 // RUN: | FileCheck -match-full-lines -check-prefix MIPS32-NOFP %s 1683 // MIPS32-NOFP:#define __mips_fpr 0 1684 1685 // RUN: %clang_cc1 -target-feature +fpxx \ 1686 // RUN: -E -dM -triple=mips-none-none < /dev/null \ 1687 // RUN: | FileCheck -match-full-lines -check-prefix MIPS32-MFPXX %s 1688 // MIPS32-MFPXX:#define __mips_fpr 0 1689 1690 // RUN: %clang_cc1 -target-cpu mips32r6 -target-feature +fpxx \ 1691 // RUN: -E -dM -triple=mips-none-none < /dev/null \ 1692 // RUN: | FileCheck -match-full-lines -check-prefix MIPS32R6-MFPXX %s 1693 // MIPS32R6-MFPXX:#define __mips_fpr 0 1694 1695 // RUN: %clang_cc1 \ 1696 // RUN: -E -dM -triple=mips64-none-none < /dev/null \ 1697 // RUN: | FileCheck -match-full-lines -check-prefix MIPS64-NOFP %s 1698 // MIPS64-NOFP:#define __mips_fpr 64 1699 1700 // RUN: not %clang_cc1 -target-feature -fp64 \ 1701 // RUN: -E -dM -triple=mips64-none-none < /dev/null 2>&1 \ 1702 // RUN: | FileCheck -match-full-lines -check-prefix MIPS64-MFP32 %s 1703 // MIPS64-MFP32:error: option '-mfpxx' cannot be specified with 'mips64r2' 1704 1705 // RUN: not %clang_cc1 -target-feature +fpxx \ 1706 // RUN: -E -dM -triple=mips64-none-none < /dev/null 2>&1 \ 1707 // RUN: | FileCheck -match-full-lines -check-prefix MIPS64-MFPXX %s 1708 // MIPS64-MFPXX:error: '-mfpxx' can only be used with the 'o32' ABI 1709 1710 // RUN: not %clang_cc1 -target-cpu mips64r6 -target-feature +fpxx \ 1711 // RUN: -E -dM -triple=mips64-none-none < /dev/null 2>&1 \ 1712 // RUN: | FileCheck -match-full-lines -check-prefix MIPS64R6-MFPXX %s 1713 // MIPS64R6-MFPXX:error: '-mfpxx' can only be used with the 'o32' ABI 1714 1715 // RUN: %clang_cc1 -target-feature -fp64 \ 1716 // RUN: -E -dM -triple=mips-none-none < /dev/null \ 1717 // RUN: | FileCheck -match-full-lines -check-prefix MIPS32-MFP32 %s 1718 // MIPS32-MFP32:#define _MIPS_FPSET 16 1719 // MIPS32-MFP32:#define __mips_fpr 32 1720 1721 // RUN: %clang_cc1 -target-feature +fp64 \ 1722 // RUN: -E -dM -triple=mips-none-none < /dev/null \ 1723 // RUN: | FileCheck -match-full-lines -check-prefix MIPS32-MFP64 %s 1724 // MIPS32-MFP64:#define _MIPS_FPSET 32 1725 // MIPS32-MFP64:#define __mips_fpr 64 1726 // 1727 // RUN: %clang_cc1 -target-feature +single-float \ 1728 // RUN: -E -dM -triple=mips-none-none < /dev/null \ 1729 // RUN: | FileCheck -match-full-lines -check-prefix MIPS32-MFP32SF %s 1730 // MIPS32-MFP32SF:#define _MIPS_FPSET 32 1731 // MIPS32-MFP32SF:#define __mips_fpr 0 1732 1733 // RUN: %clang_cc1 -target-feature +fp64 \ 1734 // RUN: -E -dM -triple=mips64-none-none < /dev/null \ 1735 // RUN: | FileCheck -match-full-lines -check-prefix MIPS64-MFP64 %s 1736 // MIPS64-MFP64:#define _MIPS_FPSET 32 1737 // MIPS64-MFP64:#define __mips_fpr 64 1738 1739 // RUN: %clang_cc1 -target-feature -fp64 -target-feature +single-float \ 1740 // RUN: -E -dM -triple=mips64-none-none < /dev/null \ 1741 // RUN: | FileCheck -match-full-lines -check-prefix MIPS64-NOMFP64 %s 1742 // MIPS64-NOMFP64:#define _MIPS_FPSET 32 1743 // MIPS64-NOMFP64:#define __mips_fpr 32 1744 1745 // RUN: %clang_cc1 -target-cpu mips32r6 \ 1746 // RUN: -E -dM -triple=mips-none-none < /dev/null \ 1747 // RUN: | FileCheck -match-full-lines -check-prefix MIPS-XXR6 %s 1748 // RUN: %clang_cc1 -target-cpu mips64r6 \ 1749 // RUN: -E -dM -triple=mips64-none-none < /dev/null \ 1750 // RUN: | FileCheck -match-full-lines -check-prefix MIPS-XXR6 %s 1751 // MIPS-XXR6:#define _MIPS_FPSET 32 1752 // MIPS-XXR6:#define __mips_fpr 64 1753 // MIPS-XXR6:#define __mips_nan2008 1 1754 1755 // RUN: %clang_cc1 -target-cpu mips32 \ 1756 // RUN: -E -dM -triple=mips-unknown-netbsd -mrelocation-model pic < /dev/null \ 1757 // RUN: | FileCheck -match-full-lines -check-prefix MIPS-ABICALLS-NETBSD %s 1758 // MIPS-ABICALLS-NETBSD-NOT: #define __ABICALLS__ 1 1759 // MIPS-ABICALLS-NETBSD: #define __mips_abicalls 1 1760 1761 // RUN: %clang_cc1 -target-cpu mips64 \ 1762 // RUN: -E -dM -triple=mips64-unknown-netbsd -mrelocation-model pic < \ 1763 // RUN: /dev/null | FileCheck -match-full-lines \ 1764 // RUN: -check-prefix MIPS-ABICALLS-NETBSD64 %s 1765 // MIPS-ABICALLS-NETBSD64-NOT: #define __ABICALLS__ 1 1766 // MIPS-ABICALLS-NETBSD64: #define __mips_abicalls 1 1767 1768 // RUN: %clang_cc1 -target-cpu mips32 \ 1769 // RUN: -E -dM -triple=mips-unknown-freebsd -mrelocation-model pic < /dev/null \ 1770 // RUN: | FileCheck -match-full-lines -check-prefix MIPS-ABICALLS-FREEBSD %s 1771 // MIPS-ABICALLS-FREEBSD: #define __ABICALLS__ 1 1772 // MIPS-ABICALLS-FREEBSD: #define __mips_abicalls 1 1773 1774 // RUN: %clang_cc1 -target-cpu mips64 \ 1775 // RUN: -E -dM -triple=mips64-unknown-freebsd -mrelocation-model pic < \ 1776 // RUN: /dev/null | FileCheck -match-full-lines \ 1777 // RUN: -check-prefix MIPS-ABICALLS-FREEBSD64 %s 1778 // MIPS-ABICALLS-FREEBSD64: #define __ABICALLS__ 1 1779 // MIPS-ABICALLS-FREEBSD64: #define __mips_abicalls 1 1780 1781 // RUN: %clang_cc1 -target-cpu mips32 \ 1782 // RUN: -E -dM -triple=mips-unknown-openbsd -mrelocation-model pic < /dev/null \ 1783 // RUN: | FileCheck -match-full-lines -check-prefix MIPS-ABICALLS-OPENBSD %s 1784 // MIPS-ABICALLS-OPENBSD: #define __ABICALLS__ 1 1785 // MIPS-ABICALLS-OPENBSD: #define __mips_abicalls 1 1786 1787 // RUN: %clang_cc1 -target-cpu mips64 \ 1788 // RUN: -E -dM -triple=mips64-unknown-openbsd -mrelocation-model pic < \ 1789 // RUN: /dev/null | FileCheck -match-full-lines \ 1790 // RUN: -check-prefix MIPS-ABICALLS-OPENBSD64 %s 1791 // MIPS-ABICALLS-OPENBSD64: #define __ABICALLS__ 1 1792 // MIPS-ABICALLS-OPENBSD64: #define __mips_abicalls 1 1793