diff options
Diffstat (limited to 'test/Driver/mips-float.c')
-rw-r--r-- | test/Driver/mips-float.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/Driver/mips-float.c b/test/Driver/mips-float.c index 9e62c0a..ad2106a 100644 --- a/test/Driver/mips-float.c +++ b/test/Driver/mips-float.c @@ -17,9 +17,9 @@ // RUN: %clang -c %s -### -o %t.o 2>&1 \ // RUN: -target mips-linux-gnu -msoft-float \ // RUN: | FileCheck --check-prefix=CHECK-SOFT %s +// CHECK-SOFT: "-target-feature" "+soft-float" // CHECK-SOFT: "-msoft-float" // CHECK-SOFT: "-mfloat-abi" "soft" -// CHECK-SOFT: "-target-feature" "+soft-float" // // -mfloat-abi=hard // RUN: %clang -c %s -### -o %t.o 2>&1 \ @@ -31,9 +31,9 @@ // RUN: %clang -c %s -### -o %t.o 2>&1 \ // RUN: -target mips-linux-gnu -mfloat-abi=soft \ // RUN: | FileCheck --check-prefix=CHECK-ABI-SOFT %s +// CHECK-ABI-SOFT: "-target-feature" "+soft-float" // CHECK-ABI-SOFT: "-msoft-float" // CHECK-ABI-SOFT: "-mfloat-abi" "soft" -// CHECK-ABI-SOFT: "-target-feature" "+soft-float" // // -mdouble-float // RUN: %clang -c %s -### -o %t.o 2>&1 \ @@ -46,15 +46,15 @@ // RUN: %clang -c %s -### -o %t.o 2>&1 \ // RUN: -target mips-linux-gnu -mdouble-float -msingle-float \ // RUN: | FileCheck --check-prefix=CHECK-ABI-SINGLE %s -// CHECK-ABI-SINGLE: "-mfloat-abi" "hard" // CHECK-ABI-SINGLE: "-target-feature" "+single-float" +// CHECK-ABI-SINGLE: "-mfloat-abi" "hard" // // -msoft-float -msingle-float // RUN: %clang -c %s -### -o %t.o 2>&1 \ // RUN: -target mips-linux-gnu -msoft-float -msingle-float \ // RUN: | FileCheck --check-prefix=CHECK-ABI-SOFT-SINGLE %s -// CHECK-ABI-SOFT-SINGLE: "-mfloat-abi" "soft" // CHECK-ABI-SOFT-SINGLE: "-target-feature" "+single-float" +// CHECK-ABI-SOFT-SINGLE: "-mfloat-abi" "soft" // // Default -mips16 // RUN: %clang -c %s -### -o %t.o 2>&1 \ @@ -67,32 +67,32 @@ // RUN: %clang -c %s -### -o %t.o 2>&1 \ // RUN: -target mips-linux-gnu -mhard-float -mips16 \ // RUN: | FileCheck --check-prefix=CHECK-HARD-MIPS16 %s +// CHECK-HARD-MIPS16: "-target-feature" "+soft-float" // CHECK-HARD-MIPS16: "-msoft-float" // CHECK-HARD-MIPS16: "-mfloat-abi" "soft" -// CHECK-HARD-MIPS16: "-target-feature" "+soft-float" // CHECK-HARD-MIPS16: "-mllvm" "-mips16-hard-float" // // -msoft-float -mips16 // RUN: %clang -c %s -### -o %t.o 2>&1 \ // RUN: -target mips-linux-gnu -msoft-float -mips16 \ // RUN: | FileCheck --check-prefix=CHECK-SOFT-MIPS16 %s +// CHECK-SOFT-MIPS16: "-target-feature" "+soft-float" // CHECK-SOFT-MIPS16: "-msoft-float" // CHECK-SOFT-MIPS16: "-mfloat-abi" "soft" -// CHECK-SOFT-MIPS16: "-target-feature" "+soft-float" // // -mfloat-abi=hard -mips16 // RUN: %clang -c %s -### -o %t.o 2>&1 \ // RUN: -target mips-linux-gnu -mfloat-abi=hard -mips16 \ // RUN: | FileCheck --check-prefix=CHECK-ABI-HARD-MIPS16 %s +// CHECK-ABI-HARD-MIPS16: "-target-feature" "+soft-float" // CHECK-ABI-HARD-MIPS16: "-msoft-float" // CHECK-ABI-HARD-MIPS16: "-mfloat-abi" "soft" -// CHECK-ABI-HARD-MIPS16: "-target-feature" "+soft-float" // CHECK-ABI-HARD-MIPS16: "-mllvm" "-mips16-hard-float" // // -mfloat-abi=soft -mips16 // RUN: %clang -c %s -### -o %t.o 2>&1 \ // RUN: -target mips-linux-gnu -mfloat-abi=soft -mips16 \ // RUN: | FileCheck --check-prefix=CHECK-ABI-SOFT-MIPS16 %s +// CHECK-ABI-SOFT-MIPS16: "-target-feature" "+soft-float" // CHECK-ABI-SOFT-MIPS16: "-msoft-float" // CHECK-ABI-SOFT-MIPS16: "-mfloat-abi" "soft" -// CHECK-ABI-SOFT-MIPS16: "-target-feature" "+soft-float" |