From 9693749b963030b7e82f94829b8bc4a61802dd85 Mon Sep 17 00:00:00 2001 From: David Candler Date: Tue, 10 Nov 2020 11:06:49 +0000 Subject: [PATCH] aarch64: Skip arm targets in vq*shr*n_high_n intrinsic tests These tests should be skipped for arm targets as the instrinsics are only supported on aarch64. gcc/testsuite/ChangeLog 2020-11-10 David Candler * gcc.target/aarch64/advsimd-intrinsics/vqrshrn_high_n.c: Added skip directive. * gcc.target/aarch64/advsimd-intrinsics/vqrshrun_high_n.c: Likewise. * gcc.target/aarch64/advsimd-intrinsics/vqshrn_high_n.c: Likewise. * gcc.target/aarch64/advsimd-intrinsics/vqshrun_high_n.c: Likewise. --- .../gcc.target/aarch64/advsimd-intrinsics/vqrshrn_high_n.c | 3 +++ .../gcc.target/aarch64/advsimd-intrinsics/vqrshrun_high_n.c | 3 +++ .../gcc.target/aarch64/advsimd-intrinsics/vqshrn_high_n.c | 3 +++ .../gcc.target/aarch64/advsimd-intrinsics/vqshrun_high_n.c | 3 +++ 4 files changed, 12 insertions(+) diff --git a/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqrshrn_high_n.c b/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqrshrn_high_n.c index d9add2908d1..6ebe0743cc4 100644 --- a/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqrshrn_high_n.c +++ b/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqrshrn_high_n.c @@ -1,3 +1,6 @@ +/* { dg-do run } */ +/* { dg-skip-if "" { arm*-*-* } } */ + #include #include "arm-neon-ref.h" #include "compute-ref-data.h" diff --git a/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqrshrun_high_n.c b/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqrshrun_high_n.c index 1a3788cd14a..49d319d0181 100644 --- a/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqrshrun_high_n.c +++ b/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqrshrun_high_n.c @@ -1,3 +1,6 @@ +/* { dg-do run } */ +/* { dg-skip-if "" { arm*-*-* } } */ + #include #include "arm-neon-ref.h" #include "compute-ref-data.h" diff --git a/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqshrn_high_n.c b/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqshrn_high_n.c index 72aecc15ba2..8d06f113dc8 100644 --- a/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqshrn_high_n.c +++ b/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqshrn_high_n.c @@ -1,3 +1,6 @@ +/* { dg-do run } */ +/* { dg-skip-if "" { arm*-*-* } } */ + #include #include "arm-neon-ref.h" #include "compute-ref-data.h" diff --git a/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqshrun_high_n.c b/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqshrun_high_n.c index 4885c029d1a..e8235fe9693 100644 --- a/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqshrun_high_n.c +++ b/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqshrun_high_n.c @@ -1,3 +1,6 @@ +/* { dg-do run } */ +/* { dg-skip-if "" { arm*-*-* } } */ + #include #include "arm-neon-ref.h" #include "compute-ref-data.h" -- 2.30.2