Date: Wed, 6 Feb 2002 07:11:31 +1100 (EST) From: Bruce Evans <bde@zeta.org.au> To: Mike Silbersack <silby@silby.com> Cc: Michal Mertl <mime@traveller.cz>, <hackers@freebsd.org>, <greg@bogslab.ucdavis.edu> Subject: Re: stack alignment issues Message-ID: <20020206071049.S502-100000@gamplex.bde.org> In-Reply-To: <20020205134035.M1617-100000@patrocles.silby.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 :-). Bruce 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?20020206071049.S502-100000>