This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Use vpermpd instead of vpermq for V4DF AVX2 permutations (PR target/52568)
- From: Richard Henderson <rth at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Uros Bizjak <ubizjak at gmail dot com>, gcc-patches at gcc dot gnu dot org
- Date: Thu, 15 Mar 2012 16:28:45 -0700
- Subject: Re: [PATCH] Use vpermpd instead of vpermq for V4DF AVX2 permutations (PR target/52568)
- References: <20120315200513.GD16117@tyan-ft48-01.lab.bos.redhat.com>
On 03/15/12 13:05, Jakub Jelinek wrote:
> Hi!
>
> This patch let's -mavx2 use vpermpd instead of vpermq for
> V4DFmode __builtin_shuffle (e.g. {1, 2, 3, 0}).
> Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk?
>
> 2012-03-15 Jakub Jelinek <jakub@redhat.com>
>
> PR target/52568
> * config/i386/sse.md (UNSPEC_VPERMDF): Remove.
> (avx2_permv4df): Remove.
> (avx2_permv4di): Macroize into...
> (avx2_perm<mode>): ... this using VI8F_256 iterator.
> (avx2_permv4di_1): Macroize into...
> (avx2_perm<mode>_1): ... this using VI8F_256 iterator.
Ok.
r~