This is the mail archive of the gcc-patches@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: Some syntactic sugar for machine descriptions


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


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