testsuite: Skip intrinsics test if arm
authorTorbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Mon, 19 Sep 2022 16:08:46 +0000 (18:08 +0200)
committerTorbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Fri, 23 Sep 2022 17:30:46 +0000 (19:30 +0200)
In the test cases, it's clearly written that intrinsics is not
implemented on arm*. A simple xfail does not help since there are
link error and that would cause an UNRESOLVED testcase rather than
XFAIL.
By changing to dg-skip-if, the entire test case is omitted.

gcc/testsuite/ChangeLog:

* gcc.target/aarch64/advsimd-intrinsics/vld1x2.c: Replace
dg-xfail-if with dg-skip-if.
* gcc.target/aarch64/advsimd-intrinsics/vld1x3.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vld1x4.c: Likewise.

Co-Authored-By: Yvan ROUX <yvan.roux@foss.st.com>
Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vld1x2.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vld1x3.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vld1x4.c

index 92a139b..f933102 100644 (file)
@@ -1,6 +1,6 @@
 /* We haven't implemented these intrinsics for arm yet.  */
-/* { dg-xfail-if "" { arm*-*-* } } */
 /* { dg-do run } */
+/* { dg-skip-if "unsupported" { arm*-*-* } } */
 /* { dg-options "-O3" } */
 
 #include <arm_neon.h>
index 6ddd507..b20dec0 100644 (file)
@@ -1,6 +1,6 @@
 /* We haven't implemented these intrinsics for arm yet.  */
-/* { dg-xfail-if "" { arm*-*-* } } */
 /* { dg-do run } */
+/* { dg-skip-if "unsupported" { arm*-*-* } } */
 /* { dg-options "-O3" } */
 
 #include <arm_neon.h>
index 451a0af..e59f845 100644 (file)
@@ -1,6 +1,6 @@
 /* We haven't implemented these intrinsics for arm yet.  */
-/* { dg-xfail-if "" { arm*-*-* } } */
 /* { dg-do run } */
+/* { dg-skip-if "unsupported" { arm*-*-* } } */
 /* { dg-options "-O3" } */
 
 #include <arm_neon.h>