[PATCH 2/8] testsuite/arm: Add arm_v8_2a_i8mm options in gcc.target/arm/simd/vmmla_1.c

Kyrylo Tkachov Kyrylo.Tkachov@arm.com
Tue Mar 23 14:51:30 GMT 2021



> -----Original Message-----
> From: Gcc-patches <gcc-patches-bounces@gcc.gnu.org> On Behalf Of
> Christophe Lyon via Gcc-patches
> Sent: 23 March 2021 14:33
> To: gcc-patches@gcc.gnu.org
> Subject: [PATCH 2/8] 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.

Ok.
Thanks,
Kyrill

> 
> 2021-03-19  Christophe Lyon  <christophe.lyon@linaro.org>
> 
> 	gcc/testsuite/
> 	* gcc.target/arm/simd/vmmla_1.c: Add arm_v8_2a_i8mm options.
> ---
>  gcc/testsuite/gcc.target/arm/simd/vmmla_1.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/gcc/testsuite/gcc.target/arm/simd/vmmla_1.c
> b/gcc/testsuite/gcc.target/arm/simd/vmmla_1.c
> index d33ebf3..a88c4ea 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"
> 
> --
> 2.7.4



More information about the Gcc-patches mailing list