From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 4 13:15:31 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 249C216A418; Fri, 4 Jan 2008 13:15:31 +0000 (UTC) (envelope-from marcov@stack.nl) Received: from mx1.stack.nl (meestal-mk5.stack.nl [IPv6:2001:610:1108:5010::149]) by mx1.freebsd.org (Postfix) with ESMTP id C12E413C4EB; Fri, 4 Jan 2008 13:15:30 +0000 (UTC) (envelope-from marcov@stack.nl) Received: from snail.stack.nl (snail.stack.nl [IPv6:2001:610:1108:5010::131]) by mx1.stack.nl (Postfix) with ESMTP id AB479439B3; Fri, 4 Jan 2008 14:15:29 +0100 (CET) Received: by snail.stack.nl (Postfix, from userid 816) id 974EF22891; Fri, 4 Jan 2008 14:15:29 +0100 (CET) Date: Fri, 4 Jan 2008 14:15:29 +0100 From: Marco van de Voort To: Ivan Voras Message-ID: <20080104131529.GA31354@stack.nl> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-hackers@freebsd.org Subject: Re: Architectures with strict alignment? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2008 13:15:31 -0000 On Sat, Dec 08, 2007 at 03:43:30AM +0100, Ivan Voras wrote: > Which of the architectures FreeBSD supports (if any) have strict memory > alignment requirements? (in the sense that accessing a 32-bit integer > not aligned on a 32-bit address results in a hardware trap/exception). I do know that older PPCs (PowerPC603) have a requirement on aligning of floats. IIRC the e.g. Linux the kernel hooks an exception handler that makes it transparent for apps (at the cost of some performance), and NetBSD does not I never ran FreeBSD on PPC, so I wouldn't know that one.