From acdc49fabf059a364b90a8f8bedb004c799cd353 Mon Sep 17 00:00:00 2001 From: Christophe Lyon Date: Mon, 18 Jan 2021 13:55:04 +0000 Subject: [PATCH] [arm,testsuite]: Fix options for vceqz_p64.c and vceqzq_p64.c These two tests need: dg-require-effective-target arm_crypto_ok dg-add-options arm_crypto because they use intrinsics that need -mfpu=crypto-neon-fp-armv8. 2021-01-18 Christophe Lyon gcc/testsuite/ PR target/71233 * gcc.target/arm/simd/vceqz_p64.c: Use arm_crypto options. * gcc.target/arm/simd/vceqzq_p64.c: Likewise. --- gcc/testsuite/gcc.target/arm/simd/vceqz_p64.c | 3 ++- gcc/testsuite/gcc.target/arm/simd/vceqzq_p64.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/gcc.target/arm/simd/vceqz_p64.c b/gcc/testsuite/gcc.target/arm/simd/vceqz_p64.c index f26cbffb0e4..c6aa6c9b3c9 100644 --- a/gcc/testsuite/gcc.target/arm/simd/vceqz_p64.c +++ b/gcc/testsuite/gcc.target/arm/simd/vceqz_p64.c @@ -2,7 +2,8 @@ /* { dg-do compile } */ /* { dg-options "-save-temps -O2 -fno-inline" } */ -/* { dg-add-options arm_neon } */ +/* { dg-require-effective-target arm_crypto_ok } */ +/* { dg-add-options arm_crypto } */ #include "arm_neon.h" diff --git a/gcc/testsuite/gcc.target/arm/simd/vceqzq_p64.c b/gcc/testsuite/gcc.target/arm/simd/vceqzq_p64.c index 355efd8ed7e..640754c7448 100644 --- a/gcc/testsuite/gcc.target/arm/simd/vceqzq_p64.c +++ b/gcc/testsuite/gcc.target/arm/simd/vceqzq_p64.c @@ -2,7 +2,8 @@ /* { dg-do compile } */ /* { dg-options "-save-temps -O2 -fno-inline" } */ -/* { dg-add-options arm_neon } */ +/* { dg-require-effective-target arm_crypto_ok } */ +/* { dg-add-options arm_crypto } */ #include "arm_neon.h" -- 2.30.2