From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32463 invoked by alias); 19 Dec 2007 10:06:55 -0000 Received: (qmail 32443 invoked by uid 22791); 19 Dec 2007 10:06:54 -0000 X-Spam-Check-By: sourceware.org Received: from rv-out-0910.google.com (HELO rv-out-0910.google.com) (209.85.198.188) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 19 Dec 2007 10:06:37 +0000 Received: by rv-out-0910.google.com with SMTP id f5so2457639rvb.56 for ; Wed, 19 Dec 2007 02:06:34 -0800 (PST) Received: by 10.140.132.8 with SMTP id f8mr954534rvd.206.1198058794655; Wed, 19 Dec 2007 02:06:34 -0800 (PST) Received: by 10.141.189.18 with HTTP; Wed, 19 Dec 2007 02:06:34 -0800 (PST) Message-ID: Date: Wed, 19 Dec 2007 10:33:00 -0000 From: "Andrew Pinski" To: "Ross Ridge" Subject: Re: A proposal to align GCC stack Cc: gcc@gcc.gnu.org In-Reply-To: <20071219031617.02C7073CC4@caffeine.csclub.uwaterloo.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20071219031617.02C7073CC4@caffeine.csclub.uwaterloo.ca> X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2007-12/txt/msg00565.txt.bz2 On 12/18/07, Ross Ridge wrote: > Look at it another way. Lets say you were compiling x86_64 code with > -fpreferred-stack-boundary=3, an 8-byte PREFERRED alignment. Can we stop talking about x86/x86_64 specifics issues here? I have an use case for the PowerPC side of the Cell BE for variables greater than the normal stack boundary alignment of 16bytes. They need to be 128byte aligned for DMA transfering to the SPUs. I already proposed a patch [1] to fix this use case but I have not seen many replies yet. Thanks, Andrew Pinski [1] http://gcc.gnu.org/ml/gcc-patches/2007-05/msg01167.html