Re: [PATCH] [i386] Refine predicate of peephole2 to general_reg_operand. [PR target/101743]

2021-08-04 Thread Uros Bizjak via Gcc-patches
On Wed, Aug 4, 2021 at 5:33 AM liuhongt wrote: > > Hi: > 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_

[PATCH] [i386] Refine predicate of peephole2 to general_reg_operand. [PR target/101743]

2021-08-03 Thread liuhongt via Gcc-patches
Hi: 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. I failed to contruct a testcase, but I believ