|
975 | 975 | // PPC8548:#define __NO_LWSYNC__ 1
|
976 | 976 | // PPC8548:#define __SPE__ 1
|
977 | 977 |
|
978 |
| -// RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc-apple-darwin8 < /dev/null | FileCheck -match-full-lines -check-prefix PPC-DARWIN %s |
979 |
| -// |
980 |
| -// PPC-DARWIN:#define _ARCH_PPC 1 |
981 |
| -// PPC-DARWIN:#define _BIG_ENDIAN 1 |
982 |
| -// PPC-DARWIN:#define __BIGGEST_ALIGNMENT__ 16 |
983 |
| -// PPC-DARWIN:#define __BIG_ENDIAN__ 1 |
984 |
| -// PPC-DARWIN:#define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__ |
985 |
| -// PPC-DARWIN:#define __CHAR16_TYPE__ unsigned short |
986 |
| -// PPC-DARWIN:#define __CHAR32_TYPE__ unsigned int |
987 |
| -// PPC-DARWIN:#define __CHAR_BIT__ 8 |
988 |
| -// PPC-DARWIN:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324 |
989 |
| -// PPC-DARWIN:#define __DBL_DIG__ 15 |
990 |
| -// PPC-DARWIN:#define __DBL_EPSILON__ 2.2204460492503131e-16 |
991 |
| -// PPC-DARWIN:#define __DBL_HAS_DENORM__ 1 |
992 |
| -// PPC-DARWIN:#define __DBL_HAS_INFINITY__ 1 |
993 |
| -// PPC-DARWIN:#define __DBL_HAS_QUIET_NAN__ 1 |
994 |
| -// PPC-DARWIN:#define __DBL_MANT_DIG__ 53 |
995 |
| -// PPC-DARWIN:#define __DBL_MAX_10_EXP__ 308 |
996 |
| -// PPC-DARWIN:#define __DBL_MAX_EXP__ 1024 |
997 |
| -// PPC-DARWIN:#define __DBL_MAX__ 1.7976931348623157e+308 |
998 |
| -// PPC-DARWIN:#define __DBL_MIN_10_EXP__ (-307) |
999 |
| -// PPC-DARWIN:#define __DBL_MIN_EXP__ (-1021) |
1000 |
| -// PPC-DARWIN:#define __DBL_MIN__ 2.2250738585072014e-308 |
1001 |
| -// PPC-DARWIN:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__ |
1002 |
| -// PPC-DARWIN:#define __FLT_DENORM_MIN__ 1.40129846e-45F |
1003 |
| -// PPC-DARWIN:#define __FLT_DIG__ 6 |
1004 |
| -// PPC-DARWIN:#define __FLT_EPSILON__ 1.19209290e-7F |
1005 |
| -// PPC-DARWIN:#define __FLT_HAS_DENORM__ 1 |
1006 |
| -// PPC-DARWIN:#define __FLT_HAS_INFINITY__ 1 |
1007 |
| -// PPC-DARWIN:#define __FLT_HAS_QUIET_NAN__ 1 |
1008 |
| -// PPC-DARWIN:#define __FLT_MANT_DIG__ 24 |
1009 |
| -// PPC-DARWIN:#define __FLT_MAX_10_EXP__ 38 |
1010 |
| -// PPC-DARWIN:#define __FLT_MAX_EXP__ 128 |
1011 |
| -// PPC-DARWIN:#define __FLT_MAX__ 3.40282347e+38F |
1012 |
| -// PPC-DARWIN:#define __FLT_MIN_10_EXP__ (-37) |
1013 |
| -// PPC-DARWIN:#define __FLT_MIN_EXP__ (-125) |
1014 |
| -// PPC-DARWIN:#define __FLT_MIN__ 1.17549435e-38F |
1015 |
| -// PPC-DARWIN:#define __FLT_RADIX__ 2 |
1016 |
| -// PPC-DARWIN:#define __HAVE_BSWAP__ 1 |
1017 |
| -// PPC-DARWIN:#define __INT16_C_SUFFIX__ |
1018 |
| -// PPC-DARWIN:#define __INT16_FMTd__ "hd" |
1019 |
| -// PPC-DARWIN:#define __INT16_FMTi__ "hi" |
1020 |
| -// PPC-DARWIN:#define __INT16_MAX__ 32767 |
1021 |
| -// PPC-DARWIN:#define __INT16_TYPE__ short |
1022 |
| -// PPC-DARWIN:#define __INT32_C_SUFFIX__ |
1023 |
| -// PPC-DARWIN:#define __INT32_FMTd__ "d" |
1024 |
| -// PPC-DARWIN:#define __INT32_FMTi__ "i" |
1025 |
| -// PPC-DARWIN:#define __INT32_MAX__ 2147483647 |
1026 |
| -// PPC-DARWIN:#define __INT32_TYPE__ int |
1027 |
| -// PPC-DARWIN:#define __INT64_C_SUFFIX__ LL |
1028 |
| -// PPC-DARWIN:#define __INT64_FMTd__ "lld" |
1029 |
| -// PPC-DARWIN:#define __INT64_FMTi__ "lli" |
1030 |
| -// PPC-DARWIN:#define __INT64_MAX__ 9223372036854775807LL |
1031 |
| -// PPC-DARWIN:#define __INT64_TYPE__ long long int |
1032 |
| -// PPC-DARWIN:#define __INT8_C_SUFFIX__ |
1033 |
| -// PPC-DARWIN:#define __INT8_FMTd__ "hhd" |
1034 |
| -// PPC-DARWIN:#define __INT8_FMTi__ "hhi" |
1035 |
| -// PPC-DARWIN:#define __INT8_MAX__ 127 |
1036 |
| -// PPC-DARWIN:#define __INT8_TYPE__ signed char |
1037 |
| -// PPC-DARWIN:#define __INTMAX_C_SUFFIX__ LL |
1038 |
| -// PPC-DARWIN:#define __INTMAX_FMTd__ "lld" |
1039 |
| -// PPC-DARWIN:#define __INTMAX_FMTi__ "lli" |
1040 |
| -// PPC-DARWIN:#define __INTMAX_MAX__ 9223372036854775807LL |
1041 |
| -// PPC-DARWIN:#define __INTMAX_TYPE__ long long int |
1042 |
| -// PPC-DARWIN:#define __INTMAX_WIDTH__ 64 |
1043 |
| -// PPC-DARWIN:#define __INTPTR_FMTd__ "ld" |
1044 |
| -// PPC-DARWIN:#define __INTPTR_FMTi__ "li" |
1045 |
| -// PPC-DARWIN:#define __INTPTR_MAX__ 2147483647L |
1046 |
| -// PPC-DARWIN:#define __INTPTR_TYPE__ long int |
1047 |
| -// PPC-DARWIN:#define __INTPTR_WIDTH__ 32 |
1048 |
| -// PPC-DARWIN:#define __INT_FAST16_FMTd__ "hd" |
1049 |
| -// PPC-DARWIN:#define __INT_FAST16_FMTi__ "hi" |
1050 |
| -// PPC-DARWIN:#define __INT_FAST16_MAX__ 32767 |
1051 |
| -// PPC-DARWIN:#define __INT_FAST16_TYPE__ short |
1052 |
| -// PPC-DARWIN:#define __INT_FAST32_FMTd__ "d" |
1053 |
| -// PPC-DARWIN:#define __INT_FAST32_FMTi__ "i" |
1054 |
| -// PPC-DARWIN:#define __INT_FAST32_MAX__ 2147483647 |
1055 |
| -// PPC-DARWIN:#define __INT_FAST32_TYPE__ int |
1056 |
| -// PPC-DARWIN:#define __INT_FAST64_FMTd__ "lld" |
1057 |
| -// PPC-DARWIN:#define __INT_FAST64_FMTi__ "lli" |
1058 |
| -// PPC-DARWIN:#define __INT_FAST64_MAX__ 9223372036854775807LL |
1059 |
| -// PPC-DARWIN:#define __INT_FAST64_TYPE__ long long int |
1060 |
| -// PPC-DARWIN:#define __INT_FAST8_FMTd__ "hhd" |
1061 |
| -// PPC-DARWIN:#define __INT_FAST8_FMTi__ "hhi" |
1062 |
| -// PPC-DARWIN:#define __INT_FAST8_MAX__ 127 |
1063 |
| -// PPC-DARWIN:#define __INT_FAST8_TYPE__ signed char |
1064 |
| -// PPC-DARWIN:#define __INT_LEAST16_FMTd__ "hd" |
1065 |
| -// PPC-DARWIN:#define __INT_LEAST16_FMTi__ "hi" |
1066 |
| -// PPC-DARWIN:#define __INT_LEAST16_MAX__ 32767 |
1067 |
| -// PPC-DARWIN:#define __INT_LEAST16_TYPE__ short |
1068 |
| -// PPC-DARWIN:#define __INT_LEAST32_FMTd__ "d" |
1069 |
| -// PPC-DARWIN:#define __INT_LEAST32_FMTi__ "i" |
1070 |
| -// PPC-DARWIN:#define __INT_LEAST32_MAX__ 2147483647 |
1071 |
| -// PPC-DARWIN:#define __INT_LEAST32_TYPE__ int |
1072 |
| -// PPC-DARWIN:#define __INT_LEAST64_FMTd__ "lld" |
1073 |
| -// PPC-DARWIN:#define __INT_LEAST64_FMTi__ "lli" |
1074 |
| -// PPC-DARWIN:#define __INT_LEAST64_MAX__ 9223372036854775807LL |
1075 |
| -// PPC-DARWIN:#define __INT_LEAST64_TYPE__ long long int |
1076 |
| -// PPC-DARWIN:#define __INT_LEAST8_FMTd__ "hhd" |
1077 |
| -// PPC-DARWIN:#define __INT_LEAST8_FMTi__ "hhi" |
1078 |
| -// PPC-DARWIN:#define __INT_LEAST8_MAX__ 127 |
1079 |
| -// PPC-DARWIN:#define __INT_LEAST8_TYPE__ signed char |
1080 |
| -// PPC-DARWIN:#define __INT_MAX__ 2147483647 |
1081 |
| -// PPC-DARWIN:#define __LDBL_DENORM_MIN__ 4.94065645841246544176568792868221e-324L |
1082 |
| -// PPC-DARWIN:#define __LDBL_DIG__ 31 |
1083 |
| -// PPC-DARWIN:#define __LDBL_EPSILON__ 4.94065645841246544176568792868221e-324L |
1084 |
| -// PPC-DARWIN:#define __LDBL_HAS_DENORM__ 1 |
1085 |
| -// PPC-DARWIN:#define __LDBL_HAS_INFINITY__ 1 |
1086 |
| -// PPC-DARWIN:#define __LDBL_HAS_QUIET_NAN__ 1 |
1087 |
| -// PPC-DARWIN:#define __LDBL_MANT_DIG__ 106 |
1088 |
| -// PPC-DARWIN:#define __LDBL_MAX_10_EXP__ 308 |
1089 |
| -// PPC-DARWIN:#define __LDBL_MAX_EXP__ 1024 |
1090 |
| -// PPC-DARWIN:#define __LDBL_MAX__ 1.79769313486231580793728971405301e+308L |
1091 |
| -// PPC-DARWIN:#define __LDBL_MIN_10_EXP__ (-291) |
1092 |
| -// PPC-DARWIN:#define __LDBL_MIN_EXP__ (-968) |
1093 |
| -// PPC-DARWIN:#define __LDBL_MIN__ 2.00416836000897277799610805135016e-292L |
1094 |
| -// PPC-DARWIN:#define __LONGDOUBLE128 1 |
1095 |
| -// PPC-DARWIN:#define __LONG_DOUBLE_128__ 1 |
1096 |
| -// PPC-DARWIN:#define __LONG_LONG_MAX__ 9223372036854775807LL |
1097 |
| -// PPC-DARWIN:#define __LONG_MAX__ 2147483647L |
1098 |
| -// PPC-DARWIN:#define __MACH__ 1 |
1099 |
| -// PPC-DARWIN:#define __NATURAL_ALIGNMENT__ 1 |
1100 |
| -// PPC-DARWIN:#define __ORDER_BIG_ENDIAN__ 4321 |
1101 |
| -// PPC-DARWIN:#define __ORDER_LITTLE_ENDIAN__ 1234 |
1102 |
| -// PPC-DARWIN:#define __ORDER_PDP_ENDIAN__ 3412 |
1103 |
| -// PPC-DARWIN:#define __POINTER_WIDTH__ 32 |
1104 |
| -// PPC-DARWIN:#define __POWERPC__ 1 |
1105 |
| -// PPC-DARWIN:#define __PPC__ 1 |
1106 |
| -// PPC-DARWIN:#define __PTRDIFF_TYPE__ int |
1107 |
| -// PPC-DARWIN:#define __PTRDIFF_WIDTH__ 32 |
1108 |
| -// PPC-DARWIN:#define __REGISTER_PREFIX__ |
1109 |
| -// PPC-DARWIN:#define __SCHAR_MAX__ 127 |
1110 |
| -// PPC-DARWIN:#define __SHRT_MAX__ 32767 |
1111 |
| -// PPC-DARWIN:#define __SIG_ATOMIC_MAX__ 2147483647 |
1112 |
| -// PPC-DARWIN:#define __SIG_ATOMIC_WIDTH__ 32 |
1113 |
| -// PPC-DARWIN:#define __SIZEOF_DOUBLE__ 8 |
1114 |
| -// PPC-DARWIN:#define __SIZEOF_FLOAT__ 4 |
1115 |
| -// PPC-DARWIN:#define __SIZEOF_INT__ 4 |
1116 |
| -// PPC-DARWIN:#define __SIZEOF_LONG_DOUBLE__ 16 |
1117 |
| -// PPC-DARWIN:#define __SIZEOF_LONG_LONG__ 8 |
1118 |
| -// PPC-DARWIN:#define __SIZEOF_LONG__ 4 |
1119 |
| -// PPC-DARWIN:#define __SIZEOF_POINTER__ 4 |
1120 |
| -// PPC-DARWIN:#define __SIZEOF_PTRDIFF_T__ 4 |
1121 |
| -// PPC-DARWIN:#define __SIZEOF_SHORT__ 2 |
1122 |
| -// PPC-DARWIN:#define __SIZEOF_SIZE_T__ 4 |
1123 |
| -// PPC-DARWIN:#define __SIZEOF_WCHAR_T__ 4 |
1124 |
| -// PPC-DARWIN:#define __SIZEOF_WINT_T__ 4 |
1125 |
| -// PPC-DARWIN:#define __SIZE_MAX__ 4294967295UL |
1126 |
| -// PPC-DARWIN:#define __SIZE_TYPE__ long unsigned int |
1127 |
| -// PPC-DARWIN:#define __SIZE_WIDTH__ 32 |
1128 |
| -// PPC-DARWIN:#define __STDC_HOSTED__ 0 |
1129 |
| -// PPC-DARWIN:#define __STDC_VERSION__ 201710L |
1130 |
| -// PPC-DARWIN:#define __STDC__ 1 |
1131 |
| -// PPC-DARWIN:#define __UINT16_C_SUFFIX__ |
1132 |
| -// PPC-DARWIN:#define __UINT16_MAX__ 65535 |
1133 |
| -// PPC-DARWIN:#define __UINT16_TYPE__ unsigned short |
1134 |
| -// PPC-DARWIN:#define __UINT32_C_SUFFIX__ U |
1135 |
| -// PPC-DARWIN:#define __UINT32_MAX__ 4294967295U |
1136 |
| -// PPC-DARWIN:#define __UINT32_TYPE__ unsigned int |
1137 |
| -// PPC-DARWIN:#define __UINT64_C_SUFFIX__ ULL |
1138 |
| -// PPC-DARWIN:#define __UINT64_MAX__ 18446744073709551615ULL |
1139 |
| -// PPC-DARWIN:#define __UINT64_TYPE__ long long unsigned int |
1140 |
| -// PPC-DARWIN:#define __UINT8_C_SUFFIX__ |
1141 |
| -// PPC-DARWIN:#define __UINT8_MAX__ 255 |
1142 |
| -// PPC-DARWIN:#define __UINT8_TYPE__ unsigned char |
1143 |
| -// PPC-DARWIN:#define __UINTMAX_C_SUFFIX__ ULL |
1144 |
| -// PPC-DARWIN:#define __UINTMAX_MAX__ 18446744073709551615ULL |
1145 |
| -// PPC-DARWIN:#define __UINTMAX_TYPE__ long long unsigned int |
1146 |
| -// PPC-DARWIN:#define __UINTMAX_WIDTH__ 64 |
1147 |
| -// PPC-DARWIN:#define __UINTPTR_MAX__ 4294967295UL |
1148 |
| -// PPC-DARWIN:#define __UINTPTR_TYPE__ long unsigned int |
1149 |
| -// PPC-DARWIN:#define __UINTPTR_WIDTH__ 32 |
1150 |
| -// PPC-DARWIN:#define __UINT_FAST16_MAX__ 65535 |
1151 |
| -// PPC-DARWIN:#define __UINT_FAST16_TYPE__ unsigned short |
1152 |
| -// PPC-DARWIN:#define __UINT_FAST32_MAX__ 4294967295U |
1153 |
| -// PPC-DARWIN:#define __UINT_FAST32_TYPE__ unsigned int |
1154 |
| -// PPC-DARWIN:#define __UINT_FAST64_MAX__ 18446744073709551615ULL |
1155 |
| -// PPC-DARWIN:#define __UINT_FAST64_TYPE__ long long unsigned int |
1156 |
| -// PPC-DARWIN:#define __UINT_FAST8_MAX__ 255 |
1157 |
| -// PPC-DARWIN:#define __UINT_FAST8_TYPE__ unsigned char |
1158 |
| -// PPC-DARWIN:#define __UINT_LEAST16_MAX__ 65535 |
1159 |
| -// PPC-DARWIN:#define __UINT_LEAST16_TYPE__ unsigned short |
1160 |
| -// PPC-DARWIN:#define __UINT_LEAST32_MAX__ 4294967295U |
1161 |
| -// PPC-DARWIN:#define __UINT_LEAST32_TYPE__ unsigned int |
1162 |
| -// PPC-DARWIN:#define __UINT_LEAST64_MAX__ 18446744073709551615ULL |
1163 |
| -// PPC-DARWIN:#define __UINT_LEAST64_TYPE__ long long unsigned int |
1164 |
| -// PPC-DARWIN:#define __UINT_LEAST8_MAX__ 255 |
1165 |
| -// PPC-DARWIN:#define __UINT_LEAST8_TYPE__ unsigned char |
1166 |
| -// PPC-DARWIN:#define __USER_LABEL_PREFIX__ _ |
1167 |
| -// PPC-DARWIN:#define __WCHAR_MAX__ 2147483647 |
1168 |
| -// PPC-DARWIN:#define __WCHAR_TYPE__ int |
1169 |
| -// PPC-DARWIN:#define __WCHAR_WIDTH__ 32 |
1170 |
| -// PPC-DARWIN:#define __WINT_TYPE__ int |
1171 |
| -// PPC-DARWIN:#define __WINT_WIDTH__ 32 |
1172 |
| -// PPC-DARWIN:#define __powerpc__ 1 |
1173 |
| -// PPC-DARWIN:#define __ppc__ 1 |
1174 |
| - |
1175 | 978 | // RUN: %clang_cc1 -E -dM -triple=powerpc-unknown-openbsd -x c++ < /dev/null | FileCheck -match-full-lines -check-prefix PPC-OPENBSD-CXX %s
|
1176 | 979 | // PPC-OPENBSD-CXX: #define __STDCPP_DEFAULT_NEW_ALIGNMENT__ 16UL
|
0 commit comments