Home | History | Annotate | Download | only in Driver

Lines Matching full:mips

1 // Check passing options to the assembler for MIPS targets.
3 // RUN: %clang -target mips-linux-gnu -### \
9 // RUN: %clang -target mips-linux-gnu -### \
30 // RUN: %clang -target mips-linux-gnu -mabi=eabi -### \
32 // RUN: | FileCheck -check-prefix=MIPS-EABI %s
33 // MIPS-EABI: as{{(.exe)?}}" "-march" "mips32r2" "-mabi" "eabi" "-EB"
37 // RUN: | FileCheck -check-prefix=MIPS-N32 %s
38 // MIPS-N32: as{{(.exe)?}}" "-march" "mips64r2" "-mabi" "n32" "-EB"
50 // RUN: %clang -target mips-linux-gnu -march=mips32r2 -### \
52 // RUN: | FileCheck -check-prefix=MIPS-32R2 %s
53 // MIPS-32R2: as{{(.exe)?}}" "-march" "mips32r2" "-mabi" "32" "-EB"
57 // RUN: | FileCheck -check-prefix=MIPS-OCTEON %s
58 // MIPS-OCTEON: as{{(.exe)?}}" "-march" "octeon" "-mabi" "64" "-EB"
60 // RUN: %clang -target mips-linux-gnu -mips1 -### \
62 // RUN: | FileCheck -check-prefix=MIPS-ALIAS-1 %s
63 // MIPS-ALIAS-1: as{{(.exe)?}}" "-march" "mips1" "-mabi" "32" "-EB"
65 // RUN: %clang -target mips-linux-gnu -mips2 -### \
67 // RUN: | FileCheck -check-prefix=MIPS-ALIAS-2 %s
68 // MIPS-ALIAS-2: as{{(.exe)?}}" "-march" "mips2" "-mabi" "32" "-EB"
70 // RUN: %clang -target mips-linux-gnu -mips3 -### \
72 // RUN: | FileCheck -check-prefix=MIPS-ALIAS-3 %s
73 // MIPS-ALIAS-3: as{{(.exe)?}}" "-march" "mips3" "-mabi" "32" "-EB"
75 // RUN: %clang -target mips-linux-gnu -mips4 -### \
77 // RUN: | FileCheck -check-prefix=MIPS-ALIAS-4 %s
78 // MIPS-ALIAS-4: as{{(.exe)?}}" "-march" "mips4" "-mabi" "32" "-EB"
80 // RUN: %clang -target mips-linux-gnu -mips5 -### \
82 // RUN: | FileCheck -check-prefix=MIPS-ALIAS-5 %s
83 // MIPS-ALIAS-5: as{{(.exe)?}}" "-march" "mips5" "-mabi" "32" "-EB"
85 // RUN: %clang -target mips-linux-gnu -mips32 -### \
87 // RUN: | FileCheck -check-prefix=MIPS-ALIAS-32 %s
88 // MIPS-ALIAS-32: as{{(.exe)?}}" "-march" "mips32" "-mabi" "32" "-EB"
90 // RUN: %clang -target mips-linux-gnu -mips32r2 -### \
92 // RUN: | FileCheck -check-prefix=MIPS-ALIAS-32R2 %s
93 // MIPS-ALIAS-32R2: as{{(.exe)?}}" "-march" "mips32r2" "-mabi" "32" "-EB"
95 // RUN: %clang -target mips-linux-gnu -mips32r6 -### \
97 // RUN: | FileCheck -check-prefix=MIPS-ALIAS-32R6 %s
98 // MIPS-ALIAS-32R6: as{{(.exe)?}}" "-march" "mips32r6" "-mabi" "32" "-EB"
102 // RUN: | FileCheck -check-prefix=MIPS-ALIAS-64 %s
103 // MIPS-ALIAS-64: as{{(.exe)?}}" "-march" "mips64" "-mabi" "64" "-EB"
107 // RUN: | FileCheck -check-prefix=MIPS-ALIAS-64R2 %s
108 // MIPS-ALIAS-64R2: as{{(.exe)?}}" "-march" "mips64r2" "-mabi" "64" "-EB"
112 // RUN: | FileCheck -check-prefix=MIPS-ALIAS-64R6 %s
113 // MIPS-ALIAS-64R6: as{{(.exe)?}}" "-march" "mips64r6" "-mabi" "64" "-EB"
115 // RUN: %clang -target mips-linux-gnu -mno-mips16 -mips16 -### \
117 // RUN: | FileCheck -check-prefix=MIPS-16 %s
118 // MIPS-16: as{{(.exe)?}}" "-march" "mips32r2" "-mabi" "32" "-EB" "-mips16"
120 // RUN: %clang -target mips-linux-gnu -mips16 -mno-mips16 -### \
122 // RUN: | FileCheck -check-prefix=MIPS-N16 %s
123 // MIPS-N16: as{{(.exe)?}}"
124 // MIPS-N16-NOT: "{{[ A-Za-z\\\/]*}}as{{(.exe)?}}{{.*}}"-mips16"
126 // RUN: %clang -target mips-linux-gnu -mno-micromips -mmicromips -### \
128 // RUN: | FileCheck -check-prefix=MIPS-MICRO %s
129 // MIPS-MICRO: as{{(.exe)?}}" "-march" "mips32r2" "-mabi" "32" "-EB" "-mmicromips"
131 // RUN: %clang -target mips-linux-gnu -mmicromips -mno-micromips -### \
133 // RUN: | FileCheck -check-prefix=MIPS-NMICRO %s
134 // MIPS-NMICRO: as{{(.exe)?}}"
135 // MIPS-NMICRO-NOT: {{[A-Za-z\\\/]*}}as{{(.exe)?}}{{.*}}"-mmicromips"
137 // RUN: %clang -target mips-linux-gnu -mno-dsp -mdsp -### \
139 // RUN: | FileCheck -check-prefix=MIPS-DSP %s
140 // MIPS-DSP: as{{(.exe)?}}" "-march" "mips32r2" "-mabi" "32" "-EB" "-mdsp"
142 // RUN: %clang -target mips-linux-gnu -mdsp -mno-dsp -### \
144 // RUN: | FileCheck -check-prefix=MIPS-NDSP %s
145 // MIPS-NDSP: as{{(.exe)?}}"
146 // MIPS-NDSP-NOT: "{{[ A-Za-z\\\/]*}}as{{(.exe)?}}{{.*}}"-mdsp"
148 // RUN: %clang -target mips-linux-gnu -mno-dspr2 -mdspr2 -### \
150 // RUN: | FileCheck -check-prefix=MIPS-DSPR2 %s
151 // MIPS-DSPR2: as{{(.exe)?}}" "-march" "mips32r2" "-mabi" "32" "-EB" "-mdspr2"
153 // RUN: %clang -target mips-linux-gnu -mdspr2 -mno-dspr2 -### \
155 // RUN: | FileCheck -check-prefix=MIPS-NDSPR2 %s
156 // MIPS-NDSPR2: as{{(.exe)?}}"
157 // MIPS-NDSPR2-NOT: "{{[ A-Za-z\\\/]*}}as{{(.exe)?}}{{.*}}"-mdspr2"
159 // RUN: %clang -target mips-linux-gnu -mnan=legacy -mnan=2008 -### \
161 // RUN: | FileCheck -check-prefix=MIPS-NAN2008 %s
162 // MIPS-NAN2008: as{{(.exe)?}}" "-march" "mips32r2" "-mabi" "32" "-EB" "-mnan=2008"
164 // RUN: %clang -target mips-linux-gnu -mnan=2008 -mnan=legacy -### \
166 // RUN: | FileCheck -check-prefix=MIPS-NAN-LEGACY %s
167 // MIPS-NAN-LEGACY: as{{(.exe)?}}"
168 // MIPS-NAN-LEGACY-NOT: "{{[ A-Za-z\\\/]*}}as{{(.exe)?}}{{.*}}"-mnan={{.*}}"
170 // RUN: %clang -target mips-linux-gnu -mfp64 -mfp32 -### \
172 // RUN: | FileCheck -check-prefix=MIPS-MFP32 %s
173 // MIPS-MFP32: as{{(.exe)?}}" "-march" "mips32r2" "-mabi" "32" "-EB" "-mfp32"
175 // RUN: %clang -target mips-linux-gnu -mfp32 -mfp64 -### \
177 // RUN: | FileCheck -check-prefix=MIPS-MFP64 %s
178 // MIPS-MFP64: as{{(.exe)?}}" "-march" "mips32r2" "-mabi" "32" "-EB" "-mfp64"
180 // RUN: %clang -target mips-linux-gnu -mno-msa -mmsa -### \
182 // RUN: | FileCheck -check-prefix=MIPS-MSA %s
183 // MIPS-MSA: as{{(.exe)?}}" "-march" "mips32r2" "-mabi" "32" "-EB" "-mmsa"
185 // RUN: %clang -target mips-linux-gnu -mmsa -mno-msa -### \
187 // RUN: | FileCheck -check-prefix=MIPS-NMSA %s
188 // MIPS-NMSA: as{{(.exe)?}}"
189 // MIPS-NMSA-NOT: "{{[ A-Za-z\\\/]*}}as{{(.exe)?}}{{.*}}"-mmsa"
194 // RUN: %clang -target mips-linux-gnu -### -no-integrated-as -c %s -mcpu=mips1 \
199 // RUN: %clang -target mips-linux-gnu -### -no-integrated-as -c %s -mcpu=mips2 \
219 // RUN: %clang -target mips-linux-gnu -### -no-integrated-as -c %s -mcpu=mips32 \
224 // RUN: %clang -target mips-linux-gnu -### -no-integrated-as -c %s -mcpu=mips32r6 \