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]

Re: little epilogue optimization



  In message <r2sokqrp5s.fsf@happy.cygnus.com>you write:
  > The little patch appended adds an optimization suggested in Intel's
  > docs.  Frames of size 4 or 8 should be removed using pop and not add.
Why?  Does it schedule better or something like that?  Just curious.

Is this transformation going to pessimize other x86 processors?  If so
we'll need to conditionalize it.

If someone can answer that question I'll tweak the patch if appropriate
and install it.


  > If somebody can suggest a way that the two generated pops get not
  > separated it would be perfect.
Not easily done without hampering scheduling.  

jeff


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