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: the simple fix for the ia32 stack adjusts problem


On Fri, Jan 14, 2000 at 06:40:31PM -0800, Zack Weinberg wrote:
> 	* config/i386/i386.md: Add peephole to merge successive stack
> 	adjusts.

At some point I'd like to solve the whole problem.  See something like

	extern double bar(double, double);
	void foo(double x, double y)
	{
	  bar(x + y, x - y);
	}

We get

        subl    $8, %esp
        fstpl   (%esp)
        subl    $8, %esp
        fstpl   (%esp)

But this patch is ok for now.



r~

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