This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Vector shifts with scalar shift argument require that all the scalar stmts packed together into one vector shift will have the same shift value. This patch adds support of such operations by loop-aware SLP. Bootstrapped and tested on x86_64-linux and ppc-linux. Committed to autovect-branch. Ira ChangeLog: * tree-vect-analyze.c: Include recog.h. (vect_build_slp_tree): Check that the shift values are equal for vector shift with scalar shift argument. Fix typo in error message. * tree-vect-transform.c (vectorizable_operation): Don't fail in case of shift in SLP. * Makefile.in (tree-vect-analyze.o): Depend on recog.h. (See attached file: shifts.txt)
Attachment:
shifts.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |