https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71488

--- Comment #10 from rguenther at suse dot de <rguenther at suse dot de> ---
On Wed, 15 Jun 2016, ienkovich at gcc dot gnu.org wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71488
> 
> --- Comment #9 from Ilya Enkovich <ienkovich at gcc dot gnu.org> ---
> Created attachment 38704
>   --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38704&action=edit
> Enable masks comparison with no new patterns
> 
> Here is a version without additional patterns (mask conversion pattern is
> slightly extended).  It appeared to be smaller than I thought.

I like this more.  Please also adjust the cost accordingly.
I suppose by passing
 (1 + bitop1 != NOP_EXPR + bitop2 != NOP_EXPR) * ncopies
to vect_model_simple_cost.

Thanks,
Richard.

Reply via email to