Date: Tue, 5 Feb 2002 17:04:44 +0000 (GMT) From: Mike Silbersack <silby@silby.com> To: Alfred Perlstein <bright@mu.org> Cc: Bruce Evans <bde@zeta.org.au>, Michal Mertl <mime@traveller.cz>, <hackers@freebsd.org>, <greg@bogslab.ucdavis.edu> Subject: Re: stack alignment issues Message-ID: <20020205170020.V1617-100000@patrocles.silby.com> In-Reply-To: <20020205121923.O59017@elvis.mu.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 5 Feb 2002, Alfred Perlstein wrote: > * Bruce Evans <bde@zeta.org.au> [020205 12:09] wrote: > > On Tue, 5 Feb 2002, Mike Silbersack wrote: > > > > > On Tue, 5 Feb 2002, Bruce Evans wrote: > > > > foo: > > > > pushl %ebp > > > > movl %esp,%ebp > > > > subl $8,%esp # <- extra instruction for alignment (for foo) > > > > addl $-12,%esp # <- extra instruction for alignment (for f1) > > > > > > What disgusting code. I find it amazing that they didn't even stick in > > > some peephole optimizer to at least limit it to one operation. > > > > It's clearly the result of work in progress :-). > > I see really cruddy stuff like this every time i do a gcc -S, don't > they watch for and try to fix this sort of thing? > > -- > -Alfred Perlstein [alfred@freebsd.org] Did you see that press release about how Microsoft is taking a month off from coding new features and dedicating everyone to fixing bugs? I can see an analogous headline: "FreeBSD developers get sick of gcc's code generation, devote March to compiler rewrite" and in related news: "Brett Glass finds out that FreeBSD developers are working on gcc and suffers a nervous breakdown." Mike "Silby" Silbersack To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020205170020.V1617-100000>