pr88834.c: Move from here...
authorKugan Vivekanandarajah <kuganv@linaro.org>
Wed, 19 Jun 2019 01:49:24 +0000 (01:49 +0000)
committerKugan Vivekanandarajah <kugan@gcc.gnu.org>
Wed, 19 Jun 2019 01:49:24 +0000 (01:49 +0000)
gcc/testsuite/ChangeLog:

2019-06-19  Kugan Vivekanandarajah  <kugan.vivekanandarajah@linaro.org>

* gcc.target/aarch64/pr88834.c: Move from here...
* gcc.target/aarch64/sve/pr88834.c: ...to here.

From-SVN: r272466

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/pr88834.c [deleted file]
gcc/testsuite/gcc.target/aarch64/sve/pr88834.c [new file with mode: 0644]

index 6f4834191cf36f3a0b06da14e79c58d5e44369fa..116795fe7a0c8dfe2ab14f7cafcb0ec6f01f28ca 100644 (file)
@@ -1,3 +1,8 @@
+2019-06-19  Kugan Vivekanandarajah  <kugan.vivekanandarajah@linaro.org>
+
+       * gcc.target/aarch64/pr88834.c: Move from here...
+       * gcc.target/aarch64/sve/pr88834.c: ...to here.
+
 2019-06-18  Cherry Zhang  <cherryyz@google.com>
 
        * go.dg/concatstring.go: New test.
diff --git a/gcc/testsuite/gcc.target/aarch64/pr88834.c b/gcc/testsuite/gcc.target/aarch64/pr88834.c
deleted file mode 100644 (file)
index ea00967..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-/* { dg-do compile } */
-/* { dg-options "-S -O3 -march=armv8.2-a+sve" } */
-
-void
-f (int *restrict x, int *restrict y, int *restrict z, int n)
-{
-  for (int i = 0; i < n; i += 2)
-    {
-      x[i] = y[i] + z[i];
-      x[i + 1] = y[i + 1] - z[i + 1];
-    }
-}
-
-/* { dg-final { scan-assembler-times {\tld2w\t{z[0-9]+.s - z[0-9]+.s}, p[0-7]/z, \[x[0-9]+, x[0-9]+, lsl 2\]\n} 2 } } */
-/* { dg-final { scan-assembler-times {\tst2w\t{z[0-9]+.s - z[0-9]+.s}, p[0-7], \[x[0-9]+, x[0-9]+, lsl 2\]\n} 1 } } */
diff --git a/gcc/testsuite/gcc.target/aarch64/sve/pr88834.c b/gcc/testsuite/gcc.target/aarch64/sve/pr88834.c
new file mode 100644 (file)
index 0000000..7e7be4e
--- /dev/null
@@ -0,0 +1,15 @@
+/* { dg-do compile } */
+/* { dg-options "-O3" } */
+
+void
+f (int *restrict x, int *restrict y, int *restrict z, int n)
+{
+  for (int i = 0; i < n; i += 2)
+    {
+      x[i] = y[i] + z[i];
+      x[i + 1] = y[i + 1] - z[i + 1];
+    }
+}
+
+/* { dg-final { scan-assembler-times {\tld2w\t{z[0-9]+.s - z[0-9]+.s}, p[0-7]/z, \[x[0-9]+, x[0-9]+, lsl 2\]\n} 2 } } */
+/* { dg-final { scan-assembler-times {\tst2w\t{z[0-9]+.s - z[0-9]+.s}, p[0-7], \[x[0-9]+, x[0-9]+, lsl 2\]\n} 1 } } */