• Home
  • Raw
  • Download

Lines Matching +full:- +full:m32

1 // Begin X86/GCC/Linux tests ----------------
3 // RUN: %clang -march=i386 -m32 -E -dM %s -o - 2>&1 \
4 // RUN: -target i386-unknown-linux \
5 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_I386_M32
10 // RUN: not %clang -march=i386 -m64 -E -dM %s -o - 2>&1 \
11 // RUN: -target i386-unknown-linux \
12 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_I386_M64
15 // RUN: %clang -march=i486 -m32 -E -dM %s -o - 2>&1 \
16 // RUN: -target i386-unknown-linux \
17 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_I486_M32
24 // RUN: not %clang -march=i486 -m64 -E -dM %s -o - 2>&1 \
25 // RUN: -target i386-unknown-linux \
26 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_I486_M64
29 // RUN: %clang -march=i586 -m32 -E -dM %s -o - 2>&1 \
30 // RUN: -target i386-unknown-linux \
31 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_I586_M32
41 // RUN: not %clang -march=i586 -m64 -E -dM %s -o - 2>&1 \
42 // RUN: -target i386-unknown-linux \
43 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_I586_M64
46 // RUN: %clang -march=pentium -m32 -E -dM %s -o - 2>&1 \
47 // RUN: -target i386-unknown-linux \
48 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_PENTIUM_M32
58 // RUN: not %clang -march=pentium -m64 -E -dM %s -o - 2>&1 \
59 // RUN: -target i386-unknown-linux \
60 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_PENTIUM_M64
63 // RUN: %clang -march=pentium-mmx -m32 -E -dM %s -o - 2>&1 \
64 // RUN: -target i386-unknown-linux \
65 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_PENTIUM_MMX_M32
78 // RUN: not %clang -march=pentium-mmx -m64 -E -dM %s -o - 2>&1 \
79 // RUN: -target i386-unknown-linux \
80 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_PENTIUM_MMX_M64
83 // RUN: %clang -march=winchip-c6 -m32 -E -dM %s -o - 2>&1 \
84 // RUN: -target i386-unknown-linux \
85 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_WINCHIP_C6_M32
93 // RUN: not %clang -march=winchip-c6 -m64 -E -dM %s -o - 2>&1 \
94 // RUN: -target i386-unknown-linux \
95 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_WINCHIP_C6_M64
98 // RUN: %clang -march=winchip2 -m32 -E -dM %s -o - 2>&1 \
99 // RUN: -target i386-unknown-linux \
100 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_WINCHIP2_M32
109 // RUN: not %clang -march=winchip2 -m64 -E -dM %s -o - 2>&1 \
110 // RUN: -target i386-unknown-linux \
111 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_WINCHIP2_M64
114 // RUN: %clang -march=c3 -m32 -E -dM %s -o - 2>&1 \
115 // RUN: -target i386-unknown-linux \
116 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_C3_M32
125 // RUN: not %clang -march=c3 -m64 -E -dM %s -o - 2>&1 \
126 // RUN: -target i386-unknown-linux \
127 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_C3_M64
130 // RUN: %clang -march=c3-2 -m32 -E -dM %s -o - 2>&1 \
131 // RUN: -target i386-unknown-linux \
132 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_C3_2_M32
145 // RUN: not %clang -march=c3-2 -m64 -E -dM %s -o - 2>&1 \
146 // RUN: -target i386-unknown-linux \
147 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_C3_2_M64
150 // RUN: %clang -march=i686 -m32 -E -dM %s -o - 2>&1 \
151 // RUN: -target i386-unknown-linux \
152 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_I686_M32
160 // RUN: not %clang -march=i686 -m64 -E -dM %s -o - 2>&1 \
161 // RUN: -target i386-unknown-linux \
162 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_I686_M64
165 // RUN: %clang -march=pentiumpro -m32 -E -dM %s -o - 2>&1 \
166 // RUN: -target i386-unknown-linux \
167 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_PENTIUMPRO_M32
177 // RUN: not %clang -march=pentiumpro -m64 -E -dM %s -o - 2>&1 \
178 // RUN: -target i386-unknown-linux \
179 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_PENTIUMPRO_M64
182 // RUN: %clang -march=pentium2 -m32 -E -dM %s -o - 2>&1 \
183 // RUN: -target i386-unknown-linux \
184 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_PENTIUM2_M32
196 // RUN: not %clang -march=pentium2 -m64 -E -dM %s -o - 2>&1 \
197 // RUN: -target i386-unknown-linux \
198 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_PENTIUM2_M64
201 // RUN: %clang -march=pentium3 -m32 -E -dM %s -o - 2>&1 \
202 // RUN: -target i386-unknown-linux \
203 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_PENTIUM3_M32
217 // RUN: not %clang -march=pentium3 -m64 -E -dM %s -o - 2>&1 \
218 // RUN: -target i386-unknown-linux \
219 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_PENTIUM3_M64
222 // RUN: %clang -march=pentium3m -m32 -E -dM %s -o - 2>&1 \
223 // RUN: -target i386-unknown-linux \
224 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_PENTIUM3M_M32
236 // RUN: not %clang -march=pentium3m -m64 -E -dM %s -o - 2>&1 \
237 // RUN: -target i386-unknown-linux \
238 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_PENTIUM3M_M64
241 // RUN: %clang -march=pentium-m -m32 -E -dM %s -o - 2>&1 \
242 // RUN: -target i386-unknown-linux \
243 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_PENTIUM_M_M32
256 // RUN: not %clang -march=pentium-m -m64 -E -dM %s -o - 2>&1 \
257 // RUN: -target i386-unknown-linux \
258 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_PENTIUM_M_M64
261 // RUN: %clang -march=pentium4 -m32 -E -dM %s -o - 2>&1 \
262 // RUN: -target i386-unknown-linux \
263 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_PENTIUM4_M32
273 // RUN: not %clang -march=pentium4 -m64 -E -dM %s -o - 2>&1 \
274 // RUN: -target i386-unknown-linux \
275 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_PENTIUM4_M64
278 // RUN: %clang -march=pentium4m -m32 -E -dM %s -o - 2>&1 \
279 // RUN: -target i386-unknown-linux \
280 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_PENTIUM4M_M32
290 // RUN: not %clang -march=pentium4m -m64 -E -dM %s -o - 2>&1 \
291 // RUN: -target i386-unknown-linux \
292 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_PENTIUM4M_M64
295 // RUN: %clang -march=prescott -m32 -E -dM %s -o - 2>&1 \
296 // RUN: -target i386-unknown-linux \
297 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_PRESCOTT_M32
308 // RUN: not %clang -march=prescott -m64 -E -dM %s -o - 2>&1 \
309 // RUN: -target i386-unknown-linux \
310 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_PRESCOTT_M64
313 // RUN: %clang -march=nocona -m32 -E -dM %s -o - 2>&1 \
314 // RUN: -target i386-unknown-linux \
315 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_NOCONA_M32
326 // RUN: %clang -march=nocona -m64 -E -dM %s -o - 2>&1 \
327 // RUN: -target i386-unknown-linux \
328 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_NOCONA_M64
343 // RUN: %clang -march=core2 -m32 -E -dM %s -o - 2>&1 \
344 // RUN: -target i386-unknown-linux \
345 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_CORE2_M32
357 // RUN: %clang -march=core2 -m64 -E -dM %s -o - 2>&1 \
358 // RUN: -target i386-unknown-linux \
359 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_CORE2_M64
375 // RUN: %clang -march=corei7 -m32 -E -dM %s -o - 2>&1 \
376 // RUN: -target i386-unknown-linux \
377 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_COREI7_M32
392 // RUN: %clang -march=corei7 -m64 -E -dM %s -o - 2>&1 \
393 // RUN: -target i386-unknown-linux \
394 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_COREI7_M64
413 // RUN: %clang -march=corei7-avx -m32 -E -dM %s -o - 2>&1 \
414 // RUN: -target i386-unknown-linux \
415 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_COREI7_AVX_M32
420 // CHECK_COREI7_AVX_M32-NOT: __RDRND__
436 // RUN: %clang -march=corei7-avx -m64 -E -dM %s -o - 2>&1 \
437 // RUN: -target i386-unknown-linux \
438 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_COREI7_AVX_M64
443 // CHECK_COREI7_AVX_M64-NOT: __RDRND__
463 // RUN: %clang -march=core-avx-i -m32 -E -dM %s -o - 2>&1 \
464 // RUN: -target i386-unknown-linux \
465 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_CORE_AVX_I_M32
486 // RUN: %clang -march=core-avx-i -m64 -E -dM %s -o - 2>&1 \
487 // RUN: -target i386-unknown-linux \
488 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_CORE_AVX_I_M64
513 // RUN: %clang -march=core-avx2 -m32 -E -dM %s -o - 2>&1 \
514 // RUN: -target i386-unknown-linux \
515 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_CORE_AVX2_M32
543 // RUN: %clang -march=core-avx2 -m64 -E -dM %s -o - 2>&1 \
544 // RUN: -target i386-unknown-linux \
545 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_CORE_AVX2_M64
577 // RUN: %clang -march=broadwell -m32 -E -dM %s -o - 2>&1 \
578 // RUN: -target i386-unknown-linux \
579 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_BROADWELL_M32
609 // RUN: %clang -march=broadwell -m64 -E -dM %s -o - 2>&1 \
610 // RUN: -target i386-unknown-linux \
611 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_BROADWELL_M64
645 // RUN: %clang -march=skylake -m32 -E -dM %s -o - 2>&1 \
646 // RUN: -target i386-unknown-linux \
647 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_SKL_M32
675 // RUN: %clang -march=skylake -m64 -E -dM %s -o - 2>&1 \
676 // RUN: -target i386-unknown-linux \
677 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_SKL_M64
710 // RUN: %clang -march=knl -m32 -E -dM %s -o - 2>&1 \
711 // RUN: -target i386-unknown-linux \
712 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_KNL_M32
745 // RUN: %clang -march=knl -m64 -E -dM %s -o - 2>&1 \
746 // RUN: -target i386-unknown-linux \
747 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_KNL_M64
783 // RUN: %clang -march=skylake-avx512 -m32 -E -dM %s -o - 2>&1 \
784 // RUN: -target i386-unknown-linux \
785 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_SKX_M32
821 // RUN: %clang -march=skylake-avx512 -m64 -E -dM %s -o - 2>&1 \
822 // RUN: -target i386-unknown-linux \
823 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_SKX_M64
862 // RUN: %clang -march=cannonlake -m32 -E -dM %s -o - 2>&1 \
863 // RUN: -target i386-unknown-linux \
864 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_CNL_M32
900 // RUN: %clang -march=cannonlake -m64 -E -dM %s -o - 2>&1 \
901 // RUN: -target i386-unknown-linux \
902 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_CNL_M64
939 // RUN: %clang -march=atom -m32 -E -dM %s -o - 2>&1 \
940 // RUN: -target i386-unknown-linux \
941 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_ATOM_M32
953 // RUN: %clang -march=atom -m64 -E -dM %s -o - 2>&1 \
954 // RUN: -target i386-unknown-linux \
955 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_ATOM_M64
971 // RUN: %clang -march=slm -m32 -E -dM %s -o - 2>&1 \
972 // RUN: -target i386-unknown-linux \
973 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_SLM_M32
987 // RUN: %clang -march=slm -m64 -E -dM %s -o - 2>&1 \
988 // RUN: -target i386-unknown-linux \
989 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_SLM_M64
1007 // RUN: %clang -march=lakemont -m32 -E -dM %s -o - 2>&1 \
1008 // RUN: -target i386-unknown-linux \
1009 // RUN: | FileCheck %s -check-prefix=CHECK_LMT_M32
1014 // RUN: not %clang -march=lakemont -m64 -E -dM %s -o - 2>&1 \
1015 // RUN: -target i386-unknown-linux \
1016 // RUN: | FileCheck %s -check-prefix=CHECK_LMT_M64
1019 // RUN: %clang -march=geode -m32 -E -dM %s -o - 2>&1 \
1020 // RUN: -target i386-unknown-linux \
1021 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_GEODE_M32
1031 // RUN: not %clang -march=geode -m64 -E -dM %s -o - 2>&1 \
1032 // RUN: -target i386-unknown-linux \
1033 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_GEODE_M64
1036 // RUN: %clang -march=k6 -m32 -E -dM %s -o - 2>&1 \
1037 // RUN: -target i386-unknown-linux \
1038 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_K6_M32
1046 // RUN: not %clang -march=k6 -m64 -E -dM %s -o - 2>&1 \
1047 // RUN: -target i386-unknown-linux \
1048 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_K6_M64
1051 // RUN: %clang -march=k6-2 -m32 -E -dM %s -o - 2>&1 \
1052 // RUN: -target i386-unknown-linux \
1053 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_K6_2_M32
1064 // RUN: not %clang -march=k6-2 -m64 -E -dM %s -o - 2>&1 \
1065 // RUN: -target i386-unknown-linux \
1066 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_K6_2_M64
1069 // RUN: %clang -march=k6-3 -m32 -E -dM %s -o - 2>&1 \
1070 // RUN: -target i386-unknown-linux \
1071 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_K6_3_M32
1082 // RUN: not %clang -march=k6-3 -m64 -E -dM %s -o - 2>&1 \
1083 // RUN: -target i386-unknown-linux \
1084 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_K6_3_M64
1087 // RUN: %clang -march=athlon -m32 -E -dM %s -o - 2>&1 \
1088 // RUN: -target i386-unknown-linux \
1089 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_ATHLON_M32
1099 // RUN: not %clang -march=athlon -m64 -E -dM %s -o - 2>&1 \
1100 // RUN: -target i386-unknown-linux \
1101 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_ATHLON_M64
1104 // RUN: %clang -march=athlon-tbird -m32 -E -dM %s -o - 2>&1 \
1105 // RUN: -target i386-unknown-linux \
1106 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_ATHLON_TBIRD_M32
1116 // RUN: not %clang -march=athlon-tbird -m64 -E -dM %s -o - 2>&1 \
1117 // RUN: -target i386-unknown-linux \
1118 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_ATHLON_TBIRD_M64
1121 // RUN: %clang -march=athlon-4 -m32 -E -dM %s -o - 2>&1 \
1122 // RUN: -target i386-unknown-linux \
1123 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_ATHLON_4_M32
1136 // RUN: not %clang -march=athlon-4 -m64 -E -dM %s -o - 2>&1 \
1137 // RUN: -target i386-unknown-linux \
1138 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_ATHLON_4_M64
1141 // RUN: %clang -march=athlon-xp -m32 -E -dM %s -o - 2>&1 \
1142 // RUN: -target i386-unknown-linux \
1143 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_ATHLON_XP_M32
1156 // RUN: not %clang -march=athlon-xp -m64 -E -dM %s -o - 2>&1 \
1157 // RUN: -target i386-unknown-linux \
1158 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_ATHLON_XP_M64
1161 // RUN: %clang -march=athlon-mp -m32 -E -dM %s -o - 2>&1 \
1162 // RUN: -target i386-unknown-linux \
1163 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_ATHLON_MP_M32
1176 // RUN: not %clang -march=athlon-mp -m64 -E -dM %s -o - 2>&1 \
1177 // RUN: -target i386-unknown-linux \
1178 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_ATHLON_MP_M64
1181 // RUN: %clang -march=x86-64 -m32 -E -dM %s -o - 2>&1 \
1182 // RUN: -target i386-unknown-linux \
1183 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_X86_64_M32
1192 // RUN: %clang -march=x86-64 -m64 -E -dM %s -o - 2>&1 \
1193 // RUN: -target i386-unknown-linux \
1194 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_X86_64_M64
1207 // RUN: %clang -march=k8 -m32 -E -dM %s -o - 2>&1 \
1208 // RUN: -target i386-unknown-linux \
1209 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_K8_M32
1221 // RUN: %clang -march=k8 -m64 -E -dM %s -o - 2>&1 \
1222 // RUN: -target i386-unknown-linux \
1223 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_K8_M64
1239 // RUN: %clang -march=k8-sse3 -m32 -E -dM %s -o - 2>&1 \
1240 // RUN: -target i386-unknown-linux \
1241 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_K8_SSE3_M32
1254 // RUN: %clang -march=k8-sse3 -m64 -E -dM %s -o - 2>&1 \
1255 // RUN: -target i386-unknown-linux \
1256 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_K8_SSE3_M64
1273 // RUN: %clang -march=opteron -m32 -E -dM %s -o - 2>&1 \
1274 // RUN: -target i386-unknown-linux \
1275 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_OPTERON_M32
1287 // RUN: %clang -march=opteron -m64 -E -dM %s -o - 2>&1 \
1288 // RUN: -target i386-unknown-linux \
1289 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_OPTERON_M64
1305 // RUN: %clang -march=opteron-sse3 -m32 -E -dM %s -o - 2>&1 \
1306 // RUN: -target i386-unknown-linux \
1307 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_OPTERON_SSE3_M32
1320 // RUN: %clang -march=opteron-sse3 -m64 -E -dM %s -o - 2>&1 \
1321 // RUN: -target i386-unknown-linux \
1322 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_OPTERON_SSE3_M64
1339 // RUN: %clang -march=athlon64 -m32 -E -dM %s -o - 2>&1 \
1340 // RUN: -target i386-unknown-linux \
1341 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_ATHLON64_M32
1353 // RUN: %clang -march=athlon64 -m64 -E -dM %s -o - 2>&1 \
1354 // RUN: -target i386-unknown-linux \
1355 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_ATHLON64_M64
1371 // RUN: %clang -march=athlon64-sse3 -m32 -E -dM %s -o - 2>&1 \
1372 // RUN: -target i386-unknown-linux \
1373 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_ATHLON64_SSE3_M32
1386 // RUN: %clang -march=athlon64-sse3 -m64 -E -dM %s -o - 2>&1 \
1387 // RUN: -target i386-unknown-linux \
1388 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_ATHLON64_SSE3_M64
1405 // RUN: %clang -march=athlon-fx -m32 -E -dM %s -o - 2>&1 \
1406 // RUN: -target i386-unknown-linux \
1407 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_ATHLON_FX_M32
1419 // RUN: %clang -march=athlon-fx -m64 -E -dM %s -o - 2>&1 \
1420 // RUN: -target i386-unknown-linux \
1421 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_ATHLON_FX_M64
1436 // RUN: %clang -march=amdfam10 -m32 -E -dM %s -o - 2>&1 \
1437 // RUN: -target i386-unknown-linux \
1438 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_AMDFAM10_M32
1455 // RUN: %clang -march=amdfam10 -m64 -E -dM %s -o - 2>&1 \
1456 // RUN: -target i386-unknown-linux \
1457 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_AMDFAM10_M64
1476 // RUN: %clang -march=btver1 -m32 -E -dM %s -o - 2>&1 \
1477 // RUN: -target i386-unknown-linux \
1478 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_BTVER1_M32
1479 // CHECK_BTVER1_M32-NOT: #define __3dNOW_A__ 1
1480 // CHECK_BTVER1_M32-NOT: #define __3dNOW__ 1
1497 // RUN: %clang -march=btver1 -m64 -E -dM %s -o - 2>&1 \
1498 // RUN: -target i386-unknown-linux \
1499 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_BTVER1_M64
1500 // CHECK_BTVER1_M64-NOT: #define __3dNOW_A__ 1
1501 // CHECK_BTVER1_M64-NOT: #define __3dNOW__ 1
1520 // RUN: %clang -march=btver2 -m32 -E -dM %s -o - 2>&1 \
1521 // RUN: -target i386-unknown-linux \
1522 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_BTVER2_M32
1523 // CHECK_BTVER2_M32-NOT: #define __3dNOW_A__ 1
1524 // CHECK_BTVER2_M32-NOT: #define __3dNOW__ 1
1548 // RUN: %clang -march=btver2 -m64 -E -dM %s -o - 2>&1 \
1549 // RUN: -target i386-unknown-linux \
1550 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_BTVER2_M64
1551 // CHECK_BTVER2_M64-NOT: #define __3dNOW_A__ 1
1552 // CHECK_BTVER2_M64-NOT: #define __3dNOW__ 1
1578 // RUN: %clang -march=bdver1 -m32 -E -dM %s -o - 2>&1 \
1579 // RUN: -target i386-unknown-linux \
1580 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_BDVER1_M32
1581 // CHECK_BDVER1_M32-NOT: #define __3dNOW_A__ 1
1582 // CHECK_BDVER1_M32-NOT: #define __3dNOW__ 1
1607 // RUN: %clang -march=bdver1 -m64 -E -dM %s -o - 2>&1 \
1608 // RUN: -target i386-unknown-linux \
1609 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_BDVER1_M64
1610 // CHECK_BDVER1_M64-NOT: #define __3dNOW_A__ 1
1611 // CHECK_BDVER1_M64-NOT: #define __3dNOW__ 1
1638 // RUN: %clang -march=bdver2 -m32 -E -dM %s -o - 2>&1 \
1639 // RUN: -target i386-unknown-linux \
1640 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_BDVER2_M32
1641 // CHECK_BDVER2_M32-NOT: #define __3dNOW_A__ 1
1642 // CHECK_BDVER2_M32-NOT: #define __3dNOW__ 1
1671 // RUN: %clang -march=bdver2 -m64 -E -dM %s -o - 2>&1 \
1672 // RUN: -target i386-unknown-linux \
1673 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_BDVER2_M64
1674 // CHECK_BDVER2_M64-NOT: #define __3dNOW_A__ 1
1675 // CHECK_BDVER2_M64-NOT: #define __3dNOW__ 1
1706 // RUN: %clang -march=bdver3 -m32 -E -dM %s -o - 2>&1 \
1707 // RUN: -target i386-unknown-linux \
1708 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_BDVER3_M32
1709 // CHECK_BDVER3_M32-NOT: #define __3dNOW_A__ 1
1710 // CHECK_BDVER3_M32-NOT: #define __3dNOW__ 1
1741 // RUN: %clang -march=bdver3 -m64 -E -dM %s -o - 2>&1 \
1742 // RUN: -target i386-unknown-linux \
1743 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_BDVER3_M64
1744 // CHECK_BDVER3_M64-NOT: #define __3dNOW_A__ 1
1745 // CHECK_BDVER3_M64-NOT: #define __3dNOW__ 1
1778 // RUN: %clang -march=bdver4 -m32 -E -dM %s -o - 2>&1 \
1779 // RUN: -target i386-unknown-linux \
1780 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_BDVER4_M32
1781 // CHECK_BDVER4_M32-NOT: #define __3dNOW_A__ 1
1782 // CHECK_BDVER4_M32-NOT: #define __3dNOW__ 1
1814 // RUN: %clang -march=bdver4 -m64 -E -dM %s -o - 2>&1 \
1815 // RUN: -target i386-unknown-linux \
1816 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_BDVER4_M64
1817 // CHECK_BDVER4_M64-NOT: #define __3dNOW_A__ 1
1818 // CHECK_BDVER4_M64-NOT: #define __3dNOW__ 1
1853 // End X86/GCC/Linux tests ------------------
1855 // Begin PPC/GCC/Linux tests ----------------
1856 // RUN: %clang -mvsx -E -dM %s -o - 2>&1 \
1857 // RUN: -target powerpc64-unknown-linux \
1858 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_PPC_VSX_M64
1862 // RUN: %clang -mpower8-vector -E -dM %s -o - 2>&1 \
1863 // RUN: -target powerpc64-unknown-linux \
1864 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_PPC_POWER8_VECTOR_M64
1868 // RUN: %clang -mcrypto -E -dM %s -o - 2>&1 \
1869 // RUN: -target powerpc64-unknown-linux \
1870 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_PPC_CRYPTO_M64
1874 // RUN: %clang -mcpu=ppc64 -E -dM %s -o - 2>&1 \
1875 // RUN: -target powerpc64-unknown-unknown \
1876 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_PPC_GCC_ATOMICS
1877 // RUN: %clang -mcpu=pwr8 -E -dM %s -o - 2>&1 \
1878 // RUN: -target powerpc64-unknown-unknown \
1879 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_PPC_GCC_ATOMICS
1880 // RUN: %clang -E -dM %s -o - 2>&1 \
1881 // RUN: -target powerpc64le-unknown-linux \
1882 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_PPC_GCC_ATOMICS
1889 // End PPC/GCC/Linux tests ------------------
1891 // Begin Sparc/GCC/Linux tests ----------------
1893 // RUN: %clang -E -dM %s -o - 2>&1 \
1894 // RUN: -target sparc-unknown-linux \
1895 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_SPARC
1896 // RUN: %clang -mcpu=v9 -E -dM %s -o - 2>&1 \
1897 // RUN: -target sparc-unknown-linux \
1898 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_SPARC-V9
1903 // CHECK_SPARC-NOT: #define __sparcv9 1
1904 // CHECK_SPARC-NOT: #define __sparcv9__ 1
1906 // CHECK_SPARC-NOT: #define __sparcv9 1
1907 // CHECK_SPARC-NOT: #define __sparcv9__ 1
1909 // CHECK_SPARC-V9-NOT: #define __sparcv8 1
1910 // CHECK_SPARC-V9: #define __sparc_v9__ 1
1911 // CHECK_SPARC-V9: #define __sparcv9 1
1912 // CHECK_SPARC-V9-NOT: #define __sparcv8 1
1915 // RUN: %clang -E -dM %s -o - 2>&1 \
1916 // RUN: -target sparcel-unknown-linux \
1917 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_SPARCEL
1918 // RUN: %clang -E -dM %s -o - -target sparcel-myriad -mcpu=myriad2 2>&1 \
1919 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_MYRIAD2-1 -check-prefix=CHECK_SPARCEL
1920 // RUN: %clang -E -dM %s -o - -target sparcel-myriad -mcpu=myriad2.1 2>&1 \
1921 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_MYRIAD2-1 -check-prefix=CHECK_SPARCEL
1922 // RUN: %clang -E -dM %s -o - -target sparcel-myriad -mcpu=myriad2.2 2>&1 \
1923 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_MYRIAD2-2 -check-prefix=CHECK_SPARCEL
1925 // CHECK_MYRIAD2-1: #define __myriad2 1
1926 // CHECK_MYRIAD2-1: #define __myriad2__ 1
1927 // CHECK_MYRIAD2-2: #define __myriad2 2
1928 // CHECK_MYRIAD2-2: #define __myriad2__ 2
1933 // RUN: %clang -E -dM %s -o - 2>&1 \
1934 // RUN: -target sparcv9-unknown-linux \
1935 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_SPARCV9
1945 // Begin SystemZ/GCC/Linux tests ----------------
1947 // RUN: %clang -march=z10 -E -dM %s -o - 2>&1 \
1948 // RUN: -target s390x-unknown-linux \
1949 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_SYSTEMZ_Z10
1960 // RUN: %clang -march=zEC12 -E -dM %s -o - 2>&1 \
1961 // RUN: -target s390x-unknown-linux \
1962 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_SYSTEMZ_ZEC12
1974 // RUN: %clang -mhtm -E -dM %s -o - 2>&1 \
1975 // RUN: -target s390x-unknown-linux \
1976 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_SYSTEMZ_HTM
1980 // RUN: %clang -fzvector -E -dM %s -o - 2>&1 \
1981 // RUN: -target s390x-unknown-linux \
1982 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_SYSTEMZ_ZVECTOR
1983 // RUN: %clang -mzvector -E -dM %s -o - 2>&1 \
1984 // RUN: -target s390x-unknown-linux \
1985 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_SYSTEMZ_ZVECTOR
1989 // Begin amdgcn tests ----------------
1991 // RUN: %clang -march=amdgcn -E -dM %s -o - 2>&1 \
1992 // RUN: -target amdgcn-unknown-unknown \
1993 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_AMDGCN
1996 // Begin r600 tests ----------------
1998 // RUN: %clang -march=amdgcn -E -dM %s -o - 2>&1 \
1999 // RUN: -target r600-unknown-unknown \
2000 // RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_R600