Hi Christophe,
Thanks for pointing this out, uploaded a fix.
Regards,
Yuliang
From: Christophe Lyon
Sent: 04 October 2019 09:25
To: Richard Sandiford
Cc: Yuliang Wang ; gcc-patches@gcc.gnu.org; nd
Subject: Re: [AArch64][SVE2] Shift-Right Accumulate combine patterns
On Fri, 27 Sep 2019 at
On Fri, 27 Sep 2019 at 10:12, Richard Sandiford
wrote:
> Yuliang Wang writes:
> > Hi,
> >
> > This patch adds combining support for SVE2's shift-right accumulate
> instructions.
> >
> > Example snippet:
> >
> > #define IMM ...
> >
> > void foo (TYPE a, TYPE b, int n)
> > {
> > for (int i = 0;
Yuliang Wang writes:
> Hi,
>
> This patch adds combining support for SVE2's shift-right accumulate
> instructions.
>
> Example snippet:
>
> #define IMM ...
>
> void foo (TYPE a, TYPE b, int n)
> {
> for (int i = 0; i < n; i++)
> a[i] += b[i] >> IMM;
> }
>
> Signed:
>
> beforeasr
Hi,
This patch adds combining support for SVE2's shift-right accumulate
instructions.
Example snippet:
#define IMM ...
void foo (TYPE a, TYPE b, int n)
{
for (int i = 0; i < n; i++)
a[i] += b[i] >> IMM;
}
Signed:
beforeasr z0.s, z0.s, #{IMM}
add z0.s,