[PATCH] simple fix for vector/vector shift.

Yuri Rumyantsev ysrumyan@gmail.com
Tue Aug 11 12:50:00 GMT 2015


Hi All,

Here is 1-line patch which allows to vectorize shift by inductive
variable for targets supporting vector/vector shift. Test-case is
attached.

Bootstrap and regression testing did not show new failures.
Is it OK for trunk?

ChangeLog:
2015-08-11  Yuri Rumyantsev  <ysrumyan@gmail.com>

* tree-vect-stmts.c (vectorizable_shift): Add missed test on
vect_induction_def.

gcc/testsuite/ChangeLog:
* gcc.target/i386/avx2-vect-shift.c: New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: application/octet-stream
Size: 1223 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150811/795e2adf/attachment.obj>


More information about the Gcc-patches mailing list