This is the mail archive of the
gcc-patches@gcc.gnu.org
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: Tue, 18 Mar 2008 17:57:18 +0100
- Subject: [PING] INSN attribute to enable/disable alternatives
Hi,
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
instructions.
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.
[UPDATE] These patches are required for the upcoming patchset supporting
the latest and greatest mainframe z10. So I really need a decision
about that.
I've verified that the patches still work with current GCC.
[PATCH 1/3] S/390: New `enabled' insn attribute
http://gcc.gnu.org/ml/gcc-patches/2007-08/msg01908.html
[PATCH 2/3] reload,recog: New `enabled' insn attribute
http://gcc.gnu.org/ml/gcc-patches/2007-08/msg01909.html
[PATCH 3/3] genattr: New `enabled' insn attribute
http://gcc.gnu.org/ml/gcc-patches/2007-08/msg01910.html
OK for mainline?
Bye,
-Andreas-