i386: Rewrite ix86_expand_vshuffle.
authorRichard Henderson <rth@redhat.com>
Wed, 5 Oct 2011 17:40:58 +0000 (10:40 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 5 Oct 2011 17:40:58 +0000 (10:40 -0700)
commitdae00b1695df005699a0e1d3b39405c3674c2904
treee1eb0e9755eb3b0161ca7eb4e0820ad2d8f8517e
parent067f5960bdc9843445a97346566b0211a190d927
i386: Rewrite ix86_expand_vshuffle.

1: Handle TARGET_XOP.
2: Reduce code duplication.
3: Use ASHIFT instead of MULT for scaling.
4: Fix errors in building convert-to-v16qi indicies.
5: Handle v2di without sse4.1.

From-SVN: r179564
gcc/ChangeLog
gcc/config/i386/i386-protos.h
gcc/config/i386/i386.c
gcc/config/i386/sse.md