diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2012-01-11 12:36:39 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2012-01-11 12:36:39 +0000 |
commit | 463f13695f0acaed343daa189335fea56f81321b (patch) | |
tree | fd8cd4d384af95a2efa7652a1568655d83e0f1e6 | |
parent | 35dd732fdff0e31ef0a24d76b7106597862adfcf (diff) |
More tests for ARM FPU features.
Also remove the svn:eol-style property from the test file.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147947 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Driver/arm-mfpu.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/Driver/arm-mfpu.c b/test/Driver/arm-mfpu.c index 41c67578df..f8ae664383 100644 --- a/test/Driver/arm-mfpu.c +++ b/test/Driver/arm-mfpu.c @@ -1,3 +1,12 @@ +// Test that different values of -mfpu pick correct ARM FPU target-feature(s). + +// RUN: %clang -ccc-host-triple arm-linux-eabi %s -### -o %t.o 2>&1 \ +// RUN: | FileCheck --check-prefix=CHECK-DEFAULT %s +// CHECK-DEFAULT-NOT: "-target-feature" "+vfp2" +// CHECK-DEFAULT-NOT: "-target-feature" "+vfp3" +// CHECK-DEFAULT-NOT: "-target-feature" "+d16" +// CHECK-DEFAULT-NOT: "-target-feature" "+neon" + // RUN: %clang -ccc-host-triple arm-linux-eabi -mfpu=fpa %s -### -o %t.o 2>&1 \ // RUN: | FileCheck --check-prefix=CHECK-FPA %s // RUN: %clang -ccc-host-triple arm-linux-eabi -mfpu=fpe2 %s -### -o %t.o 2>&1 \ @@ -34,3 +43,6 @@ // RUN: | FileCheck --check-prefix=CHECK-NEON %s // CHECK-NEON: "-target-feature" "+neon" +// RUN: %clang -ccc-host-triple arm-linux-eabi -msoft-float %s -### -o %t.o 2>&1 \ +// RUN: | FileCheck --check-prefix=CHECK-SOFT-FLOAT %s +// CHECK-SOFT-FLOAT: "-target-feature" "-neon" |