From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21093 invoked by alias); 11 Feb 2003 19:59:37 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 21019 invoked from network); 11 Feb 2003 19:59:37 -0000 Received: from unknown (HELO hiauly1.hia.nrc.ca) (132.246.100.193) by 172.16.49.205 with SMTP; 11 Feb 2003 19:59:37 -0000 Received: from hiauly1.hia.nrc.ca (localhost [127.0.0.1]) by hiauly1.hia.nrc.ca (8.12.0.Beta16/8.12.0.Beta16) with ESMTP id h1BJxYot007740; Tue, 11 Feb 2003 14:59:35 -0500 (EST) Received: (from dave@localhost) by hiauly1.hia.nrc.ca (8.12.0.Beta16/8.12.0.Beta16) id h1BJxXMN007739; Tue, 11 Feb 2003 14:59:33 -0500 (EST) Message-Id: <200302111959.h1BJxXMN007739@hiauly1.hia.nrc.ca> Subject: Re: Altivec + 16 byte alignment To: dave@hiauly1.hia.nrc.ca (John David Anglin) Date: Tue, 11 Feb 2003 19:59:00 -0000 From: "John David Anglin" Cc: gcc@gcc.gnu.org, gianni@scaramanga.co.uk, kenner@vlsi1.ultra.nyu.edu In-Reply-To: from "John David Anglin" at Feb 11, 2003 12:25:00 pm MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SW-Source: 2003-02/txt/msg00688.txt.bz2 > /* Ignore alignment we can't do with expected alignment of the > boundary. */ > if (alignment * BITS_PER_UNIT > PREFERRED_STACK_BOUNDARY) > alignment = PREFERRED_STACK_BOUNDARY / BITS_PER_UNIT; > > but really that's wrong, and at a minimum it should warn the user > that their requested alignment isn't going to happen (better would be > to just ensure the requested alignment). We occasionally get bug > reports about this, but so far no-one has invested the effort to > implement arbitrary stack alignment. > > Now we have *yet another* macro involved in alignment! Another issue is GCC's alignment attribute is silently ignored for stack locals and the documentation doesn't say that. Dave -- J. David Anglin dave.anglin@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6605)