This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Possible change to gen* for splits
- To: Clinton Popetz <cpopetz at cygnus dot com>
- Subject: Re: Possible change to gen* for splits
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Wed, 15 Mar 2000 14:28:30 -0700
- cc: gcc at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
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