Possible change to gen* for splits

Jeffrey A Law law@cygnus.com
Wed Mar 15 13:35:00 GMT 2000


  In message < 20000310092128.A17714@cpopetz.com >you write:
  > I'm wondering if it's possible to eliminate some of the redundancy in the
  > md files w.r.t. splits.  It seems we often have an define_insn that forces 
a
  > split, followed by a define_split with the same rtl template.  For instance
It seems like a good idea to me -- and it would probably simplify several
ports to varying degrees.  More importantly it helps on the maintenance side
by ensuring that the two patterns are always in sync.


  > Does this seem reasonable/useful?  I'd also like it to grok "* condition"
  > for the split condition, which means "append condition to whatever
  > condition was in the insn" so that the common case of:
Seems reasonable too, though I would use something that wasn't a C operator.
One could possibly have a condition like *pointer on a splitter condition.
jeff



More information about the Gcc mailing list