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: target register load optimizations


Hi,

On Mon, 9 Jun 2003, Richard Henderson wrote:

> Namely, all inputs are constants (so no spill, only fill), and I didn't
> really mean "optimial" so much as "not stupid".

Could you define "not stupid" a bit more?  The primary objective of the
register allocator when spilling is needed is to reduce the livetime of
pseudos.  From your description (I haven't looked closely at what Joerns
patch does actually) I guess we only talk about rematerializable pseudos.
Which locations to place such code would you regard as more stupid than
which other locations? (hmm, I guess I'm actually asking what Joern patch
does, maybe I should look myself ;-) ).


Ciao,
Michael.


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