Possible change to gen* for splits
Richard Earnshaw
rearnsha@arm.com
Thu Mar 16 10:42:00 GMT 2000
> On Thu, Mar 16, 2000 at 05:05:29PM +0000, Richard Earnshaw wrote:
> > Maybe it would be better if the "glue" were to appear outside of the
> > double quotes. Eg (though I haven't thought the implications of this
> > particular syntax through):
> >
> > +"&& reload_completed"
>
> Can't do that without hacking up read_rtx. We're only prepared
> for certain types of tokens.
>
>
> r~
Ok, how about forgetting the second constraint altogether, and having a
single constraint like
"foo && (RECOG || bar)"
RECOG could always be #define'd to 1 when recognizing a pattern, and to
zero when the constraint is used as a split. The optimizer can then
simplify the expression as required.
More information about the Gcc
mailing list