re PR target/60451 (X86 vectorization improve: pack instead of pshufb)
authorEvgeny Stupachenko <evstupac@gmail.com>
Fri, 21 Nov 2014 11:13:37 +0000 (11:13 +0000)
committerIlya Enkovich <ienkovich@gcc.gnu.org>
Fri, 21 Nov 2014 11:13:37 +0000 (11:13 +0000)
commitd5dcbe8e3f3ccb1747fb7e17b3919068625c8d35
treebbad359be503a0dd2fc4db18742f3cd651376874
parentefcc23e6ad30f79b41d0bfa129503c5547579b31
re PR target/60451 (X86 vectorization improve: pack instead of pshufb)

gcc/testsuite

PR target/60451
* gcc.target/i386/pr60451.c: New.

gcc/
PR target/60451
* config/i386/i386.c (expand_vec_perm_even_odd_pack): New.
(expand_vec_perm_even_odd_1): Add new expand for V8HI mode,
replace for V16QI, V16HI and V32QI modes.
(ix86_expand_vec_perm_const_1): Add new expand.

From-SVN: r217913
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr60451.c [new file with mode: 0644]