]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: [arm] Add missing effective-target to vusdot-autovec.c
authorChristophe Lyon <christophe.lyon@foss.st.com>
Thu, 15 Jul 2021 15:22:19 +0000 (15:22 +0000)
committerChristophe Lyon <christophe.lyon@foss.st.com>
Thu, 15 Jul 2021 18:55:39 +0000 (18:55 +0000)
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.

gcc/testsuite/gcc.target/arm/simd/vusdot-autovec.c

index 7cc56f68817d77d6950df0ab372d6fbaad6b3813..e7af895b423059f9bdb85674bb5f0dccf923a7ab 100644 (file)
@@ -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