This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Some syntactic sugar for machine descriptions
- To: Richard Henderson <rth at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Subject: Re: Some syntactic sugar for machine descriptions
- From: "Zack Weinberg" <zackw at Stanford dot EDU>
- Date: Tue, 26 Jun 2001 15:01:31 -0700
On Tue, Jun 26, 2001 at 02:06:57PM -0700, Richard Henderson wrote:
> On Tue, Jun 26, 2001 at 12:22:34PM -0700, Zack Weinberg wrote:
> > 3: If a string begins with an asterisk, that asterisk may appear
> > outside the string delimiters.
>
> Hum. It'd be Really Nice to assume this asterisk and not have to
> write it explicitly.
>
> Perhaps that means that the reader always inserts it, and genoutput
> notices and adjust accordingly for define_expand and define_split etc.
> Perhaps we define format letter "T" to mean "add an asterisk if the
> source used a braced string".
The 'T' suggestion sounds cleaner from here; I believe it would only
apply to the output template slot of a define_insn. The only
difficulty is that then I have to find all the places that look at RTL
format strings and update them.
--
zw > Having been converted to bagels in the US, ...
Good Lord! You must have -really- offended a Jewish wizard.
-- Niall McAuley and Kip Williams in rec.arts.sf.fandom