diff mbox series

[arm,testsuite] : Fix options for vceqz_p64.c and vceqzq_p64.c

Message ID CAKdteObSQG=cQMaTTuuWGKNyiyVLSo7+kDRxdAmsp4fDg1VDcg@mail.gmail.com
State New
Headers show
Series [arm,testsuite] : Fix options for vceqz_p64.c and vceqzq_p64.c | expand

Commit Message

Christophe Lyon Jan. 18, 2021, 2:11 p.m. UTC
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 mbox series

Patch

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"