Lines Matching full:target

1 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s 2>&1 | \
3 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -mabi=32 2>&1 | \
5 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -mabi=o32 2>&1 | \
8 // ABI-O32: "-target-abi" "o32"
10 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -mabi=eabi 2>&1 | \
13 // ABI-EABI32: "-target-abi" "eabi"
15 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -mips64 -mabi=n32 2>&1 | \
17 // RUN: %clang -target mips64-linux-gnu -### -fintegrated-as -c %s -mabi=n32 2>&1 | \
20 // ABI-N32: "-target-abi" "n32"
22 // FIXME: We should also test '-target mips-linux-gnu -mips64' defaults to the
25 // RUN: %clang -target mips64-linux-gnu -### -fintegrated-as -c %s -mips64 2>&1 | \
28 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -mips64 -mabi=64 2>&1 | \
30 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -mips64 -mabi=n64 2>&1 | \
32 // RUN: %clang -target mips64-linux-gnu -### -fintegrated-as -c %s -mips64 -mabi=64 2>&1 | \
34 // RUN: %clang -target mips64-linux-gnu -### -fintegrated-as -c %s -mips64 -mabi=n64 2>&1 | \
37 // ABI-N64: "-target-abi" "n64"
39 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -msoft-float 2>&1 | \
42 // SOFTFLOAT: "-target-feature" "+soft-float"
44 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s 2>&1 | \
46 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -mhard-float 2>&1 | \
49 // HARDFLOAT-NOT: "-target-feature" "+soft-float"
51 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s 2>&1 | \
53 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -mips32r6 2>&1 | \
55 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -mips64r6 2>&1 | \
58 // NAN-DEFAULT-NOT: "-target-feature" "{{[-+]}}nan2008"
60 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -mnan=legacy 2>&1 | \
63 // NAN-LEGACY: "-target-feature" "-nan2008"
65 // RUN: %clang -target mips-linux-gnu -march=mips32r6 -### -fintegrated-as -c %s -mnan=2008 2>&1 | \
68 // NAN-2008: "-target-feature" "+nan2008"
70 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s 2>&1 | \
73 // DEFAULT-FLOAT-NOT: "-target-feature" "{{[+-]}}single-float"
75 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -msingle-float 2>&1 | \
78 // SINGLE-FLOAT: "-target-feature" "+single-float"
80 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -mdouble-float 2>&1 | \
83 // DOUBLE-FLOAT: "-target-feature" "-single-float"
85 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s 2>&1 | \
88 // MIPS16-DEFAULT-NOT: "-target-feature" "{{[+-]}}mips16"
90 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -mips16 2>&1 | \
93 // MIPS16-ON: "-target-feature" "+mips16"
95 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -mno-mips16 2>&1 | \
98 // MIPS16-OFF: "-target-feature" "-mips16"
100 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s 2>&1 | \
103 // MICROMIPS-DEFAULT-NOT: "-target-feature" "{{[+-]}}micromips"
105 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -mmicromips 2>&1 | \
108 // MICROMIPS-ON: "-target-feature" "+micromips"
110 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -mno-micromips 2>&1 | \
113 // MICROMIPS-OFF: "-target-feature" "-micromips"
115 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s 2>&1 | \
118 // DSP-DEFAULT-NOT: "-target-feature" "{{[+-]}}dsp"
120 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -mdsp 2>&1 | \
123 // DSP-ON: "-target-feature" "+dsp"
125 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -mno-dsp 2>&1 | \
128 // DSP-OFF: "-target-feature" "-dsp"
130 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s 2>&1 | \
133 // DSPR2-DEFAULT-NOT: "-target-feature" "{{[+-]}}dspr2"
135 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -mdspr2 2>&1 | \
138 // DSPR2-ON: "-target-feature" "+dspr2"
140 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -mno-dspr2 2>&1 | \
143 // DSPR2-OFF: "-target-feature" "-dspr2"
145 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s 2>&1 | \
148 // MSA-DEFAULT-NOT: "-target-feature" "{{[+-]}}msa"
150 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -mmsa 2>&1 | \
153 // MSA-ON: "-target-feature" "+msa"
155 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -mno-msa 2>&1 | \
158 // MSA-OFF: "-target-feature" "-msa"
160 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s 2>&1 | \
163 // FPXX-DEFAULT-NOT: "-target-feature" "+fpxx"
164 // FPXX-DEFAULT-NOT: "-target-feature" "+nooddspreg"
166 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -mfp32 2>&1 | \
169 // FP32: "-target-feature" "-fp64"
171 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -mfpxx 2>&1 | \
174 // FPXX: "-target-feature" "+fpxx"
175 // FPXX: "-target-feature" "+nooddspreg"
177 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -mfp64 2>&1 | \
180 // FP64: "-target-feature" "+fp64"
182 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s 2>&1 | \
185 // ODDSPREG-DEFAULT-NOT: "-target-feature" "{{[+-]}}nooddspreg"
187 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -modd-spreg 2>&1 | \
190 // ODDSPREG-ON: "-target-feature" "-nooddspreg"
192 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -mno-odd-spreg 2>&1 | \
195 // ODDSPREG-OFF: "-target-feature" "+nooddspreg"
197 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -mfpxx -modd-spreg 2>&1 | \
200 // FPXX-ODDSPREG: "-target-feature" "+fpxx"
201 // FPXX-ODDSPREG: "-target-feature" "-nooddspreg"
203 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -mabicalls 2>&1 | \
206 // ABICALLS-ON: "-target-feature" "-noabicalls"
208 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -mno-abicalls 2>&1 | \
211 // ABICALLS-OFF: "-target-feature" "+noabicalls"
213 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -msoft-float -c %s 2>&1 | \
216 // SOFTFLOAT-IMPLICIT-FPXX: "-target-feature" "+soft-float"
217 // SOFTFLOAT-IMPLICIT-FPXX-NOT: "-target-feature" "+fpxx"
218 // SOFTFLOAT-IMPLICIT-FPXX-NOT: "-target-feature" "+nooddspreg"
220 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -msoft-float -mfpxx -c %s 2>&1 | \
223 // SOFTFLOAT-EXPLICIT-FPXX: "-target-feature" "+soft-float"
224 // SOFTFLOAT-EXPLICIT-FPXX: "-target-feature" "+fpxx"
225 // SOFTFLOAT-EXPLICIT-FPXX: "-target-feature" "+nooddspreg"
227 // RUN: %clang -target mips-mti-linux-gnu -### -fintegrated-as -msoft-float -c %s 2>&1 | \
230 // MTI-SOFTFLOAT-IMPLICIT-FPXX: "-target-feature" "+soft-float"
231 // MTI-SOFTFLOAT-IMPLICIT-FPXX-NOT: "-target-feature" "+fpxx"
232 // MTI-SOFTFLOAT-IMPLICIT-FPXX-NOT: "-target-feature" "+nooddspreg"
234 // RUN: %clang -target mips-mti-linux-gnu -### -fintegrated-as -msoft-float -mfpxx -c %s 2>&1 | \
237 // MTI-SOFTFLOAT-EXPLICIT-FPXX: "-target-feature" "+soft-float"
238 // MTI-SOFTFLOAT-EXPLICIT-FPXX: "-target-feature" "+fpxx"
239 // MTI-SOFTFLOAT-EXPLICIT-FPXX: "-target-feature" "+nooddspreg"
241 // RUN: %clang -target mips-img-linux-gnu -### -fintegrated-as -msoft-float -c %s 2>&1 | \
244 // IMG-SOFTFLOAT-IMPLICIT-FPXX: "-target-feature" "+soft-float"
245 // IMG-SOFTFLOAT-IMPLICIT-FPXX-NOT: "-target-feature" "+fpxx"
246 // IMG-SOFTFLOAT-IMPLICIT-FPXX-NOT: "-target-feature" "+nooddspreg"
248 // RUN: %clang -target mips-img-linux-gnu -### -fintegrated-as -msoft-float -mfpxx -c %s 2>&1 | \
251 // IMG-SOFTFLOAT-EXPLICIT-FPXX: "-target-feature" "+soft-float"
252 // IMG-SOFTFLOAT-EXPLICIT-FPXX: "-target-feature" "+fpxx"
253 // IMG-SOFTFLOAT-EXPLICIT-FPXX: "-target-feature" "+nooddspreg"
255 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -msingle-float -c %s 2>&1 | \
258 // SINGLEFLOAT-IMPLICIT-FPXX: "-target-feature" "+single-float"
259 // SINGLEFLOAT-IMPLICIT-FPXX-NOT: "-target-feature" "+fpxx"
260 // SINGLEFLOAT-IMPLICIT-FPXX-NOT: "-target-feature" "+nooddspreg"
262 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -msingle-float -mfpxx -c %s 2>&1 | \
265 // SINGLEFLOAT-EXPLICIT-FPXX: "-target-feature" "+single-float"
266 // SINGLEFLOAT-EXPLICIT-FPXX: "-target-feature" "+fpxx"
267 // SINGLEFLOAT-EXPLICIT-FPXX: "-target-feature" "+nooddspreg"
269 // RUN: %clang -target mips-mti-linux-gnu -### -fintegrated-as -msingle-float -c %s 2>&1 | \
272 // MTI-SINGLEFLOAT-IMPLICIT-FPXX: "-target-feature" "+single-float"
273 // MTI-SINGLEFLOAT-IMPLICIT-FPXX-NOT: "-target-feature" "+fpxx"
274 // MTI-SINGLEFLOAT-IMPLICIT-FPXX-NOT: "-target-feature" "+nooddspreg"
276 // RUN: %clang -target mips-mti-linux-gnu -### -fintegrated-as -msingle-float -mfpxx -c %s 2>&1 | \
279 // MTI-SINGLEFLOAT-EXPLICIT-FPXX: "-target-feature" "+single-float"
280 // MTI-SINGLEFLOAT-EXPLICIT-FPXX: "-target-feature" "+fpxx"
281 // MTI-SINGLEFLOAT-EXPLICIT-FPXX: "-target-feature" "+nooddspreg"
283 // RUN: %clang -target mips-img-linux-gnu -### -fintegrated-as -msingle-float -c %s 2>&1 | \
286 // IMG-SINGLEFLOAT-IMPLICIT-FPXX: "-target-feature" "+single-float"
287 // IMG-SINGLEFLOAT-IMPLICIT-FPXX-NOT: "-target-feature" "+fpxx"
288 // IMG-SINGLEFLOAT-IMPLICIT-FPXX-NOT: "-target-feature" "+nooddspreg"
290 // RUN: %clang -target mips-img-linux-gnu -### -fintegrated-as -msingle-float -mfpxx -c %s 2>&1 | \
293 // IMG-SINGLEFLOAT-EXPLICIT-FPXX: "-target-feature" "+single-float"
294 // IMG-SINGLEFLOAT-EXPLICIT-FPXX: "-target-feature" "+fpxx"
295 // IMG-SINGLEFLOAT-EXPLICIT-FPXX: "-target-feature" "+nooddspreg"