This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/62128] Use vpalignr for AVX2 rotation
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 02 Oct 2014 07:30:22 +0000
- Subject: [Bug target/62128] Use vpalignr for AVX2 rotation
- Auto-submitted: auto-generated
- References: <bug-62128-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62128
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Oct 2 07:29:49 2014
New Revision: 215796
URL: https://gcc.gnu.org/viewcvs?rev=215796&root=gcc&view=rev
Log:
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.c