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]
Other format: [Raw text]

Re: [PATCH] Don't unnecessarily align stack in leaf functions if frame size is zero (PR middle-end/47581)


On Wed, Feb 02, 2011 at 03:18:49PM +0100, Jakub Jelinek wrote:
> i?86 -m32 -O2 for:
> unsigned mulh(unsigned a, unsigned b)
> {
>   return ((unsigned long long)a * (unsigned long long)b) >> 32;
> }
> completely unnecessarily subtracts 4 from %esp and adds it back after a few
> insns:

We have had a number of issues in this area; could you please add a
testcase for this so we can catch regressions earlier next time?

-Nathan


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