From 7a9c9a3265f85bd8c660df08e56bbab0b416df7e Mon Sep 17 00:00:00 2001 From: Christophe Lyon Date: Thu, 15 Jul 2021 15:22:19 +0000 Subject: [PATCH] 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. --- 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 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 -- 2.7.4