re PR target/88547 (missed optimization for vector comparisons)
authorJakub Jelinek <jakub@redhat.com>
Thu, 20 Dec 2018 07:58:02 +0000 (08:58 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 20 Dec 2018 07:58:02 +0000 (08:58 +0100)
commit5a5fe9175eec31bc9cce382e8c7b961fd4cfa1a3
treeac6125912f09dab2e38e55f8106d6fcdeb903739
parent59faa32efd1416d7f27ee3798c0c8c94583310de
re PR target/88547 (missed optimization for vector comparisons)

PR target/88547
* config/i386/i386.c (ix86_expand_sse_movcc): For maskcmp, try to
emit vpmovm2? instruction perhaps after knot?.  Reorganize code
so that it doesn't have to test !maskcmp in almost every conditional.

* gcc.target/i386/pr88547-1.c: New test.

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