svn commit: r210103 - head/lib/liblzma

Dag-Erling Smørgrav des at des.no
Thu Jul 15 14:30:37 UTC 2010


Dimitry Andric <dimitry at andric.com> writes:
> Marcel Moolenaar <marcel at 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
-- 
Dag-Erling Smørgrav - des at des.no


More information about the svn-src-all mailing list