This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] simple fix for vector/vector shift.
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: Yuri Rumyantsev <ysrumyan at gmail dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>, Igor Zamyatin <izamyatin at gmail dot com>
- Date: Tue, 11 Aug 2015 15:11:16 +0200
- Subject: Re: [PATCH] simple fix for vector/vector shift.
- Authentication-results: sourceware.org; auth=none
- References: <CAEoMCqSTAzfmCGQzi6dcoD37mOZievORcHuVqFC6ebKJ-3zz8Q at mail dot gmail dot com>
On Tue, Aug 11, 2015 at 2:50 PM, Yuri Rumyantsev <ysrumyan@gmail.com> wrote:
> 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?
Ok.
Thanks,
Richard.
> 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.