Re: [PATCH 3/5]AArch64 sve: do not keep negated mask and inverse mask live at the same time

2021-11-02 Thread Richard Sandiford via Gcc-patches
Tamar Christina writes: > Hi, > > Here's a respin of the patch which I think encompasses the method you > expected. > > Bootstrapped Regtested on aarch64-none-linux-gnu and no issues. > > Ok for master? > > Thanks, > Tamar > > gcc/ChangeLog: > > * tree-vect-stmts.c

RE: [PATCH 3/5]AArch64 sve: do not keep negated mask and inverse mask live at the same time

2021-11-02 Thread Tamar Christina via Gcc-patches
Hi, Here's a respin of the patch which I think encompasses the method you expected. Bootstrapped Regtested on aarch64-none-linux-gnu and no issues. Ok for master? Thanks, Tamar gcc/ChangeLog: * tree-vect-stmts.c (vectorizable_condition): Check if inverse of mask is live.

Re: [PATCH 3/5]AArch64 sve: do not keep negated mask and inverse mask live at the same time

2021-10-14 Thread Richard Sandiford via Gcc-patches
Sorry for the slow reply. Tamar Christina writes: > Hi All, > > The following example: > > void f11(double * restrict z, double * restrict w, double * restrict x, >double * restrict y, int n) > { > for (int i = 0; i < n; i++) { > z[i] = (w[i] > 0) ? w[i] : y[i]; > } > } >

[PATCH 3/5]AArch64 sve: do not keep negated mask and inverse mask live at the same time

2021-08-31 Thread Tamar Christina via Gcc-patches
Hi All, The following example: void f11(double * restrict z, double * restrict w, double * restrict x, double * restrict y, int n) { for (int i = 0; i < n; i++) { z[i] = (w[i] > 0) ? w[i] : y[i]; } } Generates currently: ptrue p2.b, all ld1dz0.d,