This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: IA32 redundant stack adjusts
- To: Zack Weinberg <zack at wolery dot cumb dot org>
- Subject: Re: IA32 redundant stack adjusts
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Fri, 14 Jan 2000 13:44:01 -0700
- cc: gcc at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <20000114123126.A557@wolery.cumb.org>you write:
> Notice there are _three_ successive subs to %esp at the beginning of
> main, and two successive adds (scheduled apart) at the end. The
> adjust by $12 at beginning and end comes from the prologue/epilogue,
> but the two successive sub $8 insns are present in the initial RTL.
> The .flow dump has
Yes, we know they're created by having function calls which have function
calls as arguments.
This presents us with a different (and hopefully better) aproach to solve
the problem -- never emit the back to back stack adjustments to begin with.
I have no idea how hard this might be.
jeff