RE: [AArch64][SVE2] Shift-Right Accumulate combine patterns

2019-10-04 Thread Yuliang Wang
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

Re: [AArch64][SVE2] Shift-Right Accumulate combine patterns

2019-10-04 Thread Christophe Lyon
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;

Re: [AArch64][SVE2] Shift-Right Accumulate combine patterns

2019-09-27 Thread Richard Sandiford
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

[AArch64][SVE2] Shift-Right Accumulate combine patterns

2019-09-26 Thread Yuliang Wang
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,