This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Possible change to gen* for splits


On Thu, Mar 16, 2000 at 08:50:15AM -0500, Alan Lehotsky wrote:
> At 8:32 -0500 3/16/00, Richard Kenner wrote:
> >     (define_insn_and_split "name"
> >       ...normal insn...
> >       [split pattern]
> >       "split condition"
> >       "split preparation statements"
> >     )
> >
> >I like this idea.
> >
> >     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:
> >
> >I like this idea too, but don't like using '*' since it has other meanings
> >in the MD file already. How about '|' or '^'?
> 
> 
> 	Don't use any character that could be a prefix operator!
> 
> 	The period would be okay (although not very legible).  How
> 	about '%'.  It's big, it's obvious and it's an illegal
> 	unary operator AFAIK.

Actually, since I can do lookahead, how about:

	"condition"

	"&& reload_completed"

That seems to better reflect the actual relationship of the two conditions.

				-Clint

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]