re PR target/62128 (Use vpalignr for AVX2 rotation)
authorJakub Jelinek <jakub@redhat.com>
Fri, 3 Oct 2014 07:27:50 +0000 (09:27 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 3 Oct 2014 07:27:50 +0000 (09:27 +0200)
commit661fb5ddb8d4232135a61227e7db2d1de8e458ac
tree21c8bb26b44517d40c368eceedb41b0db6841c7b
parent4081ada2c7ae718f509dc403f83a4a08f2a6fe4a
re PR target/62128 (Use vpalignr for AVX2 rotation)

PR target/62128
* config/i386/i386.c (expand_vec_perm_palignr): If op1, op0 order
of palignr arguments can't be used due to min 0 or max - min
too high, try also op0, op1 order of palignr arguments.

* gcc.dg/torture/vshuf-16.inc (TESTS): Add 2 new permutations.
* gcc.dg/torture/vshuf-32.inc (TESTS): Add 5 new permutations.

From-SVN: r215834
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/vshuf-16.inc
gcc/testsuite/gcc.dg/torture/vshuf-32.inc