This is the mail archive of the
mailing list for the GCC project.
[PING] INSN attribute to enable/disable alternatives
- From: "Andreas Krebbel" <Andreas dot Krebbel at de dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 6 Mar 2008 08:57:33 +0100
- Subject: [PING] INSN attribute to enable/disable alternatives
these 3 patches introduce a new special attribute to be used in INSN
definitions in order to enable or disable certain INSN alternatives.
I think this comes in quite handy when enhancing a back end with new
Other GCC developers have already agreed that this is a useful
feature. What's left is to check the implementation. So could please
someone have a look at it?
The first of the patches shows how that features might be used by a
back end to significantly reduce duplicated patterns for different CPU
types. This patch only addresses the most obvious cases.
I've verified that the patches still work with current GCC.
[PATCH 1/3] S/390: New `enabled' insn attribute
[PATCH 2/3] reload,recog: New `enabled' insn attribute
[PATCH 3/3] genattr: New `enabled' insn attribute
OK for mainline?