> -----Original Message----- > From: Christophe Lyon <christophe.l...@linaro.org> > Sent: Thursday, July 13, 2023 11:22 AM > To: gcc-patches@gcc.gnu.org; Kyrylo Tkachov <kyrylo.tkac...@arm.com>; > Richard Earnshaw <richard.earns...@arm.com> > Cc: Christophe Lyon <christophe.l...@linaro.org> > Subject: [PATCH 2/2] [testsuite,arm]: Make mve_fp_fpu[12].c accept single or > double precision FPU > > This tests currently expect a directive containing .fpu fpv5-sp-d16 > and thus may fail if the test is executed for instance with > -march=armv8.1-m.main+mve.fp+fp.dp > > This patch accepts either fpv5-sp-d16 or fpv5-d16 to avoid the failure. > Ok. Thanks, Kyrill > 2023-06-28 Christophe Lyon <christophe.l...@linaro.org> > > gcc/testsuite/ > * gcc.target/arm/mve/intrinsics/mve_fp_fpu1.c: Fix .fpu > scan-assembler. > * gcc.target/arm/mve/intrinsics/mve_fp_fpu2.c: Likewise. > --- > gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_fp_fpu1.c | 2 +- > gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_fp_fpu2.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_fp_fpu1.c > b/gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_fp_fpu1.c > index e375327fb97..8358a616bb5 100644 > --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_fp_fpu1.c > +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_fp_fpu1.c > @@ -12,4 +12,4 @@ foo1 (int8x16_t value) > return b; > } > > -/* { dg-final { scan-assembler "\.fpu fpv5-sp-d16" } } */ > +/* { dg-final { scan-assembler "\.fpu fpv5(-sp|)-d16" } } */ > diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_fp_fpu2.c > b/gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_fp_fpu2.c > index 1fca1100cf0..5dd2feefc35 100644 > --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_fp_fpu2.c > +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_fp_fpu2.c > @@ -12,4 +12,4 @@ foo1 (int8x16_t value) > return b; > } > > -/* { dg-final { scan-assembler "\.fpu fpv5-sp-d16" } } */ > +/* { dg-final { scan-assembler "\.fpu fpv5(-sp|)-d16" } } */ > -- > 2.34.1
RE: [PATCH 2/2] [testsuite, arm]: Make mve_fp_fpu[12].c accept single or double precision FPU
Kyrylo Tkachov via Gcc-patches Fri, 14 Jul 2023 08:44:34 -0700
- [PATCH 1/2] [testsuite,arm]: Make... Christophe Lyon via Gcc-patches
- [PATCH 2/2] [testsuite, arm]... Christophe Lyon via Gcc-patches
- Re: [PATCH 2/2] [testsui... Richard Earnshaw (lists) via Gcc-patches
- Re: [PATCH 1/2] [testsuite,a... Richard Earnshaw (lists) via Gcc-patches
- [PATCH 1/2] [testsuite,arm]:... Christophe Lyon via Gcc-patches
- [PATCH 2/2] [testsuite, ... Christophe Lyon via Gcc-patches
- RE: [PATCH 2/2] [tes... Kyrylo Tkachov via Gcc-patches
- RE: [PATCH 1/2] [testsui... Kyrylo Tkachov via Gcc-patches