| // RUN: %clang_cc1 -E -dM -x assembler-with-cpp < /dev/null | FileCheck -match-full-lines -check-prefix ASM %s |
| // |
| // ASM:#define __ASSEMBLER__ 1 |
| // |
| // |
| // RUN: %clang_cc1 -fblocks -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix BLOCKS %s |
| // |
| // BLOCKS:#define __BLOCKS__ 1 |
| // BLOCKS:#define __block __attribute__((__blocks__(byref))) |
| // |
| // |
| // RUN: %clang_cc1 -x c++ -std=c++1z -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix CXX1Z %s |
| // |
| // CXX1Z:#define __GNUG__ {{.*}} |
| // CXX1Z:#define __GXX_EXPERIMENTAL_CXX0X__ 1 |
| // CXX1Z:#define __GXX_RTTI 1 |
| // CXX1Z:#define __GXX_WEAK__ 1 |
| // CXX1Z:#define __cplusplus 201406L |
| // CXX1Z:#define __private_extern__ extern |
| // |
| // |
| // RUN: %clang_cc1 -x c++ -std=c++1y -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix CXX1Y %s |
| // |
| // CXX1Y:#define __GNUG__ {{.*}} |
| // CXX1Y:#define __GXX_EXPERIMENTAL_CXX0X__ 1 |
| // CXX1Y:#define __GXX_RTTI 1 |
| // CXX1Y:#define __GXX_WEAK__ 1 |
| // CXX1Y:#define __cplusplus 201402L |
| // CXX1Y:#define __private_extern__ extern |
| // |
| // |
| // RUN: %clang_cc1 -x c++ -std=c++11 -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix CXX11 %s |
| // |
| // CXX11:#define __GNUG__ {{.*}} |
| // CXX11:#define __GXX_EXPERIMENTAL_CXX0X__ 1 |
| // CXX11:#define __GXX_RTTI 1 |
| // CXX11:#define __GXX_WEAK__ 1 |
| // CXX11:#define __cplusplus 201103L |
| // CXX11:#define __private_extern__ extern |
| // |
| // |
| // RUN: %clang_cc1 -x c++ -std=c++98 -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix CXX98 %s |
| // |
| // CXX98:#define __GNUG__ {{.*}} |
| // CXX98:#define __GXX_RTTI 1 |
| // CXX98:#define __GXX_WEAK__ 1 |
| // CXX98:#define __cplusplus 199711L |
| // CXX98:#define __private_extern__ extern |
| // |
| // |
| // RUN: %clang_cc1 -fdeprecated-macro -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix DEPRECATED %s |
| // |
| // DEPRECATED:#define __DEPRECATED 1 |
| // |
| // |
| // RUN: %clang_cc1 -std=c99 -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix C99 %s |
| // |
| // C99:#define __STDC_VERSION__ 199901L |
| // C99:#define __STRICT_ANSI__ 1 |
| // C99-NOT: __GXX_EXPERIMENTAL_CXX0X__ |
| // C99-NOT: __GXX_RTTI |
| // C99-NOT: __GXX_WEAK__ |
| // C99-NOT: __cplusplus |
| // |
| // |
| // RUN: %clang_cc1 -std=c11 -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix C11 %s |
| // |
| // C11:#define __STDC_UTF_16__ 1 |
| // C11:#define __STDC_UTF_32__ 1 |
| // C11:#define __STDC_VERSION__ 201112L |
| // C11:#define __STRICT_ANSI__ 1 |
| // C11-NOT: __GXX_EXPERIMENTAL_CXX0X__ |
| // C11-NOT: __GXX_RTTI |
| // C11-NOT: __GXX_WEAK__ |
| // C11-NOT: __cplusplus |
| // |
| // |
| // RUN: %clang_cc1 -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix COMMON %s |
| // |
| // COMMON:#define __CONSTANT_CFSTRINGS__ 1 |
| // COMMON:#define __FINITE_MATH_ONLY__ 0 |
| // COMMON:#define __GNUC_MINOR__ {{.*}} |
| // COMMON:#define __GNUC_PATCHLEVEL__ {{.*}} |
| // COMMON:#define __GNUC_STDC_INLINE__ 1 |
| // COMMON:#define __GNUC__ {{.*}} |
| // COMMON:#define __GXX_ABI_VERSION {{.*}} |
| // COMMON:#define __ORDER_BIG_ENDIAN__ 4321 |
| // COMMON:#define __ORDER_LITTLE_ENDIAN__ 1234 |
| // COMMON:#define __ORDER_PDP_ENDIAN__ 3412 |
| // COMMON:#define __STDC_HOSTED__ 1 |
| // COMMON:#define __STDC__ 1 |
| // COMMON:#define __VERSION__ {{.*}} |
| // COMMON:#define __clang__ 1 |
| // COMMON:#define __clang_major__ {{[0-9]+}} |
| // COMMON:#define __clang_minor__ {{[0-9]+}} |
| // COMMON:#define __clang_patchlevel__ {{[0-9]+}} |
| // COMMON:#define __clang_version__ {{.*}} |
| // COMMON:#define __llvm__ 1 |
| // |
| // RUN: %clang_cc1 -E -dM -triple=x86_64-pc-win32 < /dev/null | FileCheck -match-full-lines -check-prefix C-DEFAULT %s |
| // RUN: %clang_cc1 -E -dM -triple=x86_64-pc-linux-gnu < /dev/null | FileCheck -match-full-lines -check-prefix C-DEFAULT %s |
| // RUN: %clang_cc1 -E -dM -triple=x86_64-apple-darwin < /dev/null | FileCheck -match-full-lines -check-prefix C-DEFAULT %s |
| // RUN: %clang_cc1 -E -dM -triple=armv7a-apple-darwin < /dev/null | FileCheck -match-full-lines -check-prefix C-DEFAULT %s |
| // |
| // C-DEFAULT:#define __STDC_VERSION__ 201112L |
| // |
| // RUN: %clang_cc1 -ffreestanding -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix FREESTANDING %s |
| // FREESTANDING:#define __STDC_HOSTED__ 0 |
| // |
| // |
| // RUN: %clang_cc1 -x c++ -std=gnu++1z -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix GXX1Z %s |
| // |
| // GXX1Z:#define __GNUG__ {{.*}} |
| // GXX1Z:#define __GXX_WEAK__ 1 |
| // GXX1Z:#define __cplusplus 201406L |
| // GXX1Z:#define __private_extern__ extern |
| // |
| // |
| // RUN: %clang_cc1 -x c++ -std=gnu++1y -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix GXX1Y %s |
| // |
| // GXX1Y:#define __GNUG__ {{.*}} |
| // GXX1Y:#define __GXX_WEAK__ 1 |
| // GXX1Y:#define __cplusplus 201402L |
| // GXX1Y:#define __private_extern__ extern |
| // |
| // |
| // RUN: %clang_cc1 -x c++ -std=gnu++11 -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix GXX11 %s |
| // |
| // GXX11:#define __GNUG__ {{.*}} |
| // GXX11:#define __GXX_WEAK__ 1 |
| // GXX11:#define __cplusplus 201103L |
| // GXX11:#define __private_extern__ extern |
| // |
| // |
| // RUN: %clang_cc1 -x c++ -std=gnu++98 -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix GXX98 %s |
| // |
| // GXX98:#define __GNUG__ {{.*}} |
| // GXX98:#define __GXX_WEAK__ 1 |
| // GXX98:#define __cplusplus 199711L |
| // GXX98:#define __private_extern__ extern |
| // |
| // |
| // RUN: %clang_cc1 -std=iso9899:199409 -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix C94 %s |
| // |
| // C94:#define __STDC_VERSION__ 199409L |
| // |
| // |
| // RUN: %clang_cc1 -fms-extensions -triple i686-pc-win32 -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix MSEXT %s |
| // |
| // MSEXT-NOT:#define __STDC__ |
| // MSEXT:#define _INTEGRAL_MAX_BITS 64 |
| // MSEXT-NOT:#define _NATIVE_WCHAR_T_DEFINED 1 |
| // MSEXT-NOT:#define _WCHAR_T_DEFINED 1 |
| // |
| // |
| // RUN: %clang_cc1 -x c++ -fms-extensions -triple i686-pc-win32 -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix MSEXT-CXX %s |
| // |
| // MSEXT-CXX:#define _NATIVE_WCHAR_T_DEFINED 1 |
| // MSEXT-CXX:#define _WCHAR_T_DEFINED 1 |
| // MSEXT-CXX:#define __BOOL_DEFINED 1 |
| // |
| // |
| // RUN: %clang_cc1 -x c++ -fno-wchar -fms-extensions -triple i686-pc-win32 -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix MSEXT-CXX-NOWCHAR %s |
| // |
| // MSEXT-CXX-NOWCHAR-NOT:#define _NATIVE_WCHAR_T_DEFINED 1 |
| // MSEXT-CXX-NOWCHAR-NOT:#define _WCHAR_T_DEFINED 1 |
| // MSEXT-CXX-NOWCHAR:#define __BOOL_DEFINED 1 |
| // |
| // |
| // RUN: %clang_cc1 -x objective-c -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix OBJC %s |
| // |
| // OBJC:#define OBJC_NEW_PROPERTIES 1 |
| // OBJC:#define __NEXT_RUNTIME__ 1 |
| // OBJC:#define __OBJC__ 1 |
| // |
| // |
| // RUN: %clang_cc1 -x objective-c -fobjc-gc -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix OBJCGC %s |
| // |
| // OBJCGC:#define __OBJC_GC__ 1 |
| // |
| // |
| // RUN: %clang_cc1 -x objective-c -fobjc-exceptions -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix NONFRAGILE %s |
| // |
| // NONFRAGILE:#define OBJC_ZEROCOST_EXCEPTIONS 1 |
| // NONFRAGILE:#define __OBJC2__ 1 |
| // |
| // |
| // RUN: %clang_cc1 -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix O0 %s |
| // |
| // O0:#define __NO_INLINE__ 1 |
| // O0-NOT:#define __OPTIMIZE_SIZE__ |
| // O0-NOT:#define __OPTIMIZE__ |
| // |
| // |
| // RUN: %clang_cc1 -fno-inline -O3 -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix NO_INLINE %s |
| // |
| // NO_INLINE:#define __NO_INLINE__ 1 |
| // NO_INLINE-NOT:#define __OPTIMIZE_SIZE__ |
| // NO_INLINE:#define __OPTIMIZE__ 1 |
| // |
| // |
| // RUN: %clang_cc1 -O1 -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix O1 %s |
| // |
| // O1-NOT:#define __OPTIMIZE_SIZE__ |
| // O1:#define __OPTIMIZE__ 1 |
| // |
| // |
| // RUN: %clang_cc1 -Os -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix Os %s |
| // |
| // Os:#define __OPTIMIZE_SIZE__ 1 |
| // Os:#define __OPTIMIZE__ 1 |
| // |
| // |
| // RUN: %clang_cc1 -Oz -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix Oz %s |
| // |
| // Oz:#define __OPTIMIZE_SIZE__ 1 |
| // Oz:#define __OPTIMIZE__ 1 |
| // |
| // |
| // RUN: %clang_cc1 -fpascal-strings -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix PASCAL %s |
| // |
| // PASCAL:#define __PASCAL_STRINGS__ 1 |
| // |
| // |
| // RUN: %clang_cc1 -E -dM < /dev/null | FileCheck -match-full-lines -check-prefix SCHAR %s |
| // |
| // SCHAR:#define __STDC__ 1 |
| // SCHAR-NOT:#define __UNSIGNED_CHAR__ |
| // SCHAR:#define __clang__ 1 |
| // |
| // RUN: %clang_cc1 -E -dM -fshort-wchar < /dev/null | FileCheck -match-full-lines -check-prefix SHORTWCHAR %s |
| // wchar_t is u16 for targeting Win32. |
| // FIXME: Implement and check x86_64-cygwin. |
| // RUN: %clang_cc1 -E -dM -fno-short-wchar -triple=x86_64-w64-mingw32 < /dev/null | FileCheck -match-full-lines -check-prefix SHORTWCHAR %s |
| // |
| // SHORTWCHAR: #define __SIZEOF_WCHAR_T__ 2 |
| // SHORTWCHAR: #define __WCHAR_MAX__ 65535 |
| // SHORTWCHAR: #define __WCHAR_TYPE__ unsigned short |
| // SHORTWCHAR: #define __WCHAR_WIDTH__ 16 |
| // |
| // RUN: %clang_cc1 -E -dM -fno-short-wchar -triple=i686-unknown-unknown < /dev/null | FileCheck -match-full-lines -check-prefix SHORTWCHAR2 %s |
| // RUN: %clang_cc1 -E -dM -fno-short-wchar -triple=x86_64-unknown-unknown < /dev/null | FileCheck -match-full-lines -check-prefix SHORTWCHAR2 %s |
| // |
| // SHORTWCHAR2: #define __SIZEOF_WCHAR_T__ 4 |
| // SHORTWCHAR2: #define __WCHAR_WIDTH__ 32 |
| // Other definitions vary from platform to platform |
| |
| // RUN: %clang_cc1 -E -dM -ffreestanding -triple=aarch64-none-none < /dev/null | FileCheck -match-full-lines -check-prefix AARCH64 %s |
| // RUN: %clang_cc1 -E -dM -ffreestanding -triple=arm64-none-none < /dev/null | FileCheck -match-full-lines -check-prefix AARCH64 %s |
| // |
| // AARCH64:#define _LP64 1 |
| // AARCH64-NOT:#define __AARCH64EB__ 1 |
| // AARCH64:#define __AARCH64EL__ 1 |
| // AARCH64-NOT:#define __AARCH_BIG_ENDIAN 1 |
| // AARCH64:#define __ARM_64BIT_STATE 1 |
| // AARCH64:#define __ARM_ARCH 8 |
| // AARCH64:#define __ARM_ARCH_ISA_A64 1 |
| // AARCH64-NOT:#define __ARM_BIG_ENDIAN 1 |
| // AARCH64:#define __BIGGEST_ALIGNMENT__ 16 |
| // AARCH64:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__ |
| // AARCH64:#define __CHAR16_TYPE__ unsigned short |
| // AARCH64:#define __CHAR32_TYPE__ unsigned int |
| // AARCH64:#define __CHAR_BIT__ 8 |
| // AARCH64:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324 |
| // AARCH64:#define __DBL_DIG__ 15 |
| // AARCH64:#define __DBL_EPSILON__ 2.2204460492503131e-16 |
| // AARCH64:#define __DBL_HAS_DENORM__ 1 |
| // AARCH64:#define __DBL_HAS_INFINITY__ 1 |
| // AARCH64:#define __DBL_HAS_QUIET_NAN__ 1 |
| // AARCH64:#define __DBL_MANT_DIG__ 53 |
| // AARCH64:#define __DBL_MAX_10_EXP__ 308 |
| // AARCH64:#define __DBL_MAX_EXP__ 1024 |
| // AARCH64:#define __DBL_MAX__ 1.7976931348623157e+308 |
| // AARCH64:#define __DBL_MIN_10_EXP__ (-307) |
| // AARCH64:#define __DBL_MIN_EXP__ (-1021) |
| // AARCH64:#define __DBL_MIN__ 2.2250738585072014e-308 |
| // AARCH64:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__ |
| // AARCH64:#define __FLT_DENORM_MIN__ 1.40129846e-45F |
| // AARCH64:#define __FLT_DIG__ 6 |
| // AARCH64:#define __FLT_EPSILON__ 1.19209290e-7F |
| // AARCH64:#define __FLT_EVAL_METHOD__ 0 |
| // AARCH64:#define __FLT_HAS_DENORM__ 1 |
| // AARCH64:#define __FLT_HAS_INFINITY__ 1 |
| // AARCH64:#define __FLT_HAS_QUIET_NAN__ 1 |
| // AARCH64:#define __FLT_MANT_DIG__ 24 |
| // AARCH64:#define __FLT_MAX_10_EXP__ 38 |
| // AARCH64:#define __FLT_MAX_EXP__ 128 |
| // AARCH64:#define __FLT_MAX__ 3.40282347e+38F |
| // AARCH64:#define __FLT_MIN_10_EXP__ (-37) |
| // AARCH64:#define __FLT_MIN_EXP__ (-125) |
| // AARCH64:#define __FLT_MIN__ 1.17549435e-38F |
| // AARCH64:#define __FLT_RADIX__ 2 |
| // AARCH64:#define __INT16_C_SUFFIX__ |
| // AARCH64:#define __INT16_FMTd__ "hd" |
| // AARCH64:#define __INT16_FMTi__ "hi" |
| // AARCH64:#define __INT16_MAX__ 32767 |
| // AARCH64:#define __INT16_TYPE__ short |
| // AARCH64:#define __INT32_C_SUFFIX__ |
| // AARCH64:#define __INT32_FMTd__ "d" |
| // AARCH64:#define __INT32_FMTi__ "i" |
| // AARCH64:#define __INT32_MAX__ 2147483647 |
| // AARCH64:#define __INT32_TYPE__ int |
| // AARCH64:#define __INT64_C_SUFFIX__ L |
| // AARCH64:#define __INT64_FMTd__ "ld" |
| // AARCH64:#define __INT64_FMTi__ "li" |
| // AARCH64:#define __INT64_MAX__ 9223372036854775807L |
| // AARCH64:#define __INT64_TYPE__ long int |
| // AARCH64:#define __INT8_C_SUFFIX__ |
| // AARCH64:#define __INT8_FMTd__ "hhd" |
| // AARCH64:#define __INT8_FMTi__ "hhi" |
| // AARCH64:#define __INT8_MAX__ 127 |
| // AARCH64:#define __INT8_TYPE__ signed char |
| // AARCH64:#define __INTMAX_C_SUFFIX__ L |
| // AARCH64:#define __INTMAX_FMTd__ "ld" |
| // AARCH64:#define __INTMAX_FMTi__ "li" |
| // AARCH64:#define __INTMAX_MAX__ 9223372036854775807L |
| // AARCH64:#define __INTMAX_TYPE__ long int |
| // AARCH64:#define __INTMAX_WIDTH__ 64 |
| // AARCH64:#define __INTPTR_FMTd__ "ld" |
| // AARCH64:#define __INTPTR_FMTi__ "li" |
| // AARCH64:#define __INTPTR_MAX__ 9223372036854775807L |
| // AARCH64:#define __INTPTR_TYPE__ long int |
| // AARCH64:#define __INTPTR_WIDTH__ 64 |
| // AARCH64:#define __INT_FAST16_FMTd__ "hd" |
| // AARCH64:#define __INT_FAST16_FMTi__ "hi" |
| // AARCH64:#define __INT_FAST16_MAX__ 32767 |
| // AARCH64:#define __INT_FAST16_TYPE__ short |
| // AARCH64:#define __INT_FAST32_FMTd__ "d" |
| // AARCH64:#define __INT_FAST32_FMTi__ "i" |
| // AARCH64:#define __INT_FAST32_MAX__ 2147483647 |
| // AARCH64:#define __INT_FAST32_TYPE__ int |
| // AARCH64:#define __INT_FAST64_FMTd__ "ld" |
| // AARCH64:#define __INT_FAST64_FMTi__ "li" |
| // AARCH64:#define __INT_FAST64_MAX__ 9223372036854775807L |
| // AARCH64:#define __INT_FAST64_TYPE__ long int |
| // AARCH64:#define __INT_FAST8_FMTd__ "hhd" |
| // AARCH64:#define __INT_FAST8_FMTi__ "hhi" |
| // AARCH64:#define __INT_FAST8_MAX__ 127 |
| // AARCH64:#define __INT_FAST8_TYPE__ signed char |
| // AARCH64:#define __INT_LEAST16_FMTd__ "hd" |
| // AARCH64:#define __INT_LEAST16_FMTi__ "hi" |
| // AARCH64:#define __INT_LEAST16_MAX__ 32767 |
| // AARCH64:#define __INT_LEAST16_TYPE__ short |
| // AARCH64:#define __INT_LEAST32_FMTd__ "d" |
| // AARCH64:#define __INT_LEAST32_FMTi__ "i" |
| // AARCH64:#define __INT_LEAST32_MAX__ 2147483647 |
| // AARCH64:#define __INT_LEAST32_TYPE__ int |
| // AARCH64:#define __INT_LEAST64_FMTd__ "ld" |
| // AARCH64:#define __INT_LEAST64_FMTi__ "li" |
| // AARCH64:#define __INT_LEAST64_MAX__ 9223372036854775807L |
| // AARCH64:#define __INT_LEAST64_TYPE__ long int |
| // AARCH64:#define __INT_LEAST8_FMTd__ "hhd" |
| // AARCH64:#define __INT_LEAST8_FMTi__ "hhi" |
| // AARCH64:#define __INT_LEAST8_MAX__ 127 |
| // AARCH64:#define __INT_LEAST8_TYPE__ signed char |
| // AARCH64:#define __INT_MAX__ 2147483647 |
| // AARCH64:#define __LDBL_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966L |
| // AARCH64:#define __LDBL_DIG__ 33 |
| // AARCH64:#define __LDBL_EPSILON__ 1.92592994438723585305597794258492732e-34L |
| // AARCH64:#define __LDBL_HAS_DENORM__ 1 |
| // AARCH64:#define __LDBL_HAS_INFINITY__ 1 |
| // AARCH64:#define __LDBL_HAS_QUIET_NAN__ 1 |
| // AARCH64:#define __LDBL_MANT_DIG__ 113 |
| // AARCH64:#define __LDBL_MAX_10_EXP__ 4932 |
| // AARCH64:#define __LDBL_MAX_EXP__ 16384 |
| // AARCH64:#define __LDBL_MAX__ 1.18973149535723176508575932662800702e+4932L |
| // AARCH64:#define __LDBL_MIN_10_EXP__ (-4931) |
| // AARCH64:#define __LDBL_MIN_EXP__ (-16381) |
| // AARCH64:#define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L |
| // AARCH64:#define __LONG_LONG_MAX__ 9223372036854775807LL |
| // AARCH64:#define __LONG_MAX__ 9223372036854775807L |
| // AARCH64:#define __LP64__ 1 |
| // AARCH64:#define __POINTER_WIDTH__ 64 |
| // AARCH64:#define __PTRDIFF_TYPE__ long int |
| // AARCH64:#define __PTRDIFF_WIDTH__ 64 |
| // AARCH64:#define __SCHAR_MAX__ 127 |
| // AARCH64:#define __SHRT_MAX__ 32767 |
| // AARCH64:#define __SIG_ATOMIC_MAX__ 2147483647 |
| // AARCH64:#define __SIG_ATOMIC_WIDTH__ 32 |
| // AARCH64:#define __SIZEOF_DOUBLE__ 8 |
| // AARCH64:#define __SIZEOF_FLOAT__ 4 |
| // AARCH64:#define __SIZEOF_INT128__ 16 |
| // AARCH64:#define __SIZEOF_INT__ 4 |
| // AARCH64:#define __SIZEOF_LONG_DOUBLE__ 16 |
| // AARCH64:#define __SIZEOF_LONG_LONG__ 8 |
| // AARCH64:#define __SIZEOF_LONG__ 8 |
| // AARCH64:#define __SIZEOF_POINTER__ 8 |
| // AARCH64:#define __SIZEOF_PTRDIFF_T__ 8 |
| // AARCH64:#define __SIZEOF_SHORT__ 2 |
| // AARCH64:#define __SIZEOF_SIZE_T__ 8 |
| // AARCH64:#define __SIZEOF_WCHAR_T__ 4 |
| // AARCH64:#define __SIZEOF_WINT_T__ 4 |
| // AARCH64:#define __SIZE_MAX__ 18446744073709551615UL |
| // AARCH64:#define __SIZE_TYPE__ long unsigned int |
| // AARCH64:#define __SIZE_WIDTH__ 64 |
| // AARCH64:#define __UINT16_C_SUFFIX__ |
| // AARCH64:#define __UINT16_MAX__ 65535 |
| // AARCH64:#define __UINT16_TYPE__ unsigned short |
| // AARCH64:#define __UINT32_C_SUFFIX__ U |
| // AARCH64:#define __UINT32_MAX__ 4294967295U |
| // AARCH64:#define __UINT32_TYPE__ unsigned int |
| // AARCH64:#define __UINT64_C_SUFFIX__ UL |
| // AARCH64:#define __UINT64_MAX__ 18446744073709551615UL |
| // AARCH64:#define __UINT64_TYPE__ long unsigned int |
| // AARCH64:#define __UINT8_C_SUFFIX__ |
| // AARCH64:#define __UINT8_MAX__ 255 |
| // AARCH64:#define __UINT8_TYPE__ unsigned char |
| // AARCH64:#define __UINTMAX_C_SUFFIX__ UL |
| // AARCH64:#define __UINTMAX_MAX__ 18446744073709551615UL |
| // AARCH64:#define __UINTMAX_TYPE__ long unsigned int |
| // AARCH64:#define __UINTMAX_WIDTH__ 64 |
| // AARCH64:#define __UINTPTR_MAX__ 18446744073709551615UL |
| // AARCH64:#define __UINTPTR_TYPE__ long unsigned int |
| // AARCH64:#define __UINTPTR_WIDTH__ 64 |
| // AARCH64:#define __UINT_FAST16_MAX__ 65535 |
| // AARCH64:#define __UINT_FAST16_TYPE__ unsigned short |
| // AARCH64:#define __UINT_FAST32_MAX__ 4294967295U |
| // AARCH64:#define __UINT_FAST32_TYPE__ unsigned int |
| // AARCH64:#define __UINT_FAST64_MAX__ 18446744073709551615UL |
| // AARCH64:#define __UINT_FAST64_TYPE__ long unsigned int |
| // AARCH64:#define __UINT_FAST8_MAX__ 255 |
| // AARCH64:#define __UINT_FAST8_TYPE__ unsigned char |
| // AARCH64:#define __UINT_LEAST16_MAX__ 65535 |
| // AARCH64:#define __UINT_LEAST16_TYPE__ unsigned short |
| // AARCH64:#define __UINT_LEAST32_MAX__ 4294967295U |
| // AARCH64:#define __UINT_LEAST32_TYPE__ unsigned int |
| // AARCH64:#define __UINT_LEAST64_MAX__ 18446744073709551615UL |
| // AARCH64:#define __UINT_LEAST64_TYPE__ long unsigned int |
| // AARCH64:#define __UINT_LEAST8_MAX__ 255 |
| // AARCH64:#define __UINT_LEAST8_TYPE__ unsigned char |
| // AARCH64:#define __USER_LABEL_PREFIX__ |
| // AARCH64:#define __WCHAR_MAX__ 4294967295U |
| // AARCH64:#define __WCHAR_TYPE__ unsigned int |
| // AARCH64:#define __WCHAR_UNSIGNED__ 1 |
| // AARCH64:#define __WCHAR_WIDTH__ 32 |
| // AARCH64:#define __WINT_TYPE__ int |
| // AARCH64:#define __WINT_WIDTH__ 32 |
| // AARCH64:#define __aarch64__ 1 |
| // |
| // RUN: %clang_cc1 -E -dM -ffreestanding -triple=aarch64_be-none-none < /dev/null | FileCheck -match-full-lines -check-prefix AARCH64-BE %s |
| // |
| // AARCH64-BE:#define _LP64 1 |
| // AARCH64-BE:#define __AARCH64EB__ 1 |
| // AARCH64-BE-NOT:#define __AARCH64EL__ 1 |
| // AARCH64-BE:#define __AARCH_BIG_ENDIAN 1 |
| // AARCH64-BE:#define __ARM_64BIT_STATE 1 |
| // AARCH64-BE:#define __ARM_ARCH 8 |
| // AARCH64-BE:#define __ARM_ARCH_ISA_A64 1 |
| // AARCH64-BE:#define __ARM_BIG_ENDIAN 1 |
| // AARCH64-BE:#define __BIGGEST_ALIGNMENT__ 16 |
| // AARCH64-BE:#define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__ |
| // AARCH64-BE:#define __CHAR16_TYPE__ unsigned short |
| // AARCH64-BE:#define __CHAR32_TYPE__ unsigned int |
| // AARCH64-BE:#define __CHAR_BIT__ 8 |
| // AARCH64-BE:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324 |
| // AARCH64-BE:#define __DBL_DIG__ 15 |
| // AARCH64-BE:#define __DBL_EPSILON__ 2.2204460492503131e-16 |
| // AARCH64-BE:#define __DBL_HAS_DENORM__ 1 |
| // AARCH64-BE:#define __DBL_HAS_INFINITY__ 1 |
| // AARCH64-BE:#define __DBL_HAS_QUIET_NAN__ 1 |
| // AARCH64-BE:#define __DBL_MANT_DIG__ 53 |
| // AARCH64-BE:#define __DBL_MAX_10_EXP__ 308 |
| // AARCH64-BE:#define __DBL_MAX_EXP__ 1024 |
| // AARCH64-BE:#define __DBL_MAX__ 1.7976931348623157e+308 |
| // AARCH64-BE:#define __DBL_MIN_10_EXP__ (-307) |
| // AARCH64-BE:#define __DBL_MIN_EXP__ (-1021) |
| // AARCH64-BE:#define __DBL_MIN__ 2.2250738585072014e-308 |
| // AARCH64-BE:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__ |
| // AARCH64-BE:#define __FLT_DENORM_MIN__ 1.40129846e-45F |
| // AARCH64-BE:#define __FLT_DIG__ 6 |
| // AARCH64-BE:#define __FLT_EPSILON__ 1.19209290e-7F |
| // AARCH64-BE:#define __FLT_EVAL_METHOD__ 0 |
| // AARCH64-BE:#define __FLT_HAS_DENORM__ 1 |
| // AARCH64-BE:#define __FLT_HAS_INFINITY__ 1 |
| // AARCH64-BE:#define __FLT_HAS_QUIET_NAN__ 1 |
| // AARCH64-BE:#define __FLT_MANT_DIG__ 24 |
| // AARCH64-BE:#define __FLT_MAX_10_EXP__ 38 |
| // AARCH64-BE:#define __FLT_MAX_EXP__ 128 |
| // AARCH64-BE:#define __FLT_MAX__ 3.40282347e+38F |
| // AARCH64-BE:#define __FLT_MIN_10_EXP__ (-37) |
| // AARCH64-BE:#define __FLT_MIN_EXP__ (-125) |
| // AARCH64-BE:#define __FLT_MIN__ 1.17549435e-38F |
| // AARCH64-BE:#define __FLT_RADIX__ 2 |
| // AARCH64-BE:#define __INT16_C_SUFFIX__ |
| // AARCH64-BE:#define __INT16_FMTd__ "hd" |
| // AARCH64-BE:#define __INT16_FMTi__ "hi" |
| // AARCH64-BE:#define __INT16_MAX__ 32767 |
| // AARCH64-BE:#define __INT16_TYPE__ short |
| // AARCH64-BE:#define __INT32_C_SUFFIX__ |
| // AARCH64-BE:#define __INT32_FMTd__ "d" |
| // AARCH64-BE:#define __INT32_FMTi__ "i" |
| // AARCH64-BE:#define __INT32_MAX__ 2147483647 |
| // AARCH64-BE:#define __INT32_TYPE__ int |
| // AARCH64-BE:#define __INT64_C_SUFFIX__ L |
| // AARCH64-BE:#define __INT64_FMTd__ "ld" |
| // AARCH64-BE:#define __INT64_FMTi__ "li" |
| // AARCH64-BE:#define __INT64_MAX__ 9223372036854775807L |
| // AARCH64-BE:#define __INT64_TYPE__ long int |
| // AARCH64-BE:#define __INT8_C_SUFFIX__ |
| // AARCH64-BE:#define __INT8_FMTd__ "hhd" |
| // AARCH64-BE:#define __INT8_FMTi__ "hhi" |
| // AARCH64-BE:#define __INT8_MAX__ 127 |
| // AARCH64-BE:#define __INT8_TYPE__ signed char |
| // AARCH64-BE:#define __INTMAX_C_SUFFIX__ L |
| // AARCH64-BE:#define __INTMAX_FMTd__ "ld" |
| // AARCH64-BE:#define __INTMAX_FMTi__ "li" |
| // AARCH64-BE:#define __INTMAX_MAX__ 9223372036854775807L |
| // AARCH64-BE:#define __INTMAX_TYPE__ long int |
| // AARCH64-BE:#define __INTMAX_WIDTH__ 64 |
| // AARCH64-BE:#define __INTPTR_FMTd__ "ld" |
| // AARCH64-BE:#define __INTPTR_FMTi__ "li" |
| // AARCH64-BE:#define __INTPTR_MAX__ 9223372036854775807L |
| // AARCH64-BE:#define __INTPTR_TYPE__ long int |
| // AARCH64-BE:#define __INTPTR_WIDTH__ 64 |
| // AARCH64-BE:#define __INT_FAST16_FMTd__ "hd" |
| // AARCH64-BE:#define __INT_FAST16_FMTi__ "hi" |
| // AARCH64-BE:#define __INT_FAST16_MAX__ 32767 |
| // AARCH64-BE:#define __INT_FAST16_TYPE__ short |
| // AARCH64-BE:#define __INT_FAST32_FMTd__ "d" |
| // AARCH64-BE:#define __INT_FAST32_FMTi__ "i" |
| // AARCH64-BE:#define __INT_FAST32_MAX__ 2147483647 |
| // AARCH64-BE:#define __INT_FAST32_TYPE__ int |
| // AARCH64-BE:#define __INT_FAST64_FMTd__ "ld" |
| // AARCH64-BE:#define __INT_FAST64_FMTi__ "li" |
| // AARCH64-BE:#define __INT_FAST64_MAX__ 9223372036854775807L |
| // AARCH64-BE:#define __INT_FAST64_TYPE__ long int |
| // AARCH64-BE:#define __INT_FAST8_FMTd__ "hhd" |
| // AARCH64-BE:#define __INT_FAST8_FMTi__ "hhi" |
| // AARCH64-BE:#define __INT_FAST8_MAX__ 127 |
| // AARCH64-BE:#define __INT_FAST8_TYPE__ signed char |
| // AARCH64-BE:#define __INT_LEAST16_FMTd__ "hd" |
| // AARCH64-BE:#define __INT_LEAST16_FMTi__ "hi" |
| // AARCH64-BE:#define __INT_LEAST16_MAX__ 32767 |
| // AARCH64-BE:#define __INT_LEAST16_TYPE__ short |
| // AARCH64-BE:#define __INT_LEAST32_FMTd__ "d" |
| // AARCH64-BE:#define __INT_LEAST32_FMTi__ "i" |
| // AARCH64-BE:#define __INT_LEAST32_MAX__ 2147483647 |
| // AARCH64-BE:#define __INT_LEAST32_TYPE__ int |
| // AARCH64-BE:#define __INT_LEAST64_FMTd__ "ld" |
| // AARCH64-BE:#define __INT_LEAST64_FMTi__ "li" |
| // AARCH64-BE:#define __INT_LEAST64_MAX__ 9223372036854775807L |
| // AARCH64-BE:#define __INT_LEAST64_TYPE__ long int |
| // AARCH64-BE:#define __INT_LEAST8_FMTd__ "hhd" |
| // AARCH64-BE:#define __INT_LEAST8_FMTi__ "hhi" |
| // AARCH64-BE:#define __INT_LEAST8_MAX__ 127 |
| // AARCH64-BE:#define __INT_LEAST8_TYPE__ signed char |
| // AARCH64-BE:#define __INT_MAX__ 2147483647 |
| // AARCH64-BE:#define __LDBL_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966L |
| // AARCH64-BE:#define __LDBL_DIG__ 33 |
| // AARCH64-BE:#define __LDBL_EPSILON__ 1.92592994438723585305597794258492732e-34L |
| // AARCH64-BE:#define __LDBL_HAS_DENORM__ 1 |
| // AARCH64-BE:#define __LDBL_HAS_INFINITY__ 1 |
| // AARCH64-BE:#define __LDBL_HAS_QUIET_NAN__ 1 |
| // AARCH64-BE:#define __LDBL_MANT_DIG__ 113 |
| // AARCH64-BE:#define __LDBL_MAX_10_EXP__ 4932 |
| // AARCH64-BE:#define __LDBL_MAX_EXP__ 16384 |
| // AARCH64-BE:#define __LDBL_MAX__ 1.18973149535723176508575932662800702e+4932L |
| // AARCH64-BE:#define __LDBL_MIN_10_EXP__ (-4931) |
| // AARCH64-BE:#define __LDBL_MIN_EXP__ (-16381) |
| // AARCH64-BE:#define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L |
| // AARCH64-BE:#define __LONG_LONG_MAX__ 9223372036854775807LL |
| // AARCH64-BE:#define __LONG_MAX__ 9223372036854775807L |
| // AARCH64-BE:#define __LP64__ 1 |
| // AARCH64-BE:#define __POINTER_WIDTH__ 64 |
| // AARCH64-BE:#define __PTRDIFF_TYPE__ long int |
| // AARCH64-BE:#define __PTRDIFF_WIDTH__ 64 |
| // AARCH64-BE:#define __SCHAR_MAX__ 127 |
| // AARCH64-BE:#define __SHRT_MAX__ 32767 |
| // AARCH64-BE:#define __SIG_ATOMIC_MAX__ 2147483647 |
| // AARCH64-BE:#define __SIG_ATOMIC_WIDTH__ 32 |
| // AARCH64-BE:#define __SIZEOF_DOUBLE__ 8 |
| // AARCH64-BE:#define __SIZEOF_FLOAT__ 4 |
| // AARCH64-BE:#define __SIZEOF_INT128__ 16 |
| // AARCH64-BE:#define __SIZEOF_INT__ 4 |
| // AARCH64-BE:#define __SIZEOF_LONG_DOUBLE__ 16 |
| // AARCH64-BE:#define __SIZEOF_LONG_LONG__ 8 |
| // AARCH64-BE:#define __SIZEOF_LONG__ 8 |
| // AARCH64-BE:#define __SIZEOF_POINTER__ 8 |
| // AARCH64-BE:#define __SIZEOF_PTRDIFF_T__ 8 |
| // AARCH64-BE:#define __SIZEOF_SHORT__ 2 |
| // AARCH64-BE:#define __SIZEOF_SIZE_T__ 8 |
| // AARCH64-BE:#define __SIZEOF_WCHAR_T__ 4 |
| // AARCH64-BE:#define __SIZEOF_WINT_T__ 4 |
| // AARCH64-BE:#define __SIZE_MAX__ 18446744073709551615UL |
| // AARCH64-BE:#define __SIZE_TYPE__ long unsigned int |
| // AARCH64-BE:#define __SIZE_WIDTH__ 64 |
| // AARCH64-BE:#define __UINT16_C_SUFFIX__ |
| // AARCH64-BE:#define __UINT16_MAX__ 65535 |
| // AARCH64-BE:#define __UINT16_TYPE__ unsigned short |
| // AARCH64-BE:#define __UINT32_C_SUFFIX__ U |
| // AARCH64-BE:#define __UINT32_MAX__ 4294967295U |
| // AARCH64-BE:#define __UINT32_TYPE__ unsigned int |
| // AARCH64-BE:#define __UINT64_C_SUFFIX__ UL |
| // AARCH64-BE:#define __UINT64_MAX__ 18446744073709551615UL |
| // AARCH64-BE:#define __UINT64_TYPE__ long unsigned int |
| // AARCH64-BE:#define __UINT8_C_SUFFIX__ |
| // AARCH64-BE:#define __UINT8_MAX__ 255 |
| // AARCH64-BE:#define __UINT8_TYPE__ unsigned char |
| // AARCH64-BE:#define __UINTMAX_C_SUFFIX__ UL |
| // AARCH64-BE:#define __UINTMAX_MAX__ 18446744073709551615UL |
| // AARCH64-BE:#define __UINTMAX_TYPE__ long unsigned int |
| // AARCH64-BE:#define __UINTMAX_WIDTH__ 64 |
| // AARCH64-BE:#define __UINTPTR_MAX__ 18446744073709551615UL |
| // AARCH64-BE:#define __UINTPTR_TYPE__ long unsigned int |
| // AARCH64-BE:#define __UINTPTR_WIDTH__ 64 |
| // AARCH64-BE:#define __UINT_FAST16_MAX__ 65535 |
| // AARCH64-BE:#define __UINT_FAST16_TYPE__ unsigned short |
| // AARCH64-BE:#define __UINT_FAST32_MAX__ 4294967295U |
| // AARCH64-BE:#define __UINT_FAST32_TYPE__ unsigned int |
| // AARCH64-BE:#define __UINT_FAST64_MAX__ 18446744073709551615UL |
| // AARCH64-BE:#define __UINT_FAST64_TYPE__ long unsigned int |
| // AARCH64-BE:#define __UINT_FAST8_MAX__ 255 |
| // AARCH64-BE:#define __UINT_FAST8_TYPE__ unsigned char |
| // AARCH64-BE:#define __UINT_LEAST16_MAX__ 65535 |
| // AARCH64-BE:#define __UINT_LEAST16_TYPE__ unsigned short |
| // AARCH64-BE:#define __UINT_LEAST32_MAX__ 4294967295U |
| // AARCH64-BE:#define __UINT_LEAST32_TYPE__ unsigned int |
| // AARCH64-BE:#define __UINT_LEAST64_MAX__ 18446744073709551615UL |
| // AARCH64-BE:#define __UINT_LEAST64_TYPE__ long unsigned int |
| // AARCH64-BE:#define __UINT_LEAST8_MAX__ 255 |
| // AARCH64-BE:#define __UINT_LEAST8_TYPE__ unsigned char |
| // AARCH64-BE:#define __USER_LABEL_PREFIX__ |
| // AARCH64-BE:#define __WCHAR_MAX__ 4294967295U |
| // AARCH64-BE:#define __WCHAR_TYPE__ unsigned int |
| // AARCH64-BE:#define __WCHAR_UNSIGNED__ 1 |
| // AARCH64-BE:#define __WCHAR_WIDTH__ 32 |
| // AARCH64-BE:#define __WINT_TYPE__ int |
| // AARCH64-BE:#define __WINT_WIDTH__ 32 |
| // AARCH64-BE:#define __aarch64__ 1 |
| // |
| // RUN: %clang_cc1 -E -dM -ffreestanding -triple=aarch64-netbsd < /dev/null | FileCheck -match-full-lines -check-prefix AARCH64-NETBSD %s |
| // |
| // AARCH64-NETBSD:#define _LP64 1 |
| // AARCH64-NETBSD-NOT:#define __AARCH64EB__ 1 |
| // AARCH64-NETBSD:#define __AARCH64EL__ 1 |
| // AARCH64-NETBSD-NOT:#define __AARCH_BIG_ENDIAN 1 |
| // AARCH64-NETBSD:#define __ARM_64BIT_STATE 1 |
| // AARCH64-NETBSD:#define __ARM_ARCH 8 |
| // AARCH64-NETBSD:#define __ARM_ARCH_ISA_A64 1 |
| // AARCH64-NETBSD-NOT:#define __ARM_BIG_ENDIAN 1 |
| // AARCH64-NETBSD:#define __BIGGEST_ALIGNMENT__ 16 |
| // AARCH64-NETBSD:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__ |
| // AARCH64-NETBSD:#define __CHAR16_TYPE__ unsigned short |
| // AARCH64-NETBSD:#define __CHAR32_TYPE__ unsigned int |
| // AARCH64-NETBSD:#define __CHAR_BIT__ 8 |
| // AARCH64-NETBSD:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324 |
| // AARCH64-NETBSD:#define __DBL_DIG__ 15 |
| // AARCH64-NETBSD:#define __DBL_EPSILON__ 2.2204460492503131e-16 |
| // AARCH64-NETBSD:#define __DBL_HAS_DENORM__ 1 |
| // AARCH64-NETBSD:#define __DBL_HAS_INFINITY__ 1 |
| // AARCH64-NETBSD:#define __DBL_HAS_QUIET_NAN__ 1 |
| // AARCH64-NETBSD:#define __DBL_MANT_DIG__ 53 |
| // AARCH64-NETBSD:#define __DBL_MAX_10_EXP__ 308 |
| // AARCH64-NETBSD:#define __DBL_MAX_EXP__ 1024 |
| // AARCH64-NETBSD:#define __DBL_MAX__ 1.7976931348623157e+308 |
| // AARCH64-NETBSD:#define __DBL_MIN_10_EXP__ (-307) |
| // AARCH64-NETBSD:#define __DBL_MIN_EXP__ (-1021) |
| // AARCH64-NETBSD:#define __DBL_MIN__ 2.2250738585072014e-308 |
| // AARCH64-NETBSD:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__ |
| // AARCH64-NETBSD:#define __ELF__ 1 |
| // AARCH64-NETBSD:#define __FLT_DENORM_MIN__ 1.40129846e-45F |
| // AARCH64-NETBSD:#define __FLT_DIG__ 6 |
| // AARCH64-NETBSD:#define __FLT_EPSILON__ 1.19209290e-7F |
| // AARCH64-NETBSD:#define __FLT_EVAL_METHOD__ 0 |
| // AARCH64-NETBSD:#define __FLT_HAS_DENORM__ 1 |
| // AARCH64-NETBSD:#define __FLT_HAS_INFINITY__ 1 |
| // AARCH64-NETBSD:#define __FLT_HAS_QUIET_NAN__ 1 |
| // AARCH64-NETBSD:#define __FLT_MANT_DIG__ 24 |
| // AARCH64-NETBSD:#define __FLT_MAX_10_EXP__ 38 |
| // AARCH64-NETBSD:#define __FLT_MAX_EXP__ 128 |
| // AARCH64-NETBSD:#define __FLT_MAX__ 3.40282347e+38F |
| // AARCH64-NETBSD:#define __FLT_MIN_10_EXP__ (-37) |
| // AARCH64-NETBSD:#define __FLT_MIN_EXP__ (-125) |
| // AARCH64-NETBSD:#define __FLT_MIN__ 1.17549435e-38F |
| // AARCH64-NETBSD:#define __FLT_RADIX__ 2 |
| // AARCH64-NETBSD:#define __INT16_C_SUFFIX__ |
| // AARCH64-NETBSD:#define __INT16_FMTd__ "hd" |
| // AARCH64-NETBSD:#define __INT16_FMTi__ "hi" |
| // AARCH64-NETBSD:#define __INT16_MAX__ 32767 |
| // AARCH64-NETBSD:#define __INT16_TYPE__ short |
| // AARCH64-NETBSD:#define __INT32_C_SUFFIX__ |
| // AARCH64-NETBSD:#define __INT32_FMTd__ "d" |
| // AARCH64-NETBSD:#define __INT32_FMTi__ "i" |
| // AARCH64-NETBSD:#define __INT32_MAX__ 2147483647 |
| // AARCH64-NETBSD:#define __INT32_TYPE__ int |
| // AARCH64-NETBSD:#define __INT64_C_SUFFIX__ LL |
| // AARCH64-NETBSD:#define __INT64_FMTd__ "lld" |
| // AARCH64-NETBSD:#define __INT64_FMTi__ "lli" |
| // AARCH64-NETBSD:#define __INT64_MAX__ 9223372036854775807LL |
| // AARCH64-NETBSD:#define __INT64_TYPE__ long long int |
| // AARCH64-NETBSD:#define __INT8_C_SUFFIX__ |
| // AARCH64-NETBSD:#define __INT8_FMTd__ "hhd" |
| // AARCH64-NETBSD:#define __INT8_FMTi__ "hhi" |
| // AARCH64-NETBSD:#define __INT8_MAX__ 127 |
| // AARCH64-NETBSD:#define __INT8_TYPE__ signed char |
| // AARCH64-NETBSD:#define __INTMAX_C_SUFFIX__ LL |
| // AARCH64-NETBSD:#define __INTMAX_FMTd__ "lld" |
| // AARCH64-NETBSD:#define __INTMAX_FMTi__ "lli" |
| // AARCH64-NETBSD:#define __INTMAX_MAX__ 9223372036854775807LL |
| // AARCH64-NETBSD:#define __INTMAX_TYPE__ long long int |
| // AARCH64-NETBSD:#define __INTMAX_WIDTH__ 64 |
| // AARCH64-NETBSD:#define __INTPTR_FMTd__ "ld" |
| // AARCH64-NETBSD:#define __INTPTR_FMTi__ "li" |
| // AARCH64-NETBSD:#define __INTPTR_MAX__ 9223372036854775807L |
| // AARCH64-NETBSD:#define __INTPTR_TYPE__ long int |
| // AARCH64-NETBSD:#define __INTPTR_WIDTH__ 64 |
| // AARCH64-NETBSD:#define __INT_FAST16_FMTd__ "hd" |
| // AARCH64-NETBSD:#define __INT_FAST16_FMTi__ "hi" |
| // AARCH64-NETBSD:#define __INT_FAST16_MAX__ 32767 |
| // AARCH64-NETBSD:#define __INT_FAST16_TYPE__ short |
| // AARCH64-NETBSD:#define __INT_FAST32_FMTd__ "d" |
| // AARCH64-NETBSD:#define __INT_FAST32_FMTi__ "i" |
| // AARCH64-NETBSD:#define __INT_FAST32_MAX__ 2147483647 |
| // AARCH64-NETBSD:#define __INT_FAST32_TYPE__ int |
| // AARCH64-NETBSD:#define __INT_FAST64_FMTd__ "ld" |
| // AARCH64-NETBSD:#define __INT_FAST64_FMTi__ "li" |
| // AARCH64-NETBSD:#define __INT_FAST64_MAX__ 9223372036854775807L |
| // AARCH64-NETBSD:#define __INT_FAST64_TYPE__ long int |
| // AARCH64-NETBSD:#define __INT_FAST8_FMTd__ "hhd" |
| // AARCH64-NETBSD:#define __INT_FAST8_FMTi__ "hhi" |
| // AARCH64-NETBSD:#define __INT_FAST8_MAX__ 127 |
| // AARCH64-NETBSD:#define __INT_FAST8_TYPE__ signed char |
| // AARCH64-NETBSD:#define __INT_LEAST16_FMTd__ "hd" |
| // AARCH64-NETBSD:#define __INT_LEAST16_FMTi__ "hi" |
| // AARCH64-NETBSD:#define __INT_LEAST16_MAX__ 32767 |
| // AARCH64-NETBSD:#define __INT_LEAST16_TYPE__ short |
| // AARCH64-NETBSD:#define __INT_LEAST32_FMTd__ "d" |
| // AARCH64-NETBSD:#define __INT_LEAST32_FMTi__ "i" |
| // AARCH64-NETBSD:#define __INT_LEAST32_MAX__ 2147483647 |
| // AARCH64-NETBSD:#define __INT_LEAST32_TYPE__ int |
| // AARCH64-NETBSD:#define __INT_LEAST64_FMTd__ "ld" |
| // AARCH64-NETBSD:#define __INT_LEAST64_FMTi__ "li" |
| // AARCH64-NETBSD:#define __INT_LEAST64_MAX__ 9223372036854775807L |
| // AARCH64-NETBSD:#define __INT_LEAST64_TYPE__ long int |
| // AARCH64-NETBSD:#define __INT_LEAST8_FMTd__ "hhd" |
| // AARCH64-NETBSD:#define __INT_LEAST8_FMTi__ "hhi" |
| // AARCH64-NETBSD:#define __INT_LEAST8_MAX__ 127 |
| // AARCH64-NETBSD:#define __INT_LEAST8_TYPE__ signed char |
| // AARCH64-NETBSD:#define __INT_MAX__ 2147483647 |
| // AARCH64-NETBSD:#define __LDBL_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966L |
| // AARCH64-NETBSD:#define __LDBL_DIG__ 33 |
| // AARCH64-NETBSD:#define __LDBL_EPSILON__ 1.92592994438723585305597794258492732e-34L |
| // AARCH64-NETBSD:#define __LDBL_HAS_DENORM__ 1 |
| // AARCH64-NETBSD:#define __LDBL_HAS_INFINITY__ 1 |
| // AARCH64-NETBSD:#define __LDBL_HAS_QUIET_NAN__ 1 |
| // AARCH64-NETBSD:#define __LDBL_MANT_DIG__ 113 |
| // AARCH64-NETBSD:#define __LDBL_MAX_10_EXP__ 4932 |
| // AARCH64-NETBSD:#define __LDBL_MAX_EXP__ 16384 |
| // AARCH64-NETBSD:#define __LDBL_MAX__ 1.18973149535723176508575932662800702e+4932L |
| // AARCH64-NETBSD:#define __LDBL_MIN_10_EXP__ (-4931) |
| // AARCH64-NETBSD:#define __LDBL_MIN_EXP__ (-16381) |
| // AARCH64-NETBSD:#define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L |
| // AARCH64-NETBSD:#define __LITTLE_ENDIAN__ 1 |
| // AARCH64-NETBSD:#define __LONG_LONG_MAX__ 9223372036854775807LL |
| // AARCH64-NETBSD:#define __LONG_MAX__ 9223372036854775807L |
| // AARCH64-NETBSD:#define __LP64__ 1 |
| // AARCH64-NETBSD:#define __NetBSD__ 1 |
| // AARCH64-NETBSD:#define __POINTER_WIDTH__ 64 |
| // AARCH64-NETBSD:#define __PTRDIFF_TYPE__ long int |
| // AARCH64-NETBSD:#define __PTRDIFF_WIDTH__ 64 |
| // AARCH64-NETBSD:#define __SCHAR_MAX__ 127 |
| // AARCH64-NETBSD:#define __SHRT_MAX__ 32767 |
| // AARCH64-NETBSD:#define __SIG_ATOMIC_MAX__ 2147483647 |
| // AARCH64-NETBSD:#define __SIG_ATOMIC_WIDTH__ 32 |
| // AARCH64-NETBSD:#define __SIZEOF_DOUBLE__ 8 |
| // AARCH64-NETBSD:#define __SIZEOF_FLOAT__ 4 |
| // AARCH64-NETBSD:#define __SIZEOF_INT__ 4 |
| // AARCH64-NETBSD:#define __SIZEOF_LONG_DOUBLE__ 16 |
| // AARCH64-NETBSD:#define __SIZEOF_LONG_LONG__ 8 |
| // AARCH64-NETBSD:#define __SIZEOF_LONG__ 8 |
| // AARCH64-NETBSD:#define __SIZEOF_POINTER__ 8 |
| // AARCH64-NETBSD:#define __SIZEOF_PTRDIFF_T__ 8 |
| // AARCH64-NETBSD:#define __SIZEOF_SHORT__ 2 |
| // AARCH64-NETBSD:#define __SIZEOF_SIZE_T__ 8 |
| // AARCH64-NETBSD:#define __SIZEOF_WCHAR_T__ 4 |
| // AARCH64-NETBSD:#define __SIZEOF_WINT_T__ 4 |
| // AARCH64-NETBSD:#define __SIZE_MAX__ 18446744073709551615UL |
| // AARCH64-NETBSD:#define __SIZE_TYPE__ long unsigned int |
| // AARCH64-NETBSD:#define __SIZE_WIDTH__ 64 |
| // AARCH64-NETBSD:#define __UINT16_C_SUFFIX__ |
| // AARCH64-NETBSD:#define __UINT16_MAX__ 65535 |
| // AARCH64-NETBSD:#define __UINT16_TYPE__ unsigned short |
| // AARCH64-NETBSD:#define __UINT32_C_SUFFIX__ U |
| // AARCH64-NETBSD:#define __UINT32_MAX__ 4294967295U |
| // AARCH64-NETBSD:#define __UINT32_TYPE__ unsigned int |
| // AARCH64-NETBSD:#define __UINT64_C_SUFFIX__ ULL |
| // AARCH64-NETBSD:#define __UINT64_MAX__ 18446744073709551615ULL |
| // AARCH64-NETBSD:#define __UINT64_TYPE__ long long unsigned int |
| // AARCH64-NETBSD:#define __UINT8_C_SUFFIX__ |
| // AARCH64-NETBSD:#define __UINT8_MAX__ 255 |
| // AARCH64-NETBSD:#define __UINT8_TYPE__ unsigned char |
| // AARCH64-NETBSD:#define __UINTMAX_C_SUFFIX__ ULL |
| // AARCH64-NETBSD:#define __UINTMAX_MAX__ 18446744073709551615ULL |
| // AARCH64-NETBSD:#define __UINTMAX_TYPE__ long long unsigned int |
| // AARCH64-NETBSD:#define __UINTMAX_WIDTH__ 64 |
| // AARCH64-NETBSD:#define __UINTPTR_MAX__ 18446744073709551615UL |
| // AARCH64-NETBSD:#define __UINTPTR_TYPE__ long unsigned int |
| // AARCH64-NETBSD:#define __UINTPTR_WIDTH__ 64 |
| // AARCH64-NETBSD:#define __UINT_FAST16_MAX__ 65535 |
| // AARCH64-NETBSD:#define __UINT_FAST16_TYPE__ unsigned short |
| // AARCH64-NETBSD:#define __UINT_FAST32_MAX__ 4294967295U |
| // AARCH64-NETBSD:#define __UINT_FAST32_TYPE__ unsigned int |
| // AARCH64-NETBSD:#define __UINT_FAST64_MAX__ 18446744073709551615UL |
| // AARCH64-NETBSD:#define __UINT_FAST64_TYPE__ long unsigned int |
| // AARCH64-NETBSD:#define __UINT_FAST8_MAX__ 255 |
| // AARCH64-NETBSD:#define __UINT_FAST8_TYPE__ unsigned char |
| // AARCH64-NETBSD:#define __UINT_LEAST16_MAX__ 65535 |
| // AARCH64-NETBSD:#define __UINT_LEAST16_TYPE__ unsigned short |
| // AARCH64-NETBSD:#define __UINT_LEAST32_MAX__ 4294967295U |
| // AARCH64-NETBSD:#define __UINT_LEAST32_TYPE__ unsigned int |
| // AARCH64-NETBSD:#define __UINT_LEAST64_MAX__ 18446744073709551615UL |
| // AARCH64-NETBSD:#define __UINT_LEAST64_TYPE__ long unsigned int |
| // AARCH64-NETBSD:#define __UINT_LEAST8_MAX__ 255 |
| // AARCH64-NETBSD:#define __UINT_LEAST8_TYPE__ unsigned char |
| // AARCH64-NETBSD:#define __USER_LABEL_PREFIX__ |
| // AARCH64-NETBSD:#define __WCHAR_MAX__ 2147483647 |
| // AARCH64-NETBSD:#define __WCHAR_TYPE__ int |
| // AARCH64-NETBSD:#define __WCHAR_WIDTH__ 32 |
| // AARCH64-NETBSD:#define __WINT_TYPE__ int |
| // AARCH64-NETBSD:#define __WINT_WIDTH__ 32 |
| // AARCH64-NETBSD:#define __aarch64__ 1 |
| // |
| // RUN: %clang_cc1 -E -dM -ffreestanding -triple=aarch64-freebsd11 < /dev/null | FileCheck -match-full-lines -check-prefix AARCH64-FREEBSD %s |
| // |
| // AARCH64-FREEBSD:#define _LP64 1 |
| // AARCH64-FREEBSD-NOT:#define __AARCH64EB__ 1 |
| // AARCH64-FREEBSD:#define __AARCH64EL__ 1 |
| // AARCH64-FREEBSD-NOT:#define __AARCH_BIG_ENDIAN 1 |
| // AARCH64-FREEBSD:#define __ARM_64BIT_STATE 1 |
| // AARCH64-FREEBSD:#define __ARM_ARCH 8 |
| // AARCH64-FREEBSD:#define __ARM_ARCH_ISA_A64 1 |
| // AARCH64-FREEBSD-NOT:#define __ARM_BIG_ENDIAN 1 |
| // AARCH64-FREEBSD:#define __BIGGEST_ALIGNMENT__ 16 |
| // AARCH64-FREEBSD:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__ |
| // AARCH64-FREEBSD:#define __CHAR16_TYPE__ unsigned short |
| // AARCH64-FREEBSD:#define __CHAR32_TYPE__ unsigned int |
| // AARCH64-FREEBSD:#define __CHAR_BIT__ 8 |
| // AARCH64-FREEBSD:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324 |
| // AARCH64-FREEBSD:#define __DBL_DIG__ 15 |
| // AARCH64-FREEBSD:#define __DBL_EPSILON__ 2.2204460492503131e-16 |
| // AARCH64-FREEBSD:#define __DBL_HAS_DENORM__ 1 |
| // AARCH64-FREEBSD:#define __DBL_HAS_INFINITY__ 1 |
| // AARCH64-FREEBSD:#define __DBL_HAS_QUIET_NAN__ 1 |
| // AARCH64-FREEBSD:#define __DBL_MANT_DIG__ 53 |
| // AARCH64-FREEBSD:#define __DBL_MAX_10_EXP__ 308 |
| // AARCH64-FREEBSD:#define __DBL_MAX_EXP__ 1024 |
| // AARCH64-FREEBSD:#define __DBL_MAX__ 1.7976931348623157e+308 |
| // AARCH64-FREEBSD:#define __DBL_MIN_10_EXP__ (-307) |
| // AARCH64-FREEBSD:#define __DBL_MIN_EXP__ (-1021) |
| // AARCH64-FREEBSD:#define __DBL_MIN__ 2.2250738585072014e-308 |
| // AARCH64-FREEBSD:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__ |
| // AARCH64-FREEBSD:#define __ELF__ 1 |
| // AARCH64-FREEBSD:#define __FLT_DENORM_MIN__ 1.40129846e-45F |
| // AARCH64-FREEBSD:#define __FLT_DIG__ 6 |
| // AARCH64-FREEBSD:#define __FLT_EPSILON__ 1.19209290e-7F |
| // AARCH64-FREEBSD:#define __FLT_EVAL_METHOD__ 0 |
| // AARCH64-FREEBSD:#define __FLT_HAS_DENORM__ 1 |
| // AARCH64-FREEBSD:#define __FLT_HAS_INFINITY__ 1 |
| // AARCH64-FREEBSD:#define __FLT_HAS_QUIET_NAN__ 1 |
| // AARCH64-FREEBSD:#define __FLT_MANT_DIG__ 24 |
| // AARCH64-FREEBSD:#define __FLT_MAX_10_EXP__ 38 |
| // AARCH64-FREEBSD:#define __FLT_MAX_EXP__ 128 |
| // AARCH64-FREEBSD:#define __FLT_MAX__ 3.40282347e+38F |
| // AARCH64-FREEBSD:#define __FLT_MIN_10_EXP__ (-37) |
| // AARCH64-FREEBSD:#define __FLT_MIN_EXP__ (-125) |
| // AARCH64-FREEBSD:#define __FLT_MIN__ 1.17549435e-38F |
| // AARCH64-FREEBSD:#define __FLT_RADIX__ 2 |
| // AARCH64-FREEBSD:#define __FreeBSD__ 11 |
| // AARCH64-FREEBSD:#define __INT16_C_SUFFIX__ |
| // AARCH64-FREEBSD:#define __INT16_FMTd__ "hd" |
| // AARCH64-FREEBSD:#define __INT16_FMTi__ "hi" |
| // AARCH64-FREEBSD:#define __INT16_MAX__ 32767 |
| // AARCH64-FREEBSD:#define __INT16_TYPE__ short |
| // AARCH64-FREEBSD:#define __INT32_C_SUFFIX__ |
| // AARCH64-FREEBSD:#define __INT32_FMTd__ "d" |
| // AARCH64-FREEBSD:#define __INT32_FMTi__ "i" |
| // AARCH64-FREEBSD:#define __INT32_MAX__ 2147483647 |
| // AARCH64-FREEBSD:#define __INT32_TYPE__ int |
| // AARCH64-FREEBSD:#define __INT64_C_SUFFIX__ L |
| // AARCH64-FREEBSD:#define __INT64_FMTd__ "ld" |
| // AARCH64-FREEBSD:#define __INT64_FMTi__ "li" |
| // AARCH64-FREEBSD:#define __INT64_MAX__ 9223372036854775807L |
| // AARCH64-FREEBSD:#define __INT64_TYPE__ long int |
| // AARCH64-FREEBSD:#define __INT8_C_SUFFIX__ |
| // AARCH64-FREEBSD:#define __INT8_FMTd__ "hhd" |
| // AARCH64-FREEBSD:#define __INT8_FMTi__ "hhi" |
| // AARCH64-FREEBSD:#define __INT8_MAX__ 127 |
| // AARCH64-FREEBSD:#define __INT8_TYPE__ signed char |
| // AARCH64-FREEBSD:#define __INTMAX_C_SUFFIX__ L |
| // AARCH64-FREEBSD:#define __INTMAX_FMTd__ "ld" |
| // AARCH64-FREEBSD:#define __INTMAX_FMTi__ "li" |
| // AARCH64-FREEBSD:#define __INTMAX_MAX__ 9223372036854775807L |
| // AARCH64-FREEBSD:#define __INTMAX_TYPE__ long int |
| // AARCH64-FREEBSD:#define __INTMAX_WIDTH__ 64 |
| // AARCH64-FREEBSD:#define __INTPTR_FMTd__ "ld" |
| // AARCH64-FREEBSD:#define __INTPTR_FMTi__ "li" |
| // AARCH64-FREEBSD:#define __INTPTR_MAX__ 9223372036854775807L |
| // AARCH64-FREEBSD:#define __INTPTR_TYPE__ long int |
| // AARCH64-FREEBSD:#define __INTPTR_WIDTH__ 64 |
| // AARCH64-FREEBSD:#define __INT_FAST16_FMTd__ "hd" |
| // AARCH64-FREEBSD:#define __INT_FAST16_FMTi__ "hi" |
| // AARCH64-FREEBSD:#define __INT_FAST16_MAX__ 32767 |
| // AARCH64-FREEBSD:#define __INT_FAST16_TYPE__ short |
| // AARCH64-FREEBSD:#define __INT_FAST32_FMTd__ "d" |
| // AARCH64-FREEBSD:#define __INT_FAST32_FMTi__ "i" |
| // AARCH64-FREEBSD:#define __INT_FAST32_MAX__ 2147483647 |
| // AARCH64-FREEBSD:#define __INT_FAST32_TYPE__ int |
| // AARCH64-FREEBSD:#define __INT_FAST64_FMTd__ "ld" |
| // AARCH64-FREEBSD:#define __INT_FAST64_FMTi__ "li" |
| // AARCH64-FREEBSD:#define __INT_FAST64_MAX__ 9223372036854775807L |
| // AARCH64-FREEBSD:#define __INT_FAST64_TYPE__ long int |
| // AARCH64-FREEBSD:#define __INT_FAST8_FMTd__ "hhd" |
| // AARCH64-FREEBSD:#define __INT_FAST8_FMTi__ "hhi" |
| // AARCH64-FREEBSD:#define __INT_FAST8_MAX__ 127 |
| // AARCH64-FREEBSD:#define __INT_FAST8_TYPE__ signed char |
| // AARCH64-FREEBSD:#define __INT_LEAST16_FMTd__ "hd" |
| // AARCH64-FREEBSD:#define __INT_LEAST16_FMTi__ "hi" |
| // AARCH64-FREEBSD:#define __INT_LEAST16_MAX__ 32767 |
| // AARCH64-FREEBSD:#define __INT_LEAST16_TYPE__ short |
| // AARCH64-FREEBSD:#define __INT_LEAST32_FMTd__ "d" |
| // AARCH64-FREEBSD:#define __INT_LEAST32_FMTi__ "i" |
| // AARCH64-FREEBSD:#define __INT_LEAST32_MAX__ 2147483647 |
| // AARCH64-FREEBSD:#define __INT_LEAST32_TYPE__ int |
| // AARCH64-FREEBSD:#define __INT_LEAST64_FMTd__ "ld" |
| // AARCH64-FREEBSD:#define __INT_LEAST64_FMTi__ "li" |
| // AARCH64-FREEBSD:#define __INT_LEAST64_MAX__ 9223372036854775807L |
| // AARCH64-FREEBSD:#define __INT_LEAST64_TYPE__ long int |
| // AARCH64-FREEBSD:#define __INT_LEAST8_FMTd__ "hhd" |
| // AARCH64-FREEBSD:#define __INT_LEAST8_FMTi__ "hhi" |
| // AARCH64-FREEBSD:#define __INT_LEAST8_MAX__ 127 |
| // AARCH64-FREEBSD:#define __INT_LEAST8_TYPE__ signed char |
| // AARCH64-FREEBSD:#define __INT_MAX__ 2147483647 |
| // AARCH64-FREEBSD:#define __LDBL_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966L |
| // AARCH64-FREEBSD:#define __LDBL_DIG__ 33 |
| // AARCH64-FREEBSD:#define __LDBL_EPSILON__ 1.92592994438723585305597794258492732e-34L |
| // AARCH64-FREEBSD:#define __LDBL_HAS_DENORM__ 1 |
| // AARCH64-FREEBSD:#define __LDBL_HAS_INFINITY__ 1 |
| // AARCH64-FREEBSD:#define __LDBL_HAS_QUIET_NAN__ 1 |
| // AARCH64-FREEBSD:#define __LDBL_MANT_DIG__ 113 |
| // AARCH64-FREEBSD:#define __LDBL_MAX_10_EXP__ 4932 |
| // AARCH64-FREEBSD:#define __LDBL_MAX_EXP__ 16384 |
| // AARCH64-FREEBSD:#define __LDBL_MAX__ 1.18973149535723176508575932662800702e+4932L |
| // AARCH64-FREEBSD:#define __LDBL_MIN_10_EXP__ (-4931) |
| // AARCH64-FREEBSD:#define __LDBL_MIN_EXP__ (-16381) |
| // AARCH64-FREEBSD:#define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L |
| // AARCH64-FREEBSD:#define __LITTLE_ENDIAN__ 1 |
| // AARCH64-FREEBSD:#define __LONG_LONG_MAX__ 9223372036854775807LL |
| // AARCH64-FREEBSD:#define __LONG_MAX__ 9223372036854775807L |
| // AARCH64-FREEBSD:#define __LP64__ 1 |
| // AARCH64-FREEBSD:#define __POINTER_WIDTH__ 64 |
| // AARCH64-FREEBSD:#define __PTRDIFF_TYPE__ long int |
| // AARCH64-FREEBSD:#define __PTRDIFF_WIDTH__ 64 |
| // AARCH64-FREEBSD:#define __SCHAR_MAX__ 127 |
| // AARCH64-FREEBSD:#define __SHRT_MAX__ 32767 |
| // AARCH64-FREEBSD:#define __SIG_ATOMIC_MAX__ 2147483647 |
| // AARCH64-FREEBSD:#define __SIG_ATOMIC_WIDTH__ 32 |
| // AARCH64-FREEBSD:#define __SIZEOF_DOUBLE__ 8 |
| // AARCH64-FREEBSD:#define __SIZEOF_FLOAT__ 4 |
| // AARCH64-FREEBSD:#define __SIZEOF_INT128__ 16 |
| // AARCH64-FREEBSD:#define __SIZEOF_INT__ 4 |
| // AARCH64-FREEBSD:#define __SIZEOF_LONG_DOUBLE__ 16 |
| // AARCH64-FREEBSD:#define __SIZEOF_LONG_LONG__ 8 |
| // AARCH64-FREEBSD:#define __SIZEOF_LONG__ 8 |
| // AARCH64-FREEBSD:#define __SIZEOF_POINTER__ 8 |
| // AARCH64-FREEBSD:#define __SIZEOF_PTRDIFF_T__ 8 |
| // AARCH64-FREEBSD:#define __SIZEOF_SHORT__ 2 |
| // AARCH64-FREEBSD:#define __SIZEOF_SIZE_T__ 8 |
| // AARCH64-FREEBSD:#define __SIZEOF_WCHAR_T__ 4 |
| // AARCH64-FREEBSD:#define __SIZEOF_WINT_T__ 4 |
| // AARCH64-FREEBSD:#define __SIZE_MAX__ 18446744073709551615UL |
| // AARCH64-FREEBSD:#define __SIZE_TYPE__ long unsigned int |
| // AARCH64-FREEBSD:#define __SIZE_WIDTH__ 64 |
| // AARCH64-FREEBSD:#define __UINT16_C_SUFFIX__ |
| // AARCH64-FREEBSD:#define __UINT16_MAX__ 65535 |
| // AARCH64-FREEBSD:#define __UINT16_TYPE__ unsigned short |
| // AARCH64-FREEBSD:#define __UINT32_C_SUFFIX__ U |
| // AARCH64-FREEBSD:#define __UINT32_MAX__ 4294967295U |
| // AARCH64-FREEBSD:#define __UINT32_TYPE__ unsigned int |
| // AARCH64-FREEBSD:#define __UINT64_C_SUFFIX__ UL |
| // AARCH64-FREEBSD:#define __UINT64_MAX__ 18446744073709551615UL |
| // AARCH64-FREEBSD:#define __UINT64_TYPE__ long unsigned int |
| // AARCH64-FREEBSD:#define __UINT8_C_SUFFIX__ |
| // AARCH64-FREEBSD:#define __UINT8_MAX__ 255 |
| // AARCH64-FREEBSD:#define __UINT8_TYPE__ unsigned char |
| // AARCH64-FREEBSD:#define __UINTMAX_C_SUFFIX__ UL |
| // AARCH64-FREEBSD:#define __UINTMAX_MAX__ 18446744073709551615UL |
| // AARCH64-FREEBSD:#define __UINTMAX_TYPE__ long unsigned int |
| // AARCH64-FREEBSD:#define __UINTMAX_WIDTH__ 64 |
| // AARCH64-FREEBSD:#define __UINTPTR_MAX__ 18446744073709551615UL |
| // AARCH64-FREEBSD:#define __UINTPTR_TYPE__ long unsigned int |
| // AARCH64-FREEBSD:#define __UINTPTR_WIDTH__ 64 |
| // AARCH64-FREEBSD:#define __UINT_FAST16_MAX__ 65535 |
| // AARCH64-FREEBSD:#define __UINT_FAST16_TYPE__ unsigned short |
| // AARCH64-FREEBSD:#define __UINT_FAST32_MAX__ 4294967295U |
| // AARCH64-FREEBSD:#define __UINT_FAST32_TYPE__ unsigned int |
| // AARCH64-FREEBSD:#define __UINT_FAST64_MAX__ 18446744073709551615UL |
| // AARCH64-FREEBSD:#define __UINT_FAST64_TYPE__ long unsigned int |
| // AARCH64-FREEBSD:#define __UINT_FAST8_MAX__ 255 |
| // AARCH64-FREEBSD:#define __UINT_FAST8_TYPE__ unsigned char |
| // AARCH64-FREEBSD:#define __UINT_LEAST16_MAX__ 65535 |
| // AARCH64-FREEBSD:#define __UINT_LEAST16_TYPE__ unsigned short |
| // AARCH64-FREEBSD:#define __UINT_LEAST32_MAX__ 4294967295U |
| // AARCH64-FREEBSD:#define __UINT_LEAST32_TYPE__ unsigned int |
| // AARCH64-FREEBSD:#define __UINT_LEAST64_MAX__ 18446744073709551615UL |
| // AARCH64-FREEBSD:#define __UINT_LEAST64_TYPE__ long unsigned int |
| // AARCH64-FREEBSD:#define __UINT_LEAST8_MAX__ 255 |
| // AARCH64-FREEBSD:#define __UINT_LEAST8_TYPE__ unsigned char |
| // AARCH64-FREEBSD:#define __USER_LABEL_PREFIX__ |
| // AARCH64-FREEBSD:#define __WCHAR_MAX__ 4294967295U |
| // AARCH64-FREEBSD:#define __WCHAR_TYPE__ unsigned int |
| // AARCH64-FREEBSD:#define __WCHAR_UNSIGNED__ 1 |
| // AARCH64-FREEBSD:#define __WCHAR_WIDTH__ 32 |
| // AARCH64-FREEBSD:#define __WINT_TYPE__ int |
| // AARCH64-FREEBSD:#define __WINT_WIDTH__ 32 |
| // AARCH64-FREEBSD:#define __aarch64__ 1 |
| |
| // RUN: %clang_cc1 -E -dM -ffreestanding -triple=aarch64-apple-ios7.0 < /dev/null | FileCheck -match-full-lines -check-prefix AARCH64-DARWIN %s |
| // |
| // AARCH64-DARWIN: #define _LP64 1 |
| // AARCH64-NOT: #define __AARCH64EB__ 1 |
| // AARCH64-DARWIN: #define __AARCH64EL__ 1 |
| // AARCH64-NOT: #define __AARCH_BIG_ENDIAN 1 |
| // AARCH64-DARWIN: #define __ARM_64BIT_STATE 1 |
| // AARCH64-DARWIN: #define __ARM_ARCH 8 |
| // AARCH64-DARWIN: #define __ARM_ARCH_ISA_A64 1 |
| // AARCH64-NOT: #define __ARM_BIG_ENDIAN 1 |
| // AARCH64-DARWIN: #define __BIGGEST_ALIGNMENT__ 8 |
| // AARCH64-DARWIN: #define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__ |
| // AARCH64-DARWIN: #define __CHAR16_TYPE__ unsigned short |
| // AARCH64-DARWIN: #define __CHAR32_TYPE__ unsigned int |
| // AARCH64-DARWIN: #define __CHAR_BIT__ 8 |
| // AARCH64-DARWIN: #define __DBL_DENORM_MIN__ 4.9406564584124654e-324 |
| // AARCH64-DARWIN: #define __DBL_DIG__ 15 |
| // AARCH64-DARWIN: #define __DBL_EPSILON__ 2.2204460492503131e-16 |
| // AARCH64-DARWIN: #define __DBL_HAS_DENORM__ 1 |
| // AARCH64-DARWIN: #define __DBL_HAS_INFINITY__ 1 |
| // AARCH64-DARWIN: #define __DBL_HAS_QUIET_NAN__ 1 |
| // AARCH64-DARWIN: #define __DBL_MANT_DIG__ 53 |
| // AARCH64-DARWIN: #define __DBL_MAX_10_EXP__ 308 |
| // AARCH64-DARWIN: #define __DBL_MAX_EXP__ 1024 |
| // AARCH64-DARWIN: #define __DBL_MAX__ 1.7976931348623157e+308 |
| // AARCH64-DARWIN: #define __DBL_MIN_10_EXP__ (-307) |
| // AARCH64-DARWIN: #define __DBL_MIN_EXP__ (-1021) |
| // AARCH64-DARWIN: #define __DBL_MIN__ 2.2250738585072014e-308 |
| // AARCH64-DARWIN: #define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__ |
| // AARCH64-DARWIN: #define __FLT_DENORM_MIN__ 1.40129846e-45F |
| // AARCH64-DARWIN: #define __FLT_DIG__ 6 |
| // AARCH64-DARWIN: #define __FLT_EPSILON__ 1.19209290e-7F |
| // AARCH64-DARWIN: #define __FLT_EVAL_METHOD__ 0 |
| // AARCH64-DARWIN: #define __FLT_HAS_DENORM__ 1 |
| // AARCH64-DARWIN: #define __FLT_HAS_INFINITY__ 1 |
| // AARCH64-DARWIN: #define __FLT_HAS_QUIET_NAN__ 1 |
| // AARCH64-DARWIN: #define __FLT_MANT_DIG__ 24 |
| // AARCH64-DARWIN: #define __FLT_MAX_10_EXP__ 38 |
| // AARCH64-DARWIN: #define __FLT_MAX_EXP__ 128 |
| // AARCH64-DARWIN: #define __FLT_MAX__ 3.40282347e+38F |
| // AARCH64-DARWIN: #define __FLT_MIN_10_EXP__ (-37) |
| // AARCH64-DARWIN: #define __FLT_MIN_EXP__ (-125) |
| // AARCH64-DARWIN: #define __FLT_MIN__ 1.17549435e-38F |
| // AARCH64-DARWIN: #define __FLT_RADIX__ 2 |
| // AARCH64-DARWIN: #define __INT16_C_SUFFIX__ |
| // AARCH64-DARWIN: #define __INT16_FMTd__ "hd" |
| // AARCH64-DARWIN: #define __INT16_FMTi__ "hi" |
| // AARCH64-DARWIN: #define __INT16_MAX__ 32767 |
| // AARCH64-DARWIN: #define __INT16_TYPE__ short |
| // AARCH64-DARWIN: #define __INT32_C_SUFFIX__ |
| // AARCH64-DARWIN: #define __INT32_FMTd__ "d" |
| // AARCH64-DARWIN: #define __INT32_FMTi__ "i" |
| // AARCH64-DARWIN: #define __INT32_MAX__ 2147483647 |
| // AARCH64-DARWIN: #define __INT32_TYPE__ int |
| // AARCH64-DARWIN: #define __INT64_C_SUFFIX__ LL |
| // AARCH64-DARWIN: #define __INT64_FMTd__ "lld" |
| // AARCH64-DARWIN: #define __INT64_FMTi__ "lli" |
| // AARCH64-DARWIN: #define __INT64_MAX__ 9223372036854775807LL |
| // AARCH64-DARWIN: #define __INT64_TYPE__ long long int |
| // AARCH64-DARWIN: #define __INT8_C_SUFFIX__ |
| // AARCH64-DARWIN: #define __INT8_FMTd__ "hhd" |
| // AARCH64-DARWIN: #define __INT8_FMTi__ "hhi" |
| // AARCH64-DARWIN: #define __INT8_MAX__ 127 |
| // AARCH64-DARWIN: #define __INT8_TYPE__ signed char |
| // AARCH64-DARWIN: #define __INTMAX_C_SUFFIX__ L |
| // AARCH64-DARWIN: #define __INTMAX_FMTd__ "ld" |
| // AARCH64-DARWIN: #define __INTMAX_FMTi__ "li" |
| // AARCH64-DARWIN: #define __INTMAX_MAX__ 9223372036854775807L |
| // AARCH64-DARWIN: #define __INTMAX_TYPE__ long int |
| // AARCH64-DARWIN: #define __INTMAX_WIDTH__ 64 |
| // AARCH64-DARWIN: #define __INTPTR_FMTd__ "ld" |
| // AARCH64-DARWIN: #define __INTPTR_FMTi__ "li" |
| // AARCH64-DARWIN: #define __INTPTR_MAX__ 9223372036854775807L |
| // AARCH64-DARWIN: #define __INTPTR_TYPE__ long int |
| // AARCH64-DARWIN: #define __INTPTR_WIDTH__ 64 |
| // AARCH64-DARWIN: #define __INT_FAST16_FMTd__ "hd" |
| // AARCH64-DARWIN: #define __INT_FAST16_FMTi__ "hi" |
| // AARCH64-DARWIN: #define __INT_FAST16_MAX__ 32767 |
| // AARCH64-DARWIN: #define __INT_FAST16_TYPE__ short |
| // AARCH64-DARWIN: #define __INT_FAST32_FMTd__ "d" |
| // AARCH64-DARWIN: #define __INT_FAST32_FMTi__ "i" |
| // AARCH64-DARWIN: #define __INT_FAST32_MAX__ 2147483647 |
| // AARCH64-DARWIN: #define __INT_FAST32_TYPE__ int |
| // AARCH64-DARWIN: #define __INT_FAST64_FMTd__ "ld" |
| // AARCH64-DARWIN: #define __INT_FAST64_FMTi__ "li" |
| // AARCH64-DARWIN: #define __INT_FAST64_MAX__ 9223372036854775807L |
| // AARCH64-DARWIN: #define __INT_FAST64_TYPE__ long int |
| // AARCH64-DARWIN: #define __INT_FAST8_FMTd__ "hhd" |
| // AARCH64-DARWIN: #define __INT_FAST8_FMTi__ "hhi" |
| // AARCH64-DARWIN: #define __INT_FAST8_MAX__ 127 |
| // AARCH64-DARWIN: #define __INT_FAST8_TYPE__ signed char |
| // AARCH64-DARWIN: #define __INT_LEAST16_FMTd__ "hd" |
| // AARCH64-DARWIN: #define __INT_LEAST16_FMTi__ "hi" |
| // AARCH64-DARWIN: #define __INT_LEAST16_MAX__ 32767 |
| // AARCH64-DARWIN: #define __INT_LEAST16_TYPE__ short |
| // AARCH64-DARWIN: #define __INT_LEAST32_FMTd__ "d" |
| // AARCH64-DARWIN: #define __INT_LEAST32_FMTi__ "i" |
| // AARCH64-DARWIN: #define __INT_LEAST32_MAX__ 2147483647 |
| // AARCH64-DARWIN: #define __INT_LEAST32_TYPE__ int |
| // AARCH64-DARWIN: #define __INT_LEAST64_FMTd__ "ld" |
| // AARCH64-DARWIN: #define __INT_LEAST64_FMTi__ "li" |
| // AARCH64-DARWIN: #define __INT_LEAST64_MAX__ 9223372036854775807L |
| // AARCH64-DARWIN: #define __INT_LEAST64_TYPE__ long int |
| // AARCH64-DARWIN: #define __INT_LEAST8_FMTd__ "hhd" |
| // AARCH64-DARWIN: #define __INT_LEAST8_FMTi__ "hhi" |
| // AARCH64-DARWIN: #define __INT_LEAST8_MAX__ 127 |
| // AARCH64-DARWIN: #define __INT_LEAST8_TYPE__ signed char |
| // AARCH64-DARWIN: #define __INT_MAX__ 2147483647 |
| // AARCH64-DARWIN: #define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L |
| // AARCH64-DARWIN: #define __LDBL_DIG__ 15 |
| // AARCH64-DARWIN: #define __LDBL_EPSILON__ 2.2204460492503131e-16L |
| // AARCH64-DARWIN: #define __LDBL_HAS_DENORM__ 1 |
| // AARCH64-DARWIN: #define __LDBL_HAS_INFINITY__ 1 |
| // AARCH64-DARWIN: #define __LDBL_HAS_QUIET_NAN__ 1 |
| // AARCH64-DARWIN: #define __LDBL_MANT_DIG__ 53 |
| // AARCH64-DARWIN: #define __LDBL_MAX_10_EXP__ 308 |
| // AARCH64-DARWIN: #define __LDBL_MAX_EXP__ 1024 |
| // AARCH64-DARWIN: #define __LDBL_MAX__ 1.7976931348623157e+308L |
| // AARCH64-DARWIN: #define __LDBL_MIN_10_EXP__ (-307) |
| // AARCH64-DARWIN: #define __LDBL_MIN_EXP__ (-1021) |
| // AARCH64-DARWIN: #define __LDBL_MIN__ 2.2250738585072014e-308L |
| // AARCH64-DARWIN: #define __LONG_LONG_MAX__ 9223372036854775807LL |
| // AARCH64-DARWIN: #define __LONG_MAX__ 9223372036854775807L |
| // AARCH64-DARWIN: #define __LP64__ 1 |
| // AARCH64-DARWIN: #define __POINTER_WIDTH__ 64 |
| // AARCH64-DARWIN: #define __PTRDIFF_TYPE__ long int |
| // AARCH64-DARWIN: #define __PTRDIFF_WIDTH__ 64 |
| // AARCH64-DARWIN: #define __SCHAR_MAX__ 127 |
| // AARCH64-DARWIN: #define __SHRT_MAX__ 32767 |
| // AARCH64-DARWIN: #define __SIG_ATOMIC_MAX__ 2147483647 |
| // AARCH64-DARWIN: #define __SIG_ATOMIC_WIDTH__ 32 |
| // AARCH64-DARWIN: #define __SIZEOF_DOUBLE__ 8 |
| // AARCH64-DARWIN: #define __SIZEOF_FLOAT__ 4 |
| // AARCH64-DARWIN: #define __SIZEOF_INT128__ 16 |
| // AARCH64-DARWIN: #define __SIZEOF_INT__ 4 |
| // AARCH64-DARWIN: #define __SIZEOF_LONG_DOUBLE__ 8 |
| // AARCH64-DARWIN: #define __SIZEOF_LONG_LONG__ 8 |
| // AARCH64-DARWIN: #define __SIZEOF_LONG__ 8 |
| // AARCH64-DARWIN: #define __SIZEOF_POINTER__ 8 |
| // AARCH64-DARWIN: #define __SIZEOF_PTRDIFF_T__ 8 |
| // AARCH64-DARWIN: #define __SIZEOF_SHORT__ 2 |
| // AARCH64-DARWIN: #define __SIZEOF_SIZE_T__ 8 |
| // AARCH64-DARWIN: #define __SIZEOF_WCHAR_T__ 4 |
| // AARCH64-DARWIN: #define __SIZEOF_WINT_T__ 4 |
| // AARCH64-DARWIN: #define __SIZE_MAX__ 18446744073709551615UL |
| // AARCH64-DARWIN: #define __SIZE_TYPE__ long unsigned int |
| // AARCH64-DARWIN: #define __SIZE_WIDTH__ 64 |
| // AARCH64-DARWIN: #define __UINT16_C_SUFFIX__ |
| // AARCH64-DARWIN: #define __UINT16_MAX__ 65535 |
| // AARCH64-DARWIN: #define __UINT16_TYPE__ unsigned short |
| // AARCH64-DARWIN: #define __UINT32_C_SUFFIX__ U |
| // AARCH64-DARWIN: #define __UINT32_MAX__ 4294967295U |
| // AARCH64-DARWIN: #define __UINT32_TYPE__ unsigned int |
| // AARCH64-DARWIN: #define __UINT64_C_SUFFIX__ ULL |
| // AARCH64-DARWIN: #define __UINT64_MAX__ 18446744073709551615ULL |
| // AARCH64-DARWIN: #define __UINT64_TYPE__ long long unsigned int |
| // AARCH64-DARWIN: #define __UINT8_C_SUFFIX__ |
| // AARCH64-DARWIN: #define __UINT8_MAX__ 255 |
| // AARCH64-DARWIN: #define __UINT8_TYPE__ unsigned char |
| // AARCH64-DARWIN: #define __UINTMAX_C_SUFFIX__ UL |
| // AARCH64-DARWIN: #define __UINTMAX_MAX__ 18446744073709551615UL |
| // AARCH64-DARWIN: #define __UINTMAX_TYPE__ long unsigned int |
| // AARCH64-DARWIN: #define __UINTMAX_WIDTH__ 64 |
| // AARCH64-DARWIN: #define __UINTPTR_MAX__ 18446744073709551615UL |
| // AARCH64-DARWIN: #define __UINTPTR_TYPE__ long unsigned int |
| // AARCH64-DARWIN: #define __UINTPTR_WIDTH__ 64 |
| // AARCH64-DARWIN: #define __UINT_FAST16_MAX__ 65535 |
| // AARCH64-DARWIN: #define __UINT_FAST16_TYPE__ unsigned short |
| // AARCH64-DARWIN: #define __UINT_FAST32_MAX__ 4294967295U |
| // AARCH64-DARWIN: #define __UINT_FAST32_TYPE__ unsigned int |
| // AARCH64-DARWIN: #define __UINT_FAST64_MAX__ 18446744073709551615UL |
| // AARCH64-DARWIN: #define __UINT_FAST64_TYPE__ long unsigned int |
| // AARCH64-DARWIN: #define __UINT_FAST8_MAX__ 255 |
| // AARCH64-DARWIN: #define __UINT_FAST8_TYPE__ unsigned char |
| // AARCH64-DARWIN: #define __UINT_LEAST16_MAX__ 65535 |
| // AARCH64-DARWIN: #define __UINT_LEAST16_TYPE__ unsigned short |
| // AARCH64-DARWIN: #define __UINT_LEAST32_MAX__ 4294967295U |
| // AARCH64-DARWIN: #define __UINT_LEAST32_TYPE__ unsigned int |
| // AARCH64-DARWIN: #define __UINT_LEAST64_MAX__ 18446744073709551615UL |
| // AARCH64-DARWIN: #define __UINT_LEAST64_TYPE__ long unsigned int |
| // AARCH64-DARWIN: #define __UINT_LEAST8_MAX__ 255 |
| // AARCH64-DARWIN: #define __UINT_LEAST8_TYPE__ unsigned char |
| // AARCH64-DARWIN: #define __USER_LABEL_PREFIX__ _ |
| // AARCH64-DARWIN: #define __WCHAR_MAX__ 2147483647 |
| // AARCH64-DARWIN: #define __WCHAR_TYPE__ int |
| // AARCH64-DARWIN-NOT: #define __WCHAR_UNSIGNED__ |
| // AARCH64-DARWIN: #define __WCHAR_WIDTH__ 32 |
| // AARCH64-DARWIN: #define __WINT_TYPE__ int |
| // AARCH64-DARWIN: #define __WINT_WIDTH__ 32 |
| // AARCH64-DARWIN: #define __aarch64__ 1 |
| |
| // RUN: %clang_cc1 -E -dM -ffreestanding -triple=arm-none-none < /dev/null | FileCheck -match-full-lines -check-prefix ARM %s |
| // |
| // ARM-NOT:#define _LP64 |
| // ARM:#define __APCS_32__ 1 |
| // ARM-NOT:#define __ARMEB__ 1 |
| // ARM:#define __ARMEL__ 1 |
| // ARM:#define __ARM_ARCH_4T__ 1 |
| // ARM-NOT:#define __ARM_BIG_ENDIAN 1 |
| // ARM:#define __BIGGEST_ALIGNMENT__ 8 |
| // ARM:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__ |
| // ARM:#define __CHAR16_TYPE__ unsigned short |
| // ARM:#define __CHAR32_TYPE__ unsigned int |
| // ARM:#define __CHAR_BIT__ 8 |
| // ARM:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324 |
| // ARM:#define __DBL_DIG__ 15 |
| // ARM:#define __DBL_EPSILON__ 2.2204460492503131e-16 |
| // ARM:#define __DBL_HAS_DENORM__ 1 |
| // ARM:#define __DBL_HAS_INFINITY__ 1 |
| // ARM:#define __DBL_HAS_QUIET_NAN__ 1 |
| // ARM:#define __DBL_MANT_DIG__ 53 |
| // ARM:#define __DBL_MAX_10_EXP__ 308 |
| // ARM:#define __DBL_MAX_EXP__ 1024 |
| // ARM:#define __DBL_MAX__ 1.7976931348623157e+308 |
| // ARM:#define __DBL_MIN_10_EXP__ (-307) |
| // ARM:#define __DBL_MIN_EXP__ (-1021) |
| // ARM:#define __DBL_MIN__ 2.2250738585072014e-308 |
| // ARM:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__ |
| // ARM:#define __FLT_DENORM_MIN__ 1.40129846e-45F |
| // ARM:#define __FLT_DIG__ 6 |
| // ARM:#define __FLT_EPSILON__ 1.19209290e-7F |
| // ARM:#define __FLT_EVAL_METHOD__ 0 |
| // ARM:#define __FLT_HAS_DENORM__ 1 |
| // ARM:#define __FLT_HAS_INFINITY__ 1 |
| // ARM:#define __FLT_HAS_QUIET_NAN__ 1 |
| // ARM:#define __FLT_MANT_DIG__ 24 |
| // ARM:#define __FLT_MAX_10_EXP__ 38 |
| // ARM:#define __FLT_MAX_EXP__ 128 |
| // ARM:#define __FLT_MAX__ 3.40282347e+38F |
| // ARM:#define __FLT_MIN_10_EXP__ (-37) |
| // ARM:#define __FLT_MIN_EXP__ (-125) |
| // ARM:#define __FLT_MIN__ 1.17549435e-38F |
| // ARM:#define __FLT_RADIX__ 2 |
| // ARM:#define __INT16_C_SUFFIX__ |
| // ARM:#define __INT16_FMTd__ "hd" |
| // ARM:#define __INT16_FMTi__ "hi" |
| // ARM:#define __INT16_MAX__ 32767 |
| // ARM:#define __INT16_TYPE__ short |
| // ARM:#define __INT32_C_SUFFIX__ |
| // ARM:#define __INT32_FMTd__ "d" |
| // ARM:#define __INT32_FMTi__ "i" |
| // ARM:#define __INT32_MAX__ 2147483647 |
| // ARM:#define __INT32_TYPE__ int |
| // ARM:#define __INT64_C_SUFFIX__ LL |
| // ARM:#define __INT64_FMTd__ "lld" |
| // ARM:#define __INT64_FMTi__ "lli" |
| // ARM:#define __INT64_MAX__ 9223372036854775807LL |
| // ARM:#define __INT64_TYPE__ long long int |
| // ARM:#define __INT8_C_SUFFIX__ |
| // ARM:#define __INT8_FMTd__ "hhd" |
| // ARM:#define __INT8_FMTi__ "hhi" |
| // ARM:#define __INT8_MAX__ 127 |
| // ARM:#define __INT8_TYPE__ signed char |
| // ARM:#define __INTMAX_C_SUFFIX__ LL |
| // ARM:#define __INTMAX_FMTd__ "lld" |
| // ARM:#define __INTMAX_FMTi__ "lli" |
| // ARM:#define __INTMAX_MAX__ 9223372036854775807LL |
| // ARM:#define __INTMAX_TYPE__ long long int |
| // ARM:#define __INTMAX_WIDTH__ 64 |
| // ARM:#define __INTPTR_FMTd__ "ld" |
| // ARM:#define __INTPTR_FMTi__ "li" |
| // ARM:#define __INTPTR_MAX__ 2147483647L |
| // ARM:#define __INTPTR_TYPE__ long int |
| // ARM:#define __INTPTR_WIDTH__ 32 |
| // ARM:#define __INT_FAST16_FMTd__ "hd" |
| // ARM:#define __INT_FAST16_FMTi__ "hi" |
| // ARM:#define __INT_FAST16_MAX__ 32767 |
| // ARM:#define __INT_FAST16_TYPE__ short |
| // ARM:#define __INT_FAST32_FMTd__ "d" |
| // ARM:#define __INT_FAST32_FMTi__ "i" |
| // ARM:#define __INT_FAST32_MAX__ 2147483647 |
| // ARM:#define __INT_FAST32_TYPE__ int |
| // ARM:#define __INT_FAST64_FMTd__ "lld" |
| // ARM:#define __INT_FAST64_FMTi__ "lli" |
| // ARM:#define __INT_FAST64_MAX__ 9223372036854775807LL |
| // ARM:#define __INT_FAST64_TYPE__ long long int |
| // ARM:#define __INT_FAST8_FMTd__ "hhd" |
| // ARM:#define __INT_FAST8_FMTi__ "hhi" |
| // ARM:#define __INT_FAST8_MAX__ 127 |
| // ARM:#define __INT_FAST8_TYPE__ signed char |
| // ARM:#define __INT_LEAST16_FMTd__ "hd" |
| // ARM:#define __INT_LEAST16_FMTi__ "hi" |
| // ARM:#define __INT_LEAST16_MAX__ 32767 |
| // ARM:#define __INT_LEAST16_TYPE__ short |
| // ARM:#define __INT_LEAST32_FMTd__ "d" |
| // ARM:#define __INT_LEAST32_FMTi__ "i" |
| // ARM:#define __INT_LEAST32_MAX__ 2147483647 |
| // ARM:#define __INT_LEAST32_TYPE__ int |
| // ARM:#define __INT_LEAST64_FMTd__ "lld" |
| // ARM:#define __INT_LEAST64_FMTi__ "lli" |
| // ARM:#define __INT_LEAST64_MAX__ 9223372036854775807LL |
| // ARM:#define __INT_LEAST64_TYPE__ long long int |
| // ARM:#define __INT_LEAST8_FMTd__ "hhd" |
| // ARM:#define __INT_LEAST8_FMTi__ "hhi" |
| // ARM:#define __INT_LEAST8_MAX__ 127 |
| // ARM:#define __INT_LEAST8_TYPE__ signed char |
| // ARM:#define __INT_MAX__ 2147483647 |
| // ARM:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L |
| // ARM:#define __LDBL_DIG__ 15 |
| // ARM:#define __LDBL_EPSILON__ 2.2204460492503131e-16L |
| // ARM:#define __LDBL_HAS_DENORM__ 1 |
| // ARM:#define __LDBL_HAS_INFINITY__ 1 |
| // ARM:#define __LDBL_HAS_QUIET_NAN__ 1 |
| // ARM:#define __LDBL_MANT_DIG__ 53 |
| // ARM:#define __LDBL_MAX_10_EXP__ 308 |
| // ARM:#define __LDBL_MAX_EXP__ 1024 |
| // ARM:#define __LDBL_MAX__ 1.7976931348623157e+308L |
| // ARM:#define __LDBL_MIN_10_EXP__ (-307) |
| // ARM:#define __LDBL_MIN_EXP__ (-1021) |
| // ARM:#define __LDBL_MIN__ 2.2250738585072014e-308L |
| // ARM:#define __LITTLE_ENDIAN__ 1 |
| // ARM:#define __LONG_LONG_MAX__ 9223372036854775807LL |
| // ARM:#define __LONG_MAX__ 2147483647L |
| // ARM-NOT:#define __LP64__ |
| // ARM:#define __POINTER_WIDTH__ 32 |
| // ARM:#define __PTRDIFF_TYPE__ int |
| // ARM:#define __PTRDIFF_WIDTH__ 32 |
| // ARM:#define __REGISTER_PREFIX__ |
| // ARM:#define __SCHAR_MAX__ 127 |
| // ARM:#define __SHRT_MAX__ 32767 |
| // ARM:#define __SIG_ATOMIC_MAX__ 2147483647 |
| // ARM:#define __SIG_ATOMIC_WIDTH__ 32 |
| // ARM:#define __SIZEOF_DOUBLE__ 8 |
| // ARM:#define __SIZEOF_FLOAT__ 4 |
| // ARM:#define __SIZEOF_INT__ 4 |
| // ARM:#define __SIZEOF_LONG_DOUBLE__ 8 |
| // ARM:#define __SIZEOF_LONG_LONG__ 8 |
| // ARM:#define __SIZEOF_LONG__ 4 |
| // ARM:#define __SIZEOF_POINTER__ 4 |
| // ARM:#define __SIZEOF_PTRDIFF_T__ 4 |
| // ARM:#define __SIZEOF_SHORT__ 2 |
| // ARM:#define __SIZEOF_SIZE_T__ 4 |
| // ARM:#define __SIZEOF_WCHAR_T__ 4 |
| // ARM:#define __SIZEOF_WINT_T__ 4 |
| // ARM:#define __SIZE_MAX__ 4294967295U |
| // ARM:#define __SIZE_TYPE__ unsigned int |
| // ARM:#define __SIZE_WIDTH__ 32 |
| // ARM:#define __UINT16_C_SUFFIX__ |
| // ARM:#define __UINT16_MAX__ 65535 |
| // ARM:#define __UINT16_TYPE__ unsigned short |
| // ARM:#define __UINT32_C_SUFFIX__ U |
| // ARM:#define __UINT32_MAX__ 4294967295U |
| // ARM:#define __UINT32_TYPE__ unsigned int |
| // ARM:#define __UINT64_C_SUFFIX__ ULL |
| // ARM:#define __UINT64_MAX__ 18446744073709551615ULL |
| // ARM:#define __UINT64_TYPE__ long long unsigned int |
| // ARM:#define __UINT8_C_SUFFIX__ |
| // ARM:#define __UINT8_MAX__ 255 |
| // ARM:#define __UINT8_TYPE__ unsigned char |
| // ARM:#define __UINTMAX_C_SUFFIX__ ULL |
| // ARM:#define __UINTMAX_MAX__ 18446744073709551615ULL |
| // ARM:#define __UINTMAX_TYPE__ long long unsigned int |
| // ARM:#define __UINTMAX_WIDTH__ 64 |
| // ARM:#define __UINTPTR_MAX__ 4294967295UL |
| // ARM:#define __UINTPTR_TYPE__ long unsigned int |
| // ARM:#define __UINTPTR_WIDTH__ 32 |
| // ARM:#define __UINT_FAST16_MAX__ 65535 |
| // ARM:#define __UINT_FAST16_TYPE__ unsigned short |
| // ARM:#define __UINT_FAST32_MAX__ 4294967295U |
| // ARM:#define __UINT_FAST32_TYPE__ unsigned int |
| // ARM:#define __UINT_FAST64_MAX__ 18446744073709551615ULL |
| // ARM:#define __UINT_FAST64_TYPE__ long long unsigned int |
| // ARM:#define __UINT_FAST8_MAX__ 255 |
| // ARM:#define __UINT_FAST8_TYPE__ unsigned char |
| // ARM:#define __UINT_LEAST16_MAX__ 65535 |
| // ARM:#define __UINT_LEAST16_TYPE__ unsigned short |
| // ARM:#define __UINT_LEAST32_MAX__ 4294967295U |
| // ARM:#define __UINT_LEAST32_TYPE__ unsigned int |
| // ARM:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL |
| // ARM:#define __UINT_LEAST64_TYPE__ long long unsigned int |
| // ARM:#define __UINT_LEAST8_MAX__ 255 |
| // ARM:#define __UINT_LEAST8_TYPE__ unsigned char |
| // ARM:#define __USER_LABEL_PREFIX__ |
| // ARM:#define __WCHAR_MAX__ 4294967295U |
| // ARM:#define __WCHAR_TYPE__ unsigned int |
| // ARM:#define __WCHAR_WIDTH__ 32 |
| // ARM:#define __WINT_TYPE__ int |
| // ARM:#define __WINT_WIDTH__ 32 |
| // ARM:#define __arm 1 |
| // ARM:#define __arm__ 1 |
| |
| // RUN: %clang_cc1 -E -dM -ffreestanding -triple=armeb-none-none < /dev/null | FileCheck -match-full-lines -check-prefix ARM-BE %s |
| // |
| // ARM-BE-NOT:#define _LP64 |
| // ARM-BE:#define __APCS_32__ 1 |
| // ARM-BE:#define __ARMEB__ 1 |
| // ARM-BE-NOT:#define __ARMEL__ 1 |
| // ARM-BE:#define __ARM_ARCH_4T__ 1 |
| // ARM-BE:#define __ARM_BIG_ENDIAN 1 |
| // ARM-BE:#define __BIGGEST_ALIGNMENT__ 8 |
| // ARM-BE:#define __BIG_ENDIAN__ 1 |
| // ARM-BE:#define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__ |
| // ARM-BE:#define __CHAR16_TYPE__ unsigned short |
| // ARM-BE:#define __CHAR32_TYPE__ unsigned int |
| // ARM-BE:#define __CHAR_BIT__ 8 |
| // ARM-BE:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324 |
| // ARM-BE:#define __DBL_DIG__ 15 |
| // ARM-BE:#define __DBL_EPSILON__ 2.2204460492503131e-16 |
| // ARM-BE:#define __DBL_HAS_DENORM__ 1 |
| // ARM-BE:#define __DBL_HAS_INFINITY__ 1 |
| // ARM-BE:#define __DBL_HAS_QUIET_NAN__ 1 |
| // ARM-BE:#define __DBL_MANT_DIG__ 53 |
| // ARM-BE:#define __DBL_MAX_10_EXP__ 308 |
| // ARM-BE:#define __DBL_MAX_EXP__ 1024 |
| // ARM-BE:#define __DBL_MAX__ 1.7976931348623157e+308 |
| // ARM-BE:#define __DBL_MIN_10_EXP__ (-307) |
| // ARM-BE:#define __DBL_MIN_EXP__ (-1021) |
| // ARM-BE:#define __DBL_MIN__ 2.2250738585072014e-308 |
| // ARM-BE:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__ |
| // ARM-BE:#define __FLT_DENORM_MIN__ 1.40129846e-45F |
| // ARM-BE:#define __FLT_DIG__ 6 |
| // ARM-BE:#define __FLT_EPSILON__ 1.19209290e-7F |
| // ARM-BE:#define __FLT_EVAL_METHOD__ 0 |
| // ARM-BE:#define __FLT_HAS_DENORM__ 1 |
| // ARM-BE:#define __FLT_HAS_INFINITY__ 1 |
| // ARM-BE:#define __FLT_HAS_QUIET_NAN__ 1 |
| // ARM-BE:#define __FLT_MANT_DIG__ 24 |
| // ARM-BE:#define __FLT_MAX_10_EXP__ 38 |
| // ARM-BE:#define __FLT_MAX_EXP__ 128 |
| // ARM-BE:#define __FLT_MAX__ 3.40282347e+38F |
| // ARM-BE:#define __FLT_MIN_10_EXP__ (-37) |
| // ARM-BE:#define __FLT_MIN_EXP__ (-125) |
| // ARM-BE:#define __FLT_MIN__ 1.17549435e-38F |
| // ARM-BE:#define __FLT_RADIX__ 2 |
| // ARM-BE:#define __INT16_C_SUFFIX__ |
| // ARM-BE:#define __INT16_FMTd__ "hd" |
| // ARM-BE:#define __INT16_FMTi__ "hi" |
| // ARM-BE:#define __INT16_MAX__ 32767 |
| // ARM-BE:#define __INT16_TYPE__ short |
| // ARM-BE:#define __INT32_C_SUFFIX__ |
| // ARM-BE:#define __INT32_FMTd__ "d" |
| // ARM-BE:#define __INT32_FMTi__ "i" |
| // ARM-BE:#define __INT32_MAX__ 2147483647 |
| // ARM-BE:#define __INT32_TYPE__ int |
| // ARM-BE:#define __INT64_C_SUFFIX__ LL |
| // ARM-BE:#define __INT64_FMTd__ "lld" |
| // ARM-BE:#define __INT64_FMTi__ "lli" |
| // ARM-BE:#define __INT64_MAX__ 9223372036854775807LL |
| // ARM-BE:#define __INT64_TYPE__ long long int |
| // ARM-BE:#define __INT8_C_SUFFIX__ |
| // ARM-BE:#define __INT8_FMTd__ "hhd" |
| // ARM-BE:#define __INT8_FMTi__ "hhi" |
| // ARM-BE:#define __INT8_MAX__ 127 |
| // ARM-BE:#define __INT8_TYPE__ signed char |
| // ARM-BE:#define __INTMAX_C_SUFFIX__ LL |
| // ARM-BE:#define __INTMAX_FMTd__ "lld" |
| // ARM-BE:#define __INTMAX_FMTi__ "lli" |
| // ARM-BE:#define __INTMAX_MAX__ 9223372036854775807LL |
| // ARM-BE:#define __INTMAX_TYPE__ long long int |
| // ARM-BE:#define __INTMAX_WIDTH__ 64 |
| // ARM-BE:#define __INTPTR_FMTd__ "ld" |
| // ARM-BE:#define __INTPTR_FMTi__ "li" |
| // ARM-BE:#define __INTPTR_MAX__ 2147483647L |
| // ARM-BE:#define __INTPTR_TYPE__ long int |
| // ARM-BE:#define __INTPTR_WIDTH__ 32 |
| // ARM-BE:#define __INT_FAST16_FMTd__ "hd" |
| // ARM-BE:#define __INT_FAST16_FMTi__ "hi" |
| // ARM-BE:#define __INT_FAST16_MAX__ 32767 |
| // ARM-BE:#define __INT_FAST16_TYPE__ short |
| // ARM-BE:#define __INT_FAST32_FMTd__ "d" |
| // ARM-BE:#define __INT_FAST32_FMTi__ "i" |
| // ARM-BE:#define __INT_FAST32_MAX__ 2147483647 |
| // ARM-BE:#define __INT_FAST32_TYPE__ int |
| // ARM-BE:#define __INT_FAST64_FMTd__ "lld" |
| // ARM-BE:#define __INT_FAST64_FMTi__ "lli" |
| // ARM-BE:#define __INT_FAST64_MAX__ 9223372036854775807LL |
| // ARM-BE:#define __INT_FAST64_TYPE__ long long int |
| // ARM-BE:#define __INT_FAST8_FMTd__ "hhd" |
| // ARM-BE:#define __INT_FAST8_FMTi__ "hhi" |
| // ARM-BE:#define __INT_FAST8_MAX__ 127 |
| // ARM-BE:#define __INT_FAST8_TYPE__ signed char |
| // ARM-BE:#define __INT_LEAST16_FMTd__ "hd" |
| // ARM-BE:#define __INT_LEAST16_FMTi__ "hi" |
| // ARM-BE:#define __INT_LEAST16_MAX__ 32767 |
| // ARM-BE:#define __INT_LEAST16_TYPE__ short |
| // ARM-BE:#define __INT_LEAST32_FMTd__ "d" |
| // ARM-BE:#define __INT_LEAST32_FMTi__ "i" |
| // ARM-BE:#define __INT_LEAST32_MAX__ 2147483647 |
| // ARM-BE:#define __INT_LEAST32_TYPE__ int |
| // ARM-BE:#define __INT_LEAST64_FMTd__ "lld" |
| // ARM-BE:#define __INT_LEAST64_FMTi__ "lli" |
| // ARM-BE:#define __INT_LEAST64_MAX__ 9223372036854775807LL |
| // ARM-BE:#define __INT_LEAST64_TYPE__ long long int |
| // ARM-BE:#define __INT_LEAST8_FMTd__ "hhd" |
| // ARM-BE:#define __INT_LEAST8_FMTi__ "hhi" |
| // ARM-BE:#define __INT_LEAST8_MAX__ 127 |
| // ARM-BE:#define __INT_LEAST8_TYPE__ signed char |
| // ARM-BE:#define __INT_MAX__ 2147483647 |
| // ARM-BE:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L |
| // ARM-BE:#define __LDBL_DIG__ 15 |
| // ARM-BE:#define __LDBL_EPSILON__ 2.2204460492503131e-16L |
| // ARM-BE:#define __LDBL_HAS_DENORM__ 1 |
| // ARM-BE:#define __LDBL_HAS_INFINITY__ 1 |
| // ARM-BE:#define __LDBL_HAS_QUIET_NAN__ 1 |
| // ARM-BE:#define __LDBL_MANT_DIG__ 53 |
| // ARM-BE:#define __LDBL_MAX_10_EXP__ 308 |
| // ARM-BE:#define __LDBL_MAX_EXP__ 1024 |
| // ARM-BE:#define __LDBL_MAX__ 1.7976931348623157e+308L |
| // ARM-BE:#define __LDBL_MIN_10_EXP__ (-307) |
| // ARM-BE:#define __LDBL_MIN_EXP__ (-1021) |
| // ARM-BE:#define __LDBL_MIN__ 2.2250738585072014e-308L |
| // ARM-BE:#define __LONG_LONG_MAX__ 9223372036854775807LL |
| // ARM-BE:#define __LONG_MAX__ 2147483647L |
| // ARM-BE-NOT:#define __LP64__ |
| // ARM-BE:#define __POINTER_WIDTH__ 32 |
| // ARM-BE:#define __PTRDIFF_TYPE__ int |
| // ARM-BE:#define __PTRDIFF_WIDTH__ 32 |
| // ARM-BE:#define __REGISTER_PREFIX__ |
| // ARM-BE:#define __SCHAR_MAX__ 127 |
| // ARM-BE:#define __SHRT_MAX__ 32767 |
| // ARM-BE:#define __SIG_ATOMIC_MAX__ 2147483647 |
| // ARM-BE:#define __SIG_ATOMIC_WIDTH__ 32 |
| // ARM-BE:#define __SIZEOF_DOUBLE__ 8 |
| // ARM-BE:#define __SIZEOF_FLOAT__ 4 |
| // ARM-BE:#define __SIZEOF_INT__ 4 |
| // ARM-BE:#define __SIZEOF_LONG_DOUBLE__ 8 |
| // ARM-BE:#define __SIZEOF_LONG_LONG__ 8 |
| // ARM-BE:#define __SIZEOF_LONG__ 4 |
| // ARM-BE:#define __SIZEOF_POINTER__ 4 |
| // ARM-BE:#define __SIZEOF_PTRDIFF_T__ 4 |
| // ARM-BE:#define __SIZEOF_SHORT__ 2 |
| // ARM-BE:#define __SIZEOF_SIZE_T__ 4 |
| // ARM-BE:#define __SIZEOF_WCHAR_T__ 4 |
| // ARM-BE:#define __SIZEOF_WINT_T__ 4 |
| // ARM-BE:#define __SIZE_MAX__ 4294967295U |
| // ARM-BE:#define __SIZE_TYPE__ unsigned int |
| // ARM-BE:#define __SIZE_WIDTH__ 32 |
| // ARM-BE:#define __UINT16_C_SUFFIX__ |
| // ARM-BE:#define __UINT16_MAX__ 65535 |
| // ARM-BE:#define __UINT16_TYPE__ unsigned short |
| // ARM-BE:#define __UINT32_C_SUFFIX__ U |
| // ARM-BE:#define __UINT32_MAX__ 4294967295U |
| // ARM-BE:#define __UINT32_TYPE__ unsigned int |
| // ARM-BE:#define __UINT64_C_SUFFIX__ ULL |
| // ARM-BE:#define __UINT64_MAX__ 18446744073709551615ULL |
| // ARM-BE:#define __UINT64_TYPE__ long long unsigned int |
| // ARM-BE:#define __UINT8_C_SUFFIX__ |
| // ARM-BE:#define __UINT8_MAX__ 255 |
| // ARM-BE:#define __UINT8_TYPE__ unsigned char |
| // ARM-BE:#define __UINTMAX_C_SUFFIX__ ULL |
| // ARM-BE:#define __UINTMAX_MAX__ 18446744073709551615ULL |
| // ARM-BE:#define __UINTMAX_TYPE__ long long unsigned int |
| // ARM-BE:#define __UINTMAX_WIDTH__ 64 |
| // ARM-BE:#define __UINTPTR_MAX__ 4294967295UL |
| // ARM-BE:#define __UINTPTR_TYPE__ long unsigned int |
| // ARM-BE:#define __UINTPTR_WIDTH__ 32 |
| // ARM-BE:#define __UINT_FAST16_MAX__ 65535 |
| // ARM-BE:#define __UINT_FAST16_TYPE__ unsigned short |
| // ARM-BE:#define __UINT_FAST32_MAX__ 4294967295U |
| // ARM-BE:#define __UINT_FAST32_TYPE__ unsigned int |
| // ARM-BE:#define __UINT_FAST64_MAX__ 18446744073709551615ULL |
| // ARM-BE:#define __UINT_FAST64_TYPE__ long long unsigned int |
| // ARM-BE:#define __UINT_FAST8_MAX__ 255 |
| // ARM-BE:#define __UINT_FAST8_TYPE__ unsigned char |
| // ARM-BE:#define __UINT_LEAST16_MAX__ 65535 |
| // ARM-BE:#define __UINT_LEAST16_TYPE__ unsigned short |
| // ARM-BE:#define __UINT_LEAST32_MAX__ 4294967295U |
| // ARM-BE:#define __UINT_LEAST32_TYPE__ unsigned int |
| // ARM-BE:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL |
| // ARM-BE:#define __UINT_LEAST64_TYPE__ long long unsigned int |
| // ARM-BE:#define __UINT_LEAST8_MAX__ 255 |
| // ARM-BE:#define __UINT_LEAST8_TYPE__ unsigned char |
| // ARM-BE:#define __USER_LABEL_PREFIX__ |
| // ARM-BE:#define __WCHAR_MAX__ 4294967295U |
| // ARM-BE:#define __WCHAR_TYPE__ unsigned int |
| // ARM-BE:#define __WCHAR_WIDTH__ 32 |
| // ARM-BE:#define __WINT_TYPE__ int |
| // ARM-BE:#define __WINT_WIDTH__ 32 |
| // ARM-BE:#define __arm 1 |
| // ARM-BE:#define __arm__ 1 |
| |
| // RUN: %clang_cc1 -E -dM -ffreestanding -triple=arm-none-linux-gnueabi -target-feature +soft-float -target-feature +soft-float-abi < /dev/null | FileCheck -match-full-lines -check-prefix ARMEABISOFTFP %s |
| // |
| // ARMEABISOFTFP-NOT:#define _LP64 |
| // ARMEABISOFTFP:#define __APCS_32__ 1 |
| // ARMEABISOFTFP-NOT:#define __ARMEB__ 1 |
| // ARMEABISOFTFP:#define __ARMEL__ 1 |
| // ARMEABISOFTFP:#define __ARM_ARCH 4 |
| // ARMEABISOFTFP:#define __ARM_ARCH_4T__ 1 |
| // ARMEABISOFTFP-NOT:#define __ARM_BIG_ENDIAN 1 |
| // ARMEABISOFTFP:#define __ARM_EABI__ 1 |
| // ARMEABISOFTFP:#define __ARM_PCS 1 |
| // ARMEABISOFTFP-NOT:#define __ARM_PCS_VFP 1 |
| // ARMEABISOFTFP:#define __BIGGEST_ALIGNMENT__ 8 |
| // ARMEABISOFTFP:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__ |
| // ARMEABISOFTFP:#define __CHAR16_TYPE__ unsigned short |
| // ARMEABISOFTFP:#define __CHAR32_TYPE__ unsigned int |
| // ARMEABISOFTFP:#define __CHAR_BIT__ 8 |
| // ARMEABISOFTFP:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324 |
| // ARMEABISOFTFP:#define __DBL_DIG__ 15 |
| // ARMEABISOFTFP:#define __DBL_EPSILON__ 2.2204460492503131e-16 |
| // ARMEABISOFTFP:#define __DBL_HAS_DENORM__ 1 |
| // ARMEABISOFTFP:#define __DBL_HAS_INFINITY__ 1 |
| // ARMEABISOFTFP:#define __DBL_HAS_QUIET_NAN__ 1 |
| // ARMEABISOFTFP:#define __DBL_MANT_DIG__ 53 |
| // ARMEABISOFTFP:#define __DBL_MAX_10_EXP__ 308 |
| // ARMEABISOFTFP:#define __DBL_MAX_EXP__ 1024 |
| // ARMEABISOFTFP:#define __DBL_MAX__ 1.7976931348623157e+308 |
| // ARMEABISOFTFP:#define __DBL_MIN_10_EXP__ (-307) |
| // ARMEABISOFTFP:#define __DBL_MIN_EXP__ (-1021) |
| // ARMEABISOFTFP:#define __DBL_MIN__ 2.2250738585072014e-308 |
| // ARMEABISOFTFP:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__ |
| // ARMEABISOFTFP:#define __FLT_DENORM_MIN__ 1.40129846e-45F |
| // ARMEABISOFTFP:#define __FLT_DIG__ 6 |
| // ARMEABISOFTFP:#define __FLT_EPSILON__ 1.19209290e-7F |
| // ARMEABISOFTFP:#define __FLT_EVAL_METHOD__ 0 |
| // ARMEABISOFTFP:#define __FLT_HAS_DENORM__ 1 |
| // ARMEABISOFTFP:#define __FLT_HAS_INFINITY__ 1 |
| // ARMEABISOFTFP:#define __FLT_HAS_QUIET_NAN__ 1 |
| // ARMEABISOFTFP:#define __FLT_MANT_DIG__ 24 |
| // ARMEABISOFTFP:#define __FLT_MAX_10_EXP__ 38 |
| // ARMEABISOFTFP:#define __FLT_MAX_EXP__ 128 |
| // ARMEABISOFTFP:#define __FLT_MAX__ 3.40282347e+38F |
| // ARMEABISOFTFP:#define __FLT_MIN_10_EXP__ (-37) |
| // ARMEABISOFTFP:#define __FLT_MIN_EXP__ (-125) |
| // ARMEABISOFTFP:#define __FLT_MIN__ 1.17549435e-38F |
| // ARMEABISOFTFP:#define __FLT_RADIX__ 2 |
| // ARMEABISOFTFP:#define __INT16_C_SUFFIX__ |
| // ARMEABISOFTFP:#define __INT16_FMTd__ "hd" |
| // ARMEABISOFTFP:#define __INT16_FMTi__ "hi" |
| // ARMEABISOFTFP:#define __INT16_MAX__ 32767 |
| // ARMEABISOFTFP:#define __INT16_TYPE__ short |
| // ARMEABISOFTFP:#define __INT32_C_SUFFIX__ |
| // ARMEABISOFTFP:#define __INT32_FMTd__ "d" |
| // ARMEABISOFTFP:#define __INT32_FMTi__ "i" |
| // ARMEABISOFTFP:#define __INT32_MAX__ 2147483647 |
| // ARMEABISOFTFP:#define __INT32_TYPE__ int |
| // ARMEABISOFTFP:#define __INT64_C_SUFFIX__ LL |
| // ARMEABISOFTFP:#define __INT64_FMTd__ "lld" |
| // ARMEABISOFTFP:#define __INT64_FMTi__ "lli" |
| // ARMEABISOFTFP:#define __INT64_MAX__ 9223372036854775807LL |
| // ARMEABISOFTFP:#define __INT64_TYPE__ long long int |
| // ARMEABISOFTFP:#define __INT8_C_SUFFIX__ |
| // ARMEABISOFTFP:#define __INT8_FMTd__ "hhd" |
| // ARMEABISOFTFP:#define __INT8_FMTi__ "hhi" |
| // ARMEABISOFTFP:#define __INT8_MAX__ 127 |
| // ARMEABISOFTFP:#define __INT8_TYPE__ signed char |
| // ARMEABISOFTFP:#define __INTMAX_C_SUFFIX__ LL |
| // ARMEABISOFTFP:#define __INTMAX_FMTd__ "lld" |
| // ARMEABISOFTFP:#define __INTMAX_FMTi__ "lli" |
| // ARMEABISOFTFP:#define __INTMAX_MAX__ 9223372036854775807LL |
| // ARMEABISOFTFP:#define __INTMAX_TYPE__ long long int |
| // ARMEABISOFTFP:#define __INTMAX_WIDTH__ 64 |
| // ARMEABISOFTFP:#define __INTPTR_FMTd__ "ld" |
| // ARMEABISOFTFP:#define __INTPTR_FMTi__ "li" |
| // ARMEABISOFTFP:#define __INTPTR_MAX__ 2147483647L |
| // ARMEABISOFTFP:#define __INTPTR_TYPE__ long int |
| // ARMEABISOFTFP:#define __INTPTR_WIDTH__ 32 |
| // ARMEABISOFTFP:#define __INT_FAST16_FMTd__ "hd" |
| // ARMEABISOFTFP:#define __INT_FAST16_FMTi__ "hi" |
| // ARMEABISOFTFP:#define __INT_FAST16_MAX__ 32767 |
| // ARMEABISOFTFP:#define __INT_FAST16_TYPE__ short |
| // ARMEABISOFTFP:#define __INT_FAST32_FMTd__ "d" |
| // ARMEABISOFTFP:#define __INT_FAST32_FMTi__ "i" |
| // ARMEABISOFTFP:#define __INT_FAST32_MAX__ 2147483647 |
| // ARMEABISOFTFP:#define __INT_FAST32_TYPE__ int |
| // ARMEABISOFTFP:#define __INT_FAST64_FMTd__ "lld" |
| // ARMEABISOFTFP:#define __INT_FAST64_FMTi__ "lli" |
| // ARMEABISOFTFP:#define __INT_FAST64_MAX__ 9223372036854775807LL |
| // ARMEABISOFTFP:#define __INT_FAST64_TYPE__ long long int |
| // ARMEABISOFTFP:#define __INT_FAST8_FMTd__ "hhd" |
| // ARMEABISOFTFP:#define __INT_FAST8_FMTi__ "hhi" |
| // ARMEABISOFTFP:#define __INT_FAST8_MAX__ 127 |
| // ARMEABISOFTFP:#define __INT_FAST8_TYPE__ signed char |
| // ARMEABISOFTFP:#define __INT_LEAST16_FMTd__ "hd" |
| // ARMEABISOFTFP:#define __INT_LEAST16_FMTi__ "hi" |
| // ARMEABISOFTFP:#define __INT_LEAST16_MAX__ 32767 |
| // ARMEABISOFTFP:#define __INT_LEAST16_TYPE__ short |
| // ARMEABISOFTFP:#define __INT_LEAST32_FMTd__ "d" |
| // ARMEABISOFTFP:#define __INT_LEAST32_FMTi__ "i" |
| // ARMEABISOFTFP:#define __INT_LEAST32_MAX__ 2147483647 |
| // ARMEABISOFTFP:#define __INT_LEAST32_TYPE__ int |
| // ARMEABISOFTFP:#define __INT_LEAST64_FMTd__ "lld" |
| // ARMEABISOFTFP:#define __INT_LEAST64_FMTi__ "lli" |
| // ARMEABISOFTFP:#define __INT_LEAST64_MAX__ 9223372036854775807LL |
| // ARMEABISOFTFP:#define __INT_LEAST64_TYPE__ long long int |
| // ARMEABISOFTFP:#define __INT_LEAST8_FMTd__ "hhd" |
| // ARMEABISOFTFP:#define __INT_LEAST8_FMTi__ "hhi" |
| // ARMEABISOFTFP:#define __INT_LEAST8_MAX__ 127 |
| // ARMEABISOFTFP:#define __INT_LEAST8_TYPE__ signed char |
| // ARMEABISOFTFP:#define __INT_MAX__ 2147483647 |
| // ARMEABISOFTFP:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L |
| // ARMEABISOFTFP:#define __LDBL_DIG__ 15 |
| // ARMEABISOFTFP:#define __LDBL_EPSILON__ 2.2204460492503131e-16L |
| // ARMEABISOFTFP:#define __LDBL_HAS_DENORM__ 1 |
| // ARMEABISOFTFP:#define __LDBL_HAS_INFINITY__ 1 |
| // ARMEABISOFTFP:#define __LDBL_HAS_QUIET_NAN__ 1 |
| // ARMEABISOFTFP:#define __LDBL_MANT_DIG__ 53 |
| // ARMEABISOFTFP:#define __LDBL_MAX_10_EXP__ 308 |
| // ARMEABISOFTFP:#define __LDBL_MAX_EXP__ 1024 |
| // ARMEABISOFTFP:#define __LDBL_MAX__ 1.7976931348623157e+308L |
| // ARMEABISOFTFP:#define __LDBL_MIN_10_EXP__ (-307) |
| // ARMEABISOFTFP:#define __LDBL_MIN_EXP__ (-1021) |
| // ARMEABISOFTFP:#define __LDBL_MIN__ 2.2250738585072014e-308L |
| // ARMEABISOFTFP:#define __LITTLE_ENDIAN__ 1 |
| // ARMEABISOFTFP:#define __LONG_LONG_MAX__ 9223372036854775807LL |
| // ARMEABISOFTFP:#define __LONG_MAX__ 2147483647L |
| // ARMEABISOFTFP-NOT:#define __LP64__ |
| // ARMEABISOFTFP:#define __POINTER_WIDTH__ 32 |
| // ARMEABISOFTFP:#define __PTRDIFF_TYPE__ int |
| // ARMEABISOFTFP:#define __PTRDIFF_WIDTH__ 32 |
| // ARMEABISOFTFP:#define __REGISTER_PREFIX__ |
| // ARMEABISOFTFP:#define __SCHAR_MAX__ 127 |
| // ARMEABISOFTFP:#define __SHRT_MAX__ 32767 |
| // ARMEABISOFTFP:#define __SIG_ATOMIC_MAX__ 2147483647 |
| // ARMEABISOFTFP:#define __SIG_ATOMIC_WIDTH__ 32 |
| // ARMEABISOFTFP:#define __SIZEOF_DOUBLE__ 8 |
| // ARMEABISOFTFP:#define __SIZEOF_FLOAT__ 4 |
| // ARMEABISOFTFP:#define __SIZEOF_INT__ 4 |
| // ARMEABISOFTFP:#define __SIZEOF_LONG_DOUBLE__ 8 |
| // ARMEABISOFTFP:#define __SIZEOF_LONG_LONG__ 8 |
| // ARMEABISOFTFP:#define __SIZEOF_LONG__ 4 |
| // ARMEABISOFTFP:#define __SIZEOF_POINTER__ 4 |
| // ARMEABISOFTFP:#define __SIZEOF_PTRDIFF_T__ 4 |
| // ARMEABISOFTFP:#define __SIZEOF_SHORT__ 2 |
| // ARMEABISOFTFP:#define __SIZEOF_SIZE_T__ 4 |
| // ARMEABISOFTFP:#define __SIZEOF_WCHAR_T__ 4 |
| // ARMEABISOFTFP:#define __SIZEOF_WINT_T__ 4 |
| // ARMEABISOFTFP:#define __SIZE_MAX__ 4294967295U |
| // ARMEABISOFTFP:#define __SIZE_TYPE__ unsigned int |
| // ARMEABISOFTFP:#define __SIZE_WIDTH__ 32 |
| // ARMEABISOFTFP:#define __SOFTFP__ 1 |
| // ARMEABISOFTFP:#define __UINT16_C_SUFFIX__ |
| // ARMEABISOFTFP:#define __UINT16_MAX__ 65535 |
| // ARMEABISOFTFP:#define __UINT16_TYPE__ unsigned short |
| // ARMEABISOFTFP:#define __UINT32_C_SUFFIX__ U |
| // ARMEABISOFTFP:#define __UINT32_MAX__ 4294967295U |
| // ARMEABISOFTFP:#define __UINT32_TYPE__ unsigned int |
| // ARMEABISOFTFP:#define __UINT64_C_SUFFIX__ ULL |
| // ARMEABISOFTFP:#define __UINT64_MAX__ 18446744073709551615ULL |
| // ARMEABISOFTFP:#define __UINT64_TYPE__ long long unsigned int |
| // ARMEABISOFTFP:#define __UINT8_C_SUFFIX__ |
| // ARMEABISOFTFP:#define __UINT8_MAX__ 255 |
| // ARMEABISOFTFP:#define __UINT8_TYPE__ unsigned char |
| // ARMEABISOFTFP:#define __UINTMAX_C_SUFFIX__ ULL |
| // ARMEABISOFTFP:#define __UINTMAX_MAX__ 18446744073709551615ULL |
| // ARMEABISOFTFP:#define __UINTMAX_TYPE__ long long unsigned int |
| // ARMEABISOFTFP:#define __UINTMAX_WIDTH__ 64 |
| // ARMEABISOFTFP:#define __UINTPTR_MAX__ 4294967295UL |
| // ARMEABISOFTFP:#define __UINTPTR_TYPE__ long unsigned int |
| // ARMEABISOFTFP:#define __UINTPTR_WIDTH__ 32 |
| // ARMEABISOFTFP:#define __UINT_FAST16_MAX__ 65535 |
| // ARMEABISOFTFP:#define __UINT_FAST16_TYPE__ unsigned short |
| // ARMEABISOFTFP:#define __UINT_FAST32_MAX__ 4294967295U |
| // ARMEABISOFTFP:#define __UINT_FAST32_TYPE__ unsigned int |
| // ARMEABISOFTFP:#define __UINT_FAST64_MAX__ 18446744073709551615ULL |
| // ARMEABISOFTFP:#define __UINT_FAST64_TYPE__ long long unsigned int |
| // ARMEABISOFTFP:#define __UINT_FAST8_MAX__ 255 |
| // ARMEABISOFTFP:#define __UINT_FAST8_TYPE__ unsigned char |
| // ARMEABISOFTFP:#define __UINT_LEAST16_MAX__ 65535 |
| // ARMEABISOFTFP:#define __UINT_LEAST16_TYPE__ unsigned short |
| // ARMEABISOFTFP:#define __UINT_LEAST32_MAX__ 4294967295U |
| // ARMEABISOFTFP:#define __UINT_LEAST32_TYPE__ unsigned int |
| // ARMEABISOFTFP:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL |
| // ARMEABISOFTFP:#define __UINT_LEAST64_TYPE__ long long unsigned int |
| // ARMEABISOFTFP:#define __UINT_LEAST8_MAX__ 255 |
| // ARMEABISOFTFP:#define __UINT_LEAST8_TYPE__ unsigned char |
| // ARMEABISOFTFP:#define __USER_LABEL_PREFIX__ |
| // ARMEABISOFTFP:#define __WCHAR_MAX__ 4294967295U |
| // ARMEABISOFTFP:#define __WCHAR_TYPE__ unsigned int |
| // ARMEABISOFTFP:#define __WCHAR_WIDTH__ 32 |
| // ARMEABISOFTFP:#define __WINT_TYPE__ unsigned int |
| // ARMEABISOFTFP:#define __WINT_WIDTH__ 32 |
| // ARMEABISOFTFP:#define __arm 1 |
| // ARMEABISOFTFP:#define __arm__ 1 |
| |
| // RUN: %clang_cc1 -E -dM -ffreestanding -triple=arm-none-linux-gnueabi < /dev/null | FileCheck -match-full-lines -check-prefix ARMEABIHARDFP %s |
| // |
| // ARMEABIHARDFP-NOT:#define _LP64 |
| // ARMEABIHARDFP:#define __APCS_32__ 1 |
| // ARMEABIHARDFP-NOT:#define __ARMEB__ 1 |
| // ARMEABIHARDFP:#define __ARMEL__ 1 |
| // ARMEABIHARDFP:#define __ARM_ARCH 4 |
| // ARMEABIHARDFP:#define __ARM_ARCH_4T__ 1 |
| // ARMEABIHARDFP-NOT:#define __ARM_BIG_ENDIAN 1 |
| // ARMEABIHARDFP:#define __ARM_EABI__ 1 |
| // ARMEABIHARDFP:#define __ARM_PCS 1 |
| // ARMEABIHARDFP:#define __ARM_PCS_VFP 1 |
| // ARMEABIHARDFP:#define __BIGGEST_ALIGNMENT__ 8 |
| // ARMEABIHARDFP:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__ |
| // ARMEABIHARDFP:#define __CHAR16_TYPE__ unsigned short |
| // ARMEABIHARDFP:#define __CHAR32_TYPE__ unsigned int |
| // ARMEABIHARDFP:#define __CHAR_BIT__ 8 |
| // ARMEABIHARDFP:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324 |
| // ARMEABIHARDFP:#define __DBL_DIG__ 15 |
| // ARMEABIHARDFP:#define __DBL_EPSILON__ 2.2204460492503131e-16 |
| // ARMEABIHARDFP:#define __DBL_HAS_DENORM__ 1 |
| // ARMEABIHARDFP:#define __DBL_HAS_INFINITY__ 1 |
| // ARMEABIHARDFP:#define __DBL_HAS_QUIET_NAN__ 1 |
| // ARMEABIHARDFP:#define __DBL_MANT_DIG__ 53 |
| // ARMEABIHARDFP:#define __DBL_MAX_10_EXP__ 308 |
| // ARMEABIHARDFP:#define __DBL_MAX_EXP__ 1024 |
| // ARMEABIHARDFP:#define __DBL_MAX__ 1.7976931348623157e+308 |
| // ARMEABIHARDFP:#define __DBL_MIN_10_EXP__ (-307) |
| // ARMEABIHARDFP:#define __DBL_MIN_EXP__ (-1021) |
| // ARMEABIHARDFP:#define __DBL_MIN__ 2.2250738585072014e-308 |
| // ARMEABIHARDFP:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__ |
| // ARMEABIHARDFP:#define __FLT_DENORM_MIN__ 1.40129846e-45F |
| // ARMEABIHARDFP:#define __FLT_DIG__ 6 |
| // ARMEABIHARDFP:#define __FLT_EPSILON__ 1.19209290e-7F |
| // ARMEABIHARDFP:#define __FLT_EVAL_METHOD__ 0 |
| // ARMEABIHARDFP:#define __FLT_HAS_DENORM__ 1 |
| // ARMEABIHARDFP:#define __FLT_HAS_INFINITY__ 1 |
| // ARMEABIHARDFP:#define __FLT_HAS_QUIET_NAN__ 1 |
| // ARMEABIHARDFP:#define __FLT_MANT_DIG__ 24 |
| // ARMEABIHARDFP:#define __FLT_MAX_10_EXP__ 38 |
| // ARMEABIHARDFP:#define __FLT_MAX_EXP__ 128 |
| // ARMEABIHARDFP:#define __FLT_MAX__ 3.40282347e+38F |
| // ARMEABIHARDFP:#define __FLT_MIN_10_EXP__ (-37) |
| // ARMEABIHARDFP:#define __FLT_MIN_EXP__ (-125) |
| // ARMEABIHARDFP:#define __FLT_MIN__ 1.17549435e-38F |
| // ARMEABIHARDFP:#define __FLT_RADIX__ 2 |
| // ARMEABIHARDFP:#define __INT16_C_SUFFIX__ |
| // ARMEABIHARDFP:#define __INT16_FMTd__ "hd" |
| // ARMEABIHARDFP:#define __INT16_FMTi__ "hi" |
| // ARMEABIHARDFP:#define __INT16_MAX__ 32767 |
| // ARMEABIHARDFP:#define __INT16_TYPE__ short |
| // ARMEABIHARDFP:#define __INT32_C_SUFFIX__ |
| // ARMEABIHARDFP:#define __INT32_FMTd__ "d" |
| // ARMEABIHARDFP:#define __INT32_FMTi__ "i" |
| // ARMEABIHARDFP:#define __INT32_MAX__ 2147483647 |
| // ARMEABIHARDFP:#define __INT32_TYPE__ int |
| // ARMEABIHARDFP:#define __INT64_C_SUFFIX__ LL |
| // ARMEABIHARDFP:#define __INT64_FMTd__ "lld" |
| // ARMEABIHARDFP:#define __INT64_FMTi__ "lli" |
| // ARMEABIHARDFP:#define __INT64_MAX__ 9223372036854775807LL |
| // ARMEABIHARDFP:#define __INT64_TYPE__ long long int |
| // ARMEABIHARDFP:#define __INT8_C_SUFFIX__ |
| // ARMEABIHARDFP:#define __INT8_FMTd__ "hhd" |
| // ARMEABIHARDFP:#define __INT8_FMTi__ "hhi" |
| // ARMEABIHARDFP:#define __INT8_MAX__ 127 |
| // ARMEABIHARDFP:#define __INT8_TYPE__ signed char |
| // ARMEABIHARDFP:#define __INTMAX_C_SUFFIX__ LL |
| // ARMEABIHARDFP:#define __INTMAX_FMTd__ "lld" |
| // ARMEABIHARDFP:#define __INTMAX_FMTi__ "lli" |
| // ARMEABIHARDFP:#define __INTMAX_MAX__ 9223372036854775807LL |
| // ARMEABIHARDFP:#define __INTMAX_TYPE__ long long int |
| // ARMEABIHARDFP:#define __INTMAX_WIDTH__ 64 |
| // ARMEABIHARDFP:#define __INTPTR_FMTd__ "ld" |
| // ARMEABIHARDFP:#define __INTPTR_FMTi__ "li" |
| // ARMEABIHARDFP:#define __INTPTR_MAX__ 2147483647L |
| // ARMEABIHARDFP:#define __INTPTR_TYPE__ long int |
| // ARMEABIHARDFP:#define __INTPTR_WIDTH__ 32 |
| // ARMEABIHARDFP:#define __INT_FAST16_FMTd__ "hd" |
| // ARMEABIHARDFP:#define __INT_FAST16_FMTi__ "hi" |
| // ARMEABIHARDFP:#define __INT_FAST16_MAX__ 32767 |
| // ARMEABIHARDFP:#define __INT_FAST16_TYPE__ short |
| // ARMEABIHARDFP:#define __INT_FAST32_FMTd__ "d" |
| // ARMEABIHARDFP:#define __INT_FAST32_FMTi__ "i" |
| // ARMEABIHARDFP:#define __INT_FAST32_MAX__ 2147483647 |
| // ARMEABIHARDFP:#define __INT_FAST32_TYPE__ int |
| // ARMEABIHARDFP:#define __INT_FAST64_FMTd__ "lld" |
| // ARMEABIHARDFP:#define __INT_FAST64_FMTi__ "lli" |
| // ARMEABIHARDFP:#define __INT_FAST64_MAX__ 9223372036854775807LL |
| // ARMEABIHARDFP:#define __INT_FAST64_TYPE__ long long int |
| // ARMEABIHARDFP:#define __INT_FAST8_FMTd__ "hhd" |
| // ARMEABIHARDFP:#define __INT_FAST8_FMTi__ "hhi" |
| // ARMEABIHARDFP:#define __INT_FAST8_MAX__ 127 |
| // ARMEABIHARDFP:#define __INT_FAST8_TYPE__ signed char |
| // ARMEABIHARDFP:#define __INT_LEAST16_FMTd__ "hd" |
| // ARMEABIHARDFP:#define __INT_LEAST16_FMTi__ "hi" |
| // ARMEABIHARDFP:#define __INT_LEAST16_MAX__ 32767 |
| // ARMEABIHARDFP:#define __INT_LEAST16_TYPE__ short |
| // ARMEABIHARDFP:#define __INT_LEAST32_FMTd__ "d" |
| // ARMEABIHARDFP:#define __INT_LEAST32_FMTi__ "i" |
| // ARMEABIHARDFP:#define __INT_LEAST32_MAX__ 2147483647 |
| // ARMEABIHARDFP:#define __INT_LEAST32_TYPE__ int |
| // ARMEABIHARDFP:#define __INT_LEAST64_FMTd__ "lld" |
| // ARMEABIHARDFP:#define __INT_LEAST64_FMTi__ "lli" |
| // ARMEABIHARDFP:#define __INT_LEAST64_MAX__ 9223372036854775807LL |
| // ARMEABIHARDFP:#define __INT_LEAST64_TYPE__ long long int |
| // ARMEABIHARDFP:#define __INT_LEAST8_FMTd__ "hhd" |
| // ARMEABIHARDFP:#define __INT_LEAST8_FMTi__ "hhi" |
| // ARMEABIHARDFP:#define __INT_LEAST8_MAX__ 127 |
| // ARMEABIHARDFP:#define __INT_LEAST8_TYPE__ signed char |
| // ARMEABIHARDFP:#define __INT_MAX__ 2147483647 |
| // ARMEABIHARDFP:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L |
| // ARMEABIHARDFP:#define __LDBL_DIG__ 15 |
| // ARMEABIHARDFP:#define __LDBL_EPSILON__ 2.2204460492503131e-16L |
| // ARMEABIHARDFP:#define __LDBL_HAS_DENORM__ 1 |
| // ARMEABIHARDFP:#define __LDBL_HAS_INFINITY__ 1 |
| // ARMEABIHARDFP:#define __LDBL_HAS_QUIET_NAN__ 1 |
| // ARMEABIHARDFP:#define __LDBL_MANT_DIG__ 53 |
| // ARMEABIHARDFP:#define __LDBL_MAX_10_EXP__ 308 |
| // ARMEABIHARDFP:#define __LDBL_MAX_EXP__ 1024 |
| // ARMEABIHARDFP:#define __LDBL_MAX__ 1.7976931348623157e+308L |
| // ARMEABIHARDFP:#define __LDBL_MIN_10_EXP__ (-307) |
| // ARMEABIHARDFP:#define __LDBL_MIN_EXP__ (-1021) |
| // ARMEABIHARDFP:#define __LDBL_MIN__ 2.2250738585072014e-308L |
| // ARMEABIHARDFP:#define __LITTLE_ENDIAN__ 1 |
| // ARMEABIHARDFP:#define __LONG_LONG_MAX__ 9223372036854775807LL |
| // ARMEABIHARDFP:#define __LONG_MAX__ 2147483647L |
| // ARMEABIHARDFP-NOT:#define __LP64__ |
| // ARMEABIHARDFP:#define __POINTER_WIDTH__ 32 |
| // ARMEABIHARDFP:#define __PTRDIFF_TYPE__ int |
| // ARMEABIHARDFP:#define __PTRDIFF_WIDTH__ 32 |
| // ARMEABIHARDFP:#define __REGISTER_PREFIX__ |
| // ARMEABIHARDFP:#define __SCHAR_MAX__ 127 |
| // ARMEABIHARDFP:#define __SHRT_MAX__ 32767 |
| // ARMEABIHARDFP:#define __SIG_ATOMIC_MAX__ 2147483647 |
| // ARMEABIHARDFP:#define __SIG_ATOMIC_WIDTH__ 32 |
| // ARMEABIHARDFP:#define __SIZEOF_DOUBLE__ 8 |
| // ARMEABIHARDFP:#define __SIZEOF_FLOAT__ 4 |
| // ARMEABIHARDFP:#define __SIZEOF_INT__ 4 |
| // ARMEABIHARDFP:#define __SIZEOF_LONG_DOUBLE__ 8 |
| // ARMEABIHARDFP:#define __SIZEOF_LONG_LONG__ 8 |
| // ARMEABIHARDFP:#define __SIZEOF_LONG__ 4 |
| // ARMEABIHARDFP:#define __SIZEOF_POINTER__ 4 |
| // ARMEABIHARDFP:#define __SIZEOF_PTRDIFF_T__ 4 |
| // ARMEABIHARDFP:#define __SIZEOF_SHORT__ 2 |
| // ARMEABIHARDFP:#define __SIZEOF_SIZE_T__ 4 |
| // ARMEABIHARDFP:#define __SIZEOF_WCHAR_T__ 4 |
| // ARMEABIHARDFP:#define __SIZEOF_WINT_T__ 4 |
| // ARMEABIHARDFP:#define __SIZE_MAX__ 4294967295U |
| // ARMEABIHARDFP:#define __SIZE_TYPE__ unsigned int |
| // ARMEABIHARDFP:#define __SIZE_WIDTH__ 32 |
| // ARMEABIHARDFP-NOT:#define __SOFTFP__ 1 |
| // ARMEABIHARDFP:#define __UINT16_C_SUFFIX__ |
| // ARMEABIHARDFP:#define __UINT16_MAX__ 65535 |
| // ARMEABIHARDFP:#define __UINT16_TYPE__ unsigned short |
| // ARMEABIHARDFP:#define __UINT32_C_SUFFIX__ U |
| // ARMEABIHARDFP:#define __UINT32_MAX__ 4294967295U |
| // ARMEABIHARDFP:#define __UINT32_TYPE__ unsigned int |
| // ARMEABIHARDFP:#define __UINT64_C_SUFFIX__ ULL |
| // ARMEABIHARDFP:#define __UINT64_MAX__ 18446744073709551615ULL |
| // ARMEABIHARDFP:#define __UINT64_TYPE__ long long unsigned int |
| // ARMEABIHARDFP:#define __UINT8_C_SUFFIX__ |
| // ARMEABIHARDFP:#define __UINT8_MAX__ 255 |
| // ARMEABIHARDFP:#define __UINT8_TYPE__ unsigned char |
| // ARMEABIHARDFP:#define __UINTMAX_C_SUFFIX__ ULL |
| // ARMEABIHARDFP:#define __UINTMAX_MAX__ 18446744073709551615ULL |
| // ARMEABIHARDFP:#define __UINTMAX_TYPE__ long long unsigned int |
| // ARMEABIHARDFP:#define __UINTMAX_WIDTH__ 64 |
| // ARMEABIHARDFP:#define __UINTPTR_MAX__ 4294967295UL |
| // ARMEABIHARDFP:#define __UINTPTR_TYPE__ long unsigned int |
| // ARMEABIHARDFP:#define __UINTPTR_WIDTH__ 32 |
| // ARMEABIHARDFP:#define __UINT_FAST16_MAX__ 65535 |
| // ARMEABIHARDFP:#define __UINT_FAST16_TYPE__ unsigned short |
| // ARMEABIHARDFP:#define __UINT_FAST32_MAX__ 4294967295U |
| // ARMEABIHARDFP:#define __UINT_FAST32_TYPE__ unsigned int |
| // ARMEABIHARDFP:#define __UINT_FAST64_MAX__ 18446744073709551615ULL |
| // ARMEABIHARDFP:#define __UINT_FAST64_TYPE__ long long unsigned int |
| // ARMEABIHARDFP:#define __UINT_FAST8_MAX__ 255 |
| // ARMEABIHARDFP:#define __UINT_FAST8_TYPE__ unsigned char |
| // ARMEABIHARDFP:#define __UINT_LEAST16_MAX__ 65535 |
| // ARMEABIHARDFP:#define __UINT_LEAST16_TYPE__ unsigned short |
| // ARMEABIHARDFP:#define __UINT_LEAST32_MAX__ 4294967295U |
| // ARMEABIHARDFP:#define __UINT_LEAST32_TYPE__ unsigned int |
| // ARMEABIHARDFP:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL |
| // ARMEABIHARDFP:#define __UINT_LEAST64_TYPE__ long long unsigned int |
| // ARMEABIHARDFP:#define __UINT_LEAST8_MAX__ 255 |
| // ARMEABIHARDFP:#define __UINT_LEAST8_TYPE__ unsigned char |
| // ARMEABIHARDFP:#define __USER_LABEL_PREFIX__ |
| // ARMEABIHARDFP:#define __WCHAR_MAX__ 4294967295U |
| // ARMEABIHARDFP:#define __WCHAR_TYPE__ unsigned int |
| // ARMEABIHARDFP:#define __WCHAR_WIDTH__ 32 |
| // ARMEABIHARDFP:#define __WINT_TYPE__ unsigned int |
| // ARMEABIHARDFP:#define __WINT_WIDTH__ 32 |
| // ARMEABIHARDFP:#define __arm 1 |
| // ARMEABIHARDFP:#define __arm__ 1 |
| |
| // RUN: %clang_cc1 -E -dM -ffreestanding -triple=arm-netbsd-eabi < /dev/null | FileCheck -match-full-lines -check-prefix ARM-NETBSD %s |
| // |
| // ARM-NETBSD-NOT:#define _LP64 |
| // ARM-NETBSD:#define __APCS_32__ 1 |
| // ARM-NETBSD-NOT:#define __ARMEB__ 1 |
| // ARM-NETBSD:#define __ARMEL__ 1 |
| // ARM-NETBSD:#define __ARM_ARCH_4T__ 1 |
| // ARM-NETBSD:#define __ARM_DWARF_EH__ 1 |
| // ARM-NETBSD:#define __ARM_EABI__ 1 |
| // ARM-NETBSD-NOT:#define __ARM_BIG_ENDIAN 1 |
| // ARM-NETBSD:#define __BIGGEST_ALIGNMENT__ 8 |
| // ARM-NETBSD:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__ |
| // ARM-NETBSD:#define __CHAR16_TYPE__ unsigned short |
| // ARM-NETBSD:#define __CHAR32_TYPE__ unsigned int |
| // ARM-NETBSD:#define __CHAR_BIT__ 8 |
| // ARM-NETBSD:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324 |
| // ARM-NETBSD:#define __DBL_DIG__ 15 |
| // ARM-NETBSD:#define __DBL_EPSILON__ 2.2204460492503131e-16 |
| // ARM-NETBSD:#define __DBL_HAS_DENORM__ 1 |
| // ARM-NETBSD:#define __DBL_HAS_INFINITY__ 1 |
| // ARM-NETBSD:#define __DBL_HAS_QUIET_NAN__ 1 |
| // ARM-NETBSD:#define __DBL_MANT_DIG__ 53 |
| // ARM-NETBSD:#define __DBL_MAX_10_EXP__ 308 |
| // ARM-NETBSD:#define __DBL_MAX_EXP__ 1024 |
| // ARM-NETBSD:#define __DBL_MAX__ 1.7976931348623157e+308 |
| // ARM-NETBSD:#define __DBL_MIN_10_EXP__ (-307) |
| // ARM-NETBSD:#define __DBL_MIN_EXP__ (-1021) |
| // ARM-NETBSD:#define __DBL_MIN__ 2.2250738585072014e-308 |
| // ARM-NETBSD:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__ |
| // ARM-NETBSD:#define __FLT_DENORM_MIN__ 1.40129846e-45F |
| // ARM-NETBSD:#define __FLT_DIG__ 6 |
| // ARM-NETBSD:#define __FLT_EPSILON__ 1.19209290e-7F |
| // ARM-NETBSD:#define __FLT_EVAL_METHOD__ 0 |
| // ARM-NETBSD:#define __FLT_HAS_DENORM__ 1 |
| // ARM-NETBSD:#define __FLT_HAS_INFINITY__ 1 |
| // ARM-NETBSD:#define __FLT_HAS_QUIET_NAN__ 1 |
| // ARM-NETBSD:#define __FLT_MANT_DIG__ 24 |
| // ARM-NETBSD:#define __FLT_MAX_10_EXP__ 38 |
| // ARM-NETBSD:#define __FLT_MAX_EXP__ 128 |
| // ARM-NETBSD:#define __FLT_MAX__ 3.40282347e+38F |
| // ARM-NETBSD:#define __FLT_MIN_10_EXP__ (-37) |
| // ARM-NETBSD:#define __FLT_MIN_EXP__ (-125) |
| // ARM-NETBSD:#define __FLT_MIN__ 1.17549435e-38F |
| // ARM-NETBSD:#define __FLT_RADIX__ 2 |
| // ARM-NETBSD:#define __INT16_C_SUFFIX__ |
| // ARM-NETBSD:#define __INT16_FMTd__ "hd" |
| // ARM-NETBSD:#define __INT16_FMTi__ "hi" |
| // ARM-NETBSD:#define __INT16_MAX__ 32767 |
| // ARM-NETBSD:#define __INT16_TYPE__ short |
| // ARM-NETBSD:#define __INT32_C_SUFFIX__ |
| // ARM-NETBSD:#define __INT32_FMTd__ "d" |
| // ARM-NETBSD:#define __INT32_FMTi__ "i" |
| // ARM-NETBSD:#define __INT32_MAX__ 2147483647 |
| // ARM-NETBSD:#define __INT32_TYPE__ int |
| // ARM-NETBSD:#define __INT64_C_SUFFIX__ LL |
| // ARM-NETBSD:#define __INT64_FMTd__ "lld" |
| // ARM-NETBSD:#define __INT64_FMTi__ "lli" |
| // ARM-NETBSD:#define __INT64_MAX__ 9223372036854775807LL |
| // ARM-NETBSD:#define __INT64_TYPE__ long long int |
| // ARM-NETBSD:#define __INT8_C_SUFFIX__ |
| // ARM-NETBSD:#define __INT8_FMTd__ "hhd" |
| // ARM-NETBSD:#define __INT8_FMTi__ "hhi" |
| // ARM-NETBSD:#define __INT8_MAX__ 127 |
| // ARM-NETBSD:#define __INT8_TYPE__ signed char |
| // ARM-NETBSD:#define __INTMAX_C_SUFFIX__ LL |
| // ARM-NETBSD:#define __INTMAX_FMTd__ "lld" |
| // ARM-NETBSD:#define __INTMAX_FMTi__ "lli" |
| // ARM-NETBSD:#define __INTMAX_MAX__ 9223372036854775807LL |
| // ARM-NETBSD:#define __INTMAX_TYPE__ long long int |
| // ARM-NETBSD:#define __INTMAX_WIDTH__ 64 |
| // ARM-NETBSD:#define __INTPTR_FMTd__ "ld" |
| // ARM-NETBSD:#define __INTPTR_FMTi__ "li" |
| // ARM-NETBSD:#define __INTPTR_MAX__ 2147483647L |
| // ARM-NETBSD:#define __INTPTR_TYPE__ long int |
| // ARM-NETBSD:#define __INTPTR_WIDTH__ 32 |
| // ARM-NETBSD:#define __INT_FAST16_FMTd__ "hd" |
| // ARM-NETBSD:#define __INT_FAST16_FMTi__ "hi" |
| // ARM-NETBSD:#define __INT_FAST16_MAX__ 32767 |
| // ARM-NETBSD:#define __INT_FAST16_TYPE__ short |
| // ARM-NETBSD:#define __INT_FAST32_FMTd__ "d" |
| // ARM-NETBSD:#define __INT_FAST32_FMTi__ "i" |
| // ARM-NETBSD:#define __INT_FAST32_MAX__ 2147483647 |
| // ARM-NETBSD:#define __INT_FAST32_TYPE__ int |
| // ARM-NETBSD:#define __INT_FAST64_FMTd__ "lld" |
| // ARM-NETBSD:#define __INT_FAST64_FMTi__ "lli" |
| // ARM-NETBSD:#define __INT_FAST64_MAX__ 9223372036854775807LL |
| // ARM-NETBSD:#define __INT_FAST64_TYPE__ long long int |
| // ARM-NETBSD:#define __INT_FAST8_FMTd__ "hhd" |
| // ARM-NETBSD:#define __INT_FAST8_FMTi__ "hhi" |
| // ARM-NETBSD:#define __INT_FAST8_MAX__ 127 |
| // ARM-NETBSD:#define __INT_FAST8_TYPE__ signed char |
| // ARM-NETBSD:#define __INT_LEAST16_FMTd__ "hd" |
| // ARM-NETBSD:#define __INT_LEAST16_FMTi__ "hi" |
| // ARM-NETBSD:#define __INT_LEAST16_MAX__ 32767 |
| // ARM-NETBSD:#define __INT_LEAST16_TYPE__ short |
| // ARM-NETBSD:#define __INT_LEAST32_FMTd__ "d" |
| // ARM-NETBSD:#define __INT_LEAST32_FMTi__ "i" |
| // ARM-NETBSD:#define __INT_LEAST32_MAX__ 2147483647 |
| // ARM-NETBSD:#define __INT_LEAST32_TYPE__ int |
| // ARM-NETBSD:#define __INT_LEAST64_FMTd__ "lld" |
| // ARM-NETBSD:#define __INT_LEAST64_FMTi__ "lli" |
| // ARM-NETBSD:#define __INT_LEAST64_MAX__ 9223372036854775807LL |
| // ARM-NETBSD:#define __INT_LEAST64_TYPE__ long long int |
| // ARM-NETBSD:#define __INT_LEAST8_FMTd__ "hhd" |
| // ARM-NETBSD:#define __INT_LEAST8_FMTi__ "hhi" |
| // ARM-NETBSD:#define __INT_LEAST8_MAX__ 127 |
| // ARM-NETBSD:#define __INT_LEAST8_TYPE__ signed char |
| // ARM-NETBSD:#define __INT_MAX__ 2147483647 |
| // ARM-NETBSD:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L |
| // ARM-NETBSD:#define __LDBL_DIG__ 15 |
| // ARM-NETBSD:#define __LDBL_EPSILON__ 2.2204460492503131e-16L |
| // ARM-NETBSD:#define __LDBL_HAS_DENORM__ 1 |
| // ARM-NETBSD:#define __LDBL_HAS_INFINITY__ 1 |
| // ARM-NETBSD:#define __LDBL_HAS_QUIET_NAN__ 1 |
| // ARM-NETBSD:#define __LDBL_MANT_DIG__ 53 |
| // ARM-NETBSD:#define __LDBL_MAX_10_EXP__ 308 |
| // ARM-NETBSD:#define __LDBL_MAX_EXP__ 1024 |
| // ARM-NETBSD:#define __LDBL_MAX__ 1.7976931348623157e+308L |
| // ARM-NETBSD:#define __LDBL_MIN_10_EXP__ (-307) |
| // ARM-NETBSD:#define __LDBL_MIN_EXP__ (-1021) |
| // ARM-NETBSD:#define __LDBL_MIN__ 2.2250738585072014e-308L |
| // ARM-NETBSD:#define __LITTLE_ENDIAN__ 1 |
| // ARM-NETBSD:#define __LONG_LONG_MAX__ 9223372036854775807LL |
| // ARM-NETBSD:#define __LONG_MAX__ 2147483647L |
| // ARM-NETBSD-NOT:#define __LP64__ |
| // ARM-NETBSD:#define __POINTER_WIDTH__ 32 |
| // ARM-NETBSD:#define __PTRDIFF_TYPE__ long int |
| // ARM-NETBSD:#define __PTRDIFF_WIDTH__ 32 |
| // ARM-NETBSD:#define __REGISTER_PREFIX__ |
| // ARM-NETBSD:#define __SCHAR_MAX__ 127 |
| // ARM-NETBSD:#define __SHRT_MAX__ 32767 |
| // ARM-NETBSD:#define __SIG_ATOMIC_MAX__ 2147483647 |
| // ARM-NETBSD:#define __SIG_ATOMIC_WIDTH__ 32 |
| // ARM-NETBSD:#define __SIZEOF_DOUBLE__ 8 |
| // ARM-NETBSD:#define __SIZEOF_FLOAT__ 4 |
| // ARM-NETBSD:#define __SIZEOF_INT__ 4 |
| // ARM-NETBSD:#define __SIZEOF_LONG_DOUBLE__ 8 |
| // ARM-NETBSD:#define __SIZEOF_LONG_LONG__ 8 |
| // ARM-NETBSD:#define __SIZEOF_LONG__ 4 |
| // ARM-NETBSD:#define __SIZEOF_POINTER__ 4 |
| // ARM-NETBSD:#define __SIZEOF_PTRDIFF_T__ 4 |
| // ARM-NETBSD:#define __SIZEOF_SHORT__ 2 |
| // ARM-NETBSD:#define __SIZEOF_SIZE_T__ 4 |
| // ARM-NETBSD:#define __SIZEOF_WCHAR_T__ 4 |
| // ARM-NETBSD:#define __SIZEOF_WINT_T__ 4 |
| // ARM-NETBSD:#define __SIZE_MAX__ 4294967295UL |
| // ARM-NETBSD:#define __SIZE_TYPE__ long unsigned int |
| // ARM-NETBSD:#define __SIZE_WIDTH__ 32 |
| // ARM-NETBSD:#define __UINT16_C_SUFFIX__ |
| // ARM-NETBSD:#define __UINT16_MAX__ 65535 |
| // ARM-NETBSD:#define __UINT16_TYPE__ unsigned short |
| // ARM-NETBSD:#define __UINT32_C_SUFFIX__ U |
| // ARM-NETBSD:#define __UINT32_MAX__ 4294967295U |
| // ARM-NETBSD:#define __UINT32_TYPE__ unsigned int |
| // ARM-NETBSD:#define __UINT64_C_SUFFIX__ ULL |
| // ARM-NETBSD:#define __UINT64_MAX__ 18446744073709551615ULL |
| // ARM-NETBSD:#define __UINT64_TYPE__ long long unsigned int |
| // ARM-NETBSD:#define __UINT8_C_SUFFIX__ |
| // ARM-NETBSD:#define __UINT8_MAX__ 255 |
| // ARM-NETBSD:#define __UINT8_TYPE__ unsigned char |
| // ARM-NETBSD:#define __UINTMAX_C_SUFFIX__ ULL |
| // ARM-NETBSD:#define __UINTMAX_MAX__ 18446744073709551615ULL |
| // ARM-NETBSD:#define __UINTMAX_TYPE__ long long unsigned int |
| // ARM-NETBSD:#define __UINTMAX_WIDTH__ 64 |
| // ARM-NETBSD:#define __UINTPTR_MAX__ 4294967295UL |
| // ARM-NETBSD:#define __UINTPTR_TYPE__ long unsigned int |
| // ARM-NETBSD:#define __UINTPTR_WIDTH__ 32 |
| // ARM-NETBSD:#define __UINT_FAST16_MAX__ 65535 |
| // ARM-NETBSD:#define __UINT_FAST16_TYPE__ unsigned short |
| // ARM-NETBSD:#define __UINT_FAST32_MAX__ 4294967295U |
| // ARM-NETBSD:#define __UINT_FAST32_TYPE__ unsigned int |
| // ARM-NETBSD:#define __UINT_FAST64_MAX__ 18446744073709551615ULL |
| // ARM-NETBSD:#define __UINT_FAST64_TYPE__ long long unsigned int |
| // ARM-NETBSD:#define __UINT_FAST8_MAX__ 255 |
| // ARM-NETBSD:#define __UINT_FAST8_TYPE__ unsigned char |
| // ARM-NETBSD:#define __UINT_LEAST16_MAX__ 65535 |
| // ARM-NETBSD:#define __UINT_LEAST16_TYPE__ unsigned short |
| // ARM-NETBSD:#define __UINT_LEAST32_MAX__ 4294967295U |
| // ARM-NETBSD:#define __UINT_LEAST32_TYPE__ unsigned int |
| // ARM-NETBSD:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL |
| // ARM-NETBSD:#define __UINT_LEAST64_TYPE__ long long unsigned int |
| // ARM-NETBSD:#define __UINT_LEAST8_MAX__ 255 |
| // ARM-NETBSD:#define __UINT_LEAST8_TYPE__ unsigned char |
| // ARM-NETBSD:#define __USER_LABEL_PREFIX__ |
| // ARM-NETBSD:#define __WCHAR_MAX__ 2147483647 |
| // ARM-NETBSD:#define __WCHAR_TYPE__ int |
| // ARM-NETBSD:#define __WCHAR_WIDTH__ 32 |
| // ARM-NETBSD:#define __WINT_TYPE__ int |
| // ARM-NETBSD:#define __WINT_WIDTH__ 32 |
| // ARM-NETBSD:#define __arm 1 |
| // ARM-NETBSD:#define __arm__ 1 |
| |
| // RUN: %clang_cc1 -E -dM -ffreestanding -triple=arm-none-eabi < /dev/null | FileCheck -match-full-lines -check-prefix ARM-NONE-EABI %s |
| // ARM-NONE-EABI: #define __ELF__ 1 |
| |
| // No MachO targets use the full EABI, even if AAPCS is used. |
| // RUN: %clang -target x86_64-apple-darwin -arch armv7s -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=ARM-MACHO-NO-EABI %s |
| // RUN: %clang -target x86_64-apple-darwin -arch armv6m -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=ARM-MACHO-NO-EABI %s |
| // RUN: %clang -target x86_64-apple-darwin -arch armv7m -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=ARM-MACHO-NO-EABI %s |
| // RUN: %clang -target x86_64-apple-darwin -arch armv7em -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=ARM-MACHO-NO-EABI %s |
| // RUN: %clang -target x86_64-apple-darwin -arch armv7 -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=ARM-MACHO-NO-EABI %s |
| // ARM-MACHO-NO-EABI-NOT: #define __ARM_EABI__ 1 |
| |
| // RUN: %clang_cc1 -E -dM -ffreestanding -triple=armv7-bitrig-gnueabihf < /dev/null | FileCheck -match-full-lines -check-prefix ARM-BITRIG %s |
| // ARM-BITRIG:#define __ARM_DWARF_EH__ 1 |
| // ARM-BITRIG:#define __SIZEOF_SIZE_T__ 4 |
| // ARM-BITRIG:#define __SIZE_MAX__ 4294967295UL |
| // ARM-BITRIG:#define __SIZE_TYPE__ long unsigned int |
| // ARM-BITRIG:#define __SIZE_WIDTH__ 32 |
| |
| // Check that -mhwdiv works properly for targets which don't have the hwdiv feature enabled by default. |
| |
| // RUN: %clang -target arm -mhwdiv=arm -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=ARMHWDIV-ARM %s |
| // ARMHWDIV-ARM:#define __ARM_ARCH_EXT_IDIV__ 1 |
| |
| // RUN: %clang -target arm -mthumb -mhwdiv=thumb -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=THUMBHWDIV-THUMB %s |
| // THUMBHWDIV-THUMB:#define __ARM_ARCH_EXT_IDIV__ 1 |
| |
| // RUN: %clang -target arm -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=ARM-FALSE %s |
| // ARM-FALSE-NOT:#define __ARM_ARCH_EXT_IDIV__ |
| |
| // RUN: %clang -target arm -mthumb -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=THUMB-FALSE %s |
| // THUMB-FALSE-NOT:#define __ARM_ARCH_EXT_IDIV__ |
| |
| // RUN: %clang -target arm -mhwdiv=thumb -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=THUMBHWDIV-ARM-FALSE %s |
| // THUMBHWDIV-ARM-FALSE-NOT:#define __ARM_ARCH_EXT_IDIV__ |
| |
| // RUN: %clang -target arm -mthumb -mhwdiv=arm -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=ARMHWDIV-THUMB-FALSE %s |
| // ARMHWDIV-THUMB-FALSE-NOT:#define __ARM_ARCH_EXT_IDIV__ |
| |
| // RUN: %clang_cc1 -E -dM -ffreestanding -triple=armv8-none-none < /dev/null | FileCheck -match-full-lines -check-prefix ARMv8 %s |
| // ARMv8: #define __THUMB_INTERWORK__ 1 |
| // ARMv8-NOT: #define __thumb2__ |
| |
| // RUN: %clang_cc1 -E -dM -ffreestanding -triple=armebv8-none-none < /dev/null | FileCheck -match-full-lines -check-prefix ARMebv8 %s |
| // ARMebv8: #define __THUMB_INTERWORK__ 1 |
| // ARMebv8-NOT: #define __thumb2__ |
| |
| // RUN: %clang_cc1 -E -dM -ffreestanding -triple=thumbv8 < /dev/null | FileCheck -match-full-lines -check-prefix Thumbv8 %s |
| // Thumbv8: #define __THUMB_INTERWORK__ 1 |
| // Thumbv8: #define __thumb2__ 1 |
| |
| // RUN: %clang_cc1 -E -dM -ffreestanding -triple=thumbebv8 < /dev/null | FileCheck -match-full-lines -check-prefix Thumbebv8 %s |
| // Thumbebv8: #define __THUMB_INTERWORK__ 1 |
| // Thumbebv8: #define __thumb2__ 1 |
| |
| // RUN: %clang_cc1 -E -dM -ffreestanding -triple=thumbv5 < /dev/null | FileCheck -match-full-lines -check-prefix Thumbv5 %s |
| // Thumbv5: #define __THUMB_INTERWORK__ 1 |
| // Thumbv5-NOT: #define __thumb2__ 1 |
| |
| // RUN: %clang_cc1 -E -dM -ffreestanding -triple=thumbv6t2 < /dev/null | FileCheck -match-full-lines -check-prefix Thumbv6t2 %s |
| // Thumbv6t2: #define __THUMB_INTERWORK__ 1 |
| // Thumbv6t2: #define __thumb2__ 1 |
| |
| // RUN: %clang_cc1 -E -dM -ffreestanding -triple=thumbv7 < /dev/null | FileCheck -match-full-lines -check-prefix Thumbv7 %s |
| // Thumbv7: #define __THUMB_INTERWORK__ 1 |
| // Thumbv7: #define __thumb2__ 1 |
| |
| // RUN: %clang_cc1 -E -dM -ffreestanding -triple=thumbebv7 < /dev/null | FileCheck -match-full-lines -check-prefix Thumbebv7 %s |
| // Thumbebv7: #define __THUMB_INTERWORK__ 1 |
| // Thumbebv7: #define __thumb2__ 1 |
| |
| // |
| // RUN: %clang_cc1 -E -dM -ffreestanding -triple=i386-none-none < /dev/null | FileCheck -match-full-lines -check-prefix I386 %s |
| // |
| // I386-NOT:#define _LP64 |
| // I386:#define __BIGGEST_ALIGNMENT__ 16 |
| // I386:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__ |
| // I386:#define __CHAR16_TYPE__ unsigned short |
| // I386:#define __CHAR32_TYPE__ unsigned int |
| // I386:#define __CHAR_BIT__ 8 |
| // I386:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324 |
| // I386:#define __DBL_DIG__ 15 |
| // I386:#define __DBL_EPSILON__ 2.2204460492503131e-16 |
| // I386:#define __DBL_HAS_DENORM__ 1 |
| // I386:#define __DBL_HAS_INFINITY__ 1 |
| // I386:#define __DBL_HAS_QUIET_NAN__ 1 |
| // I386:#define __DBL_MANT_DIG__ 53 |
| // I386:#define __DBL_MAX_10_EXP__ 308 |
| // I386:#define __DBL_MAX_EXP__ 1024 |
| // I386:#define __DBL_MAX__ 1.7976931348623157e+308 |
| // I386:#define __DBL_MIN_10_EXP__ (-307) |
| // I386:#define __DBL_MIN_EXP__ (-1021) |
| // I386:#define __DBL_MIN__ 2.2250738585072014e-308 |
| // I386:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__ |
| // I386:#define __FLT_DENORM_MIN__ 1.40129846e-45F |
| // I386:#define __FLT_DIG__ 6 |
| // I386:#define __FLT_EPSILON__ 1.19209290e-7F |
| // I386:#define __FLT_EVAL_METHOD__ 2 |
| // I386:#define __FLT_HAS_DENORM__ 1 |
| // I386:#define __FLT_HAS_INFINITY__ 1 |
| // I386:#define __FLT_HAS_QUIET_NAN__ 1 |
| // I386:#define __FLT_MANT_DIG__ 24 |
| // I386:#define __FLT_MAX_10_EXP__ 38 |
| // I386:#define __FLT_MAX_EXP__ 128 |
| // I386:#define __FLT_MAX__ 3.40282347e+38F |
| // I386:#define __FLT_MIN_10_EXP__ (-37) |
| // I386:#define __FLT_MIN_EXP__ (-125) |
| // I386:#define __FLT_MIN__ 1.17549435e-38F |
| // I386:#define __FLT_RADIX__ 2 |
| // I386:#define __INT16_C_SUFFIX__ |
| // I386:#define __INT16_FMTd__ "hd" |
| // I386:#define __INT16_FMTi__ "hi" |
| // I386:#define __INT16_MAX__ 32767 |
| // I386:#define __INT16_TYPE__ short |
| // I386:#define __INT32_C_SUFFIX__ |
| // I386:#define __INT32_FMTd__ "d" |
| // I386:#define __INT32_FMTi__ "i" |
| // I386:#define __INT32_MAX__ 2147483647 |
| // I386:#define __INT32_TYPE__ int |
| // I386:#define __INT64_C_SUFFIX__ LL |
| // I386:#define __INT64_FMTd__ "lld" |
| // I386:#define __INT64_FMTi__ "lli" |
| // I386:#define __INT64_MAX__ 9223372036854775807LL |
| // I386:#define __INT64_TYPE__ long long int |
| // I386:#define __INT8_C_SUFFIX__ |
| // I386:#define __INT8_FMTd__ "hhd" |
| // I386:#define __INT8_FMTi__ "hhi" |
| // I386:#define __INT8_MAX__ 127 |
| // I386:#define __INT8_TYPE__ signed char |
| // I386:#define __INTMAX_C_SUFFIX__ LL |
| // I386:#define __INTMAX_FMTd__ "lld" |
| // I386:#define __INTMAX_FMTi__ "lli" |
| // I386:#define __INTMAX_MAX__ 9223372036854775807LL |
| // I386:#define __INTMAX_TYPE__ long long int |
| // I386:#define __INTMAX_WIDTH__ 64 |
| // I386:#define __INTPTR_FMTd__ "d" |
| // I386:#define __INTPTR_FMTi__ "i" |
| // I386:#define __INTPTR_MAX__ 2147483647 |
| // I386:#define __INTPTR_TYPE__ int |
| // I386:#define __INTPTR_WIDTH__ 32 |
| // I386:#define __INT_FAST16_FMTd__ "hd" |
| // I386:#define __INT_FAST16_FMTi__ "hi" |
| // I386:#define __INT_FAST16_MAX__ 32767 |
| // I386:#define __INT_FAST16_TYPE__ short |
| // I386:#define __INT_FAST32_FMTd__ "d" |
| // I386:#define __INT_FAST32_FMTi__ "i" |
| // I386:#define __INT_FAST32_MAX__ 2147483647 |
| // I386:#define __INT_FAST32_TYPE__ int |
| // I386:#define __INT_FAST64_FMTd__ "lld" |
| // I386:#define __INT_FAST64_FMTi__ "lli" |
| // I386:#define __INT_FAST64_MAX__ 9223372036854775807LL |
| // I386:#define __INT_FAST64_TYPE__ long long int |
| // I386:#define __INT_FAST8_FMTd__ "hhd" |
| // I386:#define __INT_FAST8_FMTi__ "hhi" |
| // I386:#define __INT_FAST8_MAX__ 127 |
| // I386:#define __INT_FAST8_TYPE__ signed char |
| // I386:#define __INT_LEAST16_FMTd__ "hd" |
| // I386:#define __INT_LEAST16_FMTi__ "hi" |
| // I386:#define __INT_LEAST16_MAX__ 32767 |
| // I386:#define __INT_LEAST16_TYPE__ short |
| // I386:#define __INT_LEAST32_FMTd__ "d" |
| // I386:#define __INT_LEAST32_FMTi__ "i" |
| // I386:#define __INT_LEAST32_MAX__ 2147483647 |
| // I386:#define __INT_LEAST32_TYPE__ int |
| // I386:#define __INT_LEAST64_FMTd__ "lld" |
| // I386:#define __INT_LEAST64_FMTi__ "lli" |
| // I386:#define __INT_LEAST64_MAX__ 9223372036854775807LL |
| // I386:#define __INT_LEAST64_TYPE__ long long int |
| // I386:#define __INT_LEAST8_FMTd__ "hhd" |
| // I386:#define __INT_LEAST8_FMTi__ "hhi" |
| // I386:#define __INT_LEAST8_MAX__ 127 |
| // I386:#define __INT_LEAST8_TYPE__ signed char |
| // I386:#define __INT_MAX__ 2147483647 |
| // I386:#define __LDBL_DENORM_MIN__ 3.64519953188247460253e-4951L |
| // I386:#define __LDBL_DIG__ 18 |
| // I386:#define __LDBL_EPSILON__ 1.08420217248550443401e-19L |
| // I386:#define __LDBL_HAS_DENORM__ 1 |
| // I386:#define __LDBL_HAS_INFINITY__ 1 |
| // I386:#define __LDBL_HAS_QUIET_NAN__ 1 |
| // I386:#define __LDBL_MANT_DIG__ 64 |
| // I386:#define __LDBL_MAX_10_EXP__ 4932 |
| // I386:#define __LDBL_MAX_EXP__ 16384 |
| // I386:#define __LDBL_MAX__ 1.18973149535723176502e+4932L |
| // I386:#define __LDBL_MIN_10_EXP__ (-4931) |
| // I386:#define __LDBL_MIN_EXP__ (-16381) |
| // I386:#define __LDBL_MIN__ 3.36210314311209350626e-4932L |
| // I386:#define __LITTLE_ENDIAN__ 1 |
| // I386:#define __LONG_LONG_MAX__ 9223372036854775807LL |
| // I386:#define __LONG_MAX__ 2147483647L |
| // I386-NOT:#define __LP64__ |
| // I386:#define __NO_MATH_INLINES 1 |
| // I386:#define __POINTER_WIDTH__ 32 |
| // I386:#define __PTRDIFF_TYPE__ int |
| // I386:#define __PTRDIFF_WIDTH__ 32 |
| // I386:#define __REGISTER_PREFIX__ |
| // I386:#define __SCHAR_MAX__ 127 |
| // I386:#define __SHRT_MAX__ 32767 |
| // I386:#define __SIG_ATOMIC_MAX__ 2147483647 |
| // I386:#define __SIG_ATOMIC_WIDTH__ 32 |
| // I386:#define __SIZEOF_DOUBLE__ 8 |
| // I386:#define __SIZEOF_FLOAT__ 4 |
| // I386:#define __SIZEOF_INT__ 4 |
| // I386:#define __SIZEOF_LONG_DOUBLE__ 12 |
| // I386:#define __SIZEOF_LONG_LONG__ 8 |
| // I386:#define __SIZEOF_LONG__ 4 |
| // I386:#define __SIZEOF_POINTER__ 4 |
| // I386:#define __SIZEOF_PTRDIFF_T__ 4 |
| // I386:#define __SIZEOF_SHORT__ 2 |
| // I386:#define __SIZEOF_SIZE_T__ 4 |
| // I386:#define __SIZEOF_WCHAR_T__ 4 |
| // I386:#define __SIZEOF_WINT_T__ 4 |
| // I386:#define __SIZE_MAX__ 4294967295U |
| // I386:#define __SIZE_TYPE__ unsigned int |
| // I386:#define __SIZE_WIDTH__ 32 |
| // I386:#define __UINT16_C_SUFFIX__ |
| // I386:#define __UINT16_MAX__ 65535 |
| // I386:#define __UINT16_TYPE__ unsigned short |
| // I386:#define __UINT32_C_SUFFIX__ U |
| // I386:#define __UINT32_MAX__ 4294967295U |
| // I386:#define __UINT32_TYPE__ unsigned int |
| // I386:#define __UINT64_C_SUFFIX__ ULL |
| // I386:#define __UINT64_MAX__ 18446744073709551615ULL |
| // I386:#define __UINT64_TYPE__ long long unsigned int |
| // I386:#define __UINT8_C_SUFFIX__ |
| // I386:#define __UINT8_MAX__ 255 |
| // I386:#define __UINT8_TYPE__ unsigned char |
| // I386:#define __UINTMAX_C_SUFFIX__ ULL |
| // I386:#define __UINTMAX_MAX__ 18446744073709551615ULL |
| // I386:#define __UINTMAX_TYPE__ long long unsigned int |
| // I386:#define __UINTMAX_WIDTH__ 64 |
| // I386:#define __UINTPTR_MAX__ 4294967295U |
| // I386:#define __UINTPTR_TYPE__ unsigned int |
| // I386:#define __UINTPTR_WIDTH__ 32 |
| // I386:#define __UINT_FAST16_MAX__ 65535 |
| // I386:#define __UINT_FAST16_TYPE__ unsigned short |
| // I386:#define __UINT_FAST32_MAX__ 4294967295U |
| // I386:#define __UINT_FAST32_TYPE__ unsigned int |
| // I386:#define __UINT_FAST64_MAX__ 18446744073709551615ULL |
| // I386:#define __UINT_FAST64_TYPE__ long long unsigned int |
| // I386:#define __UINT_FAST8_MAX__ 255 |
| // I386:#define __UINT_FAST8_TYPE__ unsigned char |
| // I386:#define __UINT_LEAST16_MAX__ 65535 |
| // I386:#define __UINT_LEAST16_TYPE__ unsigned short |
| // I386:#define __UINT_LEAST32_MAX__ 4294967295U |
| // I386:#define __UINT_LEAST32_TYPE__ unsigned int |
| // I386:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL |
| // I386:#define __UINT_LEAST64_TYPE__ long long unsigned int |
| // I386:#define __UINT_LEAST8_MAX__ 255 |
| // I386:#define __UINT_LEAST8_TYPE__ unsigned char |
| // I386:#define __USER_LABEL_PREFIX__ |
| // I386:#define __WCHAR_MAX__ 2147483647 |
| // I386:#define __WCHAR_TYPE__ int |
| // I386:#define __WCHAR_WIDTH__ 32 |
| // I386:#define __WINT_TYPE__ int |
| // I386:#define __WINT_WIDTH__ 32 |
| // I386:#define __i386 1 |
| // I386:#define __i386__ 1 |
| // I386:#define i386 1 |
| // |
| // RUN: %clang_cc1 -E -dM -ffreestanding -triple=i386-pc-linux-gnu -target-cpu pentium4 < /dev/null | FileCheck -match-full-lines -check-prefix I386-LINUX %s |
| // |
| // I386-LINUX-NOT:#define _LP64 |
| // I386-LINUX:#define __BIGGEST_ALIGNMENT__ 16 |
| // I386-LINUX:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__ |
| // I386-LINUX:#define __CHAR16_TYPE__ unsigned short |
| // I386-LINUX:#define __CHAR32_TYPE__ unsigned int |
| // I386-LINUX:#define __CHAR_BIT__ 8 |
| // I386-LINUX:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324 |
| // I386-LINUX:#define __DBL_DIG__ 15 |
| // I386-LINUX:#define __DBL_EPSILON__ 2.2204460492503131e-16 |
| // I386-LINUX:#define __DBL_HAS_DENORM__ 1 |
| // I386-LINUX:#define __DBL_HAS_INFINITY__ 1 |
| // I386-LINUX:#define __DBL_HAS_QUIET_NAN__ 1 |
| // I386-LINUX:#define __DBL_MANT_DIG__ 53 |
| // I386-LINUX:#define __DBL_MAX_10_EXP__ 308 |
| // I386-LINUX:#define __DBL_MAX_EXP__ 1024 |
| // I386-LINUX:#define __DBL_MAX__ 1.7976931348623157e+308 |
| // I386-LINUX:#define __DBL_MIN_10_EXP__ (-307) |
| // I386-LINUX:#define __DBL_MIN_EXP__ (-1021) |
| // I386-LINUX:#define __DBL_MIN__ 2.2250738585072014e-308 |
| // I386-LINUX:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__ |
| // I386-LINUX:#define __FLT_DENORM_MIN__ 1.40129846e-45F |
| // I386-LINUX:#define __FLT_DIG__ 6 |
| // I386-LINUX:#define __FLT_EPSILON__ 1.19209290e-7F |
| // I386-LINUX:#define __FLT_EVAL_METHOD__ 0 |
| // I386-LINUX:#define __FLT_HAS_DENORM__ 1 |
| // I386-LINUX:#define __FLT_HAS_INFINITY__ 1 |
| // I386-LINUX:#define __FLT_HAS_QUIET_NAN__ 1 |
| // I386-LINUX:#define __FLT_MANT_DIG__ 24 |
| // I386-LINUX:#define __FLT_MAX_10_EXP__ 38 |
| // I386-LINUX:#define __FLT_MAX_EXP__ 128 |
| // I386-LINUX:#define __FLT_MAX__ 3.40282347e+38F |
| // I386-LINUX:#define __FLT_MIN_10_EXP__ (-37) |
| // I386-LINUX:#define __FLT_MIN_EXP__ (-125) |
| // I386-LINUX:#define __FLT_MIN__ 1.17549435e-38F |
| // I386-LINUX:#define __FLT_RADIX__ 2 |
| // I386-LINUX:#define __INT16_C_SUFFIX__ |
| // I386-LINUX:#define __INT16_FMTd__ "hd" |
| // I386-LINUX:#define __INT16_FMTi__ "hi" |
| // I386-LINUX:#define __INT16_MAX__ 32767 |
| // I386-LINUX:#define __INT16_TYPE__ short |
| // I386-LINUX:#define __INT32_C_SUFFIX__ |
| // I386-LINUX:#define __INT32_FMTd__ "d" |
| // I386-LINUX:#define __INT32_FMTi__ "i" |
| // I386-LINUX:#define __INT32_MAX__ 2147483647 |
| // I386-LINUX:#define __INT32_TYPE__ int |
| // I386-LINUX:#define __INT64_C_SUFFIX__ LL |
| // I386-LINUX:#define __INT64_FMTd__ "lld" |
| // I386-LINUX:#define __INT64_FMTi__ "lli" |
| // I386-LINUX:#define __INT64_MAX__ 9223372036854775807LL |
| // I386-LINUX:#define __INT64_TYPE__ long long int |
| // I386-LINUX:#define __INT8_C_SUFFIX__ |
| // I386-LINUX:#define __INT8_FMTd__ "hhd" |
| // I386-LINUX:#define __INT8_FMTi__ "hhi" |
| // I386-LINUX:#define __INT8_MAX__ 127 |
| // I386-LINUX:#define __INT8_TYPE__ signed char |
| // I386-LINUX:#define __INTMAX_C_SUFFIX__ LL |
| // I386-LINUX:#define __INTMAX_FMTd__ "lld" |
| // I386-LINUX:#define __INTMAX_FMTi__ "lli" |
| // I386-LINUX:#define __INTMAX_MAX__ 9223372036854775807LL |
| // I386-LINUX:#define __INTMAX_TYPE__ long long int |
| // I386-LINUX:#define __INTMAX_WIDTH__ 64 |
| // I386-LINUX:#define __INTPTR_FMTd__ "d" |
| // I386-LINUX:#define __INTPTR_FMTi__ "i" |
| // I386-LINUX:#define __INTPTR_MAX__ 2147483647 |
| // I386-LINUX:#define __INTPTR_TYPE__ int |
| // I386-LINUX:#define __INTPTR_WIDTH__ 32 |
| // I386-LINUX:#define __INT_FAST16_FMTd__ "hd" |
| // I386-LINUX:#define __INT_FAST16_FMTi__ "hi" |
| // I386-LINUX:#define __INT_FAST16_MAX__ 32767 |
| // I386-LINUX:#define __INT_FAST16_TYPE__ short |
| // I386-LINUX:#define __INT_FAST32_FMTd__ "d" |
| // I386-LINUX:#define __INT_FAST32_FMTi__ "i" |
| // I386-LINUX:#define __INT_FAST32_MAX__ 2147483647 |
| // I386-LINUX:#define __INT_FAST32_TYPE__ int |
| // I386-LINUX:#define __INT_FAST64_FMTd__ "lld" |
| // I386-LINUX:#define __INT_FAST64_FMTi__ "lli" |
| // I386-LINUX:#define __INT_FAST64_MAX__ 9223372036854775807LL |
| // I386-LINUX:#define __INT_FAST64_TYPE__ long long int |
| // I386-LINUX:#define __INT_FAST8_FMTd__ "hhd" |
| // I386-LINUX:#define __INT_FAST8_FMTi__ "hhi" |
| // I386-LINUX:#define __INT_FAST8_MAX__ 127 |
| // I386-LINUX:#define __INT_FAST8_TYPE__ signed char |
| // I386-LINUX:#define __INT_LEAST16_FMTd__ "hd" |
| // I386-LINUX:#define __INT_LEAST16_FMTi__ "hi" |
| // I386-LINUX:#define __INT_LEAST16_MAX__ 32767 |
| // I386-LINUX:#define __INT_LEAST16_TYPE__ short |
| // I386-LINUX:#define __INT_LEAST32_FMTd__ "d" |
| // I386-LINUX:#define __INT_LEAST32_FMTi__ "i" |
| // I386-LINUX:#define __INT_LEAST32_MAX__ 2147483647 |
| // I386-LINUX:#define __INT_LEAST32_TYPE__ int |
| // I386-LINUX:#define __INT_LEAST64_FMTd__ "lld" |
| // I386-LINUX:#define __INT_LEAST64_FMTi__ "lli" |
| // I386-LINUX:#define __INT_LEAST64_MAX__ 9223372036854775807LL |
| // I386-LINUX:#define __INT_LEAST64_TYPE__ long long int |
| // I386-LINUX:#define __INT_LEAST8_FMTd__ "hhd" |
| // I386-LINUX:#define __INT_LEAST8_FMTi__ "hhi" |
| // I386-LINUX:#define __INT_LEAST8_MAX__ 127 |
| // I386-LINUX:#define __INT_LEAST8_TYPE__ signed char |
| // I386-LINUX:#define __INT_MAX__ 2147483647 |
| // I386-LINUX:#define __LDBL_DENORM_MIN__ 3.64519953188247460253e-4951L |
| // I386-LINUX:#define __LDBL_DIG__ 18 |
| // I386-LINUX:#define __LDBL_EPSILON__ 1.08420217248550443401e-19L |
| // I386-LINUX:#define __LDBL_HAS_DENORM__ 1 |
| // I386-LINUX:#define __LDBL_HAS_INFINITY__ 1 |
| // I386-LINUX:#define __LDBL_HAS_QUIET_NAN__ 1 |
| // I386-LINUX:#define __LDBL_MANT_DIG__ 64 |
| // I386-LINUX:#define __LDBL_MAX_10_EXP__ 4932 |
| // I386-LINUX:#define __LDBL_MAX_EXP__ 16384 |
| // I386-LINUX:#define __LDBL_MAX__ 1.18973149535723176502e+4932L |
| // I386-LINUX:#define __LDBL_MIN_10_EXP__ (-4931) |
| // I386-LINUX:#define __LDBL_MIN_EXP__ (-16381) |
| // I386-LINUX:#define __LDBL_MIN__ 3.36210314311209350626e-4932L |
| // I386-LINUX:#define __LITTLE_ENDIAN__ 1 |
| // I386-LINUX:#define __LONG_LONG_MAX__ 9223372036854775807LL |
| // I386-LINUX:#define __LONG_MAX__ 2147483647L |
| // I386-LINUX-NOT:#define __LP64__ |
| // I386-LINUX:#define __NO_MATH_INLINES 1 |
| // I386-LINUX:#define __POINTER_WIDTH__ 32 |
| // I386-LINUX:#define __PTRDIFF_TYPE__ int |
| // I386-LINUX:#define __PTRDIFF_WIDTH__ 32 |
| // I386-LINUX:#define __REGISTER_PREFIX__ |
| // I386-LINUX:#define __SCHAR_MAX__ 127 |
| // I386-LINUX:#define __SHRT_MAX__ 32767 |
| // I386-LINUX:#define __SIG_ATOMIC_MAX__ 2147483647 |
| // I386-LINUX:#define __SIG_ATOMIC_WIDTH__ 32 |
| // I386-LINUX:#define __SIZEOF_DOUBLE__ 8 |
| // I386-LINUX:#define __SIZEOF_FLOAT__ 4 |
| // I386-LINUX:#define __SIZEOF_INT__ 4 |
| // I386-LINUX:#define __SIZEOF_LONG_DOUBLE__ 12 |
| // I386-LINUX:#define __SIZEOF_LONG_LONG__ 8 |
| // I386-LINUX:#define __SIZEOF_LONG__ 4 |
| // I386-LINUX:#define __SIZEOF_POINTER__ 4 |
| // I386-LINUX:#define __SIZEOF_PTRDIFF_T__ 4 |
| // I386-LINUX:#define __SIZEOF_SHORT__ 2 |
| // I386-LINUX:#define __SIZEOF_SIZE_T__ 4 |
| // I386-LINUX:#define __SIZEOF_WCHAR_T__ 4 |
| // I386-LINUX:#define __SIZEOF_WINT_T__ 4 |
| // I386-LINUX:#define __SIZE_MAX__ 4294967295U |
| // I386-LINUX:#define __SIZE_TYPE__ unsigned int |
| // I386-LINUX:#define __SIZE_WIDTH__ 32 |
| // I386-LINUX:#define __UINT16_C_SUFFIX__ |
| // I386-LINUX:#define __UINT16_MAX__ 65535 |
| // I386-LINUX:#define __UINT16_TYPE__ unsigned short |
| // I386-LINUX:#define __UINT32_C_SUFFIX__ U |
| // I386-LINUX:#define __UINT32_MAX__ 4294967295U |
| // I386-LINUX:#define __UINT32_TYPE__ unsigned int |
| // I386-LINUX:#define __UINT64_C_SUFFIX__ ULL |
| // I386-LINUX:#define __UINT64_MAX__ 18446744073709551615ULL |
| // I386-LINUX:#define __UINT64_TYPE__ long long unsigned int |
| // I386-LINUX:#define __UINT8_C_SUFFIX__ |
| // I386-LINUX:#define __UINT8_MAX__ 255 |
| // I386-LINUX:#define __UINT8_TYPE__ unsigned char |
| // I386-LINUX:#define __UINTMAX_C_SUFFIX__ ULL |
| // I386-LINUX:#define __UINTMAX_MAX__ 18446744073709551615ULL |
| // I386-LINUX:#define __UINTMAX_TYPE__ long long unsigned int |
| // I386-LINUX:#define __UINTMAX_WIDTH__ 64 |
| // I386-LINUX:#define __UINTPTR_MAX__ 4294967295U |
| // I386-LINUX:#define __UINTPTR_TYPE__ unsigned int |
| // I386-LINUX:#define __UINTPTR_WIDTH__ 32 |
| // I386-LINUX:#define __UINT_FAST16_MAX__ 65535 |
| // I386-LINUX:#define __UINT_FAST16_TYPE__ unsigned short |
| // I386-LINUX:#define __UINT_FAST32_MAX__ 4294967295U |
| // I386-LINUX:#define __UINT_FAST32_TYPE__ unsigned int |
| // I386-LINUX:#define __UINT_FAST64_MAX__ 18446744073709551615ULL |
| // I386-LINUX:#define __UINT_FAST64_TYPE__ long long unsigned int |
| // I386-LINUX:#define __UINT_FAST8_MAX__ 255 |
| // I386-LINUX:#define __UINT_FAST8_TYPE__ unsigned char |
| // I386-LINUX:#define __UINT_LEAST16_MAX__ 65535 |
| // I386-LINUX:#define __UINT_LEAST16_TYPE__ unsigned short |
| // I386-LINUX:#define __UINT_LEAST32_MAX__ 4294967295U |
| // I386-LINUX:#define __UINT_LEAST32_TYPE__ unsigned int |
| // I386-LINUX:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL |
| // I386-LINUX:#define __UINT_LEAST64_TYPE__ long long unsigned int |
| // I386-LINUX:#define __UINT_LEAST8_MAX__ 255 |
| // I386-LINUX:#define __UINT_LEAST8_TYPE__ unsigned char |
| // I386-LINUX:#define __USER_LABEL_PREFIX__ |
| // I386-LINUX:#define __WCHAR_MAX__ 2147483647 |
| // I386-LINUX:#define __WCHAR_TYPE__ int |
| // I386-LINUX:#define __WCHAR_WIDTH__ 32 |
| // I386-LINUX:#define __WINT_TYPE__ unsigned int |
| // I386-LINUX:#define __WINT_WIDTH__ 32 |
| // I386-LINUX:#define __i386 1 |
| // I386-LINUX:#define __i386__ 1 |
| // I386-LINUX:#define i386 1 |
| // |
| // RUN: %clang_cc1 -E -dM -ffreestanding -triple=i386-netbsd < /dev/null | FileCheck -match-full-lines -check-prefix I386-NETBSD %s |
| // |
| // I386-NETBSD-NOT:#define _LP64 |
| // I386-NETBSD:#define __BIGGEST_ALIGNMENT__ 16 |
| // I386-NETBSD:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__ |
| // I386-NETBSD:#define __CHAR16_TYPE__ unsigned short |
| // I386-NETBSD:#define __CHAR32_TYPE__ unsigned int |
| // I386-NETBSD:#define __CHAR_BIT__ 8 |
| // I386-NETBSD:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324 |
| // I386-NETBSD:#define __DBL_DIG__ 15 |
| // I386-NETBSD:#define __DBL_EPSILON__ 2.2204460492503131e-16 |
| // I386-NETBSD:#define __DBL_HAS_DENORM__ 1 |
| // I386-NETBSD:#define __DBL_HAS_INFINITY__ 1 |
| // I386-NETBSD:#define __DBL_HAS_QUIET_NAN__ 1 |
| // I386-NETBSD:#define __DBL_MANT_DIG__ 53 |
| // I386-NETBSD:#define __DBL_MAX_10_EXP__ 308 |
| // I386-NETBSD:#define __DBL_MAX_EXP__ 1024 |
| // I386-NETBSD:#define __DBL_MAX__ 1.7976931348623157e+308 |
| // I386-NETBSD:#define __DBL_MIN_10_EXP__ (-307) |
| // I386-NETBSD:#define __DBL_MIN_EXP__ (-1021) |
| // I386-NETBSD:#define __DBL_MIN__ 2.2250738585072014e-308 |
| // I386-NETBSD:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__ |
| // I386-NETBSD:#define __FLT_DENORM_MIN__ 1.40129846e-45F |
| // I386-NETBSD:#define __FLT_DIG__ 6 |
| // I386-NETBSD:#define __FLT_EPSILON__ 1.19209290e-7F |
| // I386-NETBSD:#define __FLT_EVAL_METHOD__ 2 |
| // I386-NETBSD:#define __FLT_HAS_DENORM__ 1 |
| // I386-NETBSD:#define __FLT_HAS_INFINITY__ 1 |
| // I386-NETBSD:#define __FLT_HAS_QUIET_NAN__ 1 |
| // I386-NETBSD:#define __FLT_MANT_DIG__ 24 |
| // I386-NETBSD:#define __FLT_MAX_10_EXP__ 38 |
| // I386-NETBSD:#define __FLT_MAX_EXP__ 128 |
| // I386-NETBSD:#define __FLT_MAX__ 3.40282347e+38F |
| // I386-NETBSD:#define __FLT_MIN_10_EXP__ (-37) |
| // I386-NETBSD:#define __FLT_MIN_EXP__ (-125) |
| // I386-NETBSD:#define __FLT_MIN__ 1.17549435e-38F |
| // I386-NETBSD:#define __FLT_RADIX__ 2 |
| // I386-NETBSD:#define __INT16_C_SUFFIX__ |
| // I386-NETBSD:#define __INT16_FMTd__ "hd" |
| // I386-NETBSD:#define __INT16_FMTi__ "hi" |
| // I386-NETBSD:#define __INT16_MAX__ 32767 |
| // I386-NETBSD:#define __INT16_TYPE__ short |
| // I386-NETBSD:#define __INT32_C_SUFFIX__ |
| // I386-NETBSD:#define __INT32_FMTd__ "d" |
| // I386-NETBSD:#define __INT32_FMTi__ "i" |
| // I386-NETBSD:#define __INT32_MAX__ 2147483647 |
| // I386-NETBSD:#define __INT32_TYPE__ int |
| // I386-NETBSD:#define __INT64_C_SUFFIX__ LL |
| // I386-NETBSD:#define __INT64_FMTd__ "lld" |
| // I386-NETBSD:#define __INT64_FMTi__ "lli" |
| // I386-NETBSD:#define __INT64_MAX__ 9223372036854775807LL |
| // I386-NETBSD:#define __INT64_TYPE__ long long int |
| // I386-NETBSD:#define __INT8_C_SUFFIX__ |
| // I386-NETBSD:#define __INT8_FMTd__ "hhd" |
| // I386-NETBSD:#define __INT8_FMTi__ "hhi" |
| // I386-NETBSD:#define __INT8_MAX__ 127 |
| // I386-NETBSD:#define __INT8_TYPE__ signed char |
| // I386-NETBSD:#define __INTMAX_C_SUFFIX__ LL |
| // I386-NETBSD:#define __INTMAX_FMTd__ "lld" |
| // I386-NETBSD:#define __INTMAX_FMTi__ "lli" |
| // I386-NETBSD:#define __INTMAX_MAX__ 9223372036854775807LL |
| // I386-NETBSD:#define __INTMAX_TYPE__ long long int |
| // I386-NETBSD:#define __INTMAX_WIDTH__ 64 |
| // I386-NETBSD:#define __INTPTR_FMTd__ "d" |
| // I386-NETBSD:#define __INTPTR_FMTi__ "i" |
| // I386-NETBSD:#define __INTPTR_MAX__ 2147483647 |
| // I386-NETBSD:#define __INTPTR_TYPE__ int |
| // I386-NETBSD:#define __INTPTR_WIDTH__ 32 |
| // I386-NETBSD:#define __INT_FAST16_FMTd__ "hd" |
| // I386-NETBSD:#define __INT_FAST16_FMTi__ "hi" |
| // I386-NETBSD:#define __INT_FAST16_MAX__ 32767 |
| // I386-NETBSD:#define __INT_FAST16_TYPE__ short |
| // I386-NETBSD:#define __INT_FAST32_FMTd__ "d" |
| // I386-NETBSD:#define __INT_FAST32_FMTi__ "i" |
| // I386-NETBSD:#define __INT_FAST32_MAX__ 2147483647 |
| // I386-NETBSD:#define __INT_FAST32_TYPE__ int |
| // I386-NETBSD:#define __INT_FAST64_FMTd__ "lld" |
| // I386-NETBSD:#define __INT_FAST64_FMTi__ "lli" |
| // I386-NETBSD:#define __INT_FAST64_MAX__ 9223372036854775807LL |
| // I386-NETBSD:#define __INT_FAST64_TYPE__ long long int |
| // I386-NETBSD:#define __INT_FAST8_FMTd__ "hhd" |
| // I386-NETBSD:#define __INT_FAST8_FMTi__ "hhi" |
| // I386-NETBSD:#define __INT_FAST8_MAX__ 127 |
| // I386-NETBSD:#define __INT_FAST8_TYPE__ signed char |
| // I386-NETBSD:#define __INT_LEAST16_FMTd__ "hd" |
| // I386-NETBSD:#define __INT_LEAST16_FMTi__ "hi" |
| // I386-NETBSD:#define __INT_LEAST16_MAX__ 32767 |
| // I386-NETBSD:#define __INT_LEAST16_TYPE__ short |
| // I386-NETBSD:#define __INT_LEAST32_FMTd__ "d" |
| // I386-NETBSD:#define __INT_LEAST32_FMTi__ "i" |
| // I386-NETBSD:#define __INT_LEAST32_MAX__ 2147483647 |
| // I386-NETBSD:#define __INT_LEAST32_TYPE__ int |
| // I386-NETBSD:#define __INT_LEAST64_FMTd__ "lld" |
| // I386-NETBSD:#define __INT_LEAST64_FMTi__ "lli" |
| // I386-NETBSD:#define __INT_LEAST64_MAX__ 9223372036854775807LL |
| // I386-NETBSD:#define __INT_LEAST64_TYPE__ long long int |
| // I386-NETBSD:#define __INT_LEAST8_FMTd__ "hhd" |
| // I386-NETBSD:#define __INT_LEAST8_FMTi__ "hhi" |
| // I386-NETBSD:#define __INT_LEAST8_MAX__ 127 |
| // I386-NETBSD:#define __INT_LEAST8_TYPE__ signed char |
| // I386-NETBSD:#define __INT_MAX__ 2147483647 |
| // I386-NETBSD:#define __LDBL_DENORM_MIN__ 3.64519953188247460253e-4951L |
| // I386-NETBSD:#define __LDBL_DIG__ 18 |
| // I386-NETBSD:#define __LDBL_EPSILON__ 1.08420217248550443401e-19L |
| // I386-NETBSD:#define __LDBL_HAS_DENORM__ 1 |
| // I386-NETBSD:#define __LDBL_HAS_INFINITY__ 1 |
| // I386-NETBSD:#define __LDBL_HAS_QUIET_NAN__ 1 |
| // I386-NETBSD:#define __LDBL_MANT_DIG__ 64 |
| // I386-NETBSD:#define __LDBL_MAX_10_EXP__ 4932 |
| // I386-NETBSD:#define __LDBL_MAX_EXP__ 16384 |
| // I386-NETBSD:#define __LDBL_MAX__ 1.18973149535723176502e+4932L |
| // I386-NETBSD:#define __LDBL_MIN_10_EXP__ (-4931) |
| // I386-NETBSD:#define __LDBL_MIN_EXP__ (-16381) |
| // I386-NETBSD:#define __LDBL_MIN__ 3.36210314311209350626e-4932L |
| // I386-NETBSD:#define __LITTLE_ENDIAN__ 1 |
| // I386-NETBSD:#define __LONG_LONG_MAX__ 9223372036854775807LL |
| // I386-NETBSD:#define __LONG_MAX__ 2147483647L |
| // I386-NETBSD-NOT:#define __LP64__ |
| // I386-NETBSD:#define __NO_MATH_INLINES 1 |
| // I386-NETBSD:#define __POINTER_WIDTH__ 32 |
| // I386-NETBSD:#define __PTRDIFF_TYPE__ int |
| // I386-NETBSD:#define __PTRDIFF_WIDTH__ 32 |
| // I386-NETBSD:#define __REGISTER_PREFIX__ |
| // I386-NETBSD:#define __SCHAR_MAX__ 127 |
| // I386-NETBSD:#define __SHRT_MAX__ 32767 |
| // I386-NETBSD:#define __SIG_ATOMIC_MAX__ 2147483647 |
| // I386-NETBSD:#define __SIG_ATOMIC_WIDTH__ 32 |
| // I386-NETBSD:#define __SIZEOF_DOUBLE__ 8 |
| // I386-NETBSD:#define __SIZEOF_FLOAT__ 4 |
| // I386-NETBSD:#define __SIZEOF_INT__ 4 |
| // I386-NETBSD:#define __SIZEOF_LONG_DOUBLE__ 12 |
| // I386-NETBSD:#define __SIZEOF_LONG_LONG__ 8 |
| // I386-NETBSD:#define __SIZEOF_LONG__ 4 |
| // I386-NETBSD:#define __SIZEOF_POINTER__ 4 |
| // I386-NETBSD:#define __SIZEOF_PTRDIFF_T__ 4 |
| // I386-NETBSD:#define __SIZEOF_SHORT__ 2 |
| // I386-NETBSD:#define __SIZEOF_SIZE_T__ 4 |
| // I386-NETBSD:#define __SIZEOF_WCHAR_T__ 4 |
| // I386-NETBSD:#define __SIZEOF_WINT_T__ 4 |
| // I386-NETBSD:#define __SIZE_MAX__ 4294967295U |
| // I386-NETBSD:#define __SIZE_TYPE__ unsigned int |
| // I386-NETBSD:#define __SIZE_WIDTH__ 32 |
| // I386-NETBSD:#define __UINT16_C_SUFFIX__ |
| // I386-NETBSD:#define __UINT16_MAX__ 65535 |
| // I386-NETBSD:#define __UINT16_TYPE__ unsigned short |
| // I386-NETBSD:#define __UINT32_C_SUFFIX__ U |
| // I386-NETBSD:#define __UINT32_MAX__ 4294967295U |
| // I386-NETBSD:#define __UINT32_TYPE__ unsigned int |
| // I386-NETBSD:#define __UINT64_C_SUFFIX__ ULL |
| // I386-NETBSD:#define __UINT64_MAX__ 18446744073709551615ULL |
| // I386-NETBSD:#define __UINT64_TYPE__ long long unsigned int |
| // I386-NETBSD:#define __UINT8_C_SUFFIX__ |
| // I386-NETBSD:#define __UINT8_MAX__ 255 |
| // I386-NETBSD:#define __UINT8_TYPE__ unsigned char |
| // I386-NETBSD:#define __UINTMAX_C_SUFFIX__ ULL |
| // I386-NETBSD:#define __UINTMAX_MAX__ 18446744073709551615ULL |
| // I386-NETBSD:#define __UINTMAX_TYPE__ long long unsigned int |
| // I386-NETBSD:#define __UINTMAX_WIDTH__ 64 |
| // I386-NETBSD:#define __UINTPTR_MAX__ 4294967295U |
| // I386-NETBSD:#define __UINTPTR_TYPE__ unsigned int |
| // I386-NETBSD:#define __UINTPTR_WIDTH__ 32 |
| // I386-NETBSD:#define __UINT_FAST16_MAX__ 65535 |
| // I386-NETBSD:#define __UINT_FAST16_TYPE__ unsigned short |
| // I386-NETBSD:#define __UINT_FAST32_MAX__ 4294967295U |
| // I386-NETBSD:#define __UINT_FAST32_TYPE__ unsigned int |
| // I386-NETBSD:#define __UINT_FAST64_MAX__ 18446744073709551615ULL |
| // I386-NETBSD:#define __UINT_FAST64_TYPE__ long long unsigned int |
| // I386-NETBSD:#define __UINT_FAST8_MAX__ 255 |
| // I386-NETBSD:#define __UINT_FAST8_TYPE__ unsigned char |
| // I386-NETBSD:#define __UINT_LEAST16_MAX__ 65535 |
| // I386-NETBSD:#define __UINT_LEAST16_TYPE__ unsigned short |
| // I386-NETBSD:#define __UINT_LEAST32_MAX__ 4294967295U |
| // I386-NETBSD:#define __UINT_LEAST32_TYPE__ unsigned int |
| // I386-NETBSD:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL |
| // I386-NETBSD:#define __UINT_LEAST64_TYPE__ long long unsigned int |
| // I386-NETBSD:#define __UINT_LEAST8_MAX__ 255 |
| // I386-NETBSD:#define __UINT_LEAST8_TYPE__ unsigned char |
| // I386-NETBSD:#define __USER_LABEL_PREFIX__ |
| // I386-NETBSD:#define __WCHAR_MAX__ 2147483647 |
| // I386-NETBSD:#define __WCHAR_TYPE__ int |
| // I386-NETBSD:#define __WCHAR_WIDTH__ 32 |
| // I386-NETBSD:#define __WINT_TYPE__ int |
| // I386-NETBSD:#define __WINT_WIDTH__ 32 |
| // I386-NETBSD:#define __i386 1 |
| // I386-NETBSD:#define __i386__ 1 |
| // I386-NETBSD:#define i386 1 |
| // |
| // RUN: %clang_cc1 -E -dM -ffreestanding -triple=i386-netbsd -target-feature +sse2 < /dev/null | FileCheck -match-full-lines -check-prefix I386-NETBSD-SSE %s |
| // I386-NETBSD-SSE:#define __FLT_EVAL_METHOD__ 0 |
| // RUN: %clang_cc1 -E -dM -ffreestanding -triple=i386-netbsd6 < /dev/null | FileCheck -match-full-lines -check-prefix I386-NETBSD6 %s |
| // I386-NETBSD6:#define __FLT_EVAL_METHOD__ 1 |
| // RUN: %clang_cc1 -E -dM -ffreestanding -triple=i386-netbsd6 -target-feature +sse2 < /dev/null | FileCheck -match-full-lines -check-prefix I386-NETBSD6-SSE %s |
| // I386-NETBSD6-SSE:#define __FLT_EVAL_METHOD__ 1 |
| |
| // RUN: %clang_cc1 -E -dM -triple=i686-pc-mingw32 < /dev/null | FileCheck -match-full-lines -check-prefix I386-DECLSPEC %s |
| // RUN: %clang_cc1 -E -dM -fms-extensions -triple=i686-pc-mingw32 < /dev/null | FileCheck -match-full-lines -check-prefix I386-DECLSPEC %s |
| // RUN: %clang_cc1 -E -dM -triple=i686-unknown-cygwin < /dev/null | FileCheck -match-full-lines -check-prefix I386-DECLSPEC %s |
| // RUN: %clang_cc1 -E -dM -fms-extensions -triple=i686-unknown-cygwin < /dev/null | FileCheck -match-full-lines -check-prefix I386-DECLSPEC %s |
| // I386-DECLSPEC: #define __declspec{{.*}} |
| |
| // |
| // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mips-none-none < /dev/null | FileCheck -match-full-lines -check-prefix MIPS32BE %s |
| // |
| // MIPS32BE:#define MIPSEB 1 |
| // MIPS32BE:#define _ABIO32 1 |
| // MIPS32BE-NOT:#define _LP64 |
| // MIPS32BE:#define _MIPSEB 1 |
| // MIPS32BE:#define _MIPS_ARCH "mips32r2" |
| // MIPS32BE:#define _MIPS_ARCH_MIPS32R2 1 |
| // MIPS32BE:#define _MIPS_FPSET 16 |
| // MIPS32BE:#define _MIPS_SIM _ABIO32 |
| // MIPS32BE:#define _MIPS_SZINT 32 |
| // MIPS32BE:#define _MIPS_SZLONG 32 |
| // MIPS32BE:#define _MIPS_SZPTR 32 |
| // MIPS32BE:#define __BIGGEST_ALIGNMENT__ 8 |
| // MIPS32BE:#define __BIG_ENDIAN__ 1 |
| // MIPS32BE:#define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__ |
| // MIPS32BE:#define __CHAR16_TYPE__ unsigned short |
| // MIPS32BE:#define __CHAR32_TYPE__ unsigned int |
| // MIPS32BE:#define __CHAR_BIT__ 8 |
| // MIPS32BE:#define __CONSTANT_CFSTRINGS__ 1 |
| // MIPS32BE:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324 |
| // MIPS32BE:#define __DBL_DIG__ 15 |
| // MIPS32BE:#define __DBL_EPSILON__ 2.2204460492503131e-16 |
| // MIPS32BE:#define __DBL_HAS_DENORM__ 1 |
| // MIPS32BE:#define __DBL_HAS_INFINITY__ 1 |
| // MIPS32BE:#define __DBL_HAS_QUIET_NAN__ 1 |
| // MIPS32BE:#define __DBL_MANT_DIG__ 53 |
| // MIPS32BE:#define __DBL_MAX_10_EXP__ 308 |
| // MIPS32BE:#define __DBL_MAX_EXP__ 1024 |
| // MIPS32BE:#define __DBL_MAX__ 1.7976931348623157e+308 |
| // MIPS32BE:#define __DBL_MIN_10_EXP__ (-307) |
| // MIPS32BE:#define __DBL_MIN_EXP__ (-1021) |
| // MIPS32BE:#define __DBL_MIN__ 2.2250738585072014e-308 |
| // MIPS32BE:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__ |
| // MIPS32BE:#define __FLT_DENORM_MIN__ 1.40129846e-45F |
| // MIPS32BE:#define __FLT_DIG__ 6 |
| // MIPS32BE:#define __FLT_EPSILON__ 1.19209290e-7F |
| // MIPS32BE:#define __FLT_EVAL_METHOD__ 0 |
| // MIPS32BE:#define __FLT_HAS_DENORM__ 1 |
| // MIPS32BE:#define __FLT_HAS_INFINITY__ 1 |
| // MIPS32BE:#define __FLT_HAS_QUIET_NAN__ 1 |
| // MIPS32BE:#define __FLT_MANT_DIG__ 24 |
| // MIPS32BE:#define __FLT_MAX_10_EXP__ 38 |
| // MIPS32BE:#define __FLT_MAX_EXP__ 128 |
| // MIPS32BE:#define __FLT_MAX__ 3.40282347e+38F |
| // MIPS32BE:#define __FLT_MIN_10_EXP__ (-37) |
| // MIPS32BE:#define __FLT_MIN_EXP__ (-125) |
| // MIPS32BE:#define __FLT_MIN__ 1.17549435e-38F |
| // MIPS32BE:#define __FLT_RADIX__ 2 |
| // MIPS32BE:#define __INT16_C_SUFFIX__ |
| // MIPS32BE:#define __INT16_FMTd__ "hd" |
| // MIPS32BE:#define __INT16_FMTi__ "hi" |
| // MIPS32BE:#define __INT16_MAX__ 32767 |
| // MIPS32BE:#define __INT16_TYPE__ short |
| // MIPS32BE:#define __INT32_C_SUFFIX__ |
| // MIPS32BE:#define __INT32_FMTd__ "d" |
| // MIPS32BE:#define __INT32_FMTi__ "i" |
| // MIPS32BE:#define __INT32_MAX__ 2147483647 |
| // MIPS32BE:#define __INT32_TYPE__ int |
| // MIPS32BE:#define __INT64_C_SUFFIX__ LL |
| // MIPS32BE:#define __INT64_FMTd__ "lld" |
| // MIPS32BE:#define __INT64_FMTi__ "lli" |
| // MIPS32BE:#define __INT64_MAX__ 9223372036854775807LL |
| // MIPS32BE:#define __INT64_TYPE__ long long int |
| // MIPS32BE:#define __INT8_C_SUFFIX__ |
| // MIPS32BE:#define __INT8_FMTd__ "hhd" |
| // MIPS32BE:#define __INT8_FMTi__ "hhi" |
| // MIPS32BE:#define __INT8_MAX__ 127 |
| // MIPS32BE:#define __INT8_TYPE__ signed char |
| // MIPS32BE:#define __INTMAX_C_SUFFIX__ LL |
| // MIPS32BE:#define __INTMAX_FMTd__ "lld" |
| // MIPS32BE:#define __INTMAX_FMTi__ "lli" |
| // MIPS32BE:#define __INTMAX_MAX__ 9223372036854775807LL |
| // MIPS32BE:#define __INTMAX_TYPE__ long long int |
| // MIPS32BE:#define __INTMAX_WIDTH__ 64 |
| // MIPS32BE:#define __INTPTR_FMTd__ "ld" |
| // MIPS32BE:#define __INTPTR_FMTi__ "li" |
| // MIPS32BE:#define __INTPTR_MAX__ 2147483647L |
| // MIPS32BE:#define __INTPTR_TYPE__ long int |
| // MIPS32BE:#define __INTPTR_WIDTH__ 32 |
| // MIPS32BE:#define __INT_FAST16_FMTd__ "hd" |
| // MIPS32BE:#define __INT_FAST16_FMTi__ "hi" |
| // MIPS32BE:#define __INT_FAST16_MAX__ 32767 |
| // MIPS32BE:#define __INT_FAST16_TYPE__ short |
| // MIPS32BE:#define __INT_FAST32_FMTd__ "d" |
| // MIPS32BE:#define __INT_FAST32_FMTi__ "i" |
| // MIPS32BE:#define __INT_FAST32_MAX__ 2147483647 |
| // MIPS32BE:#define __INT_FAST32_TYPE__ int |
| // MIPS32BE:#define __INT_FAST64_FMTd__ "lld" |
| // MIPS32BE:#define __INT_FAST64_FMTi__ "lli" |
| // MIPS32BE:#define __INT_FAST64_MAX__ 9223372036854775807LL |
| // MIPS32BE:#define __INT_FAST64_TYPE__ long long int |
| // MIPS32BE:#define __INT_FAST8_FMTd__ "hhd" |
| // MIPS32BE:#define __INT_FAST8_FMTi__ "hhi" |
| // MIPS32BE:#define __INT_FAST8_MAX__ 127 |
| // MIPS32BE:#define __INT_FAST8_TYPE__ signed char |
| // MIPS32BE:#define __INT_LEAST16_FMTd__ "hd" |
| // MIPS32BE:#define __INT_LEAST16_FMTi__ "hi" |
| // MIPS32BE:#define __INT_LEAST16_MAX__ 32767 |
| // MIPS32BE:#define __INT_LEAST16_TYPE__ short |
| // MIPS32BE:#define __INT_LEAST32_FMTd__ "d" |
| // MIPS32BE:#define __INT_LEAST32_FMTi__ "i" |
| // MIPS32BE:#define __INT_LEAST32_MAX__ 2147483647 |
| // MIPS32BE:#define __INT_LEAST32_TYPE__ int |
| // MIPS32BE:#define __INT_LEAST64_FMTd__ "lld" |
| // MIPS32BE:#define __INT_LEAST64_FMTi__ "lli" |
| // MIPS32BE:#define __INT_LEAST64_MAX__ 9223372036854775807LL |
| // MIPS32BE:#define __INT_LEAST64_TYPE__ long long int |
| // MIPS32BE:#define __INT_LEAST8_FMTd__ "hhd" |
| // MIPS32BE:#define __INT_LEAST8_FMTi__ "hhi" |
| // MIPS32BE:#define __INT_LEAST8_MAX__ 127 |
| // MIPS32BE:#define __INT_LEAST8_TYPE__ signed char |
| // MIPS32BE:#define __INT_MAX__ 2147483647 |
| // MIPS32BE:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L |
| // MIPS32BE:#define __LDBL_DIG__ 15 |
| // MIPS32BE:#define __LDBL_EPSILON__ 2.2204460492503131e-16L |
| // MIPS32BE:#define __LDBL_HAS_DENORM__ 1 |
| // MIPS32BE:#define __LDBL_HAS_INFINITY__ 1 |
| // MIPS32BE:#define __LDBL_HAS_QUIET_NAN__ 1 |
| // MIPS32BE:#define __LDBL_MANT_DIG__ 53 |
| // MIPS32BE:#define __LDBL_MAX_10_EXP__ 308 |
| // MIPS32BE:#define __LDBL_MAX_EXP__ 1024 |
| // MIPS32BE:#define __LDBL_MAX__ 1.7976931348623157e+308L |
| // MIPS32BE:#define __LDBL_MIN_10_EXP__ (-307) |
| // MIPS32BE:#define __LDBL_MIN_EXP__ (-1021) |
| // MIPS32BE:#define __LDBL_MIN__ 2.2250738585072014e-308L |
| // MIPS32BE:#define __LONG_LONG_MAX__ 9223372036854775807LL |
| // MIPS32BE:#define __LONG_MAX__ 2147483647L |
| // MIPS32BE-NOT:#define __LP64__ |
| // MIPS32BE:#define __MIPSEB 1 |
| // MIPS32BE:#define __MIPSEB__ 1 |
| // MIPS32BE:#define __POINTER_WIDTH__ 32 |
| // MIPS32BE:#define __PRAGMA_REDEFINE_EXTNAME 1 |
| // MIPS32BE:#define __PTRDIFF_TYPE__ int |
| // MIPS32BE:#define __PTRDIFF_WIDTH__ 32 |
| // MIPS32BE:#define __REGISTER_PREFIX__ |
| // MIPS32BE:#define __SCHAR_MAX__ 127 |
| // MIPS32BE:#define __SHRT_MAX__ 32767 |
| // MIPS32BE:#define __SIG_ATOMIC_MAX__ 2147483647 |
| // MIPS32BE:#define __SIG_ATOMIC_WIDTH__ 32 |
| // MIPS32BE:#define __SIZEOF_DOUBLE__ 8 |
| // MIPS32BE:#define __SIZEOF_FLOAT__ 4 |
| // MIPS32BE:#define __SIZEOF_INT__ 4 |
| // MIPS32BE:#define __SIZEOF_LONG_DOUBLE__ 8 |
| // MIPS32BE:#define __SIZEOF_LONG_LONG__ 8 |
| // MIPS32BE:#define __SIZEOF_LONG__ 4 |
| // MIPS32BE:#define __SIZEOF_POINTER__ 4 |
| // MIPS32BE:#define __SIZEOF_PTRDIFF_T__ 4 |
| // MIPS32BE:#define __SIZEOF_SHORT__ 2 |
| // MIPS32BE:#define __SIZEOF_SIZE_T__ 4 |
| // MIPS32BE:#define __SIZEOF_WCHAR_T__ 4 |
| // MIPS32BE:#define __SIZEOF_WINT_T__ 4 |
| // MIPS32BE:#define __SIZE_MAX__ 4294967295U |
| // MIPS32BE:#define __SIZE_TYPE__ unsigned int |
| // MIPS32BE:#define __SIZE_WIDTH__ 32 |
| // MIPS32BE:#define __STDC_HOSTED__ 0 |
| // MIPS32BE:#define __STDC_VERSION__ 201112L |
| // MIPS32BE:#define __STDC__ 1 |
| // MIPS32BE:#define __UINT16_C_SUFFIX__ |
| // MIPS32BE:#define __UINT16_MAX__ 65535 |
| // MIPS32BE:#define __UINT16_TYPE__ unsigned short |
| // MIPS32BE:#define __UINT32_C_SUFFIX__ U |
| // MIPS32BE:#define __UINT32_MAX__ 4294967295U |
| // MIPS32BE:#define __UINT32_TYPE__ unsigned int |
| // MIPS32BE:#define __UINT64_C_SUFFIX__ ULL |
| // MIPS32BE:#define __UINT64_MAX__ 18446744073709551615ULL |
| // MIPS32BE:#define __UINT64_TYPE__ long long unsigned int |
| // MIPS32BE:#define __UINT8_C_SUFFIX__ |
| // MIPS32BE:#define __UINT8_MAX__ 255 |
| // MIPS32BE:#define __UINT8_TYPE__ unsigned char |
| // MIPS32BE:#define __UINTMAX_C_SUFFIX__ ULL |
| // MIPS32BE:#define __UINTMAX_MAX__ 18446744073709551615ULL |
| // MIPS32BE:#define __UINTMAX_TYPE__ long long unsigned int |
| // MIPS32BE:#define __UINTMAX_WIDTH__ 64 |
| // MIPS32BE:#define __UINTPTR_MAX__ 4294967295UL |
| // MIPS32BE:#define __UINTPTR_TYPE__ long unsigned int |
| // MIPS32BE:#define __UINTPTR_WIDTH__ 32 |
| // MIPS32BE:#define __UINT_FAST16_MAX__ 65535 |
| // MIPS32BE:#define __UINT_FAST16_TYPE__ unsigned short |
| // MIPS32BE:#define __UINT_FAST32_MAX__ 4294967295U |
| // MIPS32BE:#define __UINT_FAST32_TYPE__ unsigned int |
| // MIPS32BE:#define __UINT_FAST64_MAX__ 18446744073709551615ULL |
| // MIPS32BE:#define __UINT_FAST64_TYPE__ long long unsigned int |
| // MIPS32BE:#define __UINT_FAST8_MAX__ 255 |
| // MIPS32BE:#define __UINT_FAST8_TYPE__ unsigned char |
| // MIPS32BE:#define __UINT_LEAST16_MAX__ 65535 |
| // MIPS32BE:#define __UINT_LEAST16_TYPE__ unsigned short |
| // MIPS32BE:#define __UINT_LEAST32_MAX__ 4294967295U |
| // MIPS32BE:#define __UINT_LEAST32_TYPE__ unsigned int |
| // MIPS32BE:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL |
| // MIPS32BE:#define __UINT_LEAST64_TYPE__ long long unsigned int |
| // MIPS32BE:#define __UINT_LEAST8_MAX__ 255 |
| // MIPS32BE:#define __UINT_LEAST8_TYPE__ unsigned char |
| // MIPS32BE:#define __USER_LABEL_PREFIX__ |
| // MIPS32BE:#define __WCHAR_MAX__ 2147483647 |
| // MIPS32BE:#define __WCHAR_TYPE__ int |
| // MIPS32BE:#define __WCHAR_WIDTH__ 32 |
| // MIPS32BE:#define __WINT_TYPE__ int |
| // MIPS32BE:#define __WINT_WIDTH__ 32 |
| // MIPS32BE:#define __clang__ 1 |
| // MIPS32BE:#define __llvm__ 1 |
| // MIPS32BE:#define __mips 32 |
| // MIPS32BE:#define __mips__ 1 |
| // MIPS32BE:#define __mips_fpr 32 |
| // MIPS32BE:#define __mips_hard_float 1 |
| // MIPS32BE:#define __mips_o32 1 |
| // MIPS32BE:#define _mips 1 |
| // MIPS32BE:#define mips 1 |
| // |
| // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mipsel-none-none < /dev/null | FileCheck -match-full-lines -check-prefix MIPS32EL %s |
| // |
| // MIPS32EL:#define MIPSEL 1 |
| // MIPS32EL:#define _ABIO32 1 |
| // MIPS32EL-NOT:#define _LP64 |
| // MIPS32EL:#define _MIPSEL 1 |
| // MIPS32EL:#define _MIPS_ARCH "mips32r2" |
| // MIPS32EL:#define _MIPS_ARCH_MIPS32R2 1 |
| // MIPS32EL:#define _MIPS_FPSET 16 |
| // MIPS32EL:#define _MIPS_SIM _ABIO32 |
| // MIPS32EL:#define _MIPS_SZINT 32 |
| // MIPS32EL:#define _MIPS_SZLONG 32 |
| // MIPS32EL:#define _MIPS_SZPTR 32 |
| // MIPS32EL:#define __BIGGEST_ALIGNMENT__ 8 |
| // MIPS32EL:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__ |
| // MIPS32EL:#define __CHAR16_TYPE__ unsigned short |
| // MIPS32EL:#define __CHAR32_TYPE__ unsigned int |
| // MIPS32EL:#define __CHAR_BIT__ 8 |
| // MIPS32EL:#define __CONSTANT_CFSTRINGS__ 1 |
| // MIPS32EL:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324 |
| // MIPS32EL:#define __DBL_DIG__ 15 |
| // MIPS32EL:#define __DBL_EPSILON__ 2.2204460492503131e-16 |
| // MIPS32EL:#define __DBL_HAS_DENORM__ 1 |
| // MIPS32EL:#define __DBL_HAS_INFINITY__ 1 |
| // MIPS32EL:#define __DBL_HAS_QUIET_NAN__ 1 |
| // MIPS32EL:#define __DBL_MANT_DIG__ 53 |
| // MIPS32EL:#define __DBL_MAX_10_EXP__ 308 |
| // MIPS32EL:#define __DBL_MAX_EXP__ 1024 |
| // MIPS32EL:#define __DBL_MAX__ 1.7976931348623157e+308 |
| // MIPS32EL:#define __DBL_MIN_10_EXP__ (-307) |
| // MIPS32EL:#define __DBL_MIN_EXP__ (-1021) |
| // MIPS32EL:#define __DBL_MIN__ 2.2250738585072014e-308 |
| // MIPS32EL:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__ |
| // MIPS32EL:#define __FLT_DENORM_MIN__ 1.40129846e-45F |
| // MIPS32EL:#define __FLT_DIG__ 6 |
| // MIPS32EL:#define __FLT_EPSILON__ 1.19209290e-7F |
| // MIPS32EL:#define __FLT_EVAL_METHOD__ 0 |
| // MIPS32EL:#define __FLT_HAS_DENORM__ 1 |
| // MIPS32EL:#define __FLT_HAS_INFINITY__ 1 |
| // MIPS32EL:#define __FLT_HAS_QUIET_NAN__ 1 |
| // MIPS32EL:#define __FLT_MANT_DIG__ 24 |
| // MIPS32EL:#define __FLT_MAX_10_EXP__ 38 |
| // MIPS32EL:#define __FLT_MAX_EXP__ 128 |
| // MIPS32EL:#define __FLT_MAX__ 3.40282347e+38F |
| // MIPS32EL:#define __FLT_MIN_10_EXP__ (-37) |
| // MIPS32EL:#define __FLT_MIN_EXP__ (-125) |
| // MIPS32EL:#define __FLT_MIN__ 1.17549435e-38F |
| // MIPS32EL:#define __FLT_RADIX__ 2 |
| // MIPS32EL:#define __INT16_C_SUFFIX__ |
| // MIPS32EL:#define __INT16_FMTd__ "hd" |
| // MIPS32EL:#define __INT16_FMTi__ "hi" |
| // MIPS32EL:#define __INT16_MAX__ 32767 |
| // MIPS32EL:#define __INT16_TYPE__ short |
| // MIPS32EL:#define __INT32_C_SUFFIX__ |
| // MIPS32EL:#define __INT32_FMTd__ "d" |
| // MIPS32EL:#define __INT32_FMTi__ "i" |
| // MIPS32EL:#define __INT32_MAX__ 2147483647 |
| // MIPS32EL:#define __INT32_TYPE__ int |
| // MIPS32EL:#define __INT64_C_SUFFIX__ LL |
| // MIPS32EL:#define __INT64_FMTd__ "lld" |
| // MIPS32EL:#define __INT64_FMTi__ "lli" |
| // MIPS32EL:#define __INT64_MAX__ 9223372036854775807LL |
| // MIPS32EL:#define __INT64_TYPE__ long long int |
| // MIPS32EL:#define __INT8_C_SUFFIX__ |
| // MIPS32EL:#define __INT8_FMTd__ "hhd" |
| // MIPS32EL:#define __INT8_FMTi__ "hhi" |
| // MIPS32EL:#define __INT8_MAX__ 127 |
| // MIPS32EL:#define __INT8_TYPE__ signed char |
| // MIPS32EL:#define __INTMAX_C_SUFFIX__ LL |
| // MIPS32EL:#define __INTMAX_FMTd__ "lld" |
| // MIPS32EL:#define __INTMAX_FMTi__ "lli" |
| // MIPS32EL:#define __INTMAX_MAX__ 9223372036854775807LL |
| // MIPS32EL:#define __INTMAX_TYPE__ long long int |
| // MIPS32EL:#define __INTMAX_WIDTH__ 64 |
| // MIPS32EL:#define __INTPTR_FMTd__ "ld" |
| // MIPS32EL:#define __INTPTR_FMTi__ "li" |
| // MIPS32EL:#define __INTPTR_MAX__ 2147483647L |
| // MIPS32EL:#define __INTPTR_TYPE__ long int |
| // MIPS32EL:#define __INTPTR_WIDTH__ 32 |
| // MIPS32EL:#define __INT_FAST16_FMTd__ "hd" |
| // MIPS32EL:#define __INT_FAST16_FMTi__ "hi" |
| // MIPS32EL:#define __INT_FAST16_MAX__ 32767 |
| // MIPS32EL:#define __INT_FAST16_TYPE__ short |
| // MIPS32EL:#define __INT_FAST32_FMTd__ "d" |
| // MIPS32EL:#define __INT_FAST32_FMTi__ "i" |
| // MIPS32EL:#define __INT_FAST32_MAX__ 2147483647 |
| // MIPS32EL:#define __INT_FAST32_TYPE__ int |
| // MIPS32EL:#define __INT_FAST64_FMTd__ "lld" |
| // MIPS32EL:#define __INT_FAST64_FMTi__ "lli" |
| // MIPS32EL:#define __INT_FAST64_MAX__ 9223372036854775807LL |
| // MIPS32EL:#define __INT_FAST64_TYPE__ long long int |
| // MIPS32EL:#define __INT_FAST8_FMTd__ "hhd" |
| // MIPS32EL:#define __INT_FAST8_FMTi__ "hhi" |
| // MIPS32EL:#define __INT_FAST8_MAX__ 127 |
| // MIPS32EL:#define __INT_FAST8_TYPE__ signed char |
| // MIPS32EL:#define __INT_LEAST16_FMTd__ "hd" |
| // MIPS32EL:#define __INT_LEAST16_FMTi__ "hi" |
| // MIPS32EL:#define __INT_LEAST16_MAX__ 32767 |
| // MIPS32EL:#define __INT_LEAST16_TYPE__ short |
| // MIPS32EL:#define __INT_LEAST32_FMTd__ "d" |
| // MIPS32EL:#define __INT_LEAST32_FMTi__ "i" |
| // MIPS32EL:#define __INT_LEAST32_MAX__ 2147483647 |
| // MIPS32EL:#define __INT_LEAST32_TYPE__ int |
| // MIPS32EL:#define __INT_LEAST64_FMTd__ "lld" |
| // MIPS32EL:#define __INT_LEAST64_FMTi__ "lli" |
| // MIPS32EL:#define __INT_LEAST64_MAX__ 9223372036854775807LL |
| // MIPS32EL:#define __INT_LEAST64_TYPE__ long long int |
| // MIPS32EL:#define __INT_LEAST8_FMTd__ "hhd" |
| // MIPS32EL:#define __INT_LEAST8_FMTi__ "hhi" |
| // MIPS32EL:#define __INT_LEAST8_MAX__ 127 |
| // MIPS32EL:#define __INT_LEAST8_TYPE__ signed char |
| // MIPS32EL:#define __INT_MAX__ 2147483647 |
| // MIPS32EL:#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L |
| // MIPS32EL:#define __LDBL_DIG__ 15 |
| // MIPS32EL:#define __LDBL_EPSILON__ 2.2204460492503131e-16L |
| // MIPS32EL:#define __LDBL_HAS_DENORM__ 1 |
| // MIPS32EL:#define __LDBL_HAS_INFINITY__ 1 |
| // MIPS32EL:#define __LDBL_HAS_QUIET_NAN__ 1 |
| // MIPS32EL:#define __LDBL_MANT_DIG__ 53 |
| // MIPS32EL:#define __LDBL_MAX_10_EXP__ 308 |
| // MIPS32EL:#define __LDBL_MAX_EXP__ 1024 |
| // MIPS32EL:#define __LDBL_MAX__ 1.7976931348623157e+308L |
| // MIPS32EL:#define __LDBL_MIN_10_EXP__ (-307) |
| // MIPS32EL:#define __LDBL_MIN_EXP__ (-1021) |
| // MIPS32EL:#define __LDBL_MIN__ 2.2250738585072014e-308L |
| // MIPS32EL:#define __LITTLE_ENDIAN__ 1 |
| // MIPS32EL:#define __LONG_LONG_MAX__ 9223372036854775807LL |
| // MIPS32EL:#define __LONG_MAX__ 2147483647L |
| // MIPS32EL-NOT:#define __LP64__ |
| // MIPS32EL:#define __MIPSEL 1 |
| // MIPS32EL:#define __MIPSEL__ 1 |
| // MIPS32EL:#define __POINTER_WIDTH__ 32 |
| // MIPS32EL:#define __PRAGMA_REDEFINE_EXTNAME 1 |
| // MIPS32EL:#define __PTRDIFF_TYPE__ int |
| // MIPS32EL:#define __PTRDIFF_WIDTH__ 32 |
| // MIPS32EL:#define __REGISTER_PREFIX__ |
| // MIPS32EL:#define __SCHAR_MAX__ 127 |
| // MIPS32EL:#define __SHRT_MAX__ 32767 |
| // MIPS32EL:#define __SIG_ATOMIC_MAX__ 2147483647 |
| // MIPS32EL:#define __SIG_ATOMIC_WIDTH__ 32 |
| // MIPS32EL:#define __SIZEOF_DOUBLE__ 8 |
| // MIPS32EL:#define __SIZEOF_FLOAT__ 4 |
| // MIPS32EL:#define __SIZEOF_INT__ 4 |
| // MIPS32EL:#define __SIZEOF_LONG_DOUBLE__ 8 |
| // MIPS32EL:#define __SIZEOF_LONG_LONG__ 8 |
| // MIPS32EL:#define __SIZEOF_LONG__ 4 |
| // MIPS32EL:#define __SIZEOF_POINTER__ 4 |
| // MIPS32EL:#define __SIZEOF_PTRDIFF_T__ 4 |
| // MIPS32EL:#define __SIZEOF_SHORT__ 2 |
| // MIPS32EL:#define __SIZEOF_SIZE_T__ 4 |
| // MIPS32EL:#define __SIZEOF_WCHAR_T__ 4 |
| // MIPS32EL:#define __SIZEOF_WINT_T__ 4 |
| // MIPS32EL:#define __SIZE_MAX__ 4294967295U |
| // MIPS32EL:#define __SIZE_TYPE__ unsigned int |
| // MIPS32EL:#define __SIZE_WIDTH__ 32 |
| // MIPS32EL:#define __UINT16_C_SUFFIX__ |
| // MIPS32EL:#define __UINT16_MAX__ 65535 |
| // MIPS32EL:#define __UINT16_TYPE__ unsigned short |
| // MIPS32EL:#define __UINT32_C_SUFFIX__ U |
| // MIPS32EL:#define __UINT32_MAX__ 4294967295U |
| // MIPS32EL:#define __UINT32_TYPE__ unsigned int |
| // MIPS32EL:#define __UINT64_C_SUFFIX__ ULL |
| // MIPS32EL:#define __UINT64_MAX__ 18446744073709551615ULL |
| // MIPS32EL:#define __UINT64_TYPE__ long long unsigned int |
| // MIPS32EL:#define __UINT8_C_SUFFIX__ |
| // MIPS32EL:#define __UINT8_MAX__ 255 |
| // MIPS32EL:#define __UINT8_TYPE__ unsigned char |
| // MIPS32EL:#define __UINTMAX_C_SUFFIX__ ULL |
| // MIPS32EL:#define __UINTMAX_MAX__ 18446744073709551615ULL |
| // MIPS32EL:#define __UINTMAX_TYPE__ long long unsigned int |
| // MIPS32EL:#define __UINTMAX_WIDTH__ 64 |
| // MIPS32EL:#define __UINTPTR_MAX__ 4294967295UL |
| // MIPS32EL:#define __UINTPTR_TYPE__ long unsigned int |
| // MIPS32EL:#define __UINTPTR_WIDTH__ 32 |
| // MIPS32EL:#define __UINT_FAST16_MAX__ 65535 |
| // MIPS32EL:#define __UINT_FAST16_TYPE__ unsigned short |
| // MIPS32EL:#define __UINT_FAST32_MAX__ 4294967295U |
| // MIPS32EL:#define __UINT_FAST32_TYPE__ unsigned int |
| // MIPS32EL:#define __UINT_FAST64_MAX__ 18446744073709551615ULL |
| // MIPS32EL:#define __UINT_FAST64_TYPE__ long long unsigned int |
| // MIPS32EL:#define __UINT_FAST8_MAX__ 255 |
| // MIPS32EL:#define __UINT_FAST8_TYPE__ unsigned char |
| // MIPS32EL:#define __UINT_LEAST16_MAX__ 65535 |
| // MIPS32EL:#define __UINT_LEAST16_TYPE__ unsigned short |
| // MIPS32EL:#define __UINT_LEAST32_MAX__ 4294967295U |
| // MIPS32EL:#define __UINT_LEAST32_TYPE__ unsigned int |
| // MIPS32EL:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL |
| // MIPS32EL:#define __UINT_LEAST64_TYPE__ long long unsigned int |
| // MIPS32EL:#define __UINT_LEAST8_MAX__ 255 |
| // MIPS32EL:#define __UINT_LEAST8_TYPE__ unsigned char |
| // MIPS32EL:#define __USER_LABEL_PREFIX__ |
| // MIPS32EL:#define __WCHAR_MAX__ 2147483647 |
| // MIPS32EL:#define __WCHAR_TYPE__ int |
| // MIPS32EL:#define __WCHAR_WIDTH__ 32 |
| // MIPS32EL:#define __WINT_TYPE__ int |
| // MIPS32EL:#define __WINT_WIDTH__ 32 |
| // MIPS32EL:#define __clang__ 1 |
| // MIPS32EL:#define __llvm__ 1 |
| // MIPS32EL:#define __mips 32 |
| // MIPS32EL:#define __mips__ 1 |
| // MIPS32EL:#define __mips_fpr 32 |
| // MIPS32EL:#define __mips_hard_float 1 |
| // MIPS32EL:#define __mips_o32 1 |
| // MIPS32EL:#define _mips 1 |
| // MIPS32EL:#define mips 1 |
| // |
| // RUN: %clang_cc1 -E -dM -ffreestanding \ |
| // RUN: -triple=mips64-none-none -target-abi n32 < /dev/null \ |
| // RUN: | FileCheck -match-full-lines -check-prefix MIPSN32BE %s |
| // |
| // MIPSN32BE: #define MIPSEB 1 |
| // MIPSN32BE: #define _ABIN32 2 |
| // MIPSN32BE: #define _ILP32 1 |
| // MIPSN32BE: #define _MIPSEB 1 |
| // MIPSN32BE: #define _MIPS_ARCH "mips64r2" |
| // MIPSN32BE: #define _MIPS_ARCH_MIPS64R2 1 |
| // MIPSN32BE: #define _MIPS_FPSET 32 |
| // MIPSN32BE: #define _MIPS_ISA _MIPS_ISA_MIPS64 |
| // MIPSN32BE: #define _MIPS_SIM _ABIN32 |
| // MIPSN32BE: #define _MIPS_SZINT 32 |
| // MIPSN32BE: #define _MIPS_SZLONG 32 |
| // MIPSN32BE: #define _MIPS_SZPTR 32 |
| // MIPSN32BE: #define __ATOMIC_ACQUIRE 2 |
| // MIPSN32BE: #define __ATOMIC_ACQ_REL 4 |
| // MIPSN32BE: #define __ATOMIC_CONSUME 1 |
| // MIPSN32BE: #define __ATOMIC_RELAXED 0 |
| // MIPSN32BE: #define __ATOMIC_RELEASE 3 |
| // MIPSN32BE: #define __ATOMIC_SEQ_CST 5 |
| // MIPSN32BE: #define __BIG_ENDIAN__ 1 |
| // MIPSN32BE: #define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__ |
| // MIPSN32BE: #define __CHAR16_TYPE__ unsigned short |
| // MIPSN32BE: #define __CHAR32_TYPE__ unsigned int |
| // MIPSN32BE: #define __CHAR_BIT__ 8 |
| // MIPSN32BE: #define __CONSTANT_CFSTRINGS__ 1 |
| // MIPSN32BE: #define __DBL_DENORM_MIN__ 4.9406564584124654e-324 |
| // MIPSN32BE: #define __DBL_DIG__ 15 |
| // MIPSN32BE: #define __DBL_EPSILON__ 2.2204460492503131e-16 |
| // MIPSN32BE: #define __DBL_HAS_DENORM__ 1 |
| // MIPSN32BE: #define __DBL_HAS_INFINITY__ 1 |
| // MIPSN32BE: #define __DBL_HAS_QUIET_NAN__ 1 |
| // MIPSN32BE: #define __DBL_MANT_DIG__ 53 |
| // MIPSN32BE: #define __DBL_MAX_10_EXP__ 308 |
| // MIPSN32BE: #define __DBL_MAX_EXP__ 1024 |
| // MIPSN32BE: #define __DBL_MAX__ 1.7976931348623157e+308 |
| // MIPSN32BE: #define __DBL_MIN_10_EXP__ (-307) |
| // MIPSN32BE: #define __DBL_MIN_EXP__ (-1021) |
| // MIPSN32BE: #define __DBL_MIN__ 2.2250738585072014e-308 |
| // MIPSN32BE: #define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__ |
| // MIPSN32BE: #define __FINITE_MATH_ONLY__ 0 |
| // MIPSN32BE: #define __FLT_DENORM_MIN__ 1.40129846e-45F |
| // MIPSN32BE: #define __FLT_DIG__ 6 |
| // MIPSN32BE: #define __FLT_EPSILON__ 1.19209290e-7F |
| // MIPSN32BE: #define __FLT_EVAL_METHOD__ 0 |
| // MIPSN32BE: #define __FLT_HAS_DENORM__ 1 |
| // MIPSN32BE: #define __FLT_HAS_INFINITY__ 1 |
| // MIPSN32BE: #define __FLT_HAS_QUIET_NAN__ 1 |
| // MIPSN32BE: #define __FLT_MANT_DIG__ 24 |
| // MIPSN32BE: #define __FLT_MAX_10_EXP__ 38 |
| // MIPSN32BE: #define __FLT_MAX_EXP__ 128 |
| // MIPSN32BE: #define __FLT_MAX__ 3.40282347e+38F |
| // MIPSN32BE: #define __FLT_MIN_10_EXP__ (-37) |
| // MIPSN32BE: #define __FLT_MIN_EXP__ (-125) |
| // MIPSN32BE: #define __FLT_MIN__ 1.17549435e-38F |
| // MIPSN32BE: #define __FLT_RADIX__ 2 |
| // MIPSN32BE: #define __GCC_ATOMIC_BOOL_LOCK_FREE 2 |
| // MIPSN32BE: #define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2 |
| // MIPSN32BE: #define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2 |
| // MIPSN32BE: #define __GCC_ATOMIC_CHAR_LOCK_FREE 2 |
| // MIPSN32BE: #define __GCC_ATOMIC_INT_LOCK_FREE 2 |
| // MIPSN32BE: #define __GCC_ATOMIC_LLONG_LOCK_FREE 2 |
| // MIPSN32BE: #define __GCC_ATOMIC_LONG_LOCK_FREE 2 |
| // MIPSN32BE: #define __GCC_ATOMIC_POINTER_LOCK_FREE 2 |
| // MIPSN32BE: #define __GCC_ATOMIC_SHORT_LOCK_FREE 2 |
| // MIPSN32BE: #define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1 |
| // MIPSN32BE: #define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2 |
| // MIPSN32BE: #define __GNUC_MINOR__ 2 |
| // MIPSN32BE: #define __GNUC_PATCHLEVEL__ 1 |
| // MIPSN32BE: #define __GNUC_STDC_INLINE__ 1 |
| // MIPSN32BE: #define __GNUC__ 4 |
| // MIPSN32BE: #define __GXX_ABI_VERSION 1002 |
| // MIPSN32BE: #define __ILP32__ 1 |
| // MIPSN32BE: #define __INT16_C_SUFFIX__ |
| // MIPSN32BE: #define __INT16_FMTd__ "hd" |
| // MIPSN32BE: #define __INT16_FMTi__ "hi" |
| // MIPSN32BE: #define __INT16_MAX__ 32767 |
| // MIPSN32BE: #define __INT16_TYPE__ short |
| // MIPSN32BE: #define __INT32_C_SUFFIX__ |
| // MIPSN32BE: #define __INT32_FMTd__ "d" |
| // MIPSN32BE: #define __INT32_FMTi__ "i" |
| // MIPSN32BE: #define __INT32_MAX__ 2147483647 |
| // MIPSN32BE: #define __INT32_TYPE__ int |
| // MIPSN32BE: #define __INT64_C_SUFFIX__ LL |
| // MIPSN32BE: #define __INT64_FMTd__ "lld" |
| // MIPSN32BE: #define __INT64_FMTi__ "lli" |
| // MIPSN32BE: #define __INT64_MAX__ 9223372036854775807LL |
| // MIPSN32BE: #define __INT64_TYPE__ long long int |
| // MIPSN32BE: #define __INT8_C_SUFFIX__ |
| // MIPSN32BE: #define __INT8_FMTd__ "hhd" |
| // MIPSN32BE: #define __INT8_FMTi__ "hhi" |
| // MIPSN32BE: #define __INT8_MAX__ 127 |
| // MIPSN32BE: #define __INT8_TYPE__ signed char |
| // MIPSN32BE: #define __INTMAX_C_SUFFIX__ LL |
| // MIPSN32BE: #define __INTMAX_FMTd__ "lld" |
| // MIPSN32BE: #define __INTMAX_FMTi__ "lli" |
| // MIPSN32BE: #define __INTMAX_MAX__ 9223372036854775807LL |
| // MIPSN32BE: #define __INTMAX_TYPE__ long long int |
| // MIPSN32BE: #define __INTMAX_WIDTH__ 64 |
| // MIPSN32BE: #define __INTPTR_FMTd__ "ld" |
| // MIPSN32BE: #define __INTPTR_FMTi__ "li" |
| // MIPSN32BE: #define __INTPTR_MAX__ 2147483647L |
| // MIPSN32BE: #define __INTPTR_TYPE__ long int |
| // MIPSN32BE: #define __INTPTR_WIDTH__ 32 |
| // MIPSN32BE: #define __INT_FAST16_FMTd__ "hd" |
| // MIPSN32BE: #define __INT_FAST16_FMTi__ "hi" |
| // MIPSN32BE: #define __INT_FAST16_MAX__ 32767 |
| // MIPSN32BE: #define __INT_FAST16_TYPE__ short |
| // MIPSN32BE: #define __INT_FAST32_FMTd__ "d" |
| // MIPSN32BE: #define __INT_FAST32_FMTi__ "i" |
| // MIPSN32BE: #define __INT_FAST32_MAX__ 2147483647 |
| // MIPSN32BE: #define __INT_FAST32_TYPE__ int |
| // MIPSN32BE: #define __INT_FAST64_FMTd__ "lld" |
| // MIPSN32BE: #define __INT_FAST64_FMTi__ "lli" |
| // MIPSN32BE: #define __INT_FAST64_MAX__ 9223372036854775807LL |
| // MIPSN32BE: #define __INT_FAST64_TYPE__ long long int |
| // MIPSN32BE: #define __INT_FAST8_FMTd__ "hhd" |
| // MIPSN32BE: #define __INT_FAST8_FMTi__ "hhi" |
| // MIPSN32BE: #define __INT_FAST8_MAX__ 127 |
| // MIPSN32BE: #define __INT_FAST8_TYPE__ signed char |
| // MIPSN32BE: #define __INT_LEAST16_FMTd__ "hd" |
| // MIPSN32BE: #define __INT_LEAST16_FMTi__ "hi" |
| // MIPSN32BE: #define __INT_LEAST16_MAX__ 32767 |
| // MIPSN32BE: #define __INT_LEAST16_TYPE__ short |
| // MIPSN32BE: #define __INT_LEAST32_FMTd__ "d" |
| // MIPSN32BE: #define __INT_LEAST32_FMTi__ "i" |
| // MIPSN32BE: #define __INT_LEAST32_MAX__ 2147483647 |
| // MIPSN32BE: #define __INT_LEAST32_TYPE__ int |
| // MIPSN32BE: #define __INT_LEAST64_FMTd__ "lld" |
| // MIPSN32BE: #define __INT_LEAST64_FMTi__ "lli" |
| // MIPSN32BE: #define __INT_LEAST64_MAX__ 9223372036854775807LL |
| // MIPSN32BE: #define __INT_LEAST64_TYPE__ long long int |
| // MIPSN32BE: #define __INT_LEAST8_FMTd__ "hhd" |
| // MIPSN32BE: #define __INT_LEAST8_FMTi__ "hhi" |
| // MIPSN32BE: #define __INT_LEAST8_MAX__ 127 |
| // MIPSN32BE: #define __INT_LEAST8_TYPE__ signed char |
| // MIPSN32BE: #define __INT_MAX__ 2147483647 |
| // MIPSN32BE: #define __LDBL_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966L |
| // MIPSN32BE: #define __LDBL_DIG__ 33 |
| // MIPSN32BE: #define __LDBL_EPSILON__ 1.92592994438723585305597794258492732e-34L |
| // MIPSN32BE: #define __LDBL_HAS_DENORM__ 1 |
| // MIPSN32BE: #define __LDBL_HAS_INFINITY__ 1 |
| // MIPSN32BE: #define __LDBL_HAS_QUIET_NAN__ 1 |
| // MIPSN32BE: #define __LDBL_MANT_DIG__ 113 |
| // MIPSN32BE: #define __LDBL_MAX_10_EXP__ 4932 |
| // MIPSN32BE: #define __LDBL_MAX_EXP__ 16384 |
| // MIPSN32BE: #define __LDBL_MAX__ 1.18973149535723176508575932662800702e+4932L |
| // MIPSN32BE: #define __LDBL_MIN_10_EXP__ (-4931) |
| // MIPSN32BE: #define __LDBL_MIN_EXP__ (-16381) |
| // MIPSN32BE: #define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L |
| // MIPSN32BE: #define __LONG_LONG_MAX__ 9223372036854775807LL |
| // MIPSN32BE: #define __LONG_MAX__ 2147483647L |
| // MIPSN32BE: #define __MIPSEB 1 |
| // MIPSN32BE: #define __MIPSEB__ 1 |
| // MIPSN32BE: #define __NO_INLINE__ 1 |
| // MIPSN32BE: #define __ORDER_BIG_ENDIAN__ 4321 |
| // MIPSN32BE: #define __ORDER_LITTLE_ENDIAN__ 1234 |
| // MIPSN32BE: #define __ORDER_PDP_ENDIAN__ 3412 |
| // MIPSN32BE: #define __POINTER_WIDTH__ 32 |
| // MIPSN32BE: #define __PRAGMA_REDEFINE_EXTNAME 1 |
| // MIPSN32BE: #define __PTRDIFF_FMTd__ "d" |
| // MIPSN32BE: #define __PTRDIFF_FMTi__ "i" |
| // MIPSN32BE: #define __PTRDIFF_MAX__ 2147483647 |
| // MIPSN32BE: #define __PTRDIFF_TYPE__ int |
| // MIPSN32BE: #define __PTRDIFF_WIDTH__ 32 |
| // MIPSN32BE: #define __REGISTER_PREFIX__ |
| // MIPSN32BE: #define __SCHAR_MAX__ 127 |
| // MIPSN32BE: #define __SHRT_MAX__ 32767 |
| // MIPSN32BE: #define __SIG_ATOMIC_MAX__ 2147483647 |
| // MIPSN32BE: #define __SIG_ATOMIC_WIDTH__ 32 |
| // MIPSN32BE: #define __SIZEOF_DOUBLE__ 8 |
| // MIPSN32BE: #define __SIZEOF_FLOAT__ 4 |
| // MIPSN32BE: #define __SIZEOF_INT__ 4 |
| // MIPSN32BE: #define __SIZEOF_LONG_DOUBLE__ 16 |
| // MIPSN32BE: #define __SIZEOF_LONG_LONG__ 8 |
| // MIPSN32BE: #define __SIZEOF_LONG__ 4 |
| // MIPSN32BE: #define __SIZEOF_POINTER__ 4 |
| // MIPSN32BE: #define __SIZEOF_PTRDIFF_T__ 4 |
| // MIPSN32BE: #define __SIZEOF_SHORT__ 2 |
| // MIPSN32BE: #define __SIZEOF_SIZE_T__ 4 |
| // MIPSN32BE: #define __SIZEOF_WCHAR_T__ 4 |
| // MIPSN32BE: #define __SIZEOF_WINT_T__ 4 |
| // MIPSN32BE: #define __SIZE_FMTX__ "X" |
| // MIPSN32BE: #define __SIZE_FMTo__ "o" |
| // MIPSN32BE: #define __SIZE_FMTu__ "u" |
| // MIPSN32BE: #define __SIZE_FMTx__ "x" |
| // MIPSN32BE: #define __SIZE_MAX__ 4294967295U |
| // MIPSN32BE: #define __SIZE_TYPE__ unsigned int |
| // MIPSN32BE: #define __SIZE_WIDTH__ 32 |
| // MIPSN32BE: #define __STDC_HOSTED__ 0 |
| // MIPSN32BE: #define __STDC_UTF_16__ 1 |
| // MIPSN32BE: #define __STDC_UTF_32__ 1 |
| // MIPSN32BE: #define __STDC_VERSION__ 201112L |
| // MIPSN32BE: #define __STDC__ 1 |
| // MIPSN32BE: #define __UINT16_C_SUFFIX__ |
| // MIPSN32BE: #define __UINT16_FMTX__ "hX" |
| // MIPSN32BE: #define __UINT16_FMTo__ "ho" |
| // MIPSN32BE: #define __UINT16_FMTu__ "hu" |
| // MIPSN32BE: #define __UINT16_FMTx__ "hx" |
| // MIPSN32BE: #define __UINT16_MAX__ 65535 |
| // MIPSN32BE: #define __UINT16_TYPE__ unsigned short |
| // MIPSN32BE: #define __UINT32_C_SUFFIX__ U |
| // MIPSN32BE: #define __UINT32_FMTX__ "X" |
| // MIPSN32BE: #define __UINT32_FMTo__ "o" |
| // MIPSN32BE: #define __UINT32_FMTu__ "u" |
| // MIPSN32BE: #define __UINT32_FMTx__ "x" |
| // MIPSN32BE: #define __UINT32_MAX__ 4294967295U |
| // MIPSN32BE: #define __UINT32_TYPE__ unsigned int |
| // MIPSN32BE: #define __UINT64_C_SUFFIX__ ULL |
| // MIPSN32BE: #define __UINT64_FMTX__ "llX" |
| // MIPSN32BE: #define __UINT64_FMTo__ "llo" |
| // MIPSN32BE: #define __UINT64_FMTu__ "llu" |
| // MIPSN32BE: #define __UINT64_FMTx__ "llx" |
| // MIPSN32BE: #define __UINT64_MAX__ 18446744073709551615ULL |
| // MIPSN32BE: #define __UINT64_TYPE__ long long unsigned int |
| // MIPSN32BE: #define __UINT8_C_SUFFIX__ |
| // MIPSN32BE: #define __UINT8_FMTX__ "hhX" |
| // MIPSN32BE: #define __UINT8_FMTo__ "hho" |
| // MIPSN32BE: #define __UINT8_FMTu__ "hhu" |
| // MIPSN32BE: #define __UINT8_FMTx__ "hhx" |
| // MIPSN32BE: #define __UINT8_MAX__ 255 |
| // MIPSN32BE: #define __UINT8_TYPE__ unsigned char |
| // MIPSN32BE: #define __UINTMAX_C_SUFFIX__ ULL |
| // MIPSN32BE: #define __UINTMAX_FMTX__ "llX" |
| // MIPSN32BE: #define __UINTMAX_FMTo__ "llo" |
| // MIPSN32BE: #define __UINTMAX_FMTu__ "llu" |
| // MIPSN32BE: #define __UINTMAX_FMTx__ "llx" |
| // MIPSN32BE: #define __UINTMAX_MAX__ 18446744073709551615ULL |
| // MIPSN32BE: #define __UINTMAX_TYPE__ long long unsigned int |
| // MIPSN32BE: #define __UINTMAX_WIDTH__ 64 |
| // MIPSN32BE: #define __UINTPTR_FMTX__ "lX" |
| // MIPSN32BE: #define __UINTPTR_FMTo__ "lo" |
| // MIPSN32BE: #define __UINTPTR_FMTu__ "lu" |
| // MIPSN32BE: #define __UINTPTR_FMTx__ "lx" |
| // MIPSN32BE: #define __UINTPTR_MAX__ 4294967295UL |
| // MIPSN32BE: #define __UINTPTR_TYPE__ long unsigned int |
| // MIPSN32BE: #define __UINTPTR_WIDTH__ 32 |
| // MIPSN32BE: #define __UINT_FAST16_FMTX__ "hX" |
| // MIPSN32BE: #define __UINT_FAST16_FMTo__ "ho" |
| // MIPSN32BE: #define __UINT_FAST16_FMTu__ "hu" |
| // MIPSN32BE: #define __UINT_FAST16_FMTx__ "hx" |
| // MIPSN32BE: #define __UINT_FAST16_MAX__ 65535 |
| // MIPSN32BE: #define __UINT_FAST16_TYPE__ unsigned short |
| // MIPSN32BE: #define __UINT_FAST32_FMTX__ "X" |
| // MIPSN32BE: #define __UINT_FAST32_FMTo__ "o" |
| // MIPSN32BE: #define __UINT_FAST32_FMTu__ "u" |
| // MIPSN32BE: #define __UINT_FAST32_FMTx__ "x" |
| // MIPSN32BE: #define __UINT_FAST32_MAX__ 4294967295U |
| // MIPSN32BE: #define __UINT_FAST32_TYPE__ unsigned int |
| // MIPSN32BE: #define __UINT_FAST64_FMTX__ "llX" |
| // MIPSN32BE: #define __UINT_FAST64_FMTo__ "llo" |
| // MIPSN32BE: #define __UINT_FAST64_FMTu__ "llu" |
| // MIPSN32BE: #define __UINT_FAST64_FMTx__ "llx" |
| // MIPSN32BE: #define __UINT_FAST64_MAX__ 18446744073709551615ULL |
| // MIPSN32BE: #define __UINT_FAST64_TYPE__ long long unsigned int |
| // MIPSN32BE: #define __UINT_FAST8_FMTX__ "hhX" |
| // MIPSN32BE: #define __UINT_FAST8_FMTo__ "hho" |
| // MIPSN32BE: #define __UINT_FAST8_FMTu__ "hhu" |
| // MIPSN32BE: #define __UINT_FAST8_FMTx__ "hhx" |
| // MIPSN32BE: #define __UINT_FAST8_MAX__ 255 |
| // MIPSN32BE: #define __UINT_FAST8_TYPE__ unsigned char |
| // MIPSN32BE: #define __UINT_LEAST16_FMTX__ "hX" |
| // MIPSN32BE: #define __UINT_LEAST16_FMTo__ "ho" |
| // MIPSN32BE: #define __UINT_LEAST16_FMTu__ "hu" |
| // MIPSN32BE: #define __UINT_LEAST16_FMTx__ "hx" |
| // MIPSN32BE: #define __UINT_LEAST16_MAX__ 65535 |
| // MIPSN32BE: #define __UINT_LEAST16_TYPE__ unsigned short |
| // MIPSN32BE: #define __UINT_LEAST32_FMTX__ "X" |
| // MIPSN32BE: #define __UINT_LEAST32_FMTo__ "o" |
| // MIPSN32BE: #define __UINT_LEAST32_FMTu__ "u" |
| // MIPSN32BE: #define __UINT_LEAST32_FMTx__ "x" |
| // MIPSN32BE: #define __UINT_LEAST32_MAX__ 4294967295U |
| // MIPSN32BE: #define __UINT_LEAST32_TYPE__ unsigned int |
| // MIPSN32BE: #define __UINT_LEAST64_FMTX__ "llX" |
| // MIPSN32BE: #define __UINT_LEAST64_FMTo__ "llo" |
| // MIPSN32BE: #define __UINT_LEAST64_FMTu__ "llu" |
| // MIPSN32BE: #define __UINT_LEAST64_FMTx__ "llx" |
| // MIPSN32BE: #define __UINT_LEAST64_MAX__ 18446744073709551615ULL |
| // MIPSN32BE: #define __UINT_LEAST64_TYPE__ long long unsigned int |
| // MIPSN32BE: #define __UINT_LEAST8_FMTX__ "hhX" |
| // MIPSN32BE: #define __UINT_LEAST8_FMTo__ "hho" |
| // MIPSN32BE: #define __UINT_LEAST8_FMTu__ "hhu" |
| // MIPSN32BE: #define __UINT_LEAST8_FMTx__ "hhx" |
| // MIPSN32BE: #define __UINT_LEAST8_MAX__ 255 |
| // MIPSN32BE: #define __UINT_LEAST8_TYPE__ unsigned char |
| // MIPSN32BE: #define __USER_LABEL_PREFIX__ |
| // MIPSN32BE: #define __WCHAR_MAX__ 2147483647 |
| // MIPSN32BE: #define __WCHAR_TYPE__ int |
| // MIPSN32BE: #define __WCHAR_WIDTH__ 32 |
| // MIPSN32BE: #define __WINT_TYPE__ int |
| // MIPSN32BE: #define __WINT_WIDTH__ 32 |
| // MIPSN32BE: #define __clang__ 1 |
| // MIPSN32BE: #define __llvm__ 1 |
| // MIPSN32BE: #define __mips 64 |
| // MIPSN32BE: #define __mips64 1 |
| // MIPSN32BE: #define __mips64__ 1 |
| // MIPSN32BE: #define __mips__ 1 |
| // MIPSN32BE: #define __mips_fpr 64 |
| // MIPSN32BE: #define __mips_hard_float 1 |
| // MIPSN32BE: #define __mips_isa_rev 2 |
| // MIPSN32BE: #define __mips_n32 1 |
| // MIPSN32BE: #define _mips 1 |
| // MIPSN32BE: #define mips 1 |
| // |
| // RUN: %clang_cc1 -E -dM -ffreestanding \ |
| // RUN: -triple=mips64el-none-none -target-abi n32 < /dev/null \ |
| // RUN: | FileCheck -match-full-lines -check-prefix MIPSN32EL %s |
| // |
| // MIPSN32EL: #define MIPSEL 1 |
| // MIPSN32EL: #define _ABIN32 2 |
| // MIPSN32EL: #define _ILP32 1 |
| // MIPSN32EL: #define _MIPSEL 1 |
| // MIPSN32EL: #define _MIPS_ARCH "mips64r2" |
| // MIPSN32EL: #define _MIPS_ARCH_MIPS64R2 1 |
| // MIPSN32EL: #define _MIPS_FPSET 32 |
| // MIPSN32EL: #define _MIPS_ISA _MIPS_ISA_MIPS64 |
| // MIPSN32EL: #define _MIPS_SIM _ABIN32 |
| // MIPSN32EL: #define _MIPS_SZINT 32 |
| // MIPSN32EL: #define _MIPS_SZLONG 32 |
| // MIPSN32EL: #define _MIPS_SZPTR 32 |
| // MIPSN32EL: #define __ATOMIC_ACQUIRE 2 |
| // MIPSN32EL: #define __ATOMIC_ACQ_REL 4 |
| // MIPSN32EL: #define __ATOMIC_CONSUME 1 |
| // MIPSN32EL: #define __ATOMIC_RELAXED 0 |
| // MIPSN32EL: #define __ATOMIC_RELEASE 3 |
| // MIPSN32EL: #define __ATOMIC_SEQ_CST 5 |
| // MIPSN32EL: #define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__ |
| // MIPSN32EL: #define __CHAR16_TYPE__ unsigned short |
| // MIPSN32EL: #define __CHAR32_TYPE__ unsigned int |
| // MIPSN32EL: #define __CHAR_BIT__ 8 |
| // MIPSN32EL: #define __CONSTANT_CFSTRINGS__ 1 |
| // MIPSN32EL: #define __DBL_DENORM_MIN__ 4.9406564584124654e-324 |
| // MIPSN32EL: #define __DBL_DIG__ 15 |
| // MIPSN32EL: #define __DBL_EPSILON__ 2.2204460492503131e-16 |
| // MIPSN32EL: #define __DBL_HAS_DENORM__ 1 |
| // MIPSN32EL: #define __DBL_HAS_INFINITY__ 1 |
| // MIPSN32EL: #define __DBL_HAS_QUIET_NAN__ 1 |
| // MIPSN32EL: #define __DBL_MANT_DIG__ 53 |
| // MIPSN32EL: #define __DBL_MAX_10_EXP__ 308 |
| // MIPSN32EL: #define __DBL_MAX_EXP__ 1024 |
| // MIPSN32EL: #define __DBL_MAX__ 1.7976931348623157e+308 |
| // MIPSN32EL: #define __DBL_MIN_10_EXP__ (-307) |
| // MIPSN32EL: #define __DBL_MIN_EXP__ (-1021) |
| // MIPSN32EL: #define __DBL_MIN__ 2.2250738585072014e-308 |
| // MIPSN32EL: #define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__ |
| // MIPSN32EL: #define __FINITE_MATH_ONLY__ 0 |
| // MIPSN32EL: #define __FLT_DENORM_MIN__ 1.40129846e-45F |
| // MIPSN32EL: #define __FLT_DIG__ 6 |
| // MIPSN32EL: #define __FLT_EPSILON__ 1.19209290e-7F |
| // MIPSN32EL: #define __FLT_EVAL_METHOD__ 0 |
| // MIPSN32EL: #define __FLT_HAS_DENORM__ 1 |
| // MIPSN32EL: #define __FLT_HAS_INFINITY__ 1 |
| // MIPSN32EL: #define __FLT_HAS_QUIET_NAN__ 1 |
| // MIPSN32EL: #define __FLT_MANT_DIG__ 24 |
| // MIPSN32EL: #define __FLT_MAX_10_EXP__ 38 |
| // MIPSN32EL: #define __FLT_MAX_EXP__ 128 |
| // MIPSN32EL: #define __FLT_MAX__ 3.40282347e+38F |
| // MIPSN32EL: #define __FLT_MIN_10_EXP__ (-37) |
| // MIPSN32EL: #define __FLT_MIN_EXP__ (-125) |
| // MIPSN32EL: #define __FLT_MIN__ 1.17549435e-38F |
| // MIPSN32EL: #define __FLT_RADIX__ 2 |
| // MIPSN32EL: #define __GCC_ATOMIC_BOOL_LOCK_FREE 2 |
| // MIPSN32EL: #define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2 |
| // MIPSN32EL: #define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2 |
| // MIPSN32EL: #define __GCC_ATOMIC_CHAR_LOCK_FREE 2 |
| // MIPSN32EL: #define __GCC_ATOMIC_INT_LOCK_FREE 2 |
| // MIPSN32EL: #define __GCC_ATOMIC_LLONG_LOCK_FREE 2 |
| // MIPSN32EL: #define __GCC_ATOMIC_LONG_LOCK_FREE 2 |
| // MIPSN32EL: #define __GCC_ATOMIC_POINTER_LOCK_FREE 2 |
| // MIPSN32EL: #define __GCC_ATOMIC_SHORT_LOCK_FREE 2 |
| // MIPSN32EL: #define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1 |
| // MIPSN32EL: #define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2 |
| // MIPSN32EL: #define __GNUC_MINOR__ 2 |
| // MIPSN32EL: #define __GNUC_PATCHLEVEL__ 1 |
| // MIPSN32EL: #define __GNUC_STDC_INLINE__ 1 |
| // MIPSN32EL: #define __GNUC__ 4 |
| // MIPSN32EL: #define __GXX_ABI_VERSION 1002 |
| // MIPSN32EL: #define __ILP32__ 1 |
| // MIPSN32EL: #define __INT16_C_SUFFIX__ |
| // MIPSN32EL: #define __INT16_FMTd__ "hd" |
| // MIPSN32EL: #define __INT16_FMTi__ "hi" |
| // MIPSN32EL: #define __INT16_MAX__ 32767 |
| // MIPSN32EL: #define __INT16_TYPE__ short |
| // MIPSN32EL: #define __INT32_C_SUFFIX__ |
| // MIPSN32EL: #define __INT32_FMTd__ "d" |
| // MIPSN32EL: #define __INT32_FMTi__ "i" |
| // MIPSN32EL: #define __INT32_MAX__ 2147483647 |
| // MIPSN32EL: #define __INT32_TYPE__ int |
| // MIPSN32EL: #define __INT64_C_SUFFIX__ LL |
| // MIPSN32EL: #define __INT64_FMTd__ "lld" |
| // MIPSN32EL: #define __INT64_FMTi__ "lli" |
| // MIPSN32EL: #define __INT64_MAX__ 9223372036854775807LL |
| // MIPSN32EL: #define __INT64_TYPE__ long long int |
| // MIPSN32EL: #define __INT8_C_SUFFIX__ |
| // MIPSN32EL: #define __INT8_FMTd__ "hhd" |
| // MIPSN32EL: #define __INT8_FMTi__ "hhi" |
| // MIPSN32EL: #define __INT8_MAX__ 127 |
| // MIPSN32EL: #define __INT8_TYPE__ signed char |
| // MIPSN32EL: #define __INTMAX_C_SUFFIX__ LL |
| // MIPSN32EL: #define __INTMAX_FMTd__ "lld" |
| // MIPSN32EL: #define __INTMAX_FMTi__ "lli" |
| // MIPSN32EL: #define __INTMAX_MAX__ 9223372036854775807LL |
| // MIPSN32EL: #define __INTMAX_TYPE__ long long int |
| // MIPSN32EL: #define __INTMAX_WIDTH__ 64 |
| // MIPSN32EL: #define __INTPTR_FMTd__ "ld" |
| // MIPSN32EL: #define __INTPTR_FMTi__ "li" |
| // MIPSN32EL: #define __INTPTR_MAX__ 2147483647L |
| // MIPSN32EL: #define __INTPTR_TYPE__ long int |
| // MIPSN32EL: #define __INTPTR_WIDTH__ 32 |
| // MIPSN32EL: #define __INT_FAST16_FMTd__ "hd" |
| // MIPSN32EL: #define __INT_FAST16_FMTi__ "hi" |
| // MIPSN32EL: #define __INT_FAST16_MAX__ 32767 |
| // MIPSN32EL: #define __INT_FAST16_TYPE__ short |
| // MIPSN32EL: #define __INT_FAST32_FMTd__ "d" |
| // MIPSN32EL: #define __INT_FAST32_FMTi__ "i" |
| // MIPSN32EL: #define __INT_FAST32_MAX__ 2147483647 |
| // MIPSN32EL: #define __INT_FAST32_TYPE__ int |
| // MIPSN32EL: #define __INT_FAST64_FMTd__ "lld" |
| // MIPSN32EL: #define __INT_FAST64_FMTi__ "lli" |
| // MIPSN32EL: #define __INT_FAST64_MAX__ 9223372036854775807LL |
| // MIPSN32EL: #define __INT_FAST64_TYPE__ long long int |
| // MIPSN32EL: #define __INT_FAST8_FMTd__ "hhd" |
| // MIPSN32EL: #define __INT_FAST8_FMTi__ "hhi" |
| // MIPSN32EL: #define __INT_FAST8_MAX__ 127 |
| // MIPSN32EL: #define __INT_FAST8_TYPE__ signed char |
| // MIPSN32EL: #define __INT_LEAST16_FMTd__ "hd" |
| // MIPSN32EL: #define __INT_LEAST16_FMTi__ "hi" |
| // MIPSN32EL: #define __INT_LEAST16_MAX__ 32767 |
| // MIPSN32EL: #define __INT_LEAST16_TYPE__ short |
| // MIPSN32EL: #define __INT_LEAST32_FMTd__ "d" |
| // MIPSN32EL: #define __INT_LEAST32_FMTi__ "i" |
| // MIPSN32EL: #define __INT_LEAST32_MAX__ 2147483647 |
| // MIPSN32EL: #define __INT_LEAST32_TYPE__ int |
| // MIPSN32EL: #define __INT_LEAST64_FMTd__ "lld" |
| // MIPSN32EL: #define __INT_LEAST64_FMTi__ "lli" |
| // MIPSN32EL: #define __INT_LEAST64_MAX__ 9223372036854775807LL |
| // MIPSN32EL: #define __INT_LEAST64_TYPE__ long long int |
| // MIPSN32EL: #define __INT_LEAST8_FMTd__ "hhd" |
| // MIPSN32EL: #define __INT_LEAST8_FMTi__ "hhi" |
| // MIPSN32EL: #define __INT_LEAST8_MAX__ 127 |
| // MIPSN32EL: #define __INT_LEAST8_TYPE__ signed char |
| // MIPSN32EL: #define __INT_MAX__ 2147483647 |
| // MIPSN32EL: #define __LDBL_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966L |
| // MIPSN32EL: #define __LDBL_DIG__ 33 |
| // MIPSN32EL: #define __LDBL_EPSILON__ 1.92592994438723585305597794258492732e-34L |
| // MIPSN32EL: #define __LDBL_HAS_DENORM__ 1 |
| // MIPSN32EL: #define __LDBL_HAS_INFINITY__ 1 |
| // MIPSN32EL: #define __LDBL_HAS_QUIET_NAN__ 1 |
| // MIPSN32EL: #define __LDBL_MANT_DIG__ 113 |
| // MIPSN32EL: #define __LDBL_MAX_10_EXP__ 4932 |
| // MIPSN32EL: #define __LDBL_MAX_EXP__ 16384 |
| // MIPSN32EL: #define __LDBL_MAX__ 1.18973149535723176508575932662800702e+4932L |
| // MIPSN32EL: #define __LDBL_MIN_10_EXP__ (-4931) |
| // MIPSN32EL: #define __LDBL_MIN_EXP__ (-16381) |
| // MIPSN32EL: #define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L |
| // MIPSN32EL: #define __LITTLE_ENDIAN__ 1 |
| // MIPSN32EL: #define __LONG_LONG_MAX__ 9223372036854775807LL |
| // MIPSN32EL: #define __LONG_MAX__ 2147483647L |
| // MIPSN32EL: #define __MIPSEL 1 |
| // MIPSN32EL: #define __MIPSEL__ 1 |
| // MIPSN32EL: #define __NO_INLINE__ 1 |
| // MIPSN32EL: #define __ORDER_BIG_ENDIAN__ 4321 |
| // MIPSN32EL: #define __ORDER_LITTLE_ENDIAN__ 1234 |
| // MIPSN32EL: #define __ORDER_PDP_ENDIAN__ 3412 |
| // MIPSN32EL: #define __POINTER_WIDTH__ 32 |
| // MIPSN32EL: #define __PRAGMA_REDEFINE_EXTNAME 1 |
| // MIPSN32EL: #define __PTRDIFF_FMTd__ "d" |
| // MIPSN32EL: #define __PTRDIFF_FMTi__ "i" |
| // MIPSN32EL: #define __PTRDIFF_MAX__ 2147483647 |
| // MIPSN32EL: #define __PTRDIFF_TYPE__ int |
| // MIPSN32EL: #define __PTRDIFF_WIDTH__ 32 |
| // MIPSN32EL: #define __REGISTER_PREFIX__ |
| // MIPSN32EL: #define __SCHAR_MAX__ 127 |
| // MIPSN32EL: #define __SHRT_MAX__ 32767 |
| // MIPSN32EL: #define __SIG_ATOMIC_MAX__ 2147483647 |
| // MIPSN32EL: #define __SIG_ATOMIC_WIDTH__ 32 |
| // MIPSN32EL: #define __SIZEOF_DOUBLE__ 8 |
| // MIPSN32EL: #define __SIZEOF_FLOAT__ 4 |
| // MIPSN32EL: #define __SIZEOF_INT__ 4 |
| // MIPSN32EL: #define __SIZEOF_LONG_DOUBLE__ 16 |
| // MIPSN32EL: #define __SIZEOF_LONG_LONG__ 8 |
| // MIPSN32EL: #define __SIZEOF_LONG__ 4 |
| // MIPSN32EL: #define __SIZEOF_POINTER__ 4 |
| // MIPSN32EL: #define __SIZEOF_PTRDIFF_T__ 4 |
| // MIPSN32EL: #define __SIZEOF_SHORT__ 2 |
| // MIPSN32EL: #define __SIZEOF_SIZE_T__ 4 |
| // MIPSN32EL: #define __SIZEOF_WCHAR_T__ 4 |
| // MIPSN32EL: #define __SIZEOF_WINT_T__ 4 |
| // MIPSN32EL: #define __SIZE_FMTX__ "X" |
| // MIPSN32EL: #define __SIZE_FMTo__ "o" |
| // MIPSN32EL: #define __SIZE_FMTu__ "u" |
| // MIPSN32EL: #define __SIZE_FMTx__ "x" |
| // MIPSN32EL: #define __SIZE_MAX__ 4294967295U |
| // MIPSN32EL: #define __SIZE_TYPE__ unsigned int |
| // MIPSN32EL: #define __SIZE_WIDTH__ 32 |
| // MIPSN32EL: #define __STDC_HOSTED__ 0 |
| // MIPSN32EL: #define __STDC_UTF_16__ 1 |
| // MIPSN32EL: #define __STDC_UTF_32__ 1 |
| // MIPSN32EL: #define __STDC_VERSION__ 201112L |
| // MIPSN32EL: #define __STDC__ 1 |
| // MIPSN32EL: #define __UINT16_C_SUFFIX__ |
| // MIPSN32EL: #define __UINT16_FMTX__ "hX" |
| // MIPSN32EL: #define __UINT16_FMTo__ "ho" |
| // MIPSN32EL: #define __UINT16_FMTu__ "hu" |
| // MIPSN32EL: #define __UINT16_FMTx__ "hx" |
| // MIPSN32EL: #define __UINT16_MAX__ 65535 |
| // MIPSN32EL: #define __UINT16_TYPE__ unsigned short |
| // MIPSN32EL: #define __UINT32_C_SUFFIX__ U |
| // MIPSN32EL: #define __UINT32_FMTX__ "X" |
| // MIPSN32EL: #define __UINT32_FMTo__ "o" |
| // MIPSN32EL: #define __UINT32_FMTu__ "u" |
| // MIPSN32EL: #define __UINT32_FMTx__ "x" |
| // MIPSN32EL: #define __UINT32_MAX__ 4294967295U |
| // MIPSN32EL: #define __UINT32_TYPE__ unsigned int |
| // MIPSN32EL: #define __UINT64_C_SUFFIX__ ULL |
| // MIPSN32EL: #define __UINT64_FMTX__ "llX" |
| // MIPSN32EL: #define __UINT64_FMTo__ "llo" |
| // MIPSN32EL: #define __UINT64_FMTu__ "llu" |
| // MIPSN32EL: #define __UINT64_FMTx__ "llx" |
| // MIPSN32EL: #define __UINT64_MAX__ 18446744073709551615ULL |
| // MIPSN32EL: #define __UINT64_TYPE__ long long unsigned int |
| // MIPSN32EL: #define __UINT8_C_SUFFIX__ |
| // MIPSN32EL: #define __UINT8_FMTX__ "hhX" |
| // MIPSN32EL: #define __UINT8_FMTo__ "hho" |
| // MIPSN32EL: #define __UINT8_FMTu__ "hhu" |
| // MIPSN32EL: #define __UINT8_FMTx__ "hhx" |
| // MIPSN32EL: #define __UINT8_MAX__ 255 |
| // MIPSN32EL: #define __UINT8_TYPE__ unsigned char |
| // MIPSN32EL: #define __UINTMAX_C_SUFFIX__ ULL |
| // MIPSN32EL: #define __UINTMAX_FMTX__ "llX" |
| // MIPSN32EL: #define __UINTMAX_FMTo__ "llo" |
| // MIPSN32EL: #define __UINTMAX_FMTu__ "llu" |
| // MIPSN32EL: #define __UINTMAX_FMTx__ "llx" |
| // MIPSN32EL: #define __UINTMAX_MAX__ 18446744073709551615ULL |
| // MIPSN32EL: #define __UINTMAX_TYPE__ long long unsigned int |
| // MIPSN32EL: #define __UINTMAX_WIDTH__ 64 |
| // MIPSN32EL: #define __UINTPTR_FMTX__ "lX" |
| // MIPSN32EL: #define __UINTPTR_FMTo__ "lo" |
| // MIPSN32EL: #define __UINTPTR_FMTu__ "lu" |
| // MIPSN32EL: #define __UINTPTR_FMTx__ "lx" |
| // MIPSN32EL: #define __UINTPTR_MAX__ 4294967295UL |
| // MIPSN32EL: #define __UINTPTR_TYPE__ long unsigned int |
| // MIPSN32EL: #define __UINTPTR_WIDTH__ 32 |
| // MIPSN32EL: #define __UINT_FAST16_FMTX__ "hX" |
| // MIPSN32EL: #define __UINT_FAST16_FMTo__ "ho" |
| // MIPSN32EL: #define __UINT_FAST16_FMTu__ "hu" |
| // MIPSN32EL: #define __UINT_FAST16_FMTx__ "hx" |
| // MIPSN32EL: #define __UINT_FAST16_MAX__ 65535 |
| // MIPSN32EL: #define __UINT_FAST16_TYPE__ unsigned short |
| // MIPSN32EL: #define __UINT_FAST32_FMTX__ "X" |
| // MIPSN32EL: #define __UINT_FAST32_FMTo__ "o" |
| // MIPSN32EL: #define __UINT_FAST32_FMTu__ "u" |
| // MIPSN32EL: #define __UINT_FAST32_FMTx__ "x" |
| // MIPSN32EL: #define __UINT_FAST32_MAX__ 4294967295U |
| // MIPSN32EL: #define __UINT_FAST32_TYPE__ unsigned int |
| // MIPSN32EL: #define __UINT_FAST64_FMTX__ "llX" |
| // MIPSN32EL: #define __UINT_FAST64_FMTo__ "llo" |
| // MIPSN32EL: #define __UINT_FAST64_FMTu__ "llu" |
| // MIPSN32EL: #define __UINT_FAST64_FMTx__ "llx" |
| // MIPSN32EL: #define __UINT_FAST64_MAX__ 18446744073709551615ULL |
| // MIPSN32EL: #define __UINT_FAST64_TYPE__ long long unsigned int |
| // MIPSN32EL: #define __UINT_FAST8_FMTX__ "hhX" |
| // MIPSN32EL: #define __UINT_FAST8_FMTo__ "hho" |
| // MIPSN32EL: #define __UINT_FAST8_FMTu__ "hhu" |
| // MIPSN32EL: #define __UINT_FAST8_FMTx__ "hhx" |
| // MIPSN32EL: #define __UINT_FAST8_MAX__ 255 |
| // MIPSN32EL: #define __UINT_FAST8_TYPE__ unsigned char |
| // MIPSN32EL: #define __UINT_LEAST16_FMTX__ "hX" |
| // MIPSN32EL: #define __UINT_LEAST16_FMTo__ "ho" |
| // MIPSN32EL: #define __UINT_LEAST16_FMTu__ "hu" |
| // MIPSN32EL: #define __UINT_LEAST16_FMTx__ "hx" |
| // MIPSN32EL: #define __UINT_LEAST16_MAX__ 65535 |
| // MIPSN32EL: #define __UINT_LEAST16_TYPE__ unsigned short |
| // MIPSN32EL: #define __UINT_LEAST32_FMTX__ "X" |
| // MIPSN32EL: #define __UINT_LEAST32_FMTo__ "o" |
| // MIPSN32EL: #define __UINT_LEAST32_FMTu__ "u" |
| // MIPSN32EL: #define __UINT_LEAST32_FMTx__ "x" |
| // MIPSN32EL: #define __UINT_LEAST32_MAX__ 4294967295U |
| // MIPSN32EL: #define __UINT_LEAST32_TYPE__ unsigned int |
| // MIPSN32EL: #define __UINT_LEAST64_FMTX__ "llX" |
| // MIPSN32EL: #define __UINT_LEAST64_FMTo__ "llo" |
| // MIPSN32EL: #define __UINT_LEAST64_FMTu__ "llu" |
| // MIPSN32EL: #define __UINT_LEAST64_FMTx__ "llx" |
| // MIPSN32EL: #define __UINT_LEAST64_MAX__ 18446744073709551615ULL |
| // MIPSN32EL: #define __UINT_LEAST64_TYPE__ long long unsigned int |
| // MIPSN32EL: #define __UINT_LEAST8_FMTX__ "hhX" |
| // MIPSN32EL: #define __UINT_LEAST8_FMTo__ "hho" |
| // MIPSN32EL: #define __UINT_LEAST8_FMTu__ "hhu" |
| // MIPSN32EL: #define __UINT_LEAST8_FMTx__ "hhx" |
| // MIPSN32EL: #define __UINT_LEAST8_MAX__ 255 |
| // MIPSN32EL: #define __UINT_LEAST8_TYPE__ unsigned char |
| // MIPSN32EL: #define __USER_LABEL_PREFIX__ |
| // MIPSN32EL: #define __WCHAR_MAX__ 2147483647 |
| // MIPSN32EL: #define __WCHAR_TYPE__ int |
| // MIPSN32EL: #define __WCHAR_WIDTH__ 32 |
| // MIPSN32EL: #define __WINT_TYPE__ int |
| // MIPSN32EL: #define __WINT_WIDTH__ 32 |
| // MIPSN32EL: #define __clang__ 1 |
| // MIPSN32EL: #define __llvm__ 1 |
| // MIPSN32EL: #define __mips 64 |
| // MIPSN32EL: #define __mips64 1 |
| // MIPSN32EL: #define __mips64__ 1 |
| // MIPSN32EL: #define __mips__ 1 |
| // MIPSN32EL: #define __mips_fpr 64 |
| // MIPSN32EL: #define __mips_hard_float 1 |
| // MIPSN32EL: #define __mips_isa_rev 2 |
| // MIPSN32EL: #define __mips_n32 1 |
| // MIPSN32EL: #define _mips 1 |
| // MIPSN32EL: #define mips 1 |
| // |
| // RUN: %clang_cc1 -E -dM -ffreestanding -triple=mips64-none-none < /dev/null | FileCheck -match-full-lines -check-prefix MIPS64BE %s |
| // |
| // MIPS64BE:#define MIPSEB 1 |
| // MIPS64BE:#define _ABI64 3 |
| // MIPS64BE:#define _LP64 1 |
| // MIPS64BE:#define _MIPSEB 1 |
| // MIPS64BE:#define _MIPS_ARCH "mips64r2" |
| // MIPS64BE:#define _MIPS_ARCH_MIPS64R2 1 |
| // MIPS64BE:#define _MIPS_FPSET 32 |
| // MIPS64BE:#define _MIPS_SIM _ABI64 |
| // MIPS64BE:#define _MIPS_SZINT 32 |
| // MIPS64BE:#define _MIPS_SZLONG 64 |
| // MIPS64BE:#define _MIPS_SZPTR 64 |
| // MIPS64BE:#define __BIGGEST_ALIGNMENT__ 16 |
| // MIPS64BE:#define __BIG_ENDIAN__ 1 |
| // MIPS64BE:#define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__ |
| // MIPS64BE:#define __CHAR16_TYPE__ unsigned short |
| // MIPS64BE:#define __CHAR32_TYPE__ unsigned int |
| // MIPS64BE:#define __CHAR_BIT__ 8 |
| // MIPS64BE:#define __CONSTANT_CFSTRINGS__ 1 |
| // MIPS64BE:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324 |
| // MIPS64BE:#define __DBL_DIG__ 15 |
| // MIPS64BE:#define __DBL_EPSILON__ 2.2204460492503131e-16 |
| // MIPS64BE:#define __DBL_HAS_DENORM__ 1 |
| // MIPS64BE:#define __DBL_HAS_INFINITY__ 1 |
| // MIPS64BE:#define __DBL_HAS_QUIET_NAN__ 1 |
| // MIPS64BE:#define __DBL_MANT_DIG__ 53 |
| // MIPS64BE:#define __DBL_MAX_10_EXP__ 308 |
| // MIPS64BE:#define __DBL_MAX_EXP__ 1024 |
| // MIPS64BE:#define __DBL_MAX__ 1.7976931348623157e+308 |
| // MIPS64BE:#define __DBL_MIN_10_EXP__ (-307) |
| // MIPS64BE:#define __DBL_MIN_EXP__ (-1021) |
| // MIPS64BE:#define __DBL_MIN__ 2.2250738585072014e-308 |
| // MIPS64BE:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__ |
| // MIPS64BE:#define __FLT_DENORM_MIN__ 1.40129846e-45F |
| // MIPS64BE:#define __FLT_DIG__ 6 |
| // MIPS64BE:#define __FLT_EPSILON__ 1.19209290e-7F |
| // MIPS64BE:#define __FLT_EVAL_METHOD__ 0 |
| // MIPS64BE:#define __FLT_HAS_DENORM__ 1 |
| // MIPS64BE:#define __FLT_HAS_INFINITY__ 1 |
| // MIPS64BE:#define __FLT_HAS_QUIET_NAN__ 1 |
| // MIPS64BE:#define __FLT_MANT_DIG__ 24 |
| // MIPS64BE:#define __FLT_MAX_10_EXP__ 38 |
| // MIPS64BE:#define __FLT_MAX_EXP__ 128 |
| // MIPS64BE:#define __FLT_MAX__ 3.40282347e+38F |
| // MIPS64BE:#define __FLT_MIN_10_EXP__ (-37) |
| // MIPS64BE:#define __FLT_MIN_EXP__ (-125) |
| // MIPS64BE:#define __FLT_MIN__ 1.17549435e-38F |
| // MIPS64BE:#define __FLT_RADIX__ 2 |
| // MIPS64BE:#define __INT16_C_SUFFIX__ |
| // MIPS64BE:#define __INT16_FMTd__ "hd" |
| // MIPS64BE:#define __INT16_FMTi__ "hi" |
| // MIPS64BE:#define __INT16_MAX__ 32767 |
| // MIPS64BE:#define __INT16_TYPE__ short |
| // MIPS64BE:#define __INT32_C_SUFFIX__ |
| // MIPS64BE:#define __INT32_FMTd__ "d" |
| // MIPS64BE:#define __INT32_FMTi__ "i" |
| // MIPS64BE:#define __INT32_MAX__ 2147483647 |
| // MIPS64BE:#define __INT32_TYPE__ int |
| // MIPS64BE:#define __INT64_C_SUFFIX__ L |
| // MIPS64BE:#define __INT64_FMTd__ "ld" |
| // MIPS64BE:#define __INT64_FMTi__ "li" |
| // MIPS64BE:#define __INT64_MAX__ 9223372036854775807L |
| // MIPS64BE:#define __INT64_TYPE__ long int |
| // MIPS64BE:#define __INT8_C_SUFFIX__ |
| // MIPS64BE:#define __INT8_FMTd__ "hhd" |
| // MIPS64BE:#define __INT8_FMTi__ "hhi" |
| // MIPS64BE:#define __INT8_MAX__ 127 |
| // MIPS64BE:#define __INT8_TYPE__ signed char |
| // MIPS64BE:#define __INTMAX_C_SUFFIX__ L |
| // MIPS64BE:#define __INTMAX_FMTd__ "ld" |
| // MIPS64BE:#define __INTMAX_FMTi__ "li" |
| // MIPS64BE:#define __INTMAX_MAX__ 9223372036854775807L |
| // MIPS64BE:#define __INTMAX_TYPE__ long int |
| // MIPS64BE:#define __INTMAX_WIDTH__ 64 |
| // MIPS64BE:#define __INTPTR_FMTd__ "ld" |
| // MIPS64BE:#define __INTPTR_FMTi__ "li" |
| // MIPS64BE:#define __INTPTR_MAX__ 9223372036854775807L |
| // MIPS64BE:#define __INTPTR_TYPE__ long int |
| // MIPS64BE:#define __INTPTR_WIDTH__ 64 |
| // MIPS64BE:#define __INT_FAST16_FMTd__ "hd" |
| // MIPS64BE:#define __INT_FAST16_FMTi__ "hi" |
| // MIPS64BE:#define __INT_FAST16_MAX__ 32767 |
| // MIPS64BE:#define __INT_FAST16_TYPE__ short |
| // MIPS64BE:#define __INT_FAST32_FMTd__ "d" |
| // MIPS64BE:#define __INT_FAST32_FMTi__ "i" |
| // MIPS64BE:#define __INT_FAST32_MAX__ 2147483647 |
| // MIPS64BE:#define __INT_FAST32_TYPE__ int |
| // MIPS64BE:#define __INT_FAST64_FMTd__ "ld" |
| // MIPS64BE:#define __INT_FAST64_FMTi__ "li" |
| // MIPS64BE:#define __INT_FAST64_MAX__ 9223372036854775807L |
| // MIPS64BE:#define __INT_FAST64_TYPE__ long int |
| // MIPS64BE:#define __INT_FAST8_FMTd__ "hhd" |
| // MIPS64BE:#define __INT_FAST8_FMTi__ "hhi" |
| // MIPS64BE:#define __INT_FAST8_MAX__ 127 |
| // MIPS64BE:#define __INT_FAST8_TYPE__ signed char |
| // MIPS64BE:#define __INT_LEAST16_FMTd__ "hd" |
| // MIPS64BE:#define __INT_LEAST16_FMTi__ "hi" |
| // MIPS64BE:#define __INT_LEAST16_MAX__ 32767 |
| // MIPS64BE:#define __INT_LEAST16_TYPE__ short |
| // MIPS64BE:#define __INT_LEAST32_FMTd__ "d" |
| // MIPS64BE:#define __INT_LEAST32_FMTi__ "i" |
| // MIPS64BE:#define __INT_LEAST32_MAX__ 2147483647 |
| // MIPS64BE:#define __INT_LEAST32_TYPE__ int |
| // MIPS64BE:#define __INT_LEAST64_FMTd__ "ld" |
| // MIPS64BE:#define __INT_LEAST64_FMTi__ "li" |
| // MIPS64BE:#define __INT_LEAST64_MAX__ 9223372036854775807L |
| // MIPS64BE:#define __INT_LEAST64_TYPE__ long int |
| // MIPS64BE:#define __INT_LEAST8_FMTd__ "hhd" |
| // MIPS64BE:#define __INT_LEAST8_FMTi__ "hhi" |
| // MIPS64BE:#define __INT_LEAST8_MAX__ 127 |
| // MIPS64BE:#define __INT_LEAST8_TYPE__ signed char |
| // MIPS64BE:#define __INT_MAX__ 2147483647 |
| // MIPS64BE:#define __LDBL_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966L |
| // MIPS64BE:#define __LDBL_DIG__ 33 |
| // MIPS64BE:#define __LDBL_EPSILON__ 1.92592994438723585305597794258492732e-34L |
| // MIPS64BE:#define __LDBL_HAS_DENORM__ 1 |
| // MIPS64BE:#define __LDBL_HAS_INFINITY__ 1 |
| // MIPS64BE:#define __LDBL_HAS_QUIET_NAN__ 1 |
| // MIPS64BE:#define __LDBL_MANT_DIG__ 113 |
| // MIPS64BE:#define __LDBL_MAX_10_EXP__ 4932 |
| // MIPS64BE:#define __LDBL_MAX_EXP__ 16384 |
| // MIPS64BE:#define __LDBL_MAX__ 1.18973149535723176508575932662800702e+4932L |
| // MIPS64BE:#define __LDBL_MIN_10_EXP__ (-4931) |
| // MIPS64BE:#define __LDBL_MIN_EXP__ (-16381) |
| // MIPS64BE:#define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L |
| // MIPS64BE:#define __LONG_LONG_MAX__ 9223372036854775807LL |
| // MIPS64BE:#define __LONG_MAX__ 9223372036854775807L |
| // MIPS64BE:#define __LP64__ 1 |
| // MIPS64BE:#define __MIPSEB 1 |
| // MIPS64BE:#define __MIPSEB__ 1 |
| // MIPS64BE:#define __POINTER_WIDTH__ 64 |
| // MIPS64BE:#define __PRAGMA_REDEFINE_EXTNAME 1 |
| // MIPS64BE:#define __PTRDIFF_TYPE__ long int |
| // MIPS64BE:#define __PTRDIFF_WIDTH__ 64 |
| // MIPS64BE:#define __REGISTER_PREFIX__ |
| // MIPS64BE:#define __SCHAR_MAX__ 127 |
| // MIPS64BE:#define __SHRT_MAX__ 32767 |
| // MIPS64BE:#define __SIG_ATOMIC_MAX__ 2147483647 |
| // MIPS64BE:#define __SIG_ATOMIC_WIDTH__ 32 |
| // MIPS64BE:#define __SIZEOF_DOUBLE__ 8 |
| // MIPS64BE:#define __SIZEOF_FLOAT__ 4 |
| // MIPS64BE:#define __SIZEOF_INT128__ 16 |
| // MIPS64BE:#define __SIZEOF_INT__ 4 |
| // MIPS64BE:#define __SIZEOF_LONG_DOUBLE__ 16 |
| // MIPS64BE:#define __SIZEOF_LONG_LONG__ 8 |
| // MIPS64BE:#define __SIZEOF_LONG__ 8 |
| // MIPS64BE:#define __SIZEOF_POINTER__ 8 |
| // MIPS64BE:#define __SIZEOF_PTRDIFF_T__ 8 |
| // MIPS64BE:#define __SIZEOF_SHORT__ 2 |
| // MIPS64BE:#define __SIZEOF_SIZE_T__ 8 |
| // MIPS64BE:#define __SIZEOF_WCHAR_T__ 4 |
| // MIPS64BE:#define __SIZEOF_WINT_T__ 4 |
| // MIPS64BE:#define __SIZE_MAX__ 18446744073709551615UL |
| // MIPS64BE:#define __SIZE_TYPE__ long unsigned int |
| // MIPS64BE:#define __SIZE_WIDTH__ 64 |
| // MIPS64BE:#define __UINT16_C_SUFFIX__ |
| // MIPS64BE:#define __UINT16_MAX__ 65535 |
| // MIPS64BE:#define __UINT16_TYPE__ unsigned short |
| // MIPS64BE:#define __UINT32_C_SUFFIX__ U |
| // MIPS64BE:#define __UINT32_MAX__ 4294967295U |
| // MIPS64BE:#define __UINT32_TYPE__ unsigned int |
| // MIPS64BE:#define __UINT64_C_SUFFIX__ UL |
| // MIPS64BE:#define __UINT64_MAX__ 18446744073709551615UL |
| // MIPS64BE:#define __UINT64_TYPE__ long unsigned int |
| // MIPS64BE:#define __UINT8_C_SUFFIX__ |
| // MIPS64BE:#define __UINT8_MAX__ 255 |
| // MIPS64BE:#define __UINT8_TYPE__ unsigned char |
| // MIPS64BE:#define __UINTMAX_C_SUFFIX__ UL |
| // MIPS64BE:#define __UINTMAX_MAX__ 18446744073709551615UL |
| // MIPS64BE:#define __UINTMAX_TYPE__ long unsigned int |
|