i386.c (expand_vec_perm_movs): New method matching movs patterns.
authorAllan Sandfeld Jensen <allan.jensen@qt.io>
Wed, 15 Aug 2018 04:33:12 +0000 (10:33 +0600)
committerJeff Law <law@gcc.gnu.org>
Wed, 15 Aug 2018 04:33:12 +0000 (22:33 -0600)
commit107192f73ec949170ac5c65e52cf85c93be2f07a
tree17cac50fca89e09c3eea4ee81a1e28759f5389e8
parent4720f4afbae879f6cc73a420f7c2943a5cba70ec
i386.c (expand_vec_perm_movs): New method matching movs patterns.

* config/i386/i386.c (expand_vec_perm_movs): New method matching movs
patterns.
(expand_vec_perm_1): Try the new method.

* gcc.target/i386/sse2-movs.c: New test.

From-SVN: r263549
gcc/ChangeLog
gcc/config/i386/emmintrin.h
gcc/config/i386/i386.c
gcc/config/i386/xmmintrin.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/sse2-movs.c [new file with mode: 0644]