https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101743
--- Comment #2 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:9f26640f7b89c771b0ebffd7e7f5019d0709a955 commit r12-2724-g9f26640f7b89c771b0ebffd7e7f5019d0709a955 Author: liuhongt <hongtao....@intel.com> Date: Wed Aug 4 10:50:28 2021 +0800 Refine predicate of peephole2 to general_reg_operand. [PR target/101743] The define_peephole2 which is added by r12-2640-gf7bf03cf69ccb7dc should only work on general registers, considering that x86 also supports mov instructions between gpr, sse reg, mask reg, limiting the peephole2 predicate to general_reg_operand. gcc/ChangeLog: PR target/101743 * config/i386/i386.md (peephole2): Refine predicate from register_operand to general_reg_operand.