https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53652
--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by hongtao Liu <liuho...@gcc.gnu.org>: https://gcc.gnu.org/g:4bb79e27c02c5cd57d5781bef20e70982d898c40 commit r12-6428-g4bb79e27c02c5cd57d5781bef20e70982d898c40 Author: Haochen Jiang <haochen.ji...@intel.com> Date: Thu Dec 30 15:47:58 2021 +0800 Extend predicate of operands[1] from register_operand to vector_operand for andnot insn. This can do optimization like - pcmpeqd %xmm0, %xmm0 - pxor g(%rip), %xmm0 - pand %xmm1, %xmm0 + movdqa g(%rip), %xmm0 + pandn %xmm1, %xmm0 gcc/ChangeLog: PR target/53652 * config/i386/sse.md (*andnot<mode>3): Extend predicate of operands[1] from register_operand to vector_operand. gcc/testsuite/ChangeLog: PR target/53652 * gcc.target/i386/pr53652-1.c: New test.