[x264-devel] unaligned accesses in IA64

Loren Merritt lorenm at u.washington.edu
Fri Feb 29 00:55:01 CET 2008


On Thu, 28 Feb 2008, Håkan Hjort wrote:
> 2008/2/28 Nestor <ncfernan at gmail.com>:
>
> Mauricio please try the attached patch.  It makes the accesses with
> the uint64_t* casts aligned to 8 rather than just 4.

The compiler is free to put padding wherever it wants in a struct, so if 
your patched worked you just got lucky.
The correct way is with DECLARE_ALIGNED.

--Loren Merritt


More information about the x264-devel mailing list