This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: My last question
- To: kenner at vlsi1 dot ultra dot nyu dot edu
- Subject: Re: My last question
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Sun, 28 May 2000 11:39:29 -0700
- Cc: gcc at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <10005281323.AA14496@vlsi1.ultra.nyu.edu>
>>>>> "Richard" == Richard Kenner <kenner@vlsi1.ultra.nyu.edu> writes:
Richard> I see the way it was done was to avoid reassigning stack
Richard> slots to objects of a different alias set. That will
Richard> indeed solve the problem but will also have the effect,
Richard> for most purposes, of disabling the sharing of temporary
Richard> slots. So I'd like to find some other approach if we
Richard> can.
Yes. I've argued that stack slots should be assigned like registers.
There should be stack-pseudos for a while, and then there should be
stack-allocation. In fact, in the long run, I'm not sure that
stack-pseudos should even be different from ordinary pseudos. One of
the long-standing problems with GCC's optimization is that we commit
to code shape too early. ADDRESSOF is an attempt to avoid this
problem, and is certainly an improvement, but we should be able to do
better.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com