[PATCH][AArch64] Skip arm targets in vq*shr*n_high_n intrinsic tests

Richard Sandiford richard.sandiford@arm.com
Tue Nov 10 11:07:25 GMT 2020


David Candler <David.Candler@arm.com> writes:
> Hi,
>
> These tests should be skipped for arm targets as the instrinsics
> are only supported on aarch64.
>
> Tested on aarch64 and aarch32
>
> gcc/testsuite/ChangeLog
>
> 2020-11-09  David Candler  <david.candler@arm.com>
>
> * 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.

Thanks, pushed to trunk.

Richard

>
> 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 <arm_neon.h>
>  #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 <arm_neon.h>
>  #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 <arm_neon.h>
>  #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 <arm_neon.h>
>  #include "arm-neon-ref.h"
>  #include "compute-ref-data.h"


More information about the Gcc-patches mailing list