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]
Other format: [Raw text]

Re: make genattrtab generate smaller code


Hi,

On 5 Sep 2003, Geoff Keating wrote:

> > This kind of code is generated pretty regularly by the gt* generator.
>
> The problem is that while you know and I know that generic.common.type
> is the same as generic.int_cst.common.type, gengtype doesn't know.
> The best way to do this would be to write an optimisation pass in the
> compiler that could detect identical code and commonize it

You mean like cross jumping (i.e. tail merging) ? ;-)


Ciao,
Michael.


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