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]

[PATCH, i386]: Remove ashift RSP splitter.


Hello!

There is no way to generate shift pattern with %rX and %rsp as
operands 0 and 1, so remove unneeded splitter. %rsp is prevented by
"index_register_operand" operand predicate as well as "l" operand
constraint in relevant insn patterns.

The patch also removes long overdue comment. We do have "incb %ah"
patterns (and more), see "*addqi_ext_..." family of patterns.

2010-08-20  Uros Bizjak  <ubizjak@gmail.com>

	* config/i386/i386.md (ashift RSP splitter): Remove splitter.
	(pro_epilogue_adjust_stack_di_2): Use "l" constraint for
	alternative 1 of operand 2.

Patch was bootstrapped on x86_64-pc-linux-gnu {,-m32}. 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]