On Fri, Jan 22, 2016 at 6:29 AM, Yuri Rumyantsev <ysrum...@gmail.com> wrote: > Richard, > > I fixed all remarks pointed by you in vectorizer part of patch. Could > you take a look on modified patch. > > Uros, > > Could you please review i386 part of patch related to support of > conditional branches with vector comparison. > > Bootstrap and regression testing did not show any new failures. > Is it OK for trunk? > > Thanks. > Yuri. > > ChangeLog: > > 2016-01-22 Yuri Rumyantsev <ysrum...@gmail.com> > > PR middle-end/68542 > * config/i386/i386.c (ix86_expand_branch): Add support for conditional > brnach with vector comparison. ^^^^^^^^^ Typo. > * config/i386/sse.md (define_expand "cbranch<mode>4): Add define-expand > for vector comparion with eq/ne only. > (optimize_mask_stores): New function. > * tree-vect-stmts.c (vectorizable_mask_load_store): Initialize > has_mask_store field of vect_info. > * tree-vectorizer.c (vectorize_loops): Invoke optimaze_mask_stores for > vectorized loops having masked stores after vec_info destroy. > * tree-vectorizer.h (loop_vec_info): Add new has_mask_store field and > correspondent macros. > (optimize_mask_stores): Add prototype. > > gcc/testsuite/ChangeLog: > * gcc.dg/vect/vect-mask-store-move-1.c: New test. > * testsuite/gcc.target/i386/avx2-vect-mask-store-move1.c: New test. >
-- H.J.