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! This patch introduces TARGET_REJECT_COMBINED_INSN target hook, so targets are able to reject combinations of two or more insns. The hook is called from recog_for_combine, so it is the target that has the final say on the combined insn. This target hook will be used in a follow-up x86 patch that rejects instructions where hard registers don't fit into operand register constraint. 2012-08-23 Uros Bizjak <ubizjak@gmail.com> * target.def (reject_combined_insn): New target hook. * doc/tm.texi.in (TARGET_REJECT_COMBINED_INSN): New hook. * doc/tm.texi: Regenerated. * combine.c (recog_for_combine): Call targetm.reject_combined_insn to allow targets to reject combined insn. Bootstrapped and regression tested on x86_64-pc-linux-gnu. OK for mainline? 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] |