This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hello! It turned out that *andndi3_doubleword pattern needs earlyclobber on the output operand of its (=r,r,rm) alternative to prevent partial regs of the first split instruction from clobbering input operands of the second insn.The patch also adds a couple of alternatives with matching input and output operands that are guaranteed to not clobber the other input operand in a sequence of split insns of a three-operand non-destructive insn. 2018-01-26 Uros Bizjak <ubizjak@gmail.com> PR target/81763 * config/i386/i386.md (*andndi3_doubleword): Add earlyclobber to (=&r,r,rm) alternative. Add (=r,0,rm) and (=r,r,0) alternatives. Bootstrapped and regression tested on x86_64-linux-gnu {,-m32}. Committed to mainline, will be bacported to gcc-7 branch early next week. Uros.
Attachment:
p.diff.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |