xref: /minix3/external/bsd/llvm/dist/clang/test/Driver/clang-translation.c (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1f4a2713aSLionel Sambuc // RUN: %clang -target i386-unknown-unknown -### -S -O0 -Os %s -o %t.s -fverbose-asm -funwind-tables -fvisibility=hidden 2>&1 | FileCheck -check-prefix=I386 %s
2f4a2713aSLionel Sambuc // I386: "-triple" "i386-unknown-unknown"
3f4a2713aSLionel Sambuc // I386: "-S"
4f4a2713aSLionel Sambuc // I386: "-disable-free"
5f4a2713aSLionel Sambuc // I386: "-mrelocation-model" "static"
6f4a2713aSLionel Sambuc // I386: "-mdisable-fp-elim"
7f4a2713aSLionel Sambuc // I386: "-masm-verbose"
8f4a2713aSLionel Sambuc // I386: "-munwind-tables"
9f4a2713aSLionel Sambuc // I386: "-Os"
10f4a2713aSLionel Sambuc // I386: "-fvisibility"
11f4a2713aSLionel Sambuc // I386: "hidden"
12f4a2713aSLionel Sambuc // I386: "-o"
13f4a2713aSLionel Sambuc // I386: clang-translation
14f4a2713aSLionel Sambuc // RUN: %clang -target i386-apple-darwin9 -### -S %s -o %t.s 2>&1 | \
15f4a2713aSLionel Sambuc // RUN: FileCheck -check-prefix=YONAH %s
16f4a2713aSLionel Sambuc // YONAH: "-target-cpu"
17f4a2713aSLionel Sambuc // YONAH: "yonah"
18f4a2713aSLionel Sambuc // RUN: %clang -target x86_64-apple-darwin9 -### -S %s -o %t.s 2>&1 | \
19f4a2713aSLionel Sambuc // RUN: FileCheck -check-prefix=CORE2 %s
20f4a2713aSLionel Sambuc // CORE2: "-target-cpu"
21f4a2713aSLionel Sambuc // CORE2: "core2"
22f4a2713aSLionel Sambuc // RUN: %clang -target x86_64h-apple-darwin -### -S %s -o %t.s 2>&1 | \
23f4a2713aSLionel Sambuc // RUN: FileCheck -check-prefix=AVX2 %s
24f4a2713aSLionel Sambuc // AVX2: "-target-cpu"
25f4a2713aSLionel Sambuc // AVX2: "core-avx2"
26f4a2713aSLionel Sambuc 
27f4a2713aSLionel Sambuc // RUN: %clang -target x86_64-apple-darwin10 -### -S %s -arch armv7 2>&1 | \
28f4a2713aSLionel Sambuc // RUN: FileCheck -check-prefix=ARMV7_DEFAULT %s
29f4a2713aSLionel Sambuc // ARMV7_DEFAULT: clang
30f4a2713aSLionel Sambuc // ARMV7_DEFAULT: "-cc1"
31f4a2713aSLionel Sambuc // ARMV7_DEFAULT-NOT: "-msoft-float"
32f4a2713aSLionel Sambuc // ARMV7_DEFAULT: "-mfloat-abi" "soft"
33f4a2713aSLionel Sambuc // ARMV7_DEFAULT-NOT: "-msoft-float"
34f4a2713aSLionel Sambuc // ARMV7_DEFAULT: "-x" "c"
35f4a2713aSLionel Sambuc 
36f4a2713aSLionel Sambuc // RUN: %clang -target x86_64-apple-darwin10 -### -S %s -arch armv7 \
37f4a2713aSLionel Sambuc // RUN: -msoft-float 2>&1 | FileCheck -check-prefix=ARMV7_SOFTFLOAT %s
38f4a2713aSLionel Sambuc // ARMV7_SOFTFLOAT: clang
39f4a2713aSLionel Sambuc // ARMV7_SOFTFLOAT: "-cc1"
40f4a2713aSLionel Sambuc // ARMV7_SOFTFLOAT: "-target-feature"
41f4a2713aSLionel Sambuc // ARMV7_SOFTFLOAT: "-neon"
42f4a2713aSLionel Sambuc // ARMV7_SOFTFLOAT: "-msoft-float"
43f4a2713aSLionel Sambuc // ARMV7_SOFTFLOAT: "-mfloat-abi" "soft"
44f4a2713aSLionel Sambuc // ARMV7_SOFTFLOAT: "-x" "c"
45f4a2713aSLionel Sambuc 
46f4a2713aSLionel Sambuc // RUN: %clang -target x86_64-apple-darwin10 -### -S %s -arch armv7 \
47f4a2713aSLionel Sambuc // RUN: -mhard-float 2>&1 | FileCheck -check-prefix=ARMV7_HARDFLOAT %s
48f4a2713aSLionel Sambuc // ARMV7_HARDFLOAT: clang
49f4a2713aSLionel Sambuc // ARMV7_HARDFLOAT: "-cc1"
50f4a2713aSLionel Sambuc // ARMV7_HARDFLOAT-NOT: "-msoft-float"
51f4a2713aSLionel Sambuc // ARMV7_HARDFLOAT: "-mfloat-abi" "hard"
52f4a2713aSLionel Sambuc // ARMV7_HARDFLOAT-NOT: "-msoft-float"
53f4a2713aSLionel Sambuc // ARMV7_HARDFLOAT: "-x" "c"
54f4a2713aSLionel Sambuc 
55f4a2713aSLionel Sambuc // RUN: %clang -target arm-linux -### -S %s -march=armv5e 2>&1 | \
56f4a2713aSLionel Sambuc // RUN: FileCheck -check-prefix=ARMV5E %s
57f4a2713aSLionel Sambuc // ARMV5E: clang
58f4a2713aSLionel Sambuc // ARMV5E: "-cc1"
59f4a2713aSLionel Sambuc // ARMV5E: "-target-cpu" "arm1022e"
60f4a2713aSLionel Sambuc 
61f4a2713aSLionel Sambuc // RUN: %clang -target powerpc64-unknown-linux-gnu \
62f4a2713aSLionel Sambuc // RUN: -### -S %s -mcpu=G5 2>&1 | FileCheck -check-prefix=PPCG5 %s
63f4a2713aSLionel Sambuc // PPCG5: clang
64f4a2713aSLionel Sambuc // PPCG5: "-cc1"
65f4a2713aSLionel Sambuc // PPCG5: "-target-cpu" "g5"
66f4a2713aSLionel Sambuc 
67f4a2713aSLionel Sambuc // RUN: %clang -target powerpc64-unknown-linux-gnu \
68f4a2713aSLionel Sambuc // RUN: -### -S %s -mcpu=power7 2>&1 | FileCheck -check-prefix=PPCPWR7 %s
69f4a2713aSLionel Sambuc // PPCPWR7: clang
70f4a2713aSLionel Sambuc // PPCPWR7: "-cc1"
71f4a2713aSLionel Sambuc // PPCPWR7: "-target-cpu" "pwr7"
72f4a2713aSLionel Sambuc 
73f4a2713aSLionel Sambuc // RUN: %clang -target powerpc64-unknown-linux-gnu \
74*0a6a1f1dSLionel Sambuc // RUN: -### -S %s -mcpu=power8 2>&1 | FileCheck -check-prefix=PPCPWR8 %s
75*0a6a1f1dSLionel Sambuc // PPCPWR8: clang
76*0a6a1f1dSLionel Sambuc // PPCPWR8: "-cc1"
77*0a6a1f1dSLionel Sambuc // PPCPWR8: "-target-cpu" "pwr8"
78*0a6a1f1dSLionel Sambuc 
79*0a6a1f1dSLionel Sambuc // RUN: %clang -target powerpc64-unknown-linux-gnu \
80f4a2713aSLionel Sambuc // RUN: -### -S %s -mcpu=a2q 2>&1 | FileCheck -check-prefix=PPCA2Q %s
81f4a2713aSLionel Sambuc // PPCA2Q: clang
82f4a2713aSLionel Sambuc // PPCA2Q: "-cc1"
83f4a2713aSLionel Sambuc // PPCA2Q: "-target-cpu" "a2q"
84f4a2713aSLionel Sambuc 
85f4a2713aSLionel Sambuc // RUN: %clang -target powerpc64-unknown-linux-gnu \
86f4a2713aSLionel Sambuc // RUN: -### -S %s -mcpu=630 2>&1 | FileCheck -check-prefix=PPC630 %s
87f4a2713aSLionel Sambuc // PPC630: clang
88f4a2713aSLionel Sambuc // PPC630: "-cc1"
89f4a2713aSLionel Sambuc // PPC630: "-target-cpu" "pwr3"
90f4a2713aSLionel Sambuc 
91f4a2713aSLionel Sambuc // RUN: %clang -target powerpc64-unknown-linux-gnu \
92f4a2713aSLionel Sambuc // RUN: -### -S %s -mcpu=power3 2>&1 | FileCheck -check-prefix=PPCPOWER3 %s
93f4a2713aSLionel Sambuc // PPCPOWER3: clang
94f4a2713aSLionel Sambuc // PPCPOWER3: "-cc1"
95f4a2713aSLionel Sambuc // PPCPOWER3: "-target-cpu" "pwr3"
96f4a2713aSLionel Sambuc 
97f4a2713aSLionel Sambuc // RUN: %clang -target powerpc64-unknown-linux-gnu \
98f4a2713aSLionel Sambuc // RUN: -### -S %s -mcpu=pwr3 2>&1 | FileCheck -check-prefix=PPCPWR3 %s
99f4a2713aSLionel Sambuc // PPCPWR3: clang
100f4a2713aSLionel Sambuc // PPCPWR3: "-cc1"
101f4a2713aSLionel Sambuc // PPCPWR3: "-target-cpu" "pwr3"
102f4a2713aSLionel Sambuc 
103f4a2713aSLionel Sambuc // RUN: %clang -target powerpc64-unknown-linux-gnu \
104f4a2713aSLionel Sambuc // RUN: -### -S %s -mcpu=power4 2>&1 | FileCheck -check-prefix=PPCPOWER4 %s
105f4a2713aSLionel Sambuc // PPCPOWER4: clang
106f4a2713aSLionel Sambuc // PPCPOWER4: "-cc1"
107f4a2713aSLionel Sambuc // PPCPOWER4: "-target-cpu" "pwr4"
108f4a2713aSLionel Sambuc 
109f4a2713aSLionel Sambuc // RUN: %clang -target powerpc64-unknown-linux-gnu \
110f4a2713aSLionel Sambuc // RUN: -### -S %s -mcpu=pwr4 2>&1 | FileCheck -check-prefix=PPCPWR4 %s
111f4a2713aSLionel Sambuc // PPCPWR4: clang
112f4a2713aSLionel Sambuc // PPCPWR4: "-cc1"
113f4a2713aSLionel Sambuc // PPCPWR4: "-target-cpu" "pwr4"
114f4a2713aSLionel Sambuc 
115f4a2713aSLionel Sambuc // RUN: %clang -target powerpc64-unknown-linux-gnu \
116f4a2713aSLionel Sambuc // RUN: -### -S %s -mcpu=power5 2>&1 | FileCheck -check-prefix=PPCPOWER5 %s
117f4a2713aSLionel Sambuc // PPCPOWER5: clang
118f4a2713aSLionel Sambuc // PPCPOWER5: "-cc1"
119f4a2713aSLionel Sambuc // PPCPOWER5: "-target-cpu" "pwr5"
120f4a2713aSLionel Sambuc 
121f4a2713aSLionel Sambuc // RUN: %clang -target powerpc64-unknown-linux-gnu \
122f4a2713aSLionel Sambuc // RUN: -### -S %s -mcpu=pwr5 2>&1 | FileCheck -check-prefix=PPCPWR5 %s
123f4a2713aSLionel Sambuc // PPCPWR5: clang
124f4a2713aSLionel Sambuc // PPCPWR5: "-cc1"
125f4a2713aSLionel Sambuc // PPCPWR5: "-target-cpu" "pwr5"
126f4a2713aSLionel Sambuc 
127f4a2713aSLionel Sambuc // RUN: %clang -target powerpc64-unknown-linux-gnu \
128f4a2713aSLionel Sambuc // RUN: -### -S %s -mcpu=power5x 2>&1 | FileCheck -check-prefix=PPCPOWER5X %s
129f4a2713aSLionel Sambuc // PPCPOWER5X: clang
130f4a2713aSLionel Sambuc // PPCPOWER5X: "-cc1"
131f4a2713aSLionel Sambuc // PPCPOWER5X: "-target-cpu" "pwr5x"
132f4a2713aSLionel Sambuc 
133f4a2713aSLionel Sambuc // RUN: %clang -target powerpc64-unknown-linux-gnu \
134f4a2713aSLionel Sambuc // RUN: -### -S %s -mcpu=pwr5x 2>&1 | FileCheck -check-prefix=PPCPWR5X %s
135f4a2713aSLionel Sambuc // PPCPWR5X: clang
136f4a2713aSLionel Sambuc // PPCPWR5X: "-cc1"
137f4a2713aSLionel Sambuc // PPCPWR5X: "-target-cpu" "pwr5x"
138f4a2713aSLionel Sambuc 
139f4a2713aSLionel Sambuc // RUN: %clang -target powerpc64-unknown-linux-gnu \
140f4a2713aSLionel Sambuc // RUN: -### -S %s -mcpu=power6 2>&1 | FileCheck -check-prefix=PPCPOWER6 %s
141f4a2713aSLionel Sambuc // PPCPOWER6: clang
142f4a2713aSLionel Sambuc // PPCPOWER6: "-cc1"
143f4a2713aSLionel Sambuc // PPCPOWER6: "-target-cpu" "pwr6"
144f4a2713aSLionel Sambuc 
145f4a2713aSLionel Sambuc // RUN: %clang -target powerpc64-unknown-linux-gnu \
146f4a2713aSLionel Sambuc // RUN: -### -S %s -mcpu=pwr6 2>&1 | FileCheck -check-prefix=PPCPWR6 %s
147f4a2713aSLionel Sambuc // PPCPWR6: clang
148f4a2713aSLionel Sambuc // PPCPWR6: "-cc1"
149f4a2713aSLionel Sambuc // PPCPWR6: "-target-cpu" "pwr6"
150f4a2713aSLionel Sambuc 
151f4a2713aSLionel Sambuc // RUN: %clang -target powerpc64-unknown-linux-gnu \
152f4a2713aSLionel Sambuc // RUN: -### -S %s -mcpu=power6x 2>&1 | FileCheck -check-prefix=PPCPOWER6X %s
153f4a2713aSLionel Sambuc // PPCPOWER6X: clang
154f4a2713aSLionel Sambuc // PPCPOWER6X: "-cc1"
155f4a2713aSLionel Sambuc // PPCPOWER6X: "-target-cpu" "pwr6x"
156f4a2713aSLionel Sambuc 
157f4a2713aSLionel Sambuc // RUN: %clang -target powerpc64-unknown-linux-gnu \
158f4a2713aSLionel Sambuc // RUN: -### -S %s -mcpu=pwr6x 2>&1 | FileCheck -check-prefix=PPCPWR6X %s
159f4a2713aSLionel Sambuc // PPCPWR6X: clang
160f4a2713aSLionel Sambuc // PPCPWR6X: "-cc1"
161f4a2713aSLionel Sambuc // PPCPWR6X: "-target-cpu" "pwr6x"
162f4a2713aSLionel Sambuc 
163f4a2713aSLionel Sambuc // RUN: %clang -target powerpc64-unknown-linux-gnu \
164f4a2713aSLionel Sambuc // RUN: -### -S %s -mcpu=power7 2>&1 | FileCheck -check-prefix=PPCPOWER7 %s
165f4a2713aSLionel Sambuc // PPCPOWER7: clang
166f4a2713aSLionel Sambuc // PPCPOWER7: "-cc1"
167f4a2713aSLionel Sambuc // PPCPOWER7: "-target-cpu" "pwr7"
168f4a2713aSLionel Sambuc 
169f4a2713aSLionel Sambuc // RUN: %clang -target powerpc64-unknown-linux-gnu \
170f4a2713aSLionel Sambuc // RUN: -### -S %s -mcpu=powerpc 2>&1 | FileCheck -check-prefix=PPCPOWERPC %s
171f4a2713aSLionel Sambuc // PPCPOWERPC: clang
172f4a2713aSLionel Sambuc // PPCPOWERPC: "-cc1"
173f4a2713aSLionel Sambuc // PPCPOWERPC: "-target-cpu" "ppc"
174f4a2713aSLionel Sambuc 
175f4a2713aSLionel Sambuc // RUN: %clang -target powerpc64-unknown-linux-gnu \
176f4a2713aSLionel Sambuc // RUN: -### -S %s -mcpu=powerpc64 2>&1 | FileCheck -check-prefix=PPCPOWERPC64 %s
177f4a2713aSLionel Sambuc // PPCPOWERPC64: clang
178f4a2713aSLionel Sambuc // PPCPOWERPC64: "-cc1"
179f4a2713aSLionel Sambuc // PPCPOWERPC64: "-target-cpu" "ppc64"
180f4a2713aSLionel Sambuc 
181f4a2713aSLionel Sambuc // RUN: %clang -target powerpc64-unknown-linux-gnu \
182f4a2713aSLionel Sambuc // RUN: -### -S %s 2>&1 | FileCheck -check-prefix=PPC64NS %s
183f4a2713aSLionel Sambuc // PPC64NS: clang
184f4a2713aSLionel Sambuc // PPC64NS: "-cc1"
185f4a2713aSLionel Sambuc // PPC64NS: "-target-cpu" "ppc64"
186f4a2713aSLionel Sambuc 
187f4a2713aSLionel Sambuc // RUN: %clang -target powerpc-fsl-linux -### -S %s \
188f4a2713aSLionel Sambuc // RUN: -mcpu=e500mc 2>&1 | FileCheck -check-prefix=PPCE500MC %s
189f4a2713aSLionel Sambuc // PPCE500MC: clang
190f4a2713aSLionel Sambuc // PPCE500MC: "-cc1"
191f4a2713aSLionel Sambuc // PPCE500MC: "-target-cpu" "e500mc"
192f4a2713aSLionel Sambuc 
193f4a2713aSLionel Sambuc // RUN: %clang -target powerpc64-fsl-linux -### -S \
194f4a2713aSLionel Sambuc // RUN: %s -mcpu=e5500 2>&1 | FileCheck -check-prefix=PPCE5500 %s
195f4a2713aSLionel Sambuc // PPCE5500: clang
196f4a2713aSLionel Sambuc // PPCE5500: "-cc1"
197f4a2713aSLionel Sambuc // PPCE5500: "-target-cpu" "e5500"
198f4a2713aSLionel Sambuc 
199f4a2713aSLionel Sambuc // RUN: %clang -target amd64-unknown-openbsd5.2 -### -S %s 2>&1 | \
200f4a2713aSLionel Sambuc // RUN: FileCheck -check-prefix=AMD64 %s
201f4a2713aSLionel Sambuc // AMD64: clang
202f4a2713aSLionel Sambuc // AMD64: "-cc1"
203f4a2713aSLionel Sambuc // AMD64: "-triple"
204f4a2713aSLionel Sambuc // AMD64: "amd64-unknown-openbsd5.2"
205f4a2713aSLionel Sambuc // AMD64: "-munwind-tables"
206f4a2713aSLionel Sambuc 
207f4a2713aSLionel Sambuc // RUN: %clang -target amd64--mingw32 -### -S %s 2>&1 | \
208f4a2713aSLionel Sambuc // RUN: FileCheck -check-prefix=AMD64-MINGW %s
209f4a2713aSLionel Sambuc // AMD64-MINGW: clang
210f4a2713aSLionel Sambuc // AMD64-MINGW: "-cc1"
211f4a2713aSLionel Sambuc // AMD64-MINGW: "-triple"
212*0a6a1f1dSLionel Sambuc // AMD64-MINGW: "amd64--windows-gnu"
213f4a2713aSLionel Sambuc // AMD64-MINGW: "-munwind-tables"
214f4a2713aSLionel Sambuc 
215*0a6a1f1dSLionel Sambuc // RUN: %clang -target i686-linux-android -### -S %s 2>&1 \
216f4a2713aSLionel Sambuc // RUN:        --sysroot=%S/Inputs/basic_android_tree/sysroot \
217f4a2713aSLionel Sambuc // RUN:   | FileCheck --check-prefix=ANDROID-X86 %s
218f4a2713aSLionel Sambuc // ANDROID-X86: clang
219*0a6a1f1dSLionel Sambuc // ANDROID-X86: "-target-cpu" "i686"
220*0a6a1f1dSLionel Sambuc // ANDROID-X86: "-target-feature" "+ssse3"
221*0a6a1f1dSLionel Sambuc 
222*0a6a1f1dSLionel Sambuc // RUN: %clang -target x86_64-linux-android -### -S %s 2>&1 \
223*0a6a1f1dSLionel Sambuc // RUN:        --sysroot=%S/Inputs/basic_android_tree/sysroot \
224*0a6a1f1dSLionel Sambuc // RUN:   | FileCheck --check-prefix=ANDROID-X86_64 %s
225*0a6a1f1dSLionel Sambuc // ANDROID-X86_64: clang
226*0a6a1f1dSLionel Sambuc // ANDROID-X86_64: "-target-cpu" "x86-64"
227*0a6a1f1dSLionel Sambuc // ANDROID-X86_64: "-target-feature" "+sse4.2"
228*0a6a1f1dSLionel Sambuc // ANDROID-X86_64: "-target-feature" "+popcnt"
229*0a6a1f1dSLionel Sambuc 
230*0a6a1f1dSLionel Sambuc // RUN: %clang -target mips-linux-gnu -### -S %s 2>&1 | \
231*0a6a1f1dSLionel Sambuc // RUN: FileCheck -check-prefix=MIPS %s
232*0a6a1f1dSLionel Sambuc // MIPS: clang
233*0a6a1f1dSLionel Sambuc // MIPS: "-cc1"
234*0a6a1f1dSLionel Sambuc // MIPS: "-target-cpu" "mips32r2"
235*0a6a1f1dSLionel Sambuc // MIPS: "-mfloat-abi" "hard"
236*0a6a1f1dSLionel Sambuc 
237*0a6a1f1dSLionel Sambuc // RUN: %clang -target mipsel-linux-gnu -### -S %s 2>&1 | \
238*0a6a1f1dSLionel Sambuc // RUN: FileCheck -check-prefix=MIPSEL %s
239*0a6a1f1dSLionel Sambuc // MIPSEL: clang
240*0a6a1f1dSLionel Sambuc // MIPSEL: "-cc1"
241*0a6a1f1dSLionel Sambuc // MIPSEL: "-target-cpu" "mips32r2"
242*0a6a1f1dSLionel Sambuc // MIPSEL: "-mfloat-abi" "hard"
243*0a6a1f1dSLionel Sambuc 
244*0a6a1f1dSLionel Sambuc // RUN: %clang -target mipsel-linux-android -### -S %s 2>&1 | \
245*0a6a1f1dSLionel Sambuc // RUN: FileCheck -check-prefix=MIPSEL-ANDROID %s
246*0a6a1f1dSLionel Sambuc // MIPSEL-ANDROID: clang
247*0a6a1f1dSLionel Sambuc // MIPSEL-ANDROID: "-cc1"
248*0a6a1f1dSLionel Sambuc // MIPSEL-ANDROID: "-target-cpu" "mips32r2"
249*0a6a1f1dSLionel Sambuc // MIPSEL-ANDROID: "-mfloat-abi" "hard"
250*0a6a1f1dSLionel Sambuc 
251*0a6a1f1dSLionel Sambuc // RUN: %clang -target mips64-linux-gnu -### -S %s 2>&1 | \
252*0a6a1f1dSLionel Sambuc // RUN: FileCheck -check-prefix=MIPS64 %s
253*0a6a1f1dSLionel Sambuc // MIPS64: clang
254*0a6a1f1dSLionel Sambuc // MIPS64: "-cc1"
255*0a6a1f1dSLionel Sambuc // MIPS64: "-target-cpu" "mips64r2"
256*0a6a1f1dSLionel Sambuc // MIPS64: "-mfloat-abi" "hard"
257*0a6a1f1dSLionel Sambuc 
258*0a6a1f1dSLionel Sambuc // RUN: %clang -target mips64el-linux-gnu -### -S %s 2>&1 | \
259*0a6a1f1dSLionel Sambuc // RUN: FileCheck -check-prefix=MIPS64EL %s
260*0a6a1f1dSLionel Sambuc // MIPS64EL: clang
261*0a6a1f1dSLionel Sambuc // MIPS64EL: "-cc1"
262*0a6a1f1dSLionel Sambuc // MIPS64EL: "-target-cpu" "mips64r2"
263*0a6a1f1dSLionel Sambuc // MIPS64EL: "-mfloat-abi" "hard"
264*0a6a1f1dSLionel Sambuc 
265*0a6a1f1dSLionel Sambuc // RUN: %clang -target mips64el-linux-android -### -S %s 2>&1 | \
266*0a6a1f1dSLionel Sambuc // RUN: FileCheck -check-prefix=MIPS64EL-ANDROID %s
267*0a6a1f1dSLionel Sambuc // MIPS64EL-ANDROID: clang
268*0a6a1f1dSLionel Sambuc // MIPS64EL-ANDROID: "-cc1"
269*0a6a1f1dSLionel Sambuc // MIPS64EL-ANDROID: "-target-cpu" "mips64r2"
270*0a6a1f1dSLionel Sambuc // MIPS64EL-ANDROID: "-mfloat-abi" "hard"
271