Christophe Lyon via Gcc-patches <gcc-patches@gcc.gnu.org> writes: > 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.l...@foss.st.com> > > gcc/testsuite/ > * gcc.target/arm/simd/vusdot-autovec.c: Use arm_v8_2a_i8mm_ok > effective-target.
OK, thanks. > --- > gcc/testsuite/gcc.target/arm/simd/vusdot-autovec.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/gcc/testsuite/gcc.target/arm/simd/vusdot-autovec.c > b/gcc/testsuite/gcc.target/arm/simd/vusdot-autovec.c > index 7cc56f68817..e7af895b423 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