diff options
Diffstat (limited to 'test/Driver/clang-translation.c')
-rw-r--r-- | test/Driver/clang-translation.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/test/Driver/clang-translation.c b/test/Driver/clang-translation.c index 422aa139346d9..cc3cd1b58b1f4 100644 --- a/test/Driver/clang-translation.c +++ b/test/Driver/clang-translation.c @@ -245,9 +245,20 @@ // RUN: FileCheck -check-prefix=MIPSEL-ANDROID %s // MIPSEL-ANDROID: clang // MIPSEL-ANDROID: "-cc1" -// MIPSEL-ANDROID: "-target-cpu" "mips32r2" +// MIPSEL-ANDROID: "-target-cpu" "mips32" +// MIPSEL-ANDROID: "-target-feature" "+fpxx" +// MIPSEL-ANDROID: "-target-feature" "+nooddspreg" // MIPSEL-ANDROID: "-mfloat-abi" "hard" +// RUN: %clang -target mipsel-linux-android -### -S %s -mcpu=mips32r6 2>&1 | \ +// RUN: FileCheck -check-prefix=MIPSEL-ANDROID-R6 %s +// MIPSEL-ANDROID-R6: clang +// MIPSEL-ANDROID-R6: "-cc1" +// MIPSEL-ANDROID-R6: "-target-cpu" "mips32r6" +// MIPSEL-ANDROID-R6: "-target-feature" "+fp64" +// MIPSEL-ANDROID-R6: "-target-feature" "+nooddspreg" +// MIPSEL-ANDROID-R6: "-mfloat-abi" "hard" + // RUN: %clang -target mips64-linux-gnu -### -S %s 2>&1 | \ // RUN: FileCheck -check-prefix=MIPS64 %s // MIPS64: clang |