This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: the simple fix for the ia32 stack adjusts problem
- To: Zack Weinberg <zack at wolery dot cumb dot org>
- Subject: Re: the simple fix for the ia32 stack adjusts problem
- From: Richard Henderson <rth at cygnus dot com>
- Date: Sun, 16 Jan 2000 04:19:32 -0800
- Cc: gcc-patches at gcc dot gnu dot org
- References: <20000114184031.B23396@wolery.cumb.org>
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~