re PR target/88189 (ix86_expand_sse_movcc and blend for scalars)
authorJakub Jelinek <jakub@redhat.com>
Wed, 28 Nov 2018 08:54:31 +0000 (09:54 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 28 Nov 2018 08:54:31 +0000 (09:54 +0100)
commitd132e873514ba221b4d168c242166f132162db33
treed55ff6c6464799e6c9e8173423b4e65e327ee326
parent62574f122c7aab5fe06e1b68c659650c17964dc4
re PR target/88189 (ix86_expand_sse_movcc and blend for scalars)

PR target/88189
* config/i386/i386.c (ix86_expand_sse_movcc): Handle DFmode and
SFmode using sse4_1_blendvs[sd] with TARGET_SSE4_1.  Formatting fixes.
* config/i386/sse.md (sse4_1_blendv<ssemodesuffix>): New pattern.

* gcc.target/i386/sse4_1-pr88189-1.c: New test.
* gcc.target/i386/sse4_1-pr88189-2.c: New test.
* gcc.target/i386/avx-pr88189-1.c: New test.
* gcc.target/i386/avx-pr88189-2.c: New test.

From-SVN: r266548
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/sse.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/avx-pr88189-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx-pr88189-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/sse4_1-pr88189-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/sse4_1-pr88189-2.c [new file with mode: 0644]