Lines Matching +full:- +full:m32
1 // REQUIRES: x86-registered-target
3 // We support -m32 and -m64. We support all x86 CPU feature flags in gcc's -m
5 // RUN: %clang_cl /Zs /WX -m32 -m64 -msse3 -msse4.1 -mavx -mno-avx \
6 // RUN: --target=i386-pc-win32 -### -- 2>&1 %s | FileCheck -check-prefix=MFLAGS %s
7 // MFLAGS-NOT: argument unused during compilation
9 // RUN: %clang_cl -m32 -arch:IA32 --target=i386 -### -- 2>&1 %s | FileCheck -check-prefix=IA32 %s
10 // IA32: "-target-cpu" "i386"
11 // IA32-NOT: -target-feature
12 // IA32-NOT: argument unused during compilation
14 // RUN: %clang_cl -m32 -arch:ia32 --target=i386 -### -- 2>&1 %s | FileCheck -check-prefix=ia32 %s
16 // ia32-NOT: -target-feature
18 // RUN: %clang_cl -m64 -arch:IA32 --target=x86_64 -### -- 2>&1 %s | FileCheck -check-prefix=IA3264 …
20 // IA3264-NOT: -target-feature
22 // RUN: %clang_cl -m32 -arch:SSE --target=i386 -### -- 2>&1 %s | FileCheck -check-prefix=SSE %s
23 // SSE: "-target-cpu" "pentium3"
24 // SSE: -target-feature
26 // SSE-NOT: argument unused during compilation
28 // RUN: %clang_cl -m32 -arch:sse --target=i386 -### -- 2>&1 %s | FileCheck -check-prefix=sse %s
30 // sse-NOT: -target-feature
32 // RUN: %clang_cl -m32 -arch:SSE2 --target=i386 -### -- 2>&1 %s | FileCheck -check-prefix=SSE2 %s
33 // SSE2: "-target-cpu" "pentium4"
34 // SSE2: -target-feature
36 // SSE2-NOT: argument unused during compilation
38 // RUN: %clang_cl -m32 -arch:sse2 --target=i386 -### -- 2>&1 %s | FileCheck -check-prefix=sse %s
40 // sse2-NOT: -target-feature
42 // RUN: %clang_cl -m64 -arch:SSE --target=x86_64 -### -- 2>&1 %s | FileCheck -check-prefix=SSE64 %s
44 // SSE64-NOT: -target-feature
45 // SSE64-NOT: pentium3
47 // RUN: %clang_cl -m64 -arch:SSE2 --target=x86_64 -### -- 2>&1 %s | FileCheck -check-prefix=SSE264 …
49 // SSE264-NOT: -target-feature
51 // RUN: %clang_cl -m32 -arch:AVX --target=i386 -### -- 2>&1 %s | FileCheck -check-prefix=AVX %s
52 // AVX: "-target-cpu" "sandybridge"
53 // AVX: -target-feature
56 // RUN: %clang_cl -m32 -arch:avx --target=i386 -### -- 2>&1 %s | FileCheck -check-prefix=avx %s
58 // avx-NOT: -target-feature
60 // RUN: %clang_cl -m32 -arch:AVX2 --target=i386 -### -- 2>&1 %s | FileCheck -check-prefix=AVX2 %s
61 // AVX2: "-target-cpu" "haswell"
62 // AVX2: -target-feature
65 // RUN: %clang_cl -m32 -arch:avx2 --target=i386 -### -- 2>&1 %s | FileCheck -check-prefix=avx2 %s
67 // avx2-NOT: -target-feature
69 // RUN: %clang_cl -m64 -arch:AVX --target=x86_64 -### -- 2>&1 %s | FileCheck -check-prefix=AVX64 %s
70 // AVX64: "-target-cpu" "sandybridge"
71 // AVX64: -target-feature
74 // RUN: %clang_cl -m64 -arch:avx --target=x86_64 -### -- 2>&1 %s | FileCheck -check-prefix=avx64 %s
76 // avx64-NOT: -target-feature
78 // RUN: %clang_cl -m64 -arch:AVX2 --target=x86_64 -### -- 2>&1 %s | FileCheck -check-prefix=AVX264 …
79 // AVX264: "-target-cpu" "haswell"
80 // AVX264: -target-feature
83 // RUN: %clang_cl -m64 -arch:avx2 --target=x86_64 -### -- 2>&1 %s | FileCheck -check-prefix=avx264 …
85 // avx264-NOT: -target-feature