From: Christophe Lyon Date: Thu, 15 Jul 2021 15:22:19 +0000 (+0000) Subject: testsuite: [arm] Add missing effective-target to vusdot-autovec.c X-Git-Tag: basepoints/gcc-13~5981 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a9c9a3265f85bd8c660df08e56bbab0b416df7e;p=thirdparty%2Fgcc.git 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 gcc/testsuite/ * gcc.target/arm/simd/vusdot-autovec.c: Use arm_v8_2a_i8mm_ok effective-target. --- diff --git a/gcc/testsuite/gcc.target/arm/simd/vusdot-autovec.c b/gcc/testsuite/gcc.target/arm/simd/vusdot-autovec.c index 7cc56f68817d..e7af895b4230 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