testsuite: Adjust target requirements for sad-vectorize and signbit.
authorDavid Edelsohn <dje.gcc@gmail.com>
Wed, 28 Oct 2020 18:01:17 +0000 (14:01 -0400)
committerDavid Edelsohn <dje.gcc@gmail.com>
Wed, 28 Oct 2020 21:08:29 +0000 (17:08 -0400)
More testcases with incorrect target selectors.

gcc/testsuite/ChangeLog:

* gcc.target/powerpc/sad-vectorize-1.c: Remove AIX skip.
* gcc.target/powerpc/sad-vectorize-2.c: Remove AIX skip.
* gcc.target/powerpc/sad-vectorize-3.c: Remove target.
Require p9vector_hw.
* gcc.target/powerpc/sad-vectorize-4.c: Remove target.
Require p9vector_hw.
* gcc.target/powerpc/signbit-1.c: Remove target.
Require ppc_float128_sw.
* gcc.target/powerpc/signbit-2.c: Remove target.
Require ppc_float128_sw.
* gcc.target/powerpc/signbit-3.c: Remove target.
Require ppc_float128_sw.

gcc/testsuite/gcc.target/powerpc/sad-vectorize-1.c
gcc/testsuite/gcc.target/powerpc/sad-vectorize-2.c
gcc/testsuite/gcc.target/powerpc/sad-vectorize-3.c
gcc/testsuite/gcc.target/powerpc/sad-vectorize-4.c
gcc/testsuite/gcc.target/powerpc/signbit-1.c
gcc/testsuite/gcc.target/powerpc/signbit-2.c
gcc/testsuite/gcc.target/powerpc/signbit-3.c

index 9cc14e4b22972f7f4fb2eea26159341e47d52db6..326a821add8db38d91866cfa05750724e503c2f9 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-O3 -mdejagnu-cpu=power9" } */
 
 /* Verify that we vectorize this SAD loop using vabsdub. */
index e1de52b7258adb52160efe9b09cb50d0b474c12a..3ae5c4805f9d43e284499a2cecd166348be15e0e 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-O3 -mdejagnu-cpu=power9" } */
 
 /* Verify that we vectorize this SAD loop using vabsduh. */
index bb10fe61c97ca9949de71a7bc66183a15e9b74b9..2986abb8df5be4ecde8e031e947675a274b6cb91 100644 (file)
@@ -1,5 +1,5 @@
-/* { dg-do run { target { powerpc*-*-linux* && { lp64 && p9vector_hw } } } } */
-/* { dg-require-effective-target powerpc_p9vector_ok } */
+/* { dg-do run } */
+/* { dg-require-effective-target p9vector_hw } */
 /* { dg-options "-O3 -mdejagnu-cpu=power9" } */
 
 /* Verify that we get correct code when we vectorize this SAD loop using
index 15f5d148c560916a99b2e0f7165779437a8fc194..d24e2a813254d0d01257c46f362656bfe7e214f5 100644 (file)
@@ -1,5 +1,5 @@
-/* { dg-do run { target { powerpc*-*-linux* && { lp64 && p9vector_hw } } } } */
-/* { dg-require-effective-target powerpc_p9vector_ok } */
+/* { dg-do run } */
+/* { dg-require-effective-target p9vector_hw } */
 /* { dg-options "-O3 -mdejagnu-cpu=power9" } */
 
 /* Verify that we get correct code when we vectorize this SAD loop using
index 552dd1baa191a3776e8b2ba25a012b9785f61352..eb4f53e397d1890685b3554854c4580e428cbe5c 100644 (file)
@@ -1,5 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */
-/* { dg-skip-if "" { powerpc*-*-darwin* } } */
+/* { dg-do compile } */
+/* { dg-require-effective-target ppc_float128_sw } */
 /* { dg-require-effective-target powerpc_p8vector_ok } */
 /* { dg-options "-mdejagnu-cpu=power8 -O2 -mfloat128" } */
 
index d17fc81c075a6b3d80e7b085eff6b755408e2103..ff6af963dda28066d4cb9cfee7546cc58ecf338d 100644 (file)
@@ -1,6 +1,6 @@
-/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */
-/* { dg-skip-if "" { powerpc*-*-darwin* } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
+/* { dg-require-effective-target ppc_float128_sw } */
 /* { dg-options "-mdejagnu-cpu=power9 -O2 -mfloat128" } */
 
 int do_signbit_kf (__float128 *a) { return __builtin_signbit (*a); }
index 68d641edc2cd156b781e40cf2f84855a51249961..2d1ecb9635175c2c1955a6566c6eb0cfc04f5703 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-do run { target { powerpc*-*-linux* } } } */
+/* { dg-do run } */
 /* { dg-require-effective-target ppc_float128_sw } */
 /* { dg-options "-mdejagnu-cpu=power7 -O2 -mfloat128 -lm" } */