Simon Atanasyan | 2390aa1 | 2012-04-06 19:15:24 +0000 | [diff] [blame^] | 1 | // Check passing options to the assembler for MIPS targets. |
| 2 | // |
| 3 | // RUN: %clang -target mips-linux-gnu -### \ |
| 4 | // RUN: -no-integrated-as -c %s 2>&1 \ |
| 5 | // RUN: | FileCheck -check-prefix=MIPS32-EB-AS %s |
| 6 | // CHECK-MIPS32-EB-AS: as{{(.exe)?}}" "-march" "mips32" "-EB" |
| 7 | // |
| 8 | // RUN: %clang -target mipsel-linux-gnu -### \ |
| 9 | // RUN: -no-integrated-as -c %s 2>&1 \ |
| 10 | // RUN: | FileCheck -check-prefix=MIPS32-EL-AS %s |
| 11 | // CHECK-MIPS32-EL-AS: as{{(.exe)?}}" "-march" "mips32" "-EL" |
| 12 | // |
| 13 | // RUN: %clang -target mips64-linux-gnu -### \ |
| 14 | // RUN: -no-integrated-as -c %s 2>&1 \ |
| 15 | // RUN: | FileCheck -check-prefix=MIPS64-EB-AS %s |
| 16 | // CHECK-MIPS64-EB-AS: as{{(.exe)?}}" "-march" "mips64" "-EB" |
| 17 | // |
| 18 | // RUN: %clang -target mips64el-linux-gnu -### \ |
| 19 | // RUN: -no-integrated-as -c %s 2>&1 \ |
| 20 | // RUN: | FileCheck -check-prefix=MIPS64-EL-AS %s |
| 21 | // CHECK-MIPS64-EL-AS: as{{(.exe)?}}" "-march" "mips64" "-EL" |