From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Earnshaw To: Richard Henderson Cc: rearnsha@arm.com Subject: Re: Possible change to gen* for splits Date: Thu, 16 Mar 2000 10:42:00 -0000 Message-id: <200003161840.SAA13122@cam-mail2.cambridge.arm.com> References: <20000316101057.A3334@cygnus.com> X-SW-Source: 2000-03/msg00430.html > 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.