This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: target register load optimizations
- From: Michael Matz <matz at suse dot de>
- To: Richard Henderson <rth at redhat dot com>
- Cc: Daniel Berlin <dberlin at dberlin dot org>,Joern Rennecke <joern dot rennecke at superh dot com>, <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 10 Jun 2003 09:40:00 +0200 (CEST)
- Subject: 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.