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! Attached patch improves ix86_fixup_binary_operands a bit for the unlikely situation when both input operands are placed in memory. The patch forces non-matched operand 1 into register, leaving operand 2 in memory. Since x86 instruction patterns allow memory operand via operand 2, the new approach requires less fixups in reload pass. 2013-10-17 Uros Bizjak <ubizjak@gmail.com> * config/i386/i386.c (ix86_fixup_binary_operands): When both source operands are in memory, prefer to force non-matched operand 1 to the register. Patch was tested on x86_64-pc-linux-gnu {,-m32} and committed to mainline SVN. 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] |