Re: [RFC][Scalar masks 1/x] Introduce GEN_MASK_EXPR.

2015-09-18 Thread Richard Biener
On Tue, Aug 25, 2015 at 11:02 PM, Jeff Law wrote: > On 08/21/2015 10:30 AM, Ilya Enkovich wrote: >>> >>> If we're checking an optab to drive an optimization, then we're probably >>> on >>> the wrong track. >> >> >> That's totally similar to VEC_COND_EXPR which we generate comparison into. > > It i

Re: [RFC][Scalar masks 1/x] Introduce GEN_MASK_EXPR.

2015-08-25 Thread Jeff Law
On 08/21/2015 10:30 AM, Ilya Enkovich wrote: If we're checking an optab to drive an optimization, then we're probably on the wrong track. That's totally similar to VEC_COND_EXPR which we generate comparison into. It is. The vectorizer is riddled with this stuff. Sigh. So I won't consider th

Re: [RFC][Scalar masks 1/x] Introduce GEN_MASK_EXPR.

2015-08-21 Thread Ilya Enkovich
2015-08-21 18:57 GMT+03:00 Jeff Law : > On 08/21/2015 06:30 AM, Ilya Enkovich wrote: >> >> 2015-08-20 21:41 GMT+03:00 Jeff Law : > > 2015-08-17 Ilya Enkovich * expr.c (expand_expr_real_2): Support GEN_MASK_EXPR. * gimple-pretty-print.c (dump_unary_rh

Re: [RFC][Scalar masks 1/x] Introduce GEN_MASK_EXPR.

2015-08-21 Thread Jeff Law
On 08/21/2015 06:30 AM, Ilya Enkovich wrote: 2015-08-20 21:41 GMT+03:00 Jeff Law : 2015-08-17 Ilya Enkovich * expr.c (expand_expr_real_2): Support GEN_MASK_EXPR. * gimple-pretty-print.c (dump_unary_rhs): Likewise. * gimple.c (get_gimple_rhs_num_ops): Likewise.

Re: [RFC][Scalar masks 1/x] Introduce GEN_MASK_EXPR.

2015-08-21 Thread Ilya Enkovich
2015-08-20 21:41 GMT+03:00 Jeff Law : > On 08/17/2015 10:22 AM, Ilya Enkovich wrote: >> >> Hi, >> >> This patch starts a series introducing scalar masks support in the >> vectorizer. It was discussed on the recent Cauldron and changes overiew is >> available here: >> https://gcc.gnu.org/wiki/cauld

Re: [RFC][Scalar masks 1/x] Introduce GEN_MASK_EXPR.

2015-08-20 Thread Jeff Law
On 08/17/2015 10:22 AM, Ilya Enkovich wrote: Hi, This patch starts a series introducing scalar masks support in the vectorizer. It was discussed on the recent Cauldron and changes overiew is available here: https://gcc.gnu.org/wiki/cauldron2015?action=AttachFile&do=view&target=Vectorization+f

Re: [RFC][Scalar masks 1/x] Introduce GEN_MASK_EXPR.

2015-08-18 Thread Richard Biener
On Mon, Aug 17, 2015 at 6:22 PM, Ilya Enkovich wrote: > Hi, > > This patch starts a series introducing scalar masks support in the > vectorizer. It was discussed on the recent Cauldron and changes overiew is > available here: > https://gcc.gnu.org/wiki/cauldron2015?action=AttachFile&do=view&ta

[RFC][Scalar masks 1/x] Introduce GEN_MASK_EXPR.

2015-08-17 Thread Ilya Enkovich
Hi, This patch starts a series introducing scalar masks support in the vectorizer. It was discussed on the recent Cauldron and changes overiew is available here: https://gcc.gnu.org/wiki/cauldron2015?action=AttachFile&do=view&target=Vectorization+for+Intel+AVX-512.pdf. Here is shortly a list