Hi,

On Tue, Apr 26, 2011 at 11:14 AM, Vitor Sessak <[email protected]> wrote:
> On 04/26/2011 07:18 PM, Måns Rullgård wrote:
>>
>> "Vitor Sessak "<[email protected]>  writes:
>>
>>> Module: libav
>>> Branch: master
>>> Commit: 13dfce3d44f99a2d7df71aba8ae003d58db726f7
>>>
>>> Author:    Vitor Sessak<[email protected]>
>>> Committer: Reinhard Tartler<[email protected]>
>>> Date:      Sat Apr 23 19:24:31 2011 +0200
>>>
>>> Increase alignment of av_malloc() as needed by AVX ASM.
>>
>> This wastes memory for no benefit on non-avx systems.  We should make
>> the minimum alignment somehow configurable.
>
> Agree, not only for this patch, but also reduce it to 8 for systems without
> SIMD, but I don't think this should block this patch ATM.

#ifdef ARCH_X86 && HAVE_AVX
#define ALIGNMENT 32
#else
#define ALIGNMENT 16
#endif

That's not so much work, right?

Ronald
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to