This is the mail archive of the gcc@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: IA32 redundant stack adjusts



  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


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