aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@foss.st.com>2021-07-15 15:22:19 +0000
committerChristophe Lyon <christophe.lyon@foss.st.com>2021-07-15 18:55:39 +0000
commit7a9c9a3265f85bd8c660df08e56bbab0b416df7e (patch)
tree0bd14a5fbe326b638a3fac2cf99fe2391c78d6ca
parent7094a69bd62a14dfa311eaa2fea468f221c7c9f3 (diff)
downloadgcc-7a9c9a3265f85bd8c660df08e56bbab0b416df7e.zip
gcc-7a9c9a3265f85bd8c660df08e56bbab0b416df7e.tar.gz
gcc-7a9c9a3265f85bd8c660df08e56bbab0b416df7e.tar.bz2
testsuite: [arm] Add missing effective-target to vusdot-autovec.c
This test fails when forcing an -mcpu option incompatible with -march=armv8.2-a+i8mm. This patch adds the missing arm_v8_2a_i8mm_ok effective-target, as well as the associated dg-add-options arm_v8_2a_i8mm. 2021-07-15 Christophe Lyon <christophe.lyon@foss.st.com> gcc/testsuite/ * gcc.target/arm/simd/vusdot-autovec.c: Use arm_v8_2a_i8mm_ok effective-target.
-rw-r--r--gcc/testsuite/gcc.target/arm/simd/vusdot-autovec.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.target/arm/simd/vusdot-autovec.c b/gcc/testsuite/gcc.target/arm/simd/vusdot-autovec.c
index 7cc56f6..e7af895 100644
--- a/gcc/testsuite/gcc.target/arm/simd/vusdot-autovec.c
+++ b/gcc/testsuite/gcc.target/arm/simd/vusdot-autovec.c
@@ -1,5 +1,7 @@
/* { dg-do compile } */
-/* { dg-options "-O3 -march=armv8.2-a+i8mm" } */
+/* { dg-require-effective-target arm_v8_2a_i8mm_ok } */
+/* { dg-options "-O3" } */
+/* { dg-add-options arm_v8_2a_i8mm } */
#define N 480
#define SIGNEDNESS_1 unsigned