From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 16 12:17:01 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A993916A4CE for ; Mon, 16 Feb 2004 12:17:01 -0800 (PST) Received: from arginine.spc.org (arginine.spc.org [195.206.69.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E91B43D1D for ; Mon, 16 Feb 2004 12:17:01 -0800 (PST) (envelope-from bms@spc.org) Received: from localhost (localhost [127.0.0.1]) by arginine.spc.org (Postfix) with ESMTP id 88C5B653C2; Mon, 16 Feb 2004 20:17:00 +0000 (GMT) Received: from arginine.spc.org ([127.0.0.1]) by localhost (arginine.spc.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 21295-02-5; Mon, 16 Feb 2004 20:17:00 +0000 (GMT) Received: from saboteur.dek.spc.org (82-147-17-88.dsl.uk.rapidplay.com [82.147.17.88]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by arginine.spc.org (Postfix) with ESMTP id B4D62651EE; Mon, 16 Feb 2004 20:16:59 +0000 (GMT) Received: by saboteur.dek.spc.org (Postfix, from userid 1001) id DA29D47; Mon, 16 Feb 2004 20:16:58 +0000 (GMT) Date: Mon, 16 Feb 2004 20:16:58 +0000 From: Bruce M Simpson To: Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= Message-ID: <20040216201658.GE3791@saboteur.dek.spc.org> Mail-Followup-To: Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= , Kris Kennaway , Juan Tumani , freebsd-hackers@freebsd.org References: <20040214082420.GB77411@nevermind.kiev.ua> <200402160352.16477.wes@softweyr.com> <20040216035412.GA70593@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: cc: freebsd-hackers@freebsd.org cc: Juan Tumani cc: Kris Kennaway Subject: Re: FreeBSD 5.2 v/s FreeBSD 4.9 MFLOPS performance (gcc3.3.3 v/s gcc2.9.5) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2004 20:17:01 -0000 On Mon, Feb 16, 2004 at 07:11:16PM +0100, Dag-Erling Smørgrav wrote: > It can't possibly hurt. If the stack is already aligned on a "better" > boundary (64 or 128 bytes), it is also aligned on a 32-byte boundary > since 64 and 128 are multiples of 32, and the patch is a no-op. If > only a 16-byte alignment is required, a 32-byte alignment wastes a > small amount of memory but does not hurt performance. I believe that > less-than-16 (and possibly even less-than-32) alignment is pessimal on > all platforms we support. I'm not happy with the patch as-is and would be happier if a cleaner MI-way of expressing this were found. BMS