[arm,testsuite]: Fix options for vceqz_p64.c and vceqzq_p64.c
authorChristophe Lyon <christophe.lyon@linaro.org>
Mon, 18 Jan 2021 13:55:04 +0000 (13:55 +0000)
committerChristophe Lyon <christophe.lyon@linaro.org>
Mon, 18 Jan 2021 13:59:54 +0000 (13:59 +0000)
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  <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.

gcc/testsuite/gcc.target/arm/simd/vceqz_p64.c
gcc/testsuite/gcc.target/arm/simd/vceqzq_p64.c

index f26cbffb0e4221f5ec620a8901973b1db6c99dc7..c6aa6c9b3c98cc0390e787a5aeb852ea92043921 100644 (file)
@@ -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"
 
index 355efd8ed7e743b24e5941856e9cf8f3a0445274..640754c7448d1f0a4bc69215115c958815cf1d6d 100644 (file)
@@ -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"