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: PATCH for purge_addressof sluggishness


On Mon, Mar 22, 1999 at 08:03:39PM -0800, Mark Mitchell wrote:
> But, my thinking was that we might be able to index only those REGs
> that are actually used in ADDRESSOF.

My first thought was that was what you were probably doing, but it's
not actually written that way at the moment.

Certainly you could do a three pass scheme -- look for addressof, look
for pseudo uses, convert addressof.  That would probably minimize memory
usage for only a little extra work.

> Agreed.  Let's assume I'll correct this nit, and convert the
> hash-table to an varray.  OK to put that in?

Yes.


r~


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