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] |
Hi, Should we use vector instructions if the scalar and vector costs in SLP are the same? According to the source line comment (already in source code) we should not use vector instructions in this case. I would like to propose to use scalars if costs are the same. Sergey 2017-12-27 Sergey Shalnov <Sergey.Shalnov@intel.com> gcc/ * tree-vect-slp.c (vect_bb_vectorization_profitable_p): Avoid SLP vectorization if vector and scalar costs are equal.
Attachment:
0010-SLP-vectorizeing-decision.patch
Description: 0010-SLP-vectorizeing-decision.patch
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |