From: Christophe Lyon Date: Mon, 20 Apr 2020 22:36:09 +0000 (+0000) Subject: testsuite/arm: Add arm_v8_2a_i8mm options in gcc.target/arm/simd/vmmla_1.c X-Git-Tag: basepoints/gcc-12~465 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aa706c46366553081a618502e9d71530cfa74dfa;p=thirdparty%2Fgcc.git testsuite/arm: Add arm_v8_2a_i8mm options in gcc.target/arm/simd/vmmla_1.c We need to add the options corresponding to the arm_v8_2a_i8mm_ok effective target in order to use the right float-abi option: -mfloat-abi=softfp makes the test pass for arm-linux-gnueabi, while no -mfloat-abi option is needed for arm-linux-gnueabihf. 2021-03-19 Christophe Lyon gcc/testsuite/ * gcc.target/arm/simd/vmmla_1.c: Add arm_v8_2a_i8mm options. --- diff --git a/gcc/testsuite/gcc.target/arm/simd/vmmla_1.c b/gcc/testsuite/gcc.target/arm/simd/vmmla_1.c index d33ebf361d43..a88c4eac62b1 100644 --- a/gcc/testsuite/gcc.target/arm/simd/vmmla_1.c +++ b/gcc/testsuite/gcc.target/arm/simd/vmmla_1.c @@ -1,6 +1,7 @@ /* { dg-do assemble } */ /* { dg-require-effective-target arm_v8_2a_i8mm_ok } */ -/* { dg-options "-save-temps -O2 -march=armv8.2-a+i8mm -mfpu=auto -mfloat-abi=hard" } */ +/* { dg-options "-save-temps -O2 -mfpu=auto" } */ +/* { dg-add-options arm_v8_2a_i8mm } */ #include "arm_neon.h"