public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PING^3] INSN attribute to enable/disable alternatives
@ 2007-11-20 17:10 Andreas Krebbel
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Krebbel @ 2007-11-20 17:10 UTC (permalink / raw)
  To: gcc-patches

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.  I've posted these patches in stage 2 and really need
them to go in since I've a few back end patches relying on that
feature.

Ian already had a look.  Although the feature was considered
reasonable I can understand that he was unhappy with the genattr
changes in patch 3 introducing new attribute 'getter' functions with
an additional 'alternative' parameter.  These changes are the part
which unfortunately make the introduction of that simple feature look
rather complicated.

I would be happy to rework that part of the patch if someone comes up
with a better/simpler solution.  Any suggestions?!

Here is the mail from Ian:
http://gcc.gnu.org/ml/gcc/2007-09/msg00458.html


[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

Bye,

-Andreas-

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PING^3] INSN attribute to enable/disable alternatives
@ 2007-09-18 14:03 Andreas Krebbel
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Krebbel @ 2007-09-18 14:03 UTC (permalink / raw)
  To: gcc-patches

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 and I would like to get this in before entering stage 3.

[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

Bye,

-Andreas-

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-11-20 15:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-20 17:10 [PING^3] INSN attribute to enable/disable alternatives Andreas Krebbel
  -- strict thread matches above, loose matches on Subject: below --
2007-09-18 14:03 Andreas Krebbel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).