This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Use vpermpd instead of vpermq for V4DF AVX2 permutations (PR target/52568)


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]