https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88418
--- Comment #3 from uros at gcc dot gnu.org --- Author: uros Date: Fri Dec 21 18:04:35 2018 New Revision: 267331 URL: https://gcc.gnu.org/viewcvs?rev=267331&root=gcc&view=rev Log: Backport from mainline 2018-12-10 Uros Bizjak <ubiz...@gmail.com> PR target/88418 * config/i386/i386.c (ix86_expand_sse_cmp): For vector modes, check operand 1 with vector_operand predicate. (ix86_expand_sse_movcc): For vector modes, check op_true with vector_operand, not nonimmediate_operand. testsuite/ChangeLog: Backport from mainline 2018-12-10 Uros Bizjak <ubiz...@gmail.com> PR target/88418 * gcc.target/i386/pr88418.c: New test. Added: branches/gcc-8-branch/gcc/testsuite/gcc.target/i386/pr88418.c Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/config/i386/i386.c branches/gcc-8-branch/gcc/testsuite/ChangeLog