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


On Thu, Jul 02, 1998 at 01:59:26AM -0600, Jeffrey A Law wrote:
> 
>   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.

He explained to me, while he was asking how it could be done,
that the important fact is that pop can pair with ret on the
pentia, where an add to esp cannot.


r~


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