forked from OSchip/llvm-project
1056 lines
49 KiB
C
1056 lines
49 KiB
C
// RUN: %clang_cc1 -E -dM -ffreestanding -triple=thumbv7-windows-msvc < /dev/null | FileCheck -match-full-lines -check-prefix ARM-MSVC %s
|
|
//
|
|
// ARM-MSVC: #define _M_ARM_NT 1
|
|
// ARM-MSVC: #define _WIN32 1
|
|
// ARM-MSVC-NOT:#define __ARM_DWARF_EH__ 1
|
|
|
|
// RUN: %clang_cc1 -E -dM -ffreestanding -triple=arm-none-none < /dev/null | FileCheck -match-full-lines -check-prefix ARM %s
|
|
// RUN: %clang_cc1 -x c++ -E -dM -ffreestanding -triple=arm-none-none < /dev/null | FileCheck -match-full-lines -check-prefix ARM -check-prefix ARM-CXX %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_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__ "d"
|
|
// ARM:#define __INTPTR_FMTi__ "i"
|
|
// ARM:#define __INTPTR_MAX__ 2147483647
|
|
// ARM:#define __INTPTR_TYPE__ 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-CXX:#define __STDCPP_DEFAULT_NEW_ALIGNMENT__ 8U
|
|
// 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__ 4294967295U
|
|
// ARM:#define __UINTPTR_TYPE__ 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 -triple=armv7-apple-ios7.0 -x c++ < /dev/null | FileCheck -match-full-lines -check-prefix ARM-DARWIN-CXX %s
|
|
// ARM-DARWIN-CXX: #define __STDCPP_DEFAULT_NEW_ALIGNMENT__ 16UL
|
|
|
|
// RUN: %clang_cc1 -dM -ffreestanding -triple arm-none-none -target-abi apcs-gnu -E /dev/null -o - | FileCheck -match-full-lines -check-prefix ARM-APCS-GNU %s
|
|
// ARM-APCS-GNU: #define __INTPTR_TYPE__ int
|
|
// ARM-APCS-GNU: #define __PTRDIFF_TYPE__ int
|
|
// ARM-APCS-GNU: #define __SIZE_TYPE__ unsigned int
|
|
|
|
// 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_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__ "d"
|
|
// ARM-BE:#define __INTPTR_FMTi__ "i"
|
|
// ARM-BE:#define __INTPTR_MAX__ 2147483647
|
|
// ARM-BE:#define __INTPTR_TYPE__ 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__ 4294967295U
|
|
// ARM-BE:#define __UINTPTR_TYPE__ 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_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__ "d"
|
|
// ARMEABISOFTFP:#define __INTPTR_FMTi__ "i"
|
|
// ARMEABISOFTFP:#define __INTPTR_MAX__ 2147483647
|
|
// ARMEABISOFTFP:#define __INTPTR_TYPE__ 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__ 4294967295U
|
|
// ARMEABISOFTFP:#define __UINTPTR_TYPE__ 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_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__ "d"
|
|
// ARMEABIHARDFP:#define __INTPTR_FMTi__ "i"
|
|
// ARMEABIHARDFP:#define __INTPTR_MAX__ 2147483647
|
|
// ARMEABIHARDFP:#define __INTPTR_TYPE__ 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__ 4294967295U
|
|
// ARMEABIHARDFP:#define __UINTPTR_TYPE__ 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=armv6-unknown-cloudabi-eabihf < /dev/null | FileCheck -match-full-lines -check-prefix ARMV6-CLOUDABI %s
|
|
//
|
|
// ARMV6-CLOUDABI:#define __CloudABI__ 1
|
|
// ARMV6-CLOUDABI:#define __arm__ 1
|
|
|
|
// RUN: %clang -E -dM -ffreestanding -target arm-netbsd-eabi %s -o - | 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_5TE__ 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_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 __SOFTFP__ 1
|
|
// 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 -E -dM -ffreestanding -target arm-netbsd-eabihf %s -o - | FileCheck -match-full-lines -check-prefix ARMHF-NETBSD %s
|
|
// ARMHF-NETBSD:#define __SIZE_WIDTH__ 32
|
|
// ARMHF-NETBSD-NOT:#define __SOFTFP__ 1
|
|
// ARMHF-NETBSD:#define __UINT16_C_SUFFIX__
|
|
|
|
// RUN: %clang_cc1 -E -dM -ffreestanding -triple=arm-none-eabi < /dev/null | FileCheck -match-full-lines -check-prefix ARM-NONE-EABI %s
|
|
// RUN: %clang_cc1 -E -dM -ffreestanding -triple=arm-none-eabihf < /dev/null | FileCheck -match-full-lines -check-prefix ARM-NONE-EABI %s
|
|
// RUN: %clang_cc1 -E -dM -ffreestanding -triple=aarch64-none-eabi < /dev/null | FileCheck -match-full-lines -check-prefix ARM-NONE-EABI %s
|
|
// RUN: %clang_cc1 -E -dM -ffreestanding -triple=aarch64-none-eabihf < /dev/null | FileCheck -match-full-lines -check-prefix ARM-NONE-EABI %s
|
|
// RUN: %clang_cc1 -E -dM -ffreestanding -triple=aarch64-none-elf < /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
|
|
|
|
// 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=thumbv7-pc-windows-gnu -exception-model=dwarf %s -o - | FileCheck -match-full-lines -check-prefix THUMB-MINGW %s
|
|
|
|
// THUMB-MINGW:#define __ARM_DWARF_EH__ 1
|
|
|