Date: Thu, 15 Jul 2010 16:28:22 +0200 From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no> To: Dimitry Andric <dimitry@andric.com> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, Marcel Moolenaar <marcel@FreeBSD.org>, src-committers@freebsd.org Subject: Re: svn commit: r210103 - head/lib/liblzma Message-ID: <86630g4y61.fsf@ds4.des.no> In-Reply-To: <4C3EEEFB.8020902@andric.com> (Dimitry Andric's message of "Thu, 15 Jul 2010 13:20:27 %2B0200") References: <201007150311.o6F3B4bZ061614@svn.freebsd.org> <4C3EEEFB.8020902@andric.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Dimitry Andric <dimitry@andric.com> writes: > Marcel Moolenaar <marcel@FreeBSD.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86630g4y61.fsf>