This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: stack manipulations in gcc-2.95.2
- To: Jacob Navia <jacob at jacob dot remcomp dot fr>
- Subject: Re: stack manipulations in gcc-2.95.2
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Wed, 12 Jan 2000 03:07:08 -0700
- cc: gcc-bugs at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <Pine.LNX.4.10.10001121012570.835-101000@jacob.remcomp.fr>you writ
e:
>
> In the attached zip file you will find all the code generated by gcc.
> The command line for the compiler is:
> gcc -g -O2 -DULONG_IS_32BIT -DULONG_NOT_DEFINED -S -c alglin2.c
> The included file alglin2.s contains the code as generated by gcc -O2 -g
> under windows NT mingw32. Using the stabs info you can see immediately
> what assembler code corresponds to what source line of alglin2.c.
>
> Note that there is NO FP code in that module, and that sequences of FOUR
> or FIVE successive additions to the esp register are generated that will
> always provoke a stall!!!!!!
It does not matter if your routine has no FP code -- it is still important
to keep the stack aligned because children of your routine may need the
aligned stack for floating point.
This testcase is *way* too big for me to do anything useful with it. Please
send the CPP source for a single routine, not a big zip file.
jeff
ps. There is no need to yell.