i386: Rewrite ix86_expand_vshuffle.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Oct 2011 17:40:58 +0000 (17:40 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Oct 2011 17:40:58 +0000 (17:40 +0000)
commit6903bc5b3922fc096091b610c6d4903c5ddc657c
treee1eb0e9755eb3b0161ca7eb4e0820ad2d8f8517e
parent3c425d7c13f718c00f4a10b24f5f8eef83c3b82c
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179564 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/i386-protos.h
gcc/config/i386/i386.c
gcc/config/i386/sse.md