[committed,2/5] arc: Update/remove ARC specific tests
Checks
Commit Message
Update tests and remove old mtune-* tests.
gcc/testsuite
* gcc.target/arc/add_n-combine.c: Recognize add2 instruction.
* gcc.target/arc/firq-4.c: FP register is a temp reg. Update test.
* gcc.target/arc/firq-6.c: Likewise.
* gcc.target/arc/mtune-ARC600.c: Remove test.
* gcc.target/arc/mtune-ARC601.c: Likewise.
* gcc.target/arc/mtune-ARC700-xmac: Likewise.
* gcc.target/arc/mtune-ARC700.c: Likewise.
* gcc.target/arc/mtune-ARC725D.c: Likewise.
* gcc.target/arc/mtune-ARC750D.c: Likewise.
* gcc.target/arc/uncached-7.c: Set it to XFAIL.
Signed-off-by: Claudiu Zissulescu <claziss@gmail.com>
---
gcc/testsuite/gcc.target/arc/add_n-combine.c | 2 +-
gcc/testsuite/gcc.target/arc/firq-4.c | 1 -
gcc/testsuite/gcc.target/arc/firq-6.c | 1 -
gcc/testsuite/gcc.target/arc/mtune-ARC600.c | 4 ----
gcc/testsuite/gcc.target/arc/mtune-ARC601.c | 4 ----
gcc/testsuite/gcc.target/arc/mtune-ARC700-xmac | 4 ----
gcc/testsuite/gcc.target/arc/mtune-ARC700.c | 4 ----
gcc/testsuite/gcc.target/arc/mtune-ARC725D.c | 4 ----
gcc/testsuite/gcc.target/arc/mtune-ARC750D.c | 4 ----
gcc/testsuite/gcc.target/arc/uncached-7.c | 2 +-
10 files changed, 2 insertions(+), 28 deletions(-)
delete mode 100644 gcc/testsuite/gcc.target/arc/mtune-ARC600.c
delete mode 100644 gcc/testsuite/gcc.target/arc/mtune-ARC601.c
delete mode 100644 gcc/testsuite/gcc.target/arc/mtune-ARC700-xmac
delete mode 100644 gcc/testsuite/gcc.target/arc/mtune-ARC700.c
delete mode 100644 gcc/testsuite/gcc.target/arc/mtune-ARC725D.c
delete mode 100644 gcc/testsuite/gcc.target/arc/mtune-ARC750D.c
@@ -46,5 +46,5 @@ void f() {
}
/* { dg-final { scan-assembler "@at1\\+1" } } */
-/* { dg-final { scan-assembler "@at2\\+2" } } */
+/* { dg-final { scan-assembler "add2" } } */
/* { dg-final { scan-assembler "add3" } } */
@@ -28,4 +28,3 @@ handler1 (void)
/* { dg-final { scan-assembler-not "fp,\\\[sp" } } */
/* { dg-final { scan-assembler-not "push.*fp" } } */
-/* { dg-final { scan-assembler "mov_s.*fp,sp" } } */
@@ -18,4 +18,3 @@ handler1 (void)
"r25", "fp");
}
/* { dg-final { scan-assembler-not "(s|l)(t|d)d.*r\[0-9\]+,\\\[sp,\[0-9\]+\\\]" } } */
-/* { dg-final { scan-assembler "mov_s.*fp,sp" } } */
deleted file mode 100644
@@ -1,4 +0,0 @@
-/* { dg-do compile } */
-/* { dg-options "-mtune=ARC600" } */
-
-/* { dg-final { scan-assembler ".cpu ARC700" } } */
deleted file mode 100644
@@ -1,4 +0,0 @@
-/* { dg-do compile } */
-/* { dg-options "-mtune=ARC601" } */
-
-/* { dg-final { scan-assembler ".cpu ARC700" } } */
deleted file mode 100644
@@ -1,4 +0,0 @@
-/* { dg-do compile } */
-/* { dg-options "-mtune=ARC700-xmac" } */
-
-/* { dg-final { scan-assembler ".cpu ARC700" } } */
deleted file mode 100644
@@ -1,4 +0,0 @@
-/* { dg-do compile } */
-/* { dg-options "-mtune=ARC700" } */
-
-/* { dg-final { scan-assembler ".cpu ARC700" } } */
deleted file mode 100644
@@ -1,4 +0,0 @@
-/* { dg-do compile } */
-/* { dg-options "-mtune=ARC725D" } */
-
-/* { dg-final { scan-assembler ".cpu ARC700" } } */
deleted file mode 100644
@@ -1,4 +0,0 @@
-/* { dg-do compile } */
-/* { dg-options "-mtune=ARC750D" } */
-
-/* { dg-final { scan-assembler ".cpu ARC700" } } */
@@ -8,4 +8,4 @@ void s_acc(void)
s[10] = 15;
}
-/* { dg-final { scan-assembler-times "st\.di" 1 } } */
+/* { dg-final { scan-assembler-times "st\.di" 1 { xfail *-*-* } } } */