re PR target/62128 (Use vpalignr for AVX2 rotation)
authorJakub Jelinek <jakub@redhat.com>
Thu, 2 Oct 2014 07:29:49 +0000 (09:29 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 2 Oct 2014 07:29:49 +0000 (09:29 +0200)
commit8a605c51cbb8f14cbd4d3bfd0d697924cb49b214
tree246551f633d709c97d0fb8662459a1c8bec949d8
parent5ae5a2386e7ddfeb79bb703c7d81282bd0a0d885
re PR target/62128 (Use vpalignr for AVX2 rotation)

PR target/62128
* config/i386/i386.c (expand_vec_perm_1): Try expand_vec_perm_palignr
if it expands to a single insn only.
(expand_vec_perm_palignr): Add SINGLE_INSN_ONLY_P argument.  If true,
fail unless in_order is true.  Add forward declaration.
(expand_vec_perm_vperm2f128): Fix up comment about which permutation
is useful for one_operand_p.
(ix86_expand_vec_perm_const_1): Adjust expand_vec_perm_palignr caller.

From-SVN: r215796
gcc/ChangeLog
gcc/config/i386/i386.c