summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/mips-as.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Driver/mips-as.c')
-rw-r--r--clang/test/Driver/mips-as.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/clang/test/Driver/mips-as.c b/clang/test/Driver/mips-as.c
index b861943eb55..55fa1ef927d 100644
--- a/clang/test/Driver/mips-as.c
+++ b/clang/test/Driver/mips-as.c
@@ -126,3 +126,13 @@
// RUN: | FileCheck -check-prefix=MIPS-NAN-LEGACY %s
// MIPS-NAN-LEGACY: as{{(.exe)?}}"
// MIPS-NAN_LEGACY-NOT: "-mnan={{.*}}"
+//
+// RUN: %clang -target mips-linux-gnu -mfp64 -mfp32 -### \
+// RUN: -no-integrated-as -c %s 2>&1 \
+// RUN: | FileCheck -check-prefix=MIPS-MFP32 %s
+// MIPS-MFP32: as{{(.exe)?}}" "-march" "mips32" "-mabi" "32" "-EB" "-mfp32"
+//
+// RUN: %clang -target mips-linux-gnu -mfp32 -mfp64 -### \
+// RUN: -no-integrated-as -c %s 2>&1 \
+// RUN: | FileCheck -check-prefix=MIPS-MFP64 %s
+// MIPS-MFP64: as{{(.exe)?}}" "-march" "mips32" "-mabi" "32" "-EB" "-mfp64"
OpenPOWER on IntegriCloud