From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20864 invoked by alias); 2 Oct 2009 01:12:06 -0000 Received: (qmail 20856 invoked by uid 22791); 2 Oct 2009 01:12:06 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from susu.bendor.com.au (HELO susu.bendor.com.au) (203.16.199.2) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 02 Oct 2009 01:11:59 +0000 Received: by susu.bendor.com.au (Postfix, from userid 500) id 480AF3E10; Fri, 2 Oct 2009 11:11:56 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by susu.bendor.com.au (Postfix) with ESMTP id 352CC38E; Fri, 2 Oct 2009 11:11:56 +1000 (EST) Date: Fri, 02 Oct 2009 01:12:00 -0000 From: To: Paul Brook cc: , Joel Sherrill Subject: Re: arm-elf multilib issues In-Reply-To: <200910020022.12934.paul@codesourcery.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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: 2009-10/txt/msg00033.txt.bz2 > Meh. Badly written code on antique hardware. > I realise this sounds harsh, but in all seriousness if you take a bit of care Yes, I think it does sound harsh, considering that, I believe, at least as many chips are sold with ARM7TDMI core as the nice fat chips with MMU, caches, 64 and 128 bit buses. > (and common sense) you should get the alignment for free in pretty much all > cases, and it can make a huge difference on ARMv5te cores. > If you're being really pedantic then old-abi targets tend to pad all > structures to a word boundary. I'd expect this to have much more > detrimental overall effect than alignment of doubleword quantities, > which in my experience are pretty rare to start with. Well, I have to agree with the above. Zoltan