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 03:01:31PM -0700, Zack Weinberg wrote:
> 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.

Err.. I'd think you'd only have to modify the rtl reader and genfoo.c.
Nothing else should be looking through the format codes of a define_insn.

$ grep "'S'" gen*.c
genattrtab.c:   case 'S':
gengenrtl.c:      || strchr (fmt, 'S') != 0
gensupport.c:   case 'i': case 'w': case '0': case 's': case 'S':


r~


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