public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [arm,testsuite]: Fix options for vceqz_p64.c and vceqzq_p64.c
@ 2021-01-18 14:11 Christophe Lyon
  0 siblings, 0 replies; only message in thread
From: Christophe Lyon @ 2021-01-18 14:11 UTC (permalink / raw)
  To: gcc Patches

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.

Committed as obvious.

2021-01-18  Christophe Lyon  <christophe.lyon@linaro.org>

        gcc/testsuite/
        PR target/71233
        * gcc.target/arm/simd/vceqz_p64.c: Use arm_crypto options.
        * gcc.target/arm/simd/vceqzq_p64.c: Likewise.

diff --git a/gcc/testsuite/gcc.target/arm/simd/vceqz_p64.c
b/gcc/testsuite/gcc.target/arm/simd/vceqz_p64.c
index f26cbff..c6aa6c9 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 355efd8..640754c 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"

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-01-18 14:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-18 14:11 [arm,testsuite]: Fix options for vceqz_p64.c and vceqzq_p64.c Christophe Lyon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).