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.shal...@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

Reply via email to