diff options
author | Jakub Jelinek <jakub@redhat.com> | 2016-03-23 10:52:00 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2016-03-23 10:52:00 +0100 |
commit | 0179520a83329a8daefcbb87c2609035694b928a (patch) | |
tree | 81cdf9580ade688ff98c3006438d128e3cc6f686 /gcc/tree-ssa-loop-ivopts.c | |
parent | 7da7269a693f7bb2c3728002dd88b51e3ffa2f8b (diff) | |
download | gcc-0179520a83329a8daefcbb87c2609035694b928a.zip gcc-0179520a83329a8daefcbb87c2609035694b928a.tar.gz gcc-0179520a83329a8daefcbb87c2609035694b928a.tar.bz2 |
re PR tree-optimization/70354 (Wrong code with -O3 -march=broadwell and -march=skylake-avx512.)
PR tree-optimization/70354
* tree-vect-patterns.c (vect_recog_vector_vector_shift_pattern): If
oprnd0 is wider than oprnd1 and there is a cast from the wider
type to oprnd1, mask it with the mask of the narrower type.
* gcc.dg/vect/pr70354-1.c: New test.
* gcc.dg/vect/pr70354-2.c: New test.
* gcc.target/i386/avx2-pr70354-1.c: New test.
* gcc.target/i386/avx2-pr70354-2.c: New test.
From-SVN: r234417
Diffstat (limited to 'gcc/tree-ssa-loop-ivopts.c')
0 files changed, 0 insertions, 0 deletions