From owner-svn-src-head@FreeBSD.ORG Thu Jul 15 14:30:37 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0DC51106564A; Thu, 15 Jul 2010 14:30:37 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id BCADA8FC13; Thu, 15 Jul 2010 14:30:36 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id 94EEE1FFC33; Thu, 15 Jul 2010 14:30:35 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id 454258489D; Thu, 15 Jul 2010 16:28:22 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Dimitry Andric References: <201007150311.o6F3B4bZ061614@svn.freebsd.org> <4C3EEEFB.8020902@andric.com> Date: Thu, 15 Jul 2010 16:28:22 +0200 In-Reply-To: <4C3EEEFB.8020902@andric.com> (Dimitry Andric's message of "Thu, 15 Jul 2010 13:20:27 +0200") Message-ID: <86630g4y61.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, Marcel Moolenaar , src-committers@freebsd.org Subject: Re: svn commit: r210103 - head/lib/liblzma X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jul 2010 14:30:37 -0000 Dimitry Andric writes: > Marcel Moolenaar writes: > > Unbreak xz (liblzma) on strong-aligned architectures (and without > > emulation of misaligned memory accesses). We cannot map the unaligned > > memory access functions to the ones used for aligned accesses, so do > > not define TUKLIB_FAST_UNALIGNED_ACCESS. > Is there no way to define or undefine this per arch? If this particular > define gives a speed advantage on the 'weak-aligned' architectures, it > might be worth it... Misaligned accesses, especially writes, are slow on all architectures - but Marcel knows this, so I guess he has a reason for doing it this way? DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no